ipset bug?

Bill Shirley bshirley at memphis.apirx.biz
Tue Nov 6 10:02:51 UTC 2012


Replying to myself for completeness.  There is a fix:
https://bugzilla.redhat.com/show_bug.cgi?id=846053

Bill


On 11/4/2012 10:57 PM, Bill Shirley wrote:
> Notice the timeout value is wrong in the ipset created below:
>
> [root at moses bin]# rpm -q ipset
> ipset-6.11-1.fc17.x86_64
> [root at moses bin]# ipset x HTTPhacker
> [root at moses bin]# ipset create HTTPhacker hash:ip timeout 86400
> [root at moses bin]# ipset list HTTPhacker
> Name: HTTPhacker
> Type: hash:ip
> Header: family inet hashsize 1024 maxelem 65536 timeout 4294967
> Size in memory: 16504
> References: 0
> Members:
> [root at moses bin]# ipset add HTTPhacker 10.0.0.1
> [root at moses bin]# ipset add HTTPhacker 10.0.0.2 timeout 3600
> [root at moses bin]# ipset list HTTPhacker
> Name: HTTPhacker
> Type: hash:ip
> Header: family inet hashsize 1024 maxelem 65536 timeout 4294967
> Size in memory: 16632
> References: 0
> Members:
> 10.0.0.2 timeout 4294960
> 10.0.0.1 timeout 4294953
>
> Have I got the syntax wrong or is this a bug?
>
> Bill
>



More information about the users mailing list