Linux Netfilter development
 help / color / mirror / Atom feed
From: Anton <anton.vazir@gmail.com>
To: "Eric Leblond" <eric@inl.fr>
Cc: "Netfilter Developer Mailing List" <netfilter-devel@vger.kernel.org>
Subject: Re: SVN ULOG2
Date: Thu, 10 Apr 2008 18:03:40 +0500	[thread overview]
Message-ID: <200804101803.40843.anton.vazir@gmail.com> (raw)
In-Reply-To: <53257.62.160.220.138.1207830841.squirrel@mail.inl.fr>

Seems all got simplier :) After an hour trying to define
mac.saddr.str in different places in sources (say dances 
with tambourine) i more carefully looked at the config 
file, and just addition of the following in the ulogd.conf 
resolved the issue :)

plugin="/usr/local/lib/ulogd/ulogd_filter_MAC2STR.so"
stack=log2:NFLOG,base1:BASE,ifi1:IFINDEX,ip2str1:IP2STR,mac2str1:MAC2STR,pgsql1:PGSQL

All the rest is the original sample of ulogd.conf

Maybe it's worth to add this line into a sample ulogd.conf 
to avoid stupid questions from newbees like me :)

Thanks so much for help Eric!
Regards to all!
Anton.

On Thursday 10 April 2008 17:34, Eric Leblond wrote:
> Hello,
>
> > :) Looks like I'm missing something.
> >
> > Naming ulogd2_ct makes it failing initializing in the
> > beginning.
> >
> >
> > Any ideas? ;)
>
> It seems you've got the wrong stack. To define the
> correct stack, you may find this link useful :
> http://software.inl.fr/trac/wiki/ulogd2/user
>
> For NFCT based logging to Postgres, the following stack
> should work : stack=ct1:NFCT,ip2str1:IP2STR,pgsql:PGSQL
>
> BR,
> --
> Eric Leblond
> INL : http://www.inl.fr
> NuFW, Now User Filtering Works (http://www.nufw.org)

  reply	other threads:[~2008-04-10 13:03 UTC|newest]

Thread overview: 14+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2008-04-09 10:20 SVN ULOG2 Anton
2008-04-09 11:01 ` Pablo Neira Ayuso
2008-04-09 11:24   ` Anton
2008-04-10  8:19     ` Anton VG
2008-04-10  9:25       ` Eric Leblond
2008-04-10 10:55         ` Anton VG
2008-04-10 11:00           ` Eric Leblond
2008-04-10 12:16             ` Anton
2008-04-10 12:34               ` Eric Leblond
2008-04-10 13:03                 ` Anton [this message]
2008-04-10 13:09                   ` Eric Leblond
2008-04-12  8:07                     ` Anton
2008-04-13  1:28                       ` Pablo Neira Ayuso
2008-04-10  7:13   ` Anton VG

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=200804101803.40843.anton.vazir@gmail.com \
    --to=anton.vazir@gmail.com \
    --cc=eric@inl.fr \
    --cc=netfilter-devel@vger.kernel.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox