All of lore.kernel.org
 help / color / mirror / Atom feed
* nmap and "filtered" ports
@ 2003-03-21 17:34 urgrue
  2003-03-21 18:27 ` Glynn Clements
  0 siblings, 1 reply; 12+ messages in thread
From: urgrue @ 2003-03-21 17:34 UTC (permalink / raw)
  To: linux-admin

can someone explain to me what exactly it means when nmap sees ports as 
"filtered"?
because this is confusing me a bit:

myhostname:/ # nmap localhost
Starting nmap V. 2.54BETA30 ( www.insecure.org/nmap/ )
Interesting ports on localhost (127.0.0.1):
(The 1542 ports scanned but not shown below are in state: closed)
Port       State       Service
21/tcp     open        ftp
22/tcp     open        ssh
25/tcp     open        smtp
80/tcp     open        http
139/tcp    open        netbios-ssn
515/tcp    open        printer
10000/tcp  open        snet-sensor-mgmt

these are all the ports im using, localhost indeed can access them 
unconditionally. but nmap from the outside:

rata:~ nmap myhostname.etc.etc.
Starting nmap V. 2.3BETA6 by Fyodor (fyodor@dhp.com, www.insecure.org/nmap/)
Interesting ports on a.b.c.d (1.2.3.4):
Port    State       Protocol  Service
21      open        tcp       ftp
22      open        tcp       ssh
25      filtered    tcp       smtp
80      open        tcp       http
111     filtered    tcp       sunrpc
137     filtered    tcp       netbios-ns
138     filtered    tcp       netbios-dgm
139     filtered    tcp       netbios-ssn
515     filtered    tcp       printer
756     filtered    tcp       unknown
1434    filtered    tcp       ms-sql-m
2049    filtered    tcp       nfs

so it sees the open ports which are indeed open. port 1434, 21049, 756, 
111, etc are absolutely definitely not in use on my server. the others, 
that are in use, 25, 515, 139, etc, are absolutely definitely DROPped by 
iptables when accessed from the external interface (as this nmap is doing). 
i can tcpdump on the external interface and witness that my server is not 
sending back any reply packets whatsoever, during the nmap, except for 
ports 21,22,and 80.

so how on earth does nmap come to these conclusions?


^ permalink raw reply	[flat|nested] 12+ messages in thread
* Re: Running an ftp Server Behind a Router/Firewall
@ 2003-03-25 14:40 Marshall Lake
  0 siblings, 0 replies; 12+ messages in thread
From: Marshall Lake @ 2003-03-25 14:40 UTC (permalink / raw)
  To: linux-admin


Thanks for everyone's input with regard to my problem.  I've discovered
that the cause lies with the router (Linksys BEFSR81 V2) firmware
(v2.44.2).  There are two areas where port forwarding can be configured.
For ftp (and only ftp as far as I can tell) port forwarding must be done
in the area entitled "Port Range Forwarding".

-- 
Marshall Lake -- mlake@mlake.net -- http://mlake.net


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

end of thread, other threads:[~2003-03-25 14:40 UTC | newest]

Thread overview: 12+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2003-03-21 17:34 nmap and "filtered" ports urgrue
2003-03-21 18:27 ` Glynn Clements
2003-03-21 18:59   ` urgrue
2003-03-21 22:03     ` Glynn Clements
2003-03-21 22:25     ` Nathan
2003-03-22  1:40       ` Running an ftp Server Behind a Router/Firewall Marshall Lake
2003-03-22  8:33         ` Artem Daniliants
     [not found]           ` <Pine.LNX.4.10.10303220921460.17766-100000@mlake.net>
2003-03-22 16:52             ` Artem Daniliants
2003-03-23 16:09               ` Scott Taylor
2003-03-24 23:35                 ` Marshall Lake
2003-03-25  1:10         ` Glynn Clements
  -- strict thread matches above, loose matches on Subject: below --
2003-03-25 14:40 Marshall Lake

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.