Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Got tired of fighting with nmap
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Networking & Security
View previous topic :: View next topic  
Author Message
deis
n00b
n00b


Joined: 18 Feb 2006
Posts: 11

PostPosted: Thu Jul 14, 2016 1:18 pm    Post subject: Got tired of fighting with nmap Reply with quote

I'm trying to scan a range of local networks with nmap, but whenever I scan for a wider network, i.e. with more than 4096 (?) hosts (e.g. 10.10.0-255.1-254), I can't make nmap print the addresses of the hosts that are alive. It just tells me a number of hosts that are up (e.g. 5 up) without giving out their IPs. The actual nmap command is like follows (running as root):

nmap -p80 --open -PS80 -v2 -T4 <target network range>

If I substitute the network range with a certain IP or a smaller network range (i.e. with less than a certain number of nodes), nmap prints out the IPs of the hosts that are alive and have port 80 open. I tried different output options (-oN, -oG) but to no avail for bigger networks altogether...

Is it done on purpose and how to overcome this limitation (without splitting the range into smaller segments)? I'm using nmap 7.12
Back to top
View user's profile Send private message
eccerr0r
Watchman
Watchman


Joined: 01 Jul 2004
Posts: 9665
Location: almost Mile High in the USA

PostPosted: Thu Jul 21, 2016 5:56 pm    Post subject: Reply with quote

It almost seems that on the local subnet it can use a certain type of connection, and when you go outside you have to use the gateway/router and it may be filterring. Then again it seems like there might be a bug somewhere in nmap... dunno. Weird indeed. Don't know what your subnet size is but it might be tripping up nmap...
_________________
Intel Core i7 2700K/Radeon R7 250/24GB DDR3/256GB SSD
What am I supposed watching?
Back to top
View user's profile Send private message
deis
n00b
n00b


Joined: 18 Feb 2006
Posts: 11

PostPosted: Fri Jul 22, 2016 10:31 am    Post subject: Reply with quote

Never mind, I switched to masscan and it works flawlessly (and faster at that)
Back to top
View user's profile Send private message
JeroenMathon
n00b
n00b


Joined: 11 Aug 2016
Posts: 21
Location: The Netherlands

PostPosted: Thu Aug 11, 2016 1:49 pm    Post subject: Reply with quote

Also another tool which i recommend is Angry ip scanner.
http://angryip.org
It is a very powerful tool for scanning massive networks.
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Networking & Security All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum