Linux Netfilter discussions
 help / color / mirror / Atom feed
From: Henrik Nordstrom <hno@marasystems.com>
To: Filipe Almeida <filipe@rnl.ist.utl.pt>,
	Thomas Heinz <josef.k@mytomorrow.de>
Cc: netfilter-devel@lists.samba.org, netfilter@lists.samba.org
Subject: Re: Arbitrary Netmasks
Date: Tue, 28 May 2002 20:45:13 +0200	[thread overview]
Message-ID: <200205282045.14015@henrik.marasystems.com> (raw)
In-Reply-To: <5.1.1.2.2.20020528150443.00b9ad58@ns.rnl.ist.utl.pt>

Which is not generally a valid thing to assume.. the .255 and/or .0 
address may be in use on larger networks, especially if addresses are 
assigned dynamically using a large DHCP scope..


On Tuesday 28 May 2002 16:07, Filipe Almeida wrote:
> I usually use:
>
> iptables -A FORWARD -s 0.0.0.255/0.0.0.255 -j DROP
> iptables -A FORWARD -d 0.0.0.255/0.0.0.255 -j DROP
> iptables -A FORWARD -s 0.0.0.0/0.0.0.255 -j DROP
> iptables -A FORWARD -d 0.0.0.0/0.0.0.255 -j DROP
>
> to stop routing of broadcasted packets. This works assuming you
> only have 256 sized classes.



  reply	other threads:[~2002-05-28 18:45 UTC|newest]

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
     [not found] <3CF383A9.7000106@mytomorrow.de>
2002-05-28 14:07 ` Arbitrary Netmasks Filipe Almeida
2002-05-28 18:45   ` Henrik Nordstrom [this message]
2002-05-29  9:57     ` Filipe Almeida
2002-05-28 15:03 ` Patrick Schaaf
2002-05-28 18:53 ` Henrik Nordstrom
     [not found] <Pine.LNX.4.44.0205281532550.12350-100000@dlang.diginsite.com>
2002-05-29  5:22 ` Thomas Lussnig
     [not found] <20020528132402.GN9802@ns>
2002-05-28 13:30 ` Joost Remijn
2002-05-28 13:35   ` Thomas Heinz

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=200205282045.14015@henrik.marasystems.com \
    --to=hno@marasystems.com \
    --cc=filipe@rnl.ist.utl.pt \
    --cc=josef.k@mytomorrow.de \
    --cc=netfilter-devel@lists.samba.org \
    --cc=netfilter@lists.samba.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