From fb3486ceb45cb8a42caf2906522fdcc19e4d6eae Mon Sep 17 00:00:00 2001 From: kris Date: Thu, 26 Apr 2007 01:32:46 +0000 Subject: [PATCH] Fix Traceroute so that SYN packets are sent with an MSS of 1460 (wasn't passed to build_tcp_raw()) --- traceroute.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/traceroute.cc b/traceroute.cc index 17abcaa62..a84dcf9b0 100644 --- a/traceroute.cc +++ b/traceroute.cc @@ -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: