Linux Netfilter discussions
 help / color / mirror / Atom feed
From: Jimmy Thrasibule <thrasibule.jimmy@gmail.com>
To: Jozsef Kadlecsik <kadlec@blackhole.kfki.hu>
Cc: netfilter@vger.kernel.org
Subject: Re: Strange behavior with ipset not matching on public range
Date: Mon, 27 May 2013 16:44:56 +0200	[thread overview]
Message-ID: <1369665896.4058.29.camel@BEWS005.euractiv.com> (raw)
In-Reply-To: <alpine.DEB.2.00.1305271548390.11760@blackhole.kfki.hu>


> 
> What is your ipset version? You should post iptables rules in 
> iptables-save format...

# ipset -V
ipset v6.12.1, protocol version: 6

And here are the rules corresponding to my previous iptables output:

-A FW_OUT -p icmp -j CTRLOUT
-A FW_OUT -m set --match-set fw_iface_all src,dst  -j FW_OUT_common   # Match
-A FW_OUT -m set --match-set fw_iface_pub src,dst  -j FW_OUT_pub      # No match
-A FW_OUT -o eth1 -s 217.x.x.122/32 -d any/0 -j FW_OUT_pub            # Match
-A FW_OUT -m set --match-set fw_iface_priv src,dst -j FW_OUT_priv     # Match
-A FW_OUT -m comment --comment "EOF" -j DROP

> 
> Best regards,
> Jozsef
> -
> E-mail  : kadlec@blackhole.kfki.hu, kadlecsik.jozsef@wigner.mta.hu
> PGP key : http://www.kfki.hu/~kadlec/pgp_public_key.txt
> Address : Wigner Research Centre for Physics, Hungarian Academy of Sciences
>           H-1525 Budapest 114, POB. 49, Hungary



  reply	other threads:[~2013-05-27 14:44 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2013-05-27 13:42 Strange behavior with ipset not matching on public range Jimmy Thrasibule
2013-05-27 13:49 ` Jozsef Kadlecsik
2013-05-27 14:44   ` Jimmy Thrasibule [this message]
2013-05-27 18:13     ` Jozsef Kadlecsik
2013-05-28 13:30       ` Jimmy Thrasibule
2013-05-28 13:33         ` Jimmy Thrasibule
2013-05-28 13:35         ` Jozsef Kadlecsik

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=1369665896.4058.29.camel@BEWS005.euractiv.com \
    --to=thrasibule.jimmy@gmail.com \
    --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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox