diff --git a/hotspot_proxy_v2.py b/hotspot_proxy_v2.py index 70790cf..a12df77 100644 --- a/hotspot_proxy_v2.py +++ b/hotspot_proxy_v2.py @@ -213,7 +213,8 @@ class Proxy(DatagramProtocol): self.rptlTrack[host] += 1 if self.rptlTrack[host] > 20: - self.IPBlackList[host] = (nowtime + 600) + _bltime = nowtime + 6000 + self.IPBlackList[host] = _bltime if self.clientinfo: print('(RPTL) Add to blacklist: host {}. Expire time {}'.format(self.peerTrack[_peer_id]['shost'],_bltime))