fix: set source IP in GFK VIO server packets
VIO server constructed raw TCP packets with IP() which defaults source IP to 0.0.0.0. Packets get dropped by routers so the client never receives responses. Fix: IP(src=vps_ip) to use the configured server IP. Ref #27
This commit is contained in:
@@ -90,7 +90,7 @@ async def forward_vio_to_quic(qu1, transport):
|
||||
|
||||
|
||||
|
||||
basepkt = IP() / TCP(sport=vio_tcp_server_port, seq=1, flags=tcp_flags, ack=0, options=tcp_options) / Raw(load=b"")
|
||||
basepkt = IP(src=vps_ip) / TCP(sport=vio_tcp_server_port, seq=1, flags=tcp_flags, ack=0, options=tcp_options) / Raw(load=b"")
|
||||
|
||||
skt = conf.L3socket()
|
||||
|
||||
|
||||
Reference in New Issue
Block a user