clowwindy / ShadowVPN

Removed according to regulations.
1.47k stars 1.06k forks source link

TCP mode #117

Closed cpktpoetkxwz closed 9 years ago

cpktpoetkxwz commented 9 years ago

Send packets with forged TCP headers to avoid qos. Caveat:

clowwindy commented 9 years ago

Seems there're conflicts in the pull request.

cpktpoetkxwz commented 9 years ago

Oh, because I created the branch on May 13. I will rebase and re-edit the repo.

hdid commented 9 years ago

@Pentiumluyu any update?

cpktpoetkxwz commented 9 years ago

Did you find some bugs? @hdid

hdid commented 9 years ago

i could not build it for windows:

vpn.c:58:25: fatal error: netinet/tcp.h: No such file or directory

include <netinet/tcp.h>

                     ^

compilation terminated. Makefile:536: recipe for target 'vpn.lo' failed make[3]: * [vpn.lo] Error 1 make[3]: Leaving directory '/usr/src/ShadowVPN/src' Makefile:556: recipe for target 'all-recursive' failed make[2]: * [all-recursive] Error 1 make[2]: Leaving directory '/usr/src/ShadowVPN/src' Makefile:388: recipe for target 'all-recursive' failed make[1]: * [all-recursive] Error 1 make[1]: Leaving directory '/usr/src/ShadowVPN' Makefile:319: recipe for target 'all' failed make: * [all] Error 2

cpktpoetkxwz commented 9 years ago

I haven't complied in Cygwin and Darwin. I'll try to fix that.

clowwindy commented 9 years ago

@Pentiumluyu I've added you to collaborators, you can push to the tcp branch directly.