Re: How to log NAT translations

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

 



On 21/09/10 11:26, Jan Engelhardt wrote:
> On Tuesday 2010-09-21 04:25, Italo Valcy wrote:
> 
>> Actually, I wanna something more simple and specific than the command
>> above. Using 'conntrack -E', I still have to parse the package events
>> NEW, UPDATE and DESTROY if I wanna know the  of a NAT
> 
> So use `conntrack -Ee NEW` to limit the output :)
> If that is still too much overhead, I'm sure you can directly use
> libnetfilter_conntrack's library interface to get at these events.

You can refine this a bit more with:

`conntrack -Ee NEW --any-nat'

It was introduced in conntrack-tools-0.9.15.
--
To unsubscribe from this list: send the line "unsubscribe netfilter" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html


[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