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. 

Thanks,
Dan

"Better is a poor man who walks in his integrity than a rich man who is crooked 
in his ways." - Proverbs 28:6

Sent from my iPad
_______________________________________________
Fail2ban-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/fail2ban-users

Reply via email to