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 17:16:42 +0500	[thread overview]
Message-ID: <200804101716.42876.anton.vazir@gmail.com> (raw)
In-Reply-To: <52708.62.160.220.138.1207825228.squirrel@mail.inl.fr>

:) Looks like I'm missing something.
Naming ulogd2_ct makes it failing initializing in the 
beginning. 

Thu Apr 10 21:58:59 2008 <1> ulogd.c:705 assigning 
`orig.ip.daddr.str(?)' as source for PGSQL(orig.ip.dadd
r.str)
Thu Apr 10 21:58:59 2008 <7> ulogd.c:699 cannot find key 
`orig.ip.protocol' in stack
Thu Apr 10 21:58:59 2008 <1> ulogd.c:831 destroying stack
Thu Apr 10 21:58:59 2008 <8> ulogd.c:1084 not even a single 
working plugin stack

But - The view - ulog - it consist all of the keys which 
ulogd uses while initializing. But it consists the key 
mac.saddr.str - and here I can't get what's wrong there . 
In the code it seems key is returned as in other modules. 

static struct ulogd_key mac2str_keys[] = {
        {
                .type = ULOGD_RET_STRING,
                .flags = ULOGD_RETF_FREE,
                .name = "mac.saddr.str",
        },
};


Any ideas? ;)




On Thursday 10 April 2008 16:00, Eric Leblond wrote:
> Hello,
>
> > In the case when "ulog2" instead "ulog" in the config -
> > it fails even sooner. See output below... I noticed
> > that there is no table ulog, but since it 's written so
> > in sample config file, and there is a view, named
> > "ulog" in the DB schema - I supposed that should be so.
> > The "timestamp" row it's failing - passed normally when
> > "ulog" table is used.
>
> I wrote ulogd2_ct and not ulog2 ;)
>
> The table argument contains the list of fields that will
> be needed as INPUT key. In the SQL schema ulog and ulog2
> are for packet based logging. The flow based logging
> table is ulog2_ct.
>
> >> Ok, it seems you've pointed to the wrong 'table'
> >> option. You should not point to ulog but to ulog2_ct.
>
> BR,
> --
> Eric Leblond
> INL : http://www.inl.fr
> NuFW, Now User Filtering Works (http://www.nufw.org)

  reply	other threads:[~2008-04-10 12:16 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 [this message]
2008-04-10 12:34               ` Eric Leblond
2008-04-10 13:03                 ` Anton
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=200804101716.42876.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