From: cc <cc@belfordhk.com>
To: Netfilter Group <netfilter@lists.netfilter.org>
Subject: udp port 135
Date: Thu, 14 Aug 2003 12:24:25 +0800 [thread overview]
Message-ID: <3F3B0EF9.5040002@belfordhk.com> (raw)
[-- Attachment #1: Type: text/plain, Size: 1248 bytes --]
Hi,
Can someone comment on the following script as to whether or not
it should work? (It's related of course to the influx of 135
scans..)
iptables -A INPUT -i $EXT_DEV -p tcp -d $EXT_DEV --dport 135 -j DROP
iptables -A INPUT -i $EXT_DEV -p udp -d $EXT_DEV --dport 135 -j DROP
iptables -A OUTPUT -o $EXT_DEV -p tcp -d $EXT_DEV --dport 135 -j DROP
iptables -A OUTPUT -o $EXT_DEV -p udp -d $EXT_DEV --dport 135 -j DROP
Perhaps my understand of UDP packets isn't very deep, so I
might have missed some tidbit regarding the states of udp ports.
But with the above script portion, when I execute:
nmap -sT -p 135 <ext ip>
from a remote machine, I get a host down message. With
nmap -sT -P0 -p 135 <ext ip>,
I get a (135/tcp filtered). (Good news?)
But with :
nmap -sU -P0 -p 135 <ext ip>,
I get a (135/udp open).
Can someone explain to me what I'm doing wrong or what
information I have forgotten? Does it even matter
if the udp 135 port is open? I'm currently in
the process of closing all unneccessary ports
(be it tcp or udp).
Thanks.
** All information contained in this email is strictly **
** confidential and may be used by the intended receipient **
** only. **
next reply other threads:[~2003-08-14 4:24 UTC|newest]
Thread overview: 6+ messages / expand[flat|nested] mbox.gz Atom feed top
2003-08-14 4:24 cc [this message]
2003-08-14 5:35 ` udp port 135 Rob Sterenborg
2003-08-14 7:54 ` cc
2003-08-14 8:38 ` Maciej Soltysiak
2003-08-14 10:12 ` Ralf Spenneberg
2003-08-14 7:16 ` Maciej Soltysiak
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=3F3B0EF9.5040002@belfordhk.com \
--to=cc@belfordhk.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 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.