mirror of
https://github.com/9001/copyparty.git
synced 2026-11-15 13:38:24 +00:00
drop one of the slowloris detectors
This commit is contained in:
1 parent
89c9f45fd0
commit
7c76d08958
6 files changed
+9
-28
No files matched your search
@@ -266,8 +266,8 @@ class HttpSrv(object):
|
||||
continue
|
||||
|
||||
t = "slowloris (idle-conn): {} banned for {} min"
|
||||
self.log(self.name, t.format(ip, self.args.loris2, nclose), 1)
|
||||
self.bans[ip] = int(time.time() + self.args.loris2 * 60)
|
||||
self.log(self.name, t.format(ip, self.args.loris, nclose), 1)
|
||||
self.bans[ip] = int(time.time() + self.args.loris * 60)
|
||||
|
||||
if self.args.log_conn:
|
||||
self.log(self.name, "|%sC-acc1" % ("-" * 2,), c="90")
|
||||
|
||||
Reference in new issue
Block a user