- Issue created by @jsidigital
- πΊπ¦Ukraine goodboy Kharkiv, Ukraine
Hi, Juan Carlos!
The Autoban uses SQL Like syntax on its queries,
Using * denotes one of 3 options:- begin with (foo%)
- ends with (%foo)
- contains inside (%foo%)
The Autoban query uses message and variables fields, I have changed dev version of Autoban and now you can see the variables field values at the Log analyze page. I think you need to use REGEXP mode for Autoban module instead of LIKE with wildcards for your case. You can try to create SQL query using REGEXP by mysql/phpmyadmin and then to create an Autoban rule.
- πΊπΈUnited States jsidigital
Thank you for the reply @goodboy
Not sure if I follow...
So basically I set my settings to use REGEXP, then use this?
foo%/%foo%.%foo%.%foo%.%foo%
This would cover any link that ends in an IP address?
- πΊπ¦Ukraine goodboy Kharkiv, Ukraine
I don't think this template (foo%/%foo%.%foo%.%foo%.%foo%) will work, need to create new one with regexp syntax.