1
0
mirror of https://github.com/nmap/nmap.git synced 2026-01-06 06:29:03 +00:00

Fix Traceroute so that SYN packets are sent with an MSS of 1460 (wasn't passed to build_tcp_raw())

This commit is contained in:
kris
2007-04-26 01:32:46 +00:00
parent 9bc73ed043
commit fb3486ceb4

View File

@@ -744,7 +744,7 @@ Traceroute::sendProbe (TraceProbe * tp) {
packet = build_tcp_raw (&source, &tp->ipdst, tp->ttl, get_random_u16 (),
get_random_u8 (), 0, NULL, 0, tp->sport, tp->dport,
get_random_u32 (), ack, 0, scaninfo.scan_flags,
get_random_u16 (), 0, NULL, 0,
get_random_u16 (), 0, tcpopts, tcpoptslen,
o.extra_payload, o.extra_payload_length, &packetlen);
break;
case IPPROTO_UDP: