Notice the timeout value is wrong in the ipset created below:

[root@moses bin]# rpm -q ipset
ipset-6.11-1.fc17.x86_64
[root@moses bin]# ipset x HTTPhacker
[root@moses bin]# ipset create HTTPhacker hash:ip timeout 86400
[root@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@moses bin]# ipset add HTTPhacker 10.0.0.1
[root@moses bin]# ipset add HTTPhacker 10.0.0.2 timeout 3600
[root@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

--
users mailing list
users@lists.fedoraproject.org
To unsubscribe or change subscription options:
https://admin.fedoraproject.org/mailman/listinfo/users
Guidelines: http://fedoraproject.org/wiki/Mailing_list_guidelines
Have a question? Ask away: http://ask.fedoraproject.org

Reply via email to