Use --max-payload-size=1200 for -5 and -6 modes.

This commit is contained in:
ValdikSS 2021-12-30 03:44:37 +03:00
parent d7c681d1a2
commit f97a2d04f0

View File

@ -634,6 +634,7 @@ int main(int argc, char *argv[]) {
do_fragment_http_persistent = do_fragment_http_persistent_nowait = 1; do_fragment_http_persistent = do_fragment_http_persistent_nowait = 1;
do_fake_packet = 1; do_fake_packet = 1;
do_auto_ttl = 1; do_auto_ttl = 1;
max_payload_size = 1200;
} }
while ((opt = getopt_long(argc, argv, "123456prsaf:e:mwk:n", long_options, NULL)) != -1) { 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_fragment_http_persistent = do_fragment_http_persistent_nowait = 1;
do_fake_packet = 1; do_fake_packet = 1;
do_auto_ttl = 1; do_auto_ttl = 1;
max_payload_size = 1200;
break; break;
case '6': case '6':
do_fragment_http = do_fragment_https = 1; 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_fragment_http_persistent = do_fragment_http_persistent_nowait = 1;
do_fake_packet = 1; do_fake_packet = 1;
do_wrong_seq = 1; do_wrong_seq = 1;
max_payload_size = 1200;
break; break;
case 'p': case 'p':
do_passivedpi = 1; do_passivedpi = 1;