Linux Netfilter discussions
 help / color / mirror / Atom feed
From: Jeffrey Laramie <JALaramie@Loudoun-Fairfax.com>
To: Netfilter <netfilter@lists.netfilter.org>
Subject: Re: MAC Block for the DHCP via iptables
Date: Mon, 17 Nov 2003 13:17:10 -0500	[thread overview]
Message-ID: <3FB910A6.9040207@Loudoun-Fairfax.com> (raw)
In-Reply-To: <200311171757.hAHHvTj22359@agate.rockstone.co.uk>

Antony Stone wrote:

>On Monday 17 November 2003 5:42 pm, Jeffrey Laramie wrote:
>
>  
>
>>Antony Stone wrote:
>>    
>>
>>>iptables -P INPUT DROP
>>>iptables -P FORWARD DROP
>>>iptables -P OUTPUT DROP
>>>
>>>iptables -F INPUT
>>>iptables -F FORWARD
>>>iptables -F OUTPUT
>>>
>>>then no IP traffic will be allowed into, out of, or through, the machine.
>>>      
>>>
>>Chandana, Antony is making a theoretical point here. Your loopback
>>interface uses the OUTPUT chain and dropping every OUTPUT packet could
>>cause some unexpected problems. I wouldn't recommend doing this. If you
>>ever really wanted to block *all* traffic just unplug the network card(s).
>>    
>>
>
>Very well said, Jeffrey :)
>
>Netfilter rules should never be implemented without understanding what they 
>do, and "blocking all traffic" is an unlikely condition for a working 
>machine.   Apart from anything else, what use is a machine that can't talk or 
>listen :) ?
>  
>

On this side of the pond we call them "paper weights" :p

Jeff



      reply	other threads:[~2003-11-17 18:17 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2003-11-17 16:35 MAC Block for the DHCP via iptables Chandana Bandara
2003-11-17 17:02 ` Antony Stone
2003-11-17 17:42   ` Jeffrey Laramie
2003-11-17 17:57     ` Antony Stone
2003-11-17 18:17       ` Jeffrey Laramie [this message]

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=3FB910A6.9040207@Loudoun-Fairfax.com \
    --to=jalaramie@loudoun-fairfax.com \
    --cc=netfilter@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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox