Re: [lopsa-tech] Logging end of UDP "connection" with iptables

2011-08-03 Thread Aleksey Tsalolikhin
Hi, Jeremy. If you don't find the answer here, try the netfilter user mailing list, email "subscribe netfiter" in the body of the message to majord...@vger.kernel.org I also got some great help on #iptables on IRC, it was a gnarly problem and one of the developers was online, he worked with me fo

Re: [lopsa-tech] Logging end of UDP "connection" with iptables

2011-07-29 Thread Yves Dorfsman
On 2011-07-29 11:49, Jeremy Charles wrote: I’m trying to see if I can get the Linux 2.6 kernel to generate a syslog message when it removes a UDP “connection” from its connection tracking table. It’s easy to log the start of a “connection” regardless of whether it’s TCP or UDP: sudo iptables -I

[lopsa-tech] Logging end of UDP "connection" with iptables

2011-07-29 Thread Jeremy Charles
I'm trying to see if I can get the Linux 2.6 kernel to generate a syslog message when it removes a UDP "connection" from its connection tracking table. It's easy to log the start of a "connection" regardless of whether it's TCP or UDP: sudo iptables -I FORWARD 8 -m state --state NEW -j LOG --lo