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:
SamNet-dev
2026-02-05 23:22:50 -06:00
parent 0fddb190c9
commit 251fbec104

View File

@@ -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() skt = conf.L3socket()