Commit Graph
5 Commits
Author SHA1 Message Date
somebodywashere 09807b39aa No reason to write to BlockedIPs (#815) 2023-07-26 20:03:28 +03:30
6e22aa59e7 Added IP Limit Management to x-ui menu, Tweaked IP Limit to check every 20s (#615)
Co-authored-by: Hamidreza <70919649+hamid-gh98@users.noreply.github.com>
Co-authored-by: Ho3ein <ho3ein.sanaei@gmail.com>
2023-06-25 00:06:18 +03:30
somebodywashere 4e89c71095 Removed ipLimit from the panel, changed the code to work with fail2ban (#580)
* Logging for fail2ban service
Removed limitDevice and other unnecessary functions

* Logging for fail2ban service
Removed limitDevice and other unnecessary functions

* fixed shouldCleanLog

* last fix

* reduced ip limit detection frequency to 30 sec (less logging, more precise)
    changed maxretry in fail2ban jail config to 2 to fit above

* fixed check delay

* added 5 seconds delay before cleaning logs
2023-06-15 22:45:34 +03:30
somebodywashere c182f48079 [tgbot] - bugfix 2023-05-31 08:37:03 +00:00
somebodywashere 8442836512 [tgbot] - some fixes and improvments (#542) 2023-05-30 15:07:23 +03:30