netfilter-devel.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* iptables ulog-cprange
@ 2012-05-08 20:58 Gaurav Sinha
  2012-05-08 22:36 ` Pablo Neira Ayuso
  0 siblings, 1 reply; 3+ messages in thread
From: Gaurav Sinha @ 2012-05-08 20:58 UTC (permalink / raw)
  To: netfilter-devel

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

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: iptables ulog-cprange
  2012-05-08 20:58 iptables ulog-cprange Gaurav Sinha
@ 2012-05-08 22:36 ` Pablo Neira Ayuso
  2012-05-09  7:13   ` Gaurav Sinha
  0 siblings, 1 reply; 3+ messages in thread
From: Pablo Neira Ayuso @ 2012-05-08 22:36 UTC (permalink / raw)
  To: Gaurav Sinha; +Cc: netfilter-devel

Hi Gaurav,

On Tue, May 08, 2012 at 01:58:44PM -0700, Gaurav Sinha wrote:
> 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

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.

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: iptables ulog-cprange
  2012-05-08 22:36 ` Pablo Neira Ayuso
@ 2012-05-09  7:13   ` Gaurav Sinha
  0 siblings, 0 replies; 3+ messages in thread
From: Gaurav Sinha @ 2012-05-09  7:13 UTC (permalink / raw)
  To: Pablo Neira Ayuso; +Cc: netfilter-devel

On 5/8/12 3:36 PM, Pablo Neira Ayuso wrote:
> Hi Gaurav,
>
> On Tue, May 08, 2012 at 01:58:44PM -0700, Gaurav Sinha wrote:
>> 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
> 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.
Thank you Pablo

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2012-05-09  7:13 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2012-05-08 20:58 iptables ulog-cprange Gaurav Sinha
2012-05-08 22:36 ` Pablo Neira Ayuso
2012-05-09  7:13   ` Gaurav Sinha

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).