All of lore.kernel.org
 help / color / mirror / Atom feed
From: Robb Bossley <robb.bossley@gmail.com>
To: lartc@vger.kernel.org
Subject: [LARTC] Some questions
Date: Tue, 13 Dec 2005 12:43:46 +0000	[thread overview]
Message-ID: <5c6851530512130443j3a4ac990l59c6ac7552557966@mail.gmail.com> (raw)

First of all, thank you to all of you who have helped to make iptables
possible, whether in writing the code for it or testing it.  It is
BETTER than sliced bread!  :-)

Anyways, I have two questions related to the use of iptables.

1.  I read on a post somewhere that it is smart to put the following
two rules at the end of one's iptables ruleset:
iptables -A INPUT -p tcp -i eth0 -j REJECT --reject-with tcp-reset
iptables -A INPUT -p udp -i eth0 -j REJECT --reject-with tcp-reset
The reasoning was that it would not look like a software firewall, but
rather would look like a machine that had no open ports.  Does this
sound reasonable?  What would all of you do?

2.  I also read on some website that it is important to use this line
in the setup for iptables:
echo "1" > /proc/sys/net/ipv4/conf/eth0/rp_filter
What does this do (it said something about spoofing, but I did not
understand), and is it necessary?

Thank you all for your enlightenment!

Robb
_______________________________________________
LARTC mailing list
LARTC@mailman.ds9a.nl
http://mailman.ds9a.nl/cgi-bin/mailman/listinfo/lartc

             reply	other threads:[~2005-12-13 12:43 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2005-12-13 12:43 Robb Bossley [this message]
2005-12-13 15:46 ` [LARTC] Some questions Jeffrey B. Ferland
2005-12-13 21:06 ` Georgi Alexandrov
2005-12-14  6:11 ` Georgi Alexandrov

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=5c6851530512130443j3a4ac990l59c6ac7552557966@mail.gmail.com \
    --to=robb.bossley@gmail.com \
    --cc=lartc@vger.kernel.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 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.