heiher / hev-socks5-server

A high-performance socks5 server for Unix (Linux/Android/BSD/macOS)
MIT License
185 stars 33 forks source link

Changing the TCP / IP Fingerprint #48

Closed Sky-Chrome closed 1 month ago

Sky-Chrome commented 1 month ago

Been using this to selfhost a few proxies myself. Some well known providers are using TCP/IP fingerprinting to detect whether the user is behind a proxy. I was wondering whether it was possible to simply change the TCP options? Mainly the TCP window buffer size is mainly OS dependent, and they are checking whether the OS of the tcp connection is mismatching with real client.

https://linux.die.net/man/7/tcp According here we can change SO_RCVBUF but doing my own testing that didn't seem to change the TCP window size

heiher commented 1 month ago

I'm not familiar with TCP fingerprinting, do you know what are some best practices?