All of lore.kernel.org
 help / color / mirror / Atom feed
From: Martin Josefsson <gandalf@wlug.westbo.se>
To: Szabolcs Gyurko <szabolcs.gyurko@tlt.hu>
Cc: netfilter-devel@lists.netfilter.org
Subject: Re: Strange thing with iptables
Date: Thu, 09 Sep 2004 14:18:15 +0200	[thread overview]
Message-ID: <1094732295.8900.7.camel@localhost.localdomain> (raw)
In-Reply-To: <opsd15s018le1n2s@mail.tlt.hu>

[-- Attachment #1: Type: text/plain, Size: 522 bytes --]

On Thu, 2004-09-09 at 13:49, Szabolcs Gyurko wrote:
> Hi all,
> 
> 
> I found a strange issue with the iptables. One of my friend showed me a  
> rule
> 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...

-- 
/Martin

[-- Attachment #2: This is a digitally signed message part --]
[-- Type: application/pgp-signature, Size: 189 bytes --]

  reply	other threads:[~2004-09-09 12:18 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 [this message]
2004-09-09 14:33   ` Alexey Toptygin
2004-09-09 14:36     ` Szabolcs Gyurko
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=1094732295.8900.7.camel@localhost.localdomain \
    --to=gandalf@wlug.westbo.se \
    --cc=netfilter-devel@lists.netfilter.org \
    --cc=szabolcs.gyurko@tlt.hu \
    /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.