Re: Using TRACE with ulogd2

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

 



Hi,

Le mardi 06 janvier 2009 à 11:28 +0100, Jan Engelhardt a écrit :
> Hi,
> 
> 
> from discussions on IRC and after looking at the kernel's code, I got 
> the impression that xt_TRACE's output can currently not be fed into 
> ulogd2, as xt_NFLOG does not make itself available for NF Core logging 
> through nf_log_packet() as it does not register with nf_log.c's
> nf_log_register().
> Could you consider adding this?

In fact, it should work but it can be a little tricky. You need to
declare a stack starting with a NFLOG input plugin. This plugin has to
listen to event on nflog group 0:

stack=log1:NFLOG,base1:BASE,ifi1:IFINDEX,ip2str1:IP2STR,print1:PRINTPKT,emu1:LOGEMU

[log1]
group=0

Under that condition, you should receive messages from TRACE.

BR,
-- 
Éric Leblond <eric@xxxxxx>
INL, http://www.inl.fr/
NuFW, http://www.nufw.org

Attachment: signature.asc
Description: Ceci est une partie de message =?ISO-8859-1?Q?num=E9riquement?= =?ISO-8859-1?Q?_sign=E9e?=


[Index of Archives]     [Netfitler Users]     [LARTC]     [Bugtraq]     [Yosemite Forum]

  Powered by Linux