From 9f6a8460ac70dc42558d6f159e73a13d14c84438 Mon Sep 17 00:00:00 2001 From: z3APA3A <3APA3A@3proxy.ru> Date: Thu, 15 Oct 2020 01:17:10 +0300 Subject: [PATCH] limit failed mapping attempts to 13 --- src/sockmap.c | 1 + 1 file changed, 1 insertion(+) diff --git a/src/sockmap.c b/src/sockmap.c index 4981ffa..8e1c1f5 100644 --- a/src/sockmap.c +++ b/src/sockmap.c @@ -157,6 +157,7 @@ log(logbuf); #endif if(needaction > 2 && !sleeptime){ + if(needaction > 13){RETURN (93);} sleeptime = (1<<(needaction-2)); } if(sleeptime > 0) {