Logging SNAT

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

 



Hi,

I wonder if it is possible to log a SNAT activity in case when a translation
is done from a network  into a range of addresses. I'd like to get a log with
fields:


 <timestamp> <localnet address> uses external connection as <external IP>
 ....
 <timestamp> <localnet address> releases <external IP>


Especially, I have no idea how to get the <external IP> (except parsing
/proc/net/ip_conntrack).

p.o.



[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