byedpi
byedpi copied to clipboard
`--def-ttl` doesn't work on Windows (7): `setsockopt IP_TTL: 10022`
Environment: Windows 7 SP1. ByeDPI v0.13.1+ at least. Reproduce Steps:
- Run proxy with
ciadpi.exe -i 127.0.0.1 --def-ttl 4
; - 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.