Re: REDIRECT changes DST address of the packet

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

 



mesg2nari@xxxxxxxxx said:
>  I am new to this mailing list sorry If I ask any thing wrong.
>
>  My question is if I use REDIRECT action in PREROUTINg rule is it
>  going to change the tcp packet DST address.
>  
>  If I lose original DST address, how can I persist that value in that
>  packet.

I think you're looking for the SO_ORIGINAL_DST sockopt.

Jason



[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