Update hotspot_proxy_v2.py

fix rptlTrack value 20 to 50
pull/10/head
Esteban Mackay Q. 8 months ago
parent 3d9d554f6c
commit 9b6ccc815a

@ -217,7 +217,7 @@ class Proxy(DatagramProtocol):
else: else:
self.rptlTrack[host] += 1 self.rptlTrack[host] += 1
if self.rptlTrack[host] > 20: if self.rptlTrack[host] > 50:
print('(RPTL) exceeded max: {}'.format(self.rptlTrack[host])) print('(RPTL) exceeded max: {}'.format(self.rptlTrack[host]))
_bltime = nowtime + 600 _bltime = nowtime + 600
self.IPBlackList[host] = _bltime self.IPBlackList[host] = _bltime

Loading…
Cancel
Save

Powered by TurnKey Linux.