mitchellkrogza / Fail2Ban.WebExploits

This custom Fail2Ban filter and jail will deal with all scans for common Wordpress, Joomla and other Web Exploits being scanned for by automated bots and those seeking to find exploitable web sites.
Other
169 stars 36 forks source link

Update webexploits.conf #4

Closed VedranIteh closed 3 years ago

VedranIteh commented 4 years ago

*Testing the speed with fail2ban-regex I get significantly faster iteration of a big log file with a regex formed like this. It is searching only a part of the string after it finds http method for each entry. more memory efficient and faster banning.

I suggest future improvements in initializing 2 variables, one for referer and one for requested url as some of this lines are getting hits in referer and some in get urls. by having 2 sepparate arrays making even more efficient regexp would be possible.

mitchellkrogza commented 3 years ago

Thanks I will look into the generation formatting. Changes cannot be made directly to webexploits.conf as it is generated during the builds.