openbsd-ports/net/nmap/patches/patch-scan-engine_cc
giovanni e6fc392521 Update to 6.25
lot of improvements in nse scripting engine and in ipv6 support
Full changelog: http://nmap.org/changelog.html
Help and ok sthen@ and dcoppa@
2012-12-19 17:12:11 +00:00

19 lines
770 B
Plaintext

--- scan_engine.cc.orig Wed Oct 31 18:00:55 2012
+++ scan_engine.cc Fri Nov 30 12:43:04 2012
@@ -5540,13 +5540,13 @@ static void begin_sniffer(UltraScanInfo *USI, std::vec
if (doIndividual) {
pcap_filter = "dst host ";
pcap_filter += inet_ntop_ez(&source, sizeof(source));
- pcap_filter += " and (icmp or icmp6 or ((tcp or udp or sctp) and (";
+ pcap_filter += " and (icmp or icmp6 or ((tcp or udp) and (";
pcap_filter += dst_hosts;
pcap_filter += ")))";
} else {
pcap_filter = "dst host ";
pcap_filter += inet_ntop_ez(&source, sizeof(source));
- pcap_filter += " and (icmp or icmp6 or tcp or udp or sctp)";
+ pcap_filter += " and (icmp or icmp6 or tcp or udp)";
}
} else {
assert(0);