Re: DNAT, Is it possible to find the original destination?

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

 



lumberjack@xxxxxxxxxxxxxxxxxxxxx said:
> iptables -t nat -A PREROUTING -i eth0 -p tcp --dport 80 -j REDIRECT --to 8080
>
> Is there any way that my application can look in the table and see the real 
> destination?  I've seen several things in patch-o-matic that do things with 

iirc, doesn't the SO_ORIGDST sockopt (or something like that) tell you
this?

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