byedpi icon indicating copy to clipboard operation
byedpi copied to clipboard

`--def-ttl` doesn't work on Windows (7): `setsockopt IP_TTL: 10022`

Open EvgenKo423 opened this issue 5 months ago • 4 comments

Environment: Windows 7 SP1. ByeDPI v0.13.1+ at least. Reproduce Steps:

  1. Run proxy with ciadpi.exe -i 127.0.0.1 --def-ttl 4;
  2. Try to open any website.

Expected Result: TTL is set. Actual Result: Error setsockopt IP_TTL: 10022.

new event: fd: 220, evt: EV_ACCEPT, mod_iter: 0
accept: fd=116
new event: fd: 116, evt: EV_REQUEST, mod_iter: 1
setsockopt IP_TTL: 10022
ss error: 0
close: fds=116,-1, recv: 0,0, rounds: 0,0

This happens only for new connections, --ttl for fake works.

EvgenKo423 avatar Sep 21 '24 10:09 EvgenKo423