All of lore.kernel.org
 help / color / mirror / Atom feed
From: "Ed Street" <blacknet@simplyaquatics.com>
To: 'Christian Seberino' <seberino@spawar.navy.mil>,
	netfilter@lists.samba.org
Subject: RE: Default DROP policy for mangle and nat in iptables necessary/wise?
Date: Mon, 24 Jun 2002 15:02:18 -0400	[thread overview]
Message-ID: <001e01c21bb1$a95115a0$0a01a8c0@ed> (raw)
In-Reply-To: <20020624114515.A3324@spawar.navy.mil>

Hello,

Is there any distinction made between PREROUTING and POSTROUTING for the
drop policy?

Try this.
        "$IPTABLES" -t nat -P PREROUTING DROP
        "$IPTABLES" -t nat -P POSTROUTING DROP

It *DOES* work and it's highly effective.

Ed


-----Original Message-----
From: netfilter-admin@lists.samba.org
[mailto:netfilter-admin@lists.samba.org] On Behalf Of Christian Seberino
Sent: Monday, June 24, 2002 2:45 PM
To: netfilter@lists.samba.org
Subject: Default DROP policy for mangle and nat in iptables
necessary/wise?

Linux Firewalls book assigns a default drop policy
to mangle and nat tables.

I could not get DROP policy to work on these
tables and I am skeptical this serves any useful
purpose anyway since packets must all traverse
filter table anyway.

Is the author of Linux Firewalls on drugs or is
this really useful somehow?? (assuming you can
get it to work)

Chris

-- 
_______________________________________

Dr. Christian Seberino
SPAWAR Systems Center San Diego
Code 2363
53560 Hull Street
San Diego, CA 92152-5001
U.S.A.

Phone: (619) 553-7940
Fax:   (619) 553-2836
Email: seberino@spawar.navy.mil
_______________________________________



  reply	other threads:[~2002-06-24 19:02 UTC|newest]

Thread overview: 12+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2002-06-24 18:41 iptables -F & iptables -X good enough *for all* tables/chains? Christian Seberino
2002-06-24 18:45 ` Default DROP policy for mangle and nat in iptables necessary/wise? Christian Seberino
2002-06-24 19:02   ` Ed Street [this message]
2002-06-24 23:36     ` Christian Seberino
2002-06-25  0:11       ` Ramin Alidousti
2002-06-24 18:47 ` iptables -F & iptables -X good enough *for all* tables/chains? Ed Street
2002-06-24 19:57   ` Christian Seberino
2002-06-24 20:27     ` Ramin Alidousti
2002-06-24 20:34     ` Antony Stone
2002-06-24 21:20     ` Patrick Schaaf
2002-06-24 21:19       ` Ramin Alidousti
2002-06-25  6:04         ` Patrick Schaaf

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='001e01c21bb1$a95115a0$0a01a8c0@ed' \
    --to=blacknet@simplyaquatics.com \
    --cc=netfilter@lists.samba.org \
    --cc=seberino@spawar.navy.mil \
    /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.