View previous topic :: View next topic |
Author |
Message |
Chol n00b
Joined: 06 Feb 2004 Posts: 34 Location: Germany
|
Posted: Wed Jul 28, 2004 5:07 pm Post subject: nmap running as root problem |
|
|
as non-root:
Code: | bash-2.05b$ nmap 192.168.1.8
Starting nmap 3.55 ( http://www.insecure.org/nmap/ ) at 2004-07-28 19:01 CEST
Interesting ports on . (192.168.1.8):
(The 1652 ports scanned but not shown below are in state: closed)
PORT STATE SERVICE
22/tcp open ssh
25/tcp open smtp
81/tcp open hosts2-ns
111/tcp open rpcbind
139/tcp open netbios-ssn
515/tcp open printer
2001/tcp open dc
2005/tcp open deslogin
Nmap run completed -- 1 IP address (1 host up) scanned in 0.390 seconds |
as root:
Code: | bash-2.05b# nmap 192.168.1.8
Starting nmap 3.55 ( http://www.insecure.org/nmap/ ) at 2004-07-28 19:02 CEST
Note: Host seems down. If it is really up, but blocking our ping probes, try -P0
Nmap run completed -- 1 IP address (0 hosts up) scanned in 12.031 seconds |
Already tried different nmap versions, the network is not firewalled and running nmap as root from the 192.168.1.8 Debian-Box works without problems. Why not on Gentoo? |
|
Back to top |
|
|
Jeremy_Z l33t
Joined: 05 Apr 2004 Posts: 671 Location: Shanghai
|
Posted: Wed Jul 28, 2004 5:11 pm Post subject: |
|
|
Works fine here, it is not a Gentoo issue. Try other scans -sS is default for root and -sT is used for non-root. _________________ "Because two groups of consumers drive the absolute high end of home computing: the gamers and the porn surfers." /.
My gentoo projects, Kelogviewer and a QT4 gui for etc-proposals |
|
Back to top |
|
|
Chol n00b
Joined: 06 Feb 2004 Posts: 34 Location: Germany
|
Posted: Wed Jul 28, 2004 8:09 pm Post subject: |
|
|
I know the difference between these both, but -sS and -sT both don't work as root - in Debian they do |
|
Back to top |
|
|
nephros Advocate
Joined: 07 Feb 2003 Posts: 2139 Location: Graz, Austria (Europe - no kangaroos.)
|
Posted: Wed Jul 28, 2004 8:38 pm Post subject: |
|
|
Chol wrote: | I know the difference between these both, but -sS and -sT both don't work as root - in Debian they do |
chmod a+s nmap? _________________ Please put [SOLVED] in your topic if you are a moron. |
|
Back to top |
|
|
Jeremy_Z l33t
Joined: 05 Apr 2004 Posts: 671 Location: Shanghai
|
Posted: Wed Jul 28, 2004 9:06 pm Post subject: |
|
|
Re-emerge it perhaps, it works fine on my comp and i can't see why it should not work.
Use a packet sniffer to check. _________________ "Because two groups of consumers drive the absolute high end of home computing: the gamers and the porn surfers." /.
My gentoo projects, Kelogviewer and a QT4 gui for etc-proposals |
|
Back to top |
|
|
amne Bodhisattva
Joined: 17 Nov 2002 Posts: 6378 Location: Graz / EU
|
Posted: Thu Jul 29, 2004 9:16 am Post subject: |
|
|
This seems to be a duplicate of nmap strange behaviour when using as root.
The difference isn't -sS vs. -sT but the detection if the host is up before (see my post in the other thread).
Moving from Networking & Security to Duplicate Threads. |
|
Back to top |
|
|
|