Commit 6483d9bb authored by Robert David Graham's avatar Robert David Graham
Browse files

Merge pull request #67 from MrPumo/fix-templ-pkt

Set TCP window size to 1024 in template pkt to avoid detection
parents 7997a4ef 8042cbe4
Loading
Loading
Loading
Loading
+2 −1
Original line number Diff line number Diff line
@@ -42,9 +42,10 @@ static unsigned char default_tcp_template[] =
    "\0\0\0\0"      /* ack number */
    "\x50"          /* header length */
    "\x02"          /* SYN */
    "\x0\x0"        /* window */
    "\x04\x0"        /* window fixed to 1024 */
    "\xFF\xFF"      /* checksum */
    "\x00\x00"      /* urgent pointer */
    "\x02\x04\x05\xb4"  /* added options [mss 1460] */
;

static unsigned char default_udp_template[] =