All of lore.kernel.org
 help / color / mirror / Atom feed
* udp port 135
@ 2003-08-14  4:24 cc
  2003-08-14  5:35 ` Rob Sterenborg
  2003-08-14  7:16 ` Maciej Soltysiak
  0 siblings, 2 replies; 6+ messages in thread
From: cc @ 2003-08-14  4:24 UTC (permalink / raw)
  To: Netfilter Group

[-- 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.                                                   **


^ permalink raw reply	[flat|nested] 6+ messages in thread

end of thread, other threads:[~2003-08-14 10:12 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2003-08-14  4:24 udp port 135 cc
2003-08-14  5:35 ` 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

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.