diff --git a/tcp_syni.nim b/tcp_syni.nim index 0060ca0..4ca7381 100644 --- a/tcp_syni.nim +++ b/tcp_syni.nim @@ -258,6 +258,7 @@ proc doAccept(puncher: TcpSyniPuncher, srcIp: IpAddress, # FIXME: should attempts have timestamps, so we can decide here which ones to delete? if attempts.len() <= 1: break + sock.close() proc accept*(puncher: TcpSyniPuncher, srcPort: Port, dstIp: IpAddress, dstPorts: seq[Port],