From f97a2d04f01e00c378569b63228361dd5dcb5762 Mon Sep 17 00:00:00 2001 From: ValdikSS Date: Thu, 30 Dec 2021 03:44:37 +0300 Subject: [PATCH] Use --max-payload-size=1200 for -5 and -6 modes. --- src/goodbyedpi.c | 3 +++ 1 file changed, 3 insertions(+) diff --git a/src/goodbyedpi.c b/src/goodbyedpi.c index 11196d1..e019e4b 100644 --- a/src/goodbyedpi.c +++ b/src/goodbyedpi.c @@ -634,6 +634,7 @@ int main(int argc, char *argv[]) { do_fragment_http_persistent = do_fragment_http_persistent_nowait = 1; do_fake_packet = 1; do_auto_ttl = 1; + max_payload_size = 1200; } while ((opt = getopt_long(argc, argv, "123456prsaf:e:mwk:n", long_options, NULL)) != -1) { @@ -666,6 +667,7 @@ int main(int argc, char *argv[]) { do_fragment_http_persistent = do_fragment_http_persistent_nowait = 1; do_fake_packet = 1; do_auto_ttl = 1; + max_payload_size = 1200; break; case '6': do_fragment_http = do_fragment_https = 1; @@ -674,6 +676,7 @@ int main(int argc, char *argv[]) { do_fragment_http_persistent = do_fragment_http_persistent_nowait = 1; do_fake_packet = 1; do_wrong_seq = 1; + max_payload_size = 1200; break; case 'p': do_passivedpi = 1;