All of lore.kernel.org
 help / color / mirror / Atom feed
From: Elvar <elvar@elvar.org>
To: netfilter@vger.kernel.org
Subject: was there a syntax rule change regarding the use of '!'
Date: Wed, 29 Aug 2012 11:08:08 -0500	[thread overview]
Message-ID: <503E3E68.9040703@elvar.org> (raw)

Hello,

I just deployed by first Ubuntu 12.04 install and I was seeing errors in 
my typical iptables script. I found that I had to change the order of 
where I placed my '!' in the rule. For example...

OLD -> iptables -A FORWARD -i eth1 -s ! 192.168.42.0/24 -j DROP
NEW -> iptables -A FORWARD -i eth1 ! -s 192.168.42.0/24 -j DROP


I don't see anything about this in the changelog so I was just wondering 
if anyone else has seen this as well.

Thanks,
Elvar


             reply	other threads:[~2012-08-29 16:08 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2012-08-29 16:08 Elvar [this message]
2012-08-29 12:30 ` was there a syntax rule change regarding the use of '!' Neal Murphy
2012-08-29 18:49 ` Jan Engelhardt
2012-08-29 19:38   ` Elvar

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=503E3E68.9040703@elvar.org \
    --to=elvar@elvar.org \
    --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.