Re: question about esp and policy matching rule

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On 2010-07-20 18:56, ratheesh k wrote:

After decapsulation , will the ip packet will traverse prerouting chain again ?


Do you mean the prerouting chain of "nat" table (as opposed to "mangle" or "raw" table)?

I don't know for sure, but I would think that yes. You could perform a simple experiment to know for sure.

When using tunnel mode the destination of an incoming encapsulated packet can be another host (usually in the local network), while the destination of the ESP packet is the machine where the IPSec tunnel ends, so those two are to be routed differently. I'm just thinking aloud based more on my general undertanding of IPSec rather than on the knowledge of the implementation.

And don't forget that only the first packed in a connection is visible in the prerouting chain of "nat" table.

--
Sergei.

--
To unsubscribe from this list: send the line "unsubscribe netfilter" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html


[Index of Archives]     [Linux Netfilter Development]     [Linux Kernel Networking Development]     [Netem]     [Berkeley Packet Filter]     [Linux Kernel Development]     [Advanced Routing & Traffice Control]     [Bugtraq]

  Powered by Linux