[Pkg-nagios-changes] [SCM] UNNAMED PROJECT branch, debian/master, updated. 810edbdd3feedbfe37f4a65bee50b57b2f60fa2a

nap naparuba at gmail.com
Tue Feb 28 22:16:56 UTC 2012


The following commit has been merged in the debian/master branch:
commit 81c3ec0067407aa31f588c1fb04a57a547bcd1c4
Author: nap <naparuba at gmail.com>
Date:   Sat Jan 28 22:02:50 2012 +0100

    Add : make the nmap discovery do tcp and udp scan.

diff --git a/libexec/nmap_discovery_runner.py b/libexec/nmap_discovery_runner.py
index 2588e20..66e1cb5 100755
--- a/libexec/nmap_discovery_runner.py
+++ b/libexec/nmap_discovery_runner.py
@@ -19,7 +19,7 @@
 #You should have received a copy of the GNU Affero General Public License
 #along with Shinken.  If not, see <http://www.gnu.org/licenses/>.
 
-#sudo nmap 192.168.0.1 -T4 -O --traceroute -oX toto.xml
+#sudo nmap 192.168.0.1 -sU -sT -T4 -O --traceroute -oX toto.xml
 
 import optparse
 import sys
@@ -251,7 +251,7 @@ if not simulate:
 
     print "propose a tmppath", tmppath
 
-    cmd = "sudo nmap %s -T4 -O --traceroute -oX %s" % (' '.join(targets) , tmppath)
+    cmd = "sudo nmap %s -sU -sT -T4 -O --traceroute -oX %s" % (' '.join(targets) , tmppath)
     print "Launching command,", cmd
     try:
         nmap_process = subprocess.Popen(

-- 
UNNAMED PROJECT



More information about the Pkg-nagios-changes mailing list