From: Arnt Karlsen <arnt@c2i.net>
To: netfilter@lists.netfilter.org
Subject: Re: Rejecting udp
Date: Mon, 3 Mar 2003 21:14:30 +0100 [thread overview]
Message-ID: <20030303211430.40a50766.arnt@c2i.net> (raw)
In-Reply-To: <20030303173805.GB24602@miggy.org>
On Mon, 3 Mar 2003 17:38:06 +0000,
Athan <netfilter@miggy.org> wrote in message
<20030303173805.GB24602@miggy.org>:
> On Mon, Mar 03, 2003 at 06:28:01PM +0100, Michael K wrote:
> > I saw this rule someware on the net.
> > $IPTABLES -A FORWARD -o $EXTERNALIF -p udp --dport 137 -j REJECT
> >
> > Whats the use to use reject on a UDP packet? Isn't udp
> > connection-less A more correct shouldn't that be "-j DROP"? Or am I
> > thinking wrong here?
>
> REJECT is "return some ICMP code saying 'no go'" usually something
> like 'port unreachable'.
> DROP is "just forget about this packet, send nothing back to the
> source".
...the latter is appropriate for your external interface to evade
scriptkiddies looking for easy enough prey, while you may prefer
the former for your internal lan wintendo users, to help them avoid
stalling their wintendos on trying to share files.
> Thus the difference has nothing to do with connectionful vs.
> connectionless.
>
> -Ath
--
..med vennlig hilsen = with Kind Regards from Arnt... ;-)
...with a number of polar bear hunters in his ancestry...
Scenarios always come in sets of three:
best case, worst case, and just in case.
next prev parent reply other threads:[~2003-03-03 20:14 UTC|newest]
Thread overview: 12+ messages / expand[flat|nested] mbox.gz Atom feed top
2003-03-03 17:28 Rejecting udp Michael K
2003-03-03 17:38 ` Athan
2003-03-03 20:14 ` Arnt Karlsen [this message]
2003-03-04 0:08 ` Willem Oldeman
2003-03-04 2:42 ` Skip Morrow
2003-03-06 10:53 ` Michael J. Tubby B.Sc. (Hons) G8TIC
2003-03-04 11:00 ` Skip Morrow
2003-03-04 11:26 ` Raymond Leach
2003-03-04 13:31 ` Skip Morrow
2003-03-04 23:51 ` Arnt Karlsen
2003-03-05 10:03 ` Maciej Soltysiak
2003-03-06 19:53 ` Manuel Samper
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=20030303211430.40a50766.arnt@c2i.net \
--to=arnt@c2i.net \
--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 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.