Skip to contentSkip to conversation

iptables ulog-cprange

DISCUSSION Applied Gaurav Sinha 2 participants 3 messages May 8, 2012 – May 9, 2012 netfilter

lore
Share & tools
lore
#0 lore raw

Hi All,

I am getting this error which points out the ulog-cprange that I am using is incorrect. It should be a value in between 1-50. The man page says 0 is allowed too, i.e. any number of bytes. But, I cannot configure zero as well.

Is zero no longer supported? Probably the man page is not updated with this information.

iptables v1.4.12.2: ULOG: bad value for option "--ulog-cprange", or out of range (1-50).

Try `iptables -h' or 'iptables --help' for more information.
Error: [iptables -t raw -I MY_PREROUTING_HOOK 1 -i eth0 -j ULOG --ulog-nlgroup 2 --ulog-cprange 64 --ulog-qthreshold 10] failed - 512

Thanks
Gaurav

maintainer Applied
#1 lore raw

Hi Gaurav,

Quoted 11 lines · Gaurav Sinha

Hi All,

I am getting this error which points out the ulog-cprange that I am using is incorrect. It
should be a value in between 1-50. The man page says 0 is allowed too, i.e. any number of
bytes. But, I cannot configure zero as well.

Is zero no longer supported? Probably the man page is not updated with this information.

Quoted 6 lines

iptables v1.4.12.2: ULOG: bad value for option "--ulog-cprange", or out of range (1-50).

Try `iptables -h' or 'iptables --help' for more information.
Error: [iptables -t raw -I MY_PREROUTING_HOOK 1 -i eth0 -j ULOG --ulog-nlgroup 2 --ulog-cprange 64 --ulog-qthreshold 10] failed - 512

A bug was accidentally introduced in:

1f2474a libipt_ULOG: use guided option parser

I have applied the following patch to resolve this issue:

http://git.netfilter.org/cgi-bin/gitweb.cgi?p=iptables.git;a=commitdiff;h=6111382a6c27e73c1cef1777c1253be0453a9dbb;hp=8db1044ba608a78035bbf89007aab6b6d8ff6f68

Thanks for reporting the problem.

#2 lore raw
Quoted 22 lines · Pablo Neira Ayuso

Hi Gaurav,

Quoted 11 lines · Gaurav Sinha

Hi All,

I am getting this error which points out the ulog-cprange that I am using is incorrect. It
should be a value in between 1-50. The man page says 0 is allowed too, i.e. any number of
bytes. But, I cannot configure zero as well.

Is zero no longer supported? Probably the man page is not updated with this information.

Quoted 6 lines

iptables v1.4.12.2: ULOG: bad value for option "--ulog-cprange", or out of range (1-50).

Try `iptables -h' or 'iptables --help' for more information.
Error: [iptables -t raw -I MY_PREROUTING_HOOK 1 -i eth0 -j ULOG --ulog-nlgroup 2 --ulog-cprange 64 --ulog-qthreshold 10] failed - 512

A bug was accidentally introduced in:

Quoted 7 lines

1f2474a libipt_ULOG: use guided option parser

I have applied the following patch to resolve this issue:

http://git.netfilter.org/cgi-bin/gitweb.cgi?p=iptables.git;a=commitdiff;h=6111382a6c27e73c1cef1777c1253be0453a9dbb;hp=8db1044ba608a78035bbf89007aab6b6d8ff6f68

Thanks for reporting the problem.

Thank you Pablo