Skip to content

Commit

Permalink
New mode -3 (old -3 is now -4)
Browse files Browse the repository at this point in the history
  • Loading branch information
ValdikSS committed May 17, 2017
1 parent 0787b2a commit 609d8aa
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 4 deletions.
7 changes: 4 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -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

Expand Down
7 changes: 6 additions & 1 deletion goodbyedpi.c
Original file line number Diff line number Diff line change
Expand Up @@ -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':
Expand Down Expand Up @@ -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);
}
}
Expand Down

0 comments on commit 609d8aa

Please sign in to comment.