From: Pablo Neira Ayuso <pablo@netfilter.org>
To: switcher <switcher@linuxwall.info>
Cc: netfilter@lists.netfilter.org
Subject: Re: Check connection state in libipq hook
Date: Mon, 18 Jun 2007 21:20:13 +0200 [thread overview]
Message-ID: <4676DAED.1050003@netfilter.org> (raw)
In-Reply-To: <20070618202242.wa8gjjs892ysg0w8@webmail.microgate.fr>
switcher wrote:
> Pablo Neira Ayuso <pablo@netfilter.org> a écrit :
>> Misconception: The connection tracking is a kernel module. libipq is
>> a userspace library. You can't invoke such functions from userspace.
>
> Errr...
> So, do you know another technique that I can use to do so in userspace ?
> I could maintain a connection state table in userspace but I think it's
> a waste of time to redo netfilter's job...
Well, it depends on what you want to do. Anyway, you may also use
libnetfilter_conntrack to listen to conntrack events. BTW, libipq has
been superseded by libnetfilter_queue and the NFQUEUE target.
--
The dawn of the fourth age of Linux firewalling is coming; a time of
great struggle and heroic deeds -- J.Kadlecsik got inspired by J.Morris
next prev parent reply other threads:[~2007-06-18 19:20 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2007-06-18 14:15 Check connection state in libipq hook switcher
2007-06-18 18:15 ` Pablo Neira Ayuso
2007-06-18 18:22 ` switcher
2007-06-18 19:20 ` Pablo Neira Ayuso [this message]
2007-06-20 16:29 ` switcher
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=4676DAED.1050003@netfilter.org \
--to=pablo@netfilter.org \
--cc=netfilter@lists.netfilter.org \
--cc=switcher@linuxwall.info \
/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