mirror of
https://github.com/bol-van/zapret2.git
synced 2026-03-21 00:35:49 +00:00
nfqws2,zapret-auto: reset retransmitter
This commit is contained in:
@@ -158,6 +158,10 @@ function standard_failure_detector(desync, crec)
|
||||
dis_reverse(dis)
|
||||
dis.tcp.th_flags = TH_RST
|
||||
dis.tcp.th_win = desync.track and desync.track.pos.reverse.tcp.winsize or 64
|
||||
dis.tcp.options = {}
|
||||
if dis.ip6 then
|
||||
dis.ip6.ip6_flow = desync.track.pos.reverse.ip6_flow
|
||||
end
|
||||
DLOG("standard_failure_detector: sending RST to retransmitter")
|
||||
rawsend_dissect(dis)
|
||||
end
|
||||
|
||||
Reference in New Issue
Block a user