All of lore.kernel.org
 help / color / mirror / Atom feed
From: "John Sasso Jr" <jsassojr@nycap.rr.com>
To: '/dev/rob0' <rob0@gmx.co.uk>, netfilter@lists.netfilter.org
Subject: RE: Problem w/ iptables on FC3
Date: Mon, 4 Jul 2005 14:36:03 -0400	[thread overview]
Message-ID: <001701c580c7$3c53cfa0$644ba8c0@sassoj> (raw)
In-Reply-To: <200507040949.36383.rob0@gmx.co.uk>

Thank-you for the helpful response!

I'm curious - for the sample configuration I gave in my original posting,
why would:

iptables -A OUTPUT -o eth0 -s 192.168.50.100 -p icmp --icmp-type
echo-request -j ACCEPT

fail to permit a packet originating from my system out?  I understand what
"iptables -P OUTPUT ACCEPT" does, and I am not arguing the logic behind
using that instead for my situation, but I'm wondering if packet filtering
operates differently for traffic originated by a firewall as opposed to
traversing a firewall.

I looked through the Packet Filtering HOWTO, as well as Ziegler's "Linux
Firewalls" book but could not find an answer.  Thanks!

--john


> -----Original Message-----
> From: netfilter-bounces@lists.netfilter.org
> [mailto:netfilter-bounces@lists.netfilter.org]On Behalf Of /dev/rob0
> Sent: Monday, July 04, 2005 10:50 AM
> To: netfilter@lists.netfilter.org
> Subject: Re: Problem w/ iptables on FC3
>
>
> On Monday 04 July 2005 09:25, John Sasso wrote:
> > avail. Is this a bug?
>
> Not likely.
>
> > iptables --policy OUTPUT   DROP
>
> Don't do this. How do you think it will help? Do you have untrusted
> local shell users? If so, you are doomed anyway. They will find an
> opening, get root, and get out as they wish. If it's just you on the
> machine, OUTPUT filtering is silly. Use self-control, not netfilter.
>
> iptables -P OUTPUT ACCEPT
>
> For the return packets, go stateful. An example is posted in
> the thread
> earlier today, Subject: help me. It's also given and explained in the
> Packet Filtering HOWTO.
> --
>     mail to this address is discarded unless "/dev/rob0"
>     or "not-spam" is in Subject: header
>
>




  reply	other threads:[~2005-07-04 18:36 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2005-07-04 14:25 Problem w/ iptables on FC3 John Sasso
2005-07-04 14:49 ` /dev/rob0
2005-07-04 18:36   ` John Sasso Jr [this message]
2005-07-04 19:32     ` /dev/rob0

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='001701c580c7$3c53cfa0$644ba8c0@sassoj' \
    --to=jsassojr@nycap.rr.com \
    --cc=netfilter@lists.netfilter.org \
    --cc=rob0@gmx.co.uk \
    /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.