LinuxQuestions.org
Visit Jeremy's Blog.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Security
User Name
Password
Linux - Security This forum is for all security related questions.
Questions, tips, system compromises, firewalls, etc. are all included here.

Notices


Reply
  Search this Thread
Old 02-22-2007, 09:28 PM   #1
Synesthesia
Member
 
Registered: Jan 2004
Location: the abyss
Posts: 209

Rep: Reputation: 30
nmap version differences


Why does nmap 3.93 turn up port "113 auth" as closed, and nmap 4.11 turn up all as filtered?
 
Old 02-23-2007, 11:02 AM   #2
win32sux
LQ Guru
 
Registered: Jul 2003
Location: Los Angeles
Distribution: Ubuntu
Posts: 9,870

Rep: Reputation: 380Reputation: 380Reputation: 380Reputation: 380
Quote:
Originally Posted by Synesthesia
Why does nmap 3.93 turn up port "113 auth" as closed, and nmap 4.11 turn up all as filtered?
could you post the exact nmap command you used to scan the box with??

also, what does the output of these look like on the scanned box:
Code:
netstat -atn | grep "LISTEN "
Code:
iptables -L -v -n

Last edited by win32sux; 02-23-2007 at 02:33 PM.
 
Old 02-23-2007, 01:57 PM   #3
Synesthesia
Member
 
Registered: Jan 2004
Location: the abyss
Posts: 209

Original Poster
Rep: Reputation: 30
netstat -atn | grep "LISTEN" does not include the port in question (113), and iptables isn't running. When I scanned it with nmap 4.11 it was on the box itself (e.g. I did nmap 127.0.0.1). When I scanned it with nmap 3.93 it was from an external computer, but I made sure the open port was not from another computer on the network (no other computers on the ip at that time).
 
Old 02-23-2007, 02:22 PM   #4
win32sux
LQ Guru
 
Registered: Jul 2003
Location: Los Angeles
Distribution: Ubuntu
Posts: 9,870

Rep: Reputation: 380Reputation: 380Reputation: 380Reputation: 380
Quote:
Originally Posted by Synesthesia
netstat -atn | grep "LISTEN" does not include the port in question (113), and iptables isn't running.
okay...

Quote:
When I scanned it with nmap 4.11 it was on the box itself (e.g. I did nmap 127.0.0.1).
well, i do find it kinda weird that this would give you a "filtered" result...
Code:
win32sux@candystore:~$ nmap -p 113 127.0.0.1

Starting Nmap 4.03 ( http://www.insecure.org/nmap/ ) at 2007-02-23 15:18 EST
Interesting ports on localhost (127.0.0.1):
PORT    STATE  SERVICE
113/tcp closed auth

Nmap finished: 1 IP address (1 host up) scanned in 0.112 seconds
Quote:
When I scanned it with nmap 3.93 it was from an external computer, but I made sure the open port was not from another computer on the network (no other computers on the ip at that time).
what open port?? you said it appeared as "closed" - which would make perfect sense if there's no iptables rules and nothing listening on port 113...

just curious: have you seen anything in the changelog which might explain why your 4.11 is showing 113 on localhost as "filtered"??

Last edited by win32sux; 02-23-2007 at 02:45 PM.
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
nmap ? how do i do nmap in linux ? command not found abbasakhtar Linux - Newbie 2 01-02-2011 01:08 AM
Regarding distribution + kernel version + gcc version + glib version. JCipriani Linux - General 8 04-19-2008 02:54 PM
Nmap h4z Yoper 4 12-09-2004 02:09 AM
Differences between Redhat linux version 7,8,9 nrao Red Hat 1 10-20-2003 01:53 PM
Nmap 3.00 tied2 Linux - Security 4 08-13-2002 11:59 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Security

All times are GMT -5. The time now is 04:29 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration