Commit 8042cbe4 authored by MrPumo's avatar MrPumo
Browse files

Set TCP window size to 1024 in template pkt to avoid detection

parent 3200420b
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[] =