Re: Could someone tell me the rules of port translation in SNAT ?

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

 



Therefore unless you specify the port to be used, it will not be changed
unless necessary, and if it is changed you cannot predict what it will
become.

I'm reading some source code for more details, bu i stopped at


return NF_HOOK(PF_INET, NF_IP_POST_ROUTING, skb, NULL, dev,ip_finish_output2);

in ip_output.c::ip_finish_output()

cause i don't know what part of code does POST_ROUTING work and SNAT implementation.

Need your help, thanks.

_________________________________________________________________
与联机的朋友进行交流,请使用 MSN Messenger: http://messenger.msn.com/cn




[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