All of lore.kernel.org
 help / color / mirror / Atom feed
From: "Szabolcs Gyurko" <szabolcs.gyurko@tlt.hu>
To: "Alexey Toptygin" <alexeyt@freeshell.org>,
	"Martin Josefsson" <gandalf@wlug.westbo.se>
Cc: netfilter-devel@lists.netfilter.org
Subject: Re: Strange thing with iptables
Date: Thu, 09 Sep 2004 16:36:06 +0200	[thread overview]
Message-ID: <opsd2dignwle1n2s@mail.tlt.hu> (raw)
In-Reply-To: <Pine.NEB.4.60.0409091430510.3683@ukato.freeshell.org>

Sure. That is what seems to me an absolute discarding of the ipv4 rules.
But it's a feature, so...


On Thu, 9 Sep 2004 14:33:06 +0000 (UTC), Alexey Toptygin  
<alexeyt@freeshell.org> wrote:

> On Thu, 9 Sep 2004, Martin Josefsson wrote:
>
>>> which looked like:
>>>
>>> iptables -A FORWARD -s $machine/255.255.0.255 -j ACCEPT
>>>
>>>
>>> What I was surprised on is the netmask. Is this a feature or a bug? I  
>>> mean
>>> this is quite strange netmask for me.
>>
>> It's a feature :)
>> It doesn't make the current code any more complicated.
>> And ther are actually people using it to do weird stuff...
>
> Do you mean that one can use arbitrary bitmasks wherever netfilter wants  
> a netmask value?
> So, one might select all IPs with the LSB set with 0.0.0.1/0.0.0.1?
>
>  			Alexey
>



-- 
Szabolcs Gyurko

  reply	other threads:[~2004-09-09 14:36 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2004-09-09 11:49 Strange thing with iptables Szabolcs Gyurko
2004-09-09 12:18 ` Martin Josefsson
2004-09-09 14:33   ` Alexey Toptygin
2004-09-09 14:36     ` Szabolcs Gyurko [this message]
2004-09-10  8:20       ` Jozsef Kadlecsik
2004-09-09 14:38     ` Martin Josefsson
2004-09-11 17:52   ` Willy Tarreau

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=opsd2dignwle1n2s@mail.tlt.hu \
    --to=szabolcs.gyurko@tlt.hu \
    --cc=alexeyt@freeshell.org \
    --cc=gandalf@wlug.westbo.se \
    --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.