ipt_ULOG delays packets caught by filter
PATCH 1/1 ipt_ULOG delays packets caught by filter
Hi!
I want once again bring your attention to ipt_ULOG problem I described in my previous post [1]. There was no response, still I think problem is too serious to leave it. Christopher J. Oliver's case [2] shows the similar behaviour. Maybe bug is hard to notice but it decrease ulog reliability.
Please correct me if I'm wrong.
Patch was attached to my first mail [1].
[1] http://lists.netfilter.org/pipermail/netfilter-devel/2004-June/015860.html
[2] http://lists.gnumonks.org/pipermail/ulogd/2001-October/000034.html
Regards,
rj
Signature · 3 lines
. o . >> http://joker.linuxstuff.pl << . . o It's easier to get forgiveness for being wrong o o o than forgiveness for being right.
Hi,
Quoted 4 lines · ruby joker
Maybe bug is hard to notice but it decrease ulog reliability.
[1] http://lists.netfilter.org/pipermail/netfilter-devel/2004-June/015860.html
I think that this behaviour is related to the default qthreshold value. If I'm not wrong, we could fix this problem setting the default value to 0 instead of 1. In that case we need to update the iptables man page. If I'm missing something, please let me know.
regards,
Pablo
include/linux/netfilter_ipv4/ipt_ULOG.h +1 -1
@@ -12,7 +12,7 @@#endif #define ULOG_DEFAULT_NLGROUP 1 -#define ULOG_DEFAULT_QTHRESHOLD 1 +#define ULOG_DEFAULT_QTHRESHOLD 0#define ULOG_MAC_LEN 80#define ULOG_PREFIX_LEN 32
Index: libipt_ULOG.man
===================================================================
RCS file: /cvspublic/iptables/extensions/libipt_ULOG.man,v retrieving revision 1.1
libipt_ULOG.man +1 -1
@@ -22,6 +22,6 @@ .BI "--ulog-qthreshold " "size" Number of packet to queue inside kernel. Setting this value to, e.g. 10 accumulates ten packets inside the kernel and transmits them as one -netlink multipart message to userspace. Default is 1 (for backwards +netlink multipart message to userspace. Default is 0 (for backwards compatibility). .br
Quoted 11 lines · Pablo Neira
Hi,
Quoted 5 lines · ruby joker
Maybe bug is hard to notice but it decrease ulog reliability.
[1] http://lists.netfilter.org/pipermail/netfilter-devel/2004-June/015860.htmlI think that this behaviour is related to the default qthreshold value. If I'm not wrong, we could fix this problem setting the default value to 0 instead of 1. In that case we need to update the iptables man page. If I'm missing something, please let me know.
please forget this comment, I was under a wrong impression.
regards,
Pablo
Quoted 7 lines · ruby joker
Hi!
I want once again bring your attention to
ipt_ULOGproblem I described in my previous post [1]. There was no response, still I think problem is too serious to leave it. Christopher J. Oliver's case [2] shows the similar behaviour. Maybe bug is hard to notice but it decrease ulog reliability.
I am well aware of this problem, and I do by no means consider it as important as to push it into 2.6.8-rc2. The patch is pending for 2.6.9
Quoted 2 lines
Regards,
rj
Signature · 5 lines
- Harald Welte <[email protected]> http://www.netfilter.org/ ============================================================================ "Fragmentation is like classful addressing -- an interesting early architectural error that shows how much experimentation was going on while IP was being designed." -- Paul Vixie