All of lore.kernel.org
 help / color / mirror / Atom feed
From: Husnu Demir <hdemir@metu.edu.tr>
To: Jozsef Kadlecsik <kadlec@blackhole.kfki.hu>
Cc: netfilter@vger.kernel.org
Subject: Re: Fwd: ipset and counters
Date: Mon, 22 Apr 2013 17:03:27 +0300	[thread overview]
Message-ID: <5175432F.2060304@metu.edu.tr> (raw)
In-Reply-To: <alpine.DEB.2.00.1304221554230.16792@blackhole.kfki.hu>

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1



On 22-04-2013 16:57, Jozsef Kadlecsik wrote:
> On Mon, 22 Apr 2013, Husnu Demir wrote:
> 
>> I want to give a try for COUNTERS properties of IPSET. But I
>> could not manage it;
>> 
>> # ipset create COUNTERS bitmap:ip  counters ipset v6.17: Unknown
>> argument: `counters' Try `ipset help' for more information.
> 
> What does "ipset help bitmap:ip" says? I suspect you have multiple
>  binaries at different paths.

# ipset help bitmap:ip
ipset v6.17

Usage: ipset [options] COMMAND


..

bitmap:ip type specific options:

create SETNAME bitmap:ip range IP/CIDR|FROM-TO
               [netmask CIDR] [timeout VALUE] [counters]
add    SETNAME IP|IP/CIDR|FROM-TO [timeout VALUE]
               [packets VALUE] [bytes VALUE]
del    SETNAME IP|IP/CIDR|FROM-TO
test   SETNAME IP

where IP, FROM and TO are IPv4 addresses (or hostnames),
      CIDR is a valid IPv4 CIDR prefix.

Type bitmap:ip supports family INET only.



hdemir.


-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.11 (GNU/Linux)
Comment: Using GnuPG with undefined - http://www.enigmail.net/

iQEcBAEBAgAGBQJRdUMvAAoJEISpBAM51qlE6m0H/0gjbvn41sIYniv4MscakUsh
lPZ1qu6eqWBxHC1GZUqkVMCcE0/+XpL+8R3cp4SC9p1tpX9l46jPKipiKdKki/vx
QbOs/LaMniQtadkkAs5hnDCX9k40OE4m3SAQfpQG0Vf9MlYnedUsEbEe9Hq38Wc+
8wJrrEqGJywdfjsiVHiBqu1nQs51vQ14wos42KyoUiz0YHh20O91H0AxSZlhm6Mq
4UDj4SZKO9AVIz2KyPPIZhOq/vjvgkP0d7CX5mmDsyuZaNxc30RTNzNJ8ItgWNM9
sVdNRCFNtLUOxq8E/opbU/aCZvGgGbmYLGKeexdElL44koFVyHHyNRjHPAQhiSk=
=VGvw
-----END PGP SIGNATURE-----

  reply	other threads:[~2013-04-22 14:03 UTC|newest]

Thread overview: 15+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
     [not found] <51752B00.8090908@metu.edu.tr>
2013-04-22 12:46 ` Fwd: ipset and counters Husnu Demir
2013-04-22 13:57   ` Jozsef Kadlecsik
2013-04-22 14:03     ` Husnu Demir [this message]
2013-04-22 17:24       ` Jozsef Kadlecsik
2013-05-06 13:14         ` tian fang
2013-05-06 13:40           ` Jozsef Kadlecsik
2013-05-06 14:03             ` tian fang
2013-05-06 14:46             ` tian fang
2013-05-06 18:28               ` Jozsef Kadlecsik
2013-05-06 19:59                 ` hdemir
2013-05-07 12:05                 ` tian fang
2013-05-07 12:19                   ` Jozsef Kadlecsik
2013-05-07 13:32                     ` tian fang
2013-05-07 13:40                       ` Jozsef Kadlecsik
2013-04-22 18:06 hdemir

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=5175432F.2060304@metu.edu.tr \
    --to=hdemir@metu.edu.tr \
    --cc=kadlec@blackhole.kfki.hu \
    --cc=netfilter@vger.kernel.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.