New mode -3 (old -3 is now -4)

This commit is contained in:
ValdikSS 2017-05-17 22:02:22 +03:00
parent 0787b2a5f0
commit 609d8aa037
2 changed files with 10 additions and 4 deletions

View File

@ -21,14 +21,15 @@ Usage: goodbyedpi.exe [OPTION...]
-1 enables all options, -f 2 -e 2 (most compatible mode, default)
-2 enables all options, -f 2 -e 40 (better speed yet still compatible)
-3 all options except fragmentation (best speed)
-3 all options except HTTP fragmentation, -e 40 (even better speed)
-4 all options except fragmentation (best speed)
```
Try to run `goodbyedpi.exe` without any arguments first. If you can open blocked websites it means your ISP has DPI which can be circumvented. This is the slowest mode.
Then try `goodbyedpi.exe -2`. It should be faster for HTTPS sites.
Then try `goodbyedpi.exe -2`. It should be faster for HTTPS sites. Mode `-3` speed ups HTTP websites.
Use `goodbyedpi.exe -3` if it works for your ISP's DPI. This is the fastest mode but not compatible with every DPI.
Use `goodbyedpi.exe -4` if it works for your ISP's DPI. This is the fastest mode but not compatible with every DPI.
# How does it work

View File

@ -126,6 +126,10 @@ int main(int argc, char *argv[]) {
https_fragment_size = 40;
break;
case '3':
do_passivedpi = do_host = do_host_removespace \
= do_fragment_https = 1;
https_fragment_size = 40;
case '4':
do_passivedpi = do_host = do_host_removespace = 1;
break;
case 'p':
@ -163,7 +167,8 @@ int main(int argc, char *argv[]) {
"\n"
" -1 enables all options, -f 2 -e 2 (most compatible mode, default)\n"
" -2 enables all options, -f 2 -e 40 (better speed yet still compatible)\n"
" -3 all options except fragmentation (best speed)\n");
" -3 all options except HTTP fragmentation, -e 40 (even better speed)\n"
" -4 all options except fragmentation (best speed)\n");
exit(EXIT_FAILURE);
}
}