From: Patrick Schaaf <bof@bof.de>
To: Patrick McHardy <kaber@trash.net>
Cc: Phil Oester <kernel@linuxace.com>, netfilter-devel@lists.netfilter.org
Subject: Re: [PATCH] iptables: handle cidr notation more sanely
Date: Mon, 10 Jul 2006 07:59:02 +0200 [thread overview]
Message-ID: <20060710055902.GA832@oknodo.bof.de> (raw)
In-Reply-To: <44B1D6FE.6080208@trash.net>
> > iptables -A foo -s 10.10/16
> >
> > will interpret 10.10/16 as 10.0.0.10/16, and after applying the mask end
> > up with 10.0.0.0/16, which likely isn't what the user intended. Yet
> > some people do expect 10.10 (without the cidr notation) to end up as
> > 10.0.0.10.
...
>
> Applied, thanks Phil. Hope all those lazy typers are happy now :)
Better hope the past lazy typers' boot time iptables scripts will not break
in any critical way by such a radical interpretation change.
Of course, it's all their own fault when that happens, lazy bastards.
Methinks that it would be better to make non-3-dots IP addresses
a syntax error, period.
best regards
Patrick
next prev parent reply other threads:[~2006-07-10 5:59 UTC|newest]
Thread overview: 6+ messages / expand[flat|nested] mbox.gz Atom feed top
2006-07-09 22:28 [PATCH] iptables: handle cidr notation more sanely Phil Oester
2006-07-10 4:26 ` Patrick McHardy
2006-07-10 5:59 ` Patrick Schaaf [this message]
2006-07-10 6:43 ` Patrick McHardy
2006-07-10 6:52 ` Patrick Schaaf
2006-07-10 7:24 ` Patrick McHardy
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=20060710055902.GA832@oknodo.bof.de \
--to=bof@bof.de \
--cc=kaber@trash.net \
--cc=kernel@linuxace.com \
--cc=netfilter-devel@lists.netfilter.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.