raise-isayan / TunProxy

Android VPN interceptor to send HTTP and HTTPS traffic to a proxy
454 stars 162 forks source link

fix a wrong queue data length #3

Closed simontrek closed 4 years ago

simontrek commented 4 years ago

Try this app and find a problem that when tcp windows scale is some value, connection will be always broken. Reproduce the problem:

  1. change tcp.c line 627 "s->tcp.recv_scale = ws;" -> "s->tcp.recv_scale = 8;" //ws is from device init tcp header, some device is 8
  2. Test it in android studio vitual device. chrome can't access any site.
raise-isayan commented 4 years ago

This problem will be fixed in v1.1.6.