Re: ipset v6.25.1 does not recognize 'counters' as option

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Thanks, this is the output of ipset help | counters:

    list:set 1 counters support
    hash:net,iface 3 counters support
    hash:net,port 4 counters support
    hash:net 3 counters support
    hash:ip,port,net 4 counters support
    hash:ip,port,ip 2 counters support
    hash:ip,port 2 counters support
    hash:ip 1 counters support
    bitmap:port 1 counters support
    bitmap:ip,mac 1 counters support
    bitmap:ip 1 counters suppor

Seems I'm using the new kernel modules. Is there any make option to
enable counters in ipset user space tool?!

On Fri, Aug 21, 2015 at 1:52 PM, Anton Danilov
<littlesmilingcloud@xxxxxxxxx> wrote:
> Hello.
> You should be sure of using of right version kernel modules.
> Check output of 'ipset help'. May be you still using of old version
> kernel modules.
>
> 2015-08-21 11:08 GMT+03:00 Soroosh Sardari <soroosh.sardari@xxxxxxxxx>:
>> Hi
>>
>> I'm using ipset v6.25.1 in ubuntu 12.04
>>
>> uname -a
>> Linux soroosh 3.2.0-72-generic-pae #107-Ubuntu SMP Thu Nov 6 14:44:10
>> UTC 2014 i686 i686 i386 GNU/Linux
>>
>> ipset -V
>> ipset v6.25.1, protocol version: 6
>>
>> I compiled the ipset source code as following:
>> ./autogen.sh
>> ./configure
>> make
>> make modules
>> make install
>> make modules_install
>>
>> Unfortunately i get this error:
>> ipset create foo hash:ip timeout 0 counters
>> ipset v6.25.1: Unknown argument: `counters'
>> Try `ipset help' for more information.
>>
>> Any help appreciated
>>
>> Regards,
>> Soroosh Sardari
>> --
>> To unsubscribe from this list: send the line "unsubscribe netfilter" in
>> the body of a message to majordomo@xxxxxxxxxxxxxxx
>> More majordomo info at  http://vger.kernel.org/majordomo-info.html
>
>
>
> --
> Anton.
--
To unsubscribe from this list: send the line "unsubscribe netfilter" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html



[Index of Archives]     [Linux Netfilter Development]     [Linux Kernel Networking Development]     [Netem]     [Berkeley Packet Filter]     [Linux Kernel Development]     [Advanced Routing & Traffice Control]     [Bugtraq]

  Powered by Linux