Permalink
Browse files

make nmap scans less agressive to improve accuracy

  • Loading branch information...
1 parent cf0ec54 commit 7f71f6df1f7e4eeb181e6df9c8a844182f423780 @micolous committed Jan 20, 2013
Showing with 1 addition and 1 deletion.
  1. +1 −1 tollgate/frontend/models.py
@@ -585,7 +585,7 @@ def refresh_networkhost(portal=None):
portal = get_portalapi()
# use nbtscan to scan the whole network. it's pretty quick
#fh = popen("nbtscan -qe " + settings.LAN_SUBNET)
- fh = popen("nmap -sP -n -T5 -oG - " + settings.LAN_SUBNET)
+ fh = popen("nmap -sP -n -T4 -oG - " + settings.LAN_SUBNET)
hosts = fh.readlines()
fh.close()

0 comments on commit 7f71f6d

Please sign in to comment.