* [ULOGD2 PATCH 0/3] cleaning and build feature
@ 2008-09-11 20:48 Eric Leblond
2008-09-11 23:49 ` Pablo Neira Ayuso
0 siblings, 1 reply; 3+ messages in thread
From: Eric Leblond @ 2008-09-11 20:48 UTC (permalink / raw)
To: pablo; +Cc: netfilter-devel
Hello,
This small patchset contains some cleaning and implement conditionnal compilation
of NFLOG and NFCT input plugins. This feature was contained in the TODO list and I
think it could be useful on system where one of the NFCT or NFLOG plugin can not
be used.
Las tpatch update the TODO list. The remaining item in this TODO list are:
- add support for capabilities to run as non-root: It could be interesting but
I don't know if we could achieve it with libnetfilter_log or libnetfilter_conntrack.
- support for static linking: As ulogd2 is plugin based, it may be strange but some
embedded system could use it.
- issues with ulogd_BASE and partially copied packets (--ulog-cprange): Has somebody
encounter the problem ?
- problem with ulogd_BASE and fragments: same remark
- port SQLITE3 plugin: Holger's work could be reused but the code was not really clean.
- convert db layer and pgsql + mysql plugin to a 'parameter bind' scheme for efficiency:
I don't understand the point.
- autoconf detection of SCTP / DCCP support: Well, why not ;)
>From my point of view, there is no other thing in the TODO list before a RC release.
Am I missing something ?
BR,
--
Eric Leblond
INL: http://www.inl.fr/
NuFW: http://www.nufw.org/
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: [ULOGD2 PATCH 0/3] cleaning and build feature
2008-09-11 20:48 [ULOGD2 PATCH 0/3] cleaning and build feature Eric Leblond
@ 2008-09-11 23:49 ` Pablo Neira Ayuso
2008-09-12 1:24 ` Pablo Neira Ayuso
0 siblings, 1 reply; 3+ messages in thread
From: Pablo Neira Ayuso @ 2008-09-11 23:49 UTC (permalink / raw)
To: Eric Leblond; +Cc: netfilter-devel
Eric Leblond wrote:
> Hello,
>
> This small patchset contains some cleaning and implement conditionnal compilation
> of NFLOG and NFCT input plugins. This feature was contained in the TODO list and I
> think it could be useful on system where one of the NFCT or NFLOG plugin can not
> be used.
>
> Las tpatch update the TODO list. The remaining item in this TODO list are:
> - add support for capabilities to run as non-root: It could be interesting but
> I don't know if we could achieve it with libnetfilter_log or libnetfilter_conntrack.
The binding and the sending requires CAP_NET_ADMIN, so we can initially
bind as root and them change to a non-root user to receiver messages,
this seem feasiable with libnetfilter_log. However, the problem here is
the resynchronize routine that I have introduced in NFCT: we request a
dump when we hit ENOBUFS and that's a sending.
Let me think about, maybe we can do something with a fork and a pipe.
> - support for static linking: As ulogd2 is plugin based, it may be strange but some
> embedded system could use it.
> - issues with ulogd_BASE and partially copied packets (--ulog-cprange): Has somebody
> encounter the problem ?
> - problem with ulogd_BASE and fragments: same remark
Probably outdated comment? We can ask Harald during workshop days.
> - port SQLITE3 plugin: Holger's work could be reused but the code was not really clean.
We can recover that work. We also have to add a change to db.c since
SQLITE3 has no procedures IIRC.
> - convert db layer and pgsql + mysql plugin to a 'parameter bind' scheme for efficiency:
> I don't understand the point.
Probably Harald can put some light on it.
> - autoconf detection of SCTP / DCCP support: Well, why not ;)
>
> From my point of view, there is no other thing in the TODO list before a RC release.
>
> Am I missing something ?
I have added BSF support to libnetfilter_conntrack. This could be
interesting to filter ctnetlink event messages from kernel-space. You
can find an example in the configuration file of conntrackd, see the
Filter clause.
The problem is the current configuration file format which is quite
cryptic. Using something flex/bison-based would be more flexible, but we
have to think about the file format before.
I have other concerns, I'm willing to schedule some time for ulogd to
make a new TODO list, we can probably discuss them during the workshop.
--
"Los honestos son inadaptados sociales" -- Les Luthiers
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: [ULOGD2 PATCH 0/3] cleaning and build feature
2008-09-11 23:49 ` Pablo Neira Ayuso
@ 2008-09-12 1:24 ` Pablo Neira Ayuso
0 siblings, 0 replies; 3+ messages in thread
From: Pablo Neira Ayuso @ 2008-09-12 1:24 UTC (permalink / raw)
To: Eric Leblond; +Cc: netfilter-devel
Pablo Neira Ayuso wrote:
>> Am I missing something ?
>
> I have added BSF support to libnetfilter_conntrack. This could be
> interesting to filter ctnetlink event messages from kernel-space. You
> can find an example in the configuration file of conntrackd, see the
> Filter clause.
>
> The problem is the current configuration file format which is quite
> cryptic. Using something flex/bison-based would be more flexible, but we
> have to think about the file format before.
>
> I have other concerns, I'm willing to schedule some time for ulogd to
> make a new TODO list, we can probably discuss them during the workshop.
I forgot to mention that the IPFIX plugin is currently broken.
--
"Los honestos son inadaptados sociales" -- Les Luthiers
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2008-09-12 1:30 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2008-09-11 20:48 [ULOGD2 PATCH 0/3] cleaning and build feature Eric Leblond
2008-09-11 23:49 ` Pablo Neira Ayuso
2008-09-12 1:24 ` Pablo Neira Ayuso
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox