GoodbyeDPI/src
ValdikSS 21ff80b43c Automatic TTL value picker for --set-ttl Fake Packet mode
This is a per-connection (per-destination) automatic TTL adjusting feature.
Basically a --set-ttl mode where you don't need to set specific TTL value.

It works as follows:
 1. All incoming SYN/ACKs (the response to client's SYN) are intercepted
 2. TTL value is extracted from SYN/ACK
 3. New TTL is calculated with the simple formula:
    128 > extracted_ttl > 64: // Server is running Windows
      fakepacket_ttl = 128 - extracted_ttl - decrement
    64 > extracted_ttl > 34: // Server is running Linux/FreeBSD/other
      fakepacket_ttl = 64 - extracted_ttl - decrement
 4. Fake packet is sent

To comply with the multi-path multi-hop server connections
where 1 hop dispersion is not rare, decrement should be at least of
value "2", which is the default.

The patch does not process "too strange" TTL values (bigger than 128,
less than 34).
2021-12-25 12:24:25 +03:00
..
utils Move program source code to src directory 2018-02-17 15:22:38 +03:00
Makefile Update Makefile, make fortify work on modern mingw compilers 2021-12-25 01:50:34 +03:00
blackwhitelist.c Integers fixes (with small modifications), closes #84 2019-01-03 19:31:32 +03:00
blackwhitelist.h Integers fixes (with small modifications), closes #84 2019-01-03 19:31:32 +03:00
dnsredir.c Integers fixes (with small modifications), closes #84 2019-01-03 19:31:32 +03:00
dnsredir.h Automatic TTL value picker for --set-ttl Fake Packet mode 2021-12-25 12:24:25 +03:00
fakepackets.c New Fake Packet circumvention method: wrong SEQ/ACK numbers 2021-12-25 11:55:26 +03:00
fakepackets.h New Fake Packet circumvention method: wrong SEQ/ACK numbers 2021-12-25 11:55:26 +03:00
goodbyedpi-rc.rc Move program source code to src directory 2018-02-17 15:22:38 +03:00
goodbyedpi.c Automatic TTL value picker for --set-ttl Fake Packet mode 2021-12-25 12:24:25 +03:00
goodbyedpi.exe.manifest Move program source code to src directory 2018-02-17 15:22:38 +03:00
goodbyedpi.h Fake Request Mode 2019-10-31 22:36:12 +03:00
icon.ico Move program source code to src directory 2018-02-17 15:22:38 +03:00
service.c Move program source code to src directory 2018-02-17 15:22:38 +03:00
service.h Move program source code to src directory 2018-02-17 15:22:38 +03:00
ttltrack.c Automatic TTL value picker for --set-ttl Fake Packet mode 2021-12-25 12:24:25 +03:00
ttltrack.h Automatic TTL value picker for --set-ttl Fake Packet mode 2021-12-25 12:24:25 +03:00