On 1/4/2021 11:58 AM, Tommy wrote:
Hello,

I have been very happily using fail2ban to protect my network and I love it. I recently made a change to my home automation software though.  I set it up to send attachments from my cameras when motion is detected. Unfortunately, it is tripping the nginx-badbots-custom rule. I have tried to make a regex for the ignoreregex = section of the filter but have failed miserably each time. I was able to remove Attach out of the badbots = section and the filter no longer triggers. I suspect this is the offending line in the logs that is triggering the filter:

192.168.1.1 - - [04/Jan/2021:16:07:24 +0000] "POST /auth/token HTTP/1.1" 200 232 "-" "Extensions-NotificationService/2020.7 (io.robbie.HomeAssistant.APNSAttachmentService; build:11; iOS 14.2.0) Alamofire/4.9.1"

Could someone please either point me to some help with regex or help me get started on the regex.
I use Ignoreip to ignore my internal network and my cloud servers.

Doug


_______________________________________________
Fail2ban-users mailing list
Fail2ban-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/fail2ban-users

Reply via email to