Compare commits

...

3 Commits

Author SHA1 Message Date
bol-van
d97e7920cc winws: fix non-working HUP reload 2024-10-17 10:40:56 +03:00
bol-van
84c0c79ce7 remove bad file 2024-10-17 10:32:43 +03:00
bol-van
7fc2ff30f5 recompile killall to remove huge dll depends 2024-10-17 10:16:04 +03:00
7 changed files with 3 additions and 0 deletions

Binary file not shown.

View File

@ -491,6 +491,7 @@ static int win_main(const char *windivert_filter)
win_dark_deinit(); win_dark_deinit();
return w_win32_error; return w_win32_error;
} }
*ifout=0; *ifout=0;
if (wa.Outbound) snprintf(ifout,sizeof(ifout),"%u.%u", wa.Network.IfIdx, wa.Network.SubIfIdx); if (wa.Outbound) snprintf(ifout,sizeof(ifout),"%u.%u", wa.Network.IfIdx, wa.Network.SubIfIdx);
DLOG("packet: id=%u len=%zu %s IPv6=%u IPChecksum=%u TCPChecksum=%u UDPChecksum=%u IfIdx=%u.%u\n", id, len, wa.Outbound ? "outbound" : "inbound", wa.IPv6, wa.IPChecksum, wa.TCPChecksum, wa.UDPChecksum, wa.Network.IfIdx, wa.Network.SubIfIdx); DLOG("packet: id=%u len=%zu %s IPv6=%u IPChecksum=%u TCPChecksum=%u UDPChecksum=%u IfIdx=%u.%u\n", id, len, wa.Outbound ? "outbound" : "inbound", wa.IPv6, wa.IPChecksum, wa.TCPChecksum, wa.UDPChecksum, wa.Network.IfIdx, wa.Network.SubIfIdx);
@ -506,6 +507,8 @@ static int win_main(const char *windivert_filter)
} }
else else
{ {
dohup();
mark=0; mark=0;
// pseudo interface id IfIdx.SubIfIdx // pseudo interface id IfIdx.SubIfIdx
verdict = processPacketData(&mark, ifout, packet, &len); verdict = processPacketData(&mark, ifout, packet, &len);