LVS
lvs-devel
Google
 
Web LinuxVirtualServer.org

Re: [PATCH] ipvs: fix ipv6 icmp forwarding in natted services

To: Hans Schillstrom <hans@xxxxxxxxxxxxxxx>
Subject: Re: [PATCH] ipvs: fix ipv6 icmp forwarding in natted services
Cc: Ansis Atteka <aatteka@xxxxxxxxxx>, Julian Anastasov <ja@xxxxxx>, lvs-devel@xxxxxxxxxxxxxxx, Jesper Dangaard Brouer <brouer@xxxxxxxxxx>
From: Art -kwaak- van Breemen <ard@xxxxxxxxxxxxxxx>
Date: Wed, 19 Feb 2014 19:02:32 +0100
Hi,

On Wed, Feb 19, 2014 at 06:53:35PM +0100, Art -kwaak- van Breemen wrote:
> I think -1 is still the right target, as we already know it's
> about ICMP.
> Still the question remains is why do we get an ENOENT when
> looking for NEXTHDR_ICMP ?
Found it:

if ((!ipv6_ext_hdr(nexthdr)) || nexthdr == NEXTHDR_NONE)
So, it keeps traversing until no more ext headers are found (i.e.
the protocol header), or no headers at all.
Then it tests if you wanted that last header (<0 -> ok leave).

So target may only be an ext_hdr, or -1.

Regards,
Ard van Breemen
--
To unsubscribe from this list: send the line "unsubscribe lvs-devel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html

<Prev in Thread] Current Thread [Next in Thread>