LF_BIND trigger not working.

This forum is only for reproducible bugs with csf and lfd (i.e. not iptables problems, lack of understanding how to use a feature, etc). Posts must be accompanied with full technical details of the problem and how it can be recreated. Any posts not adhering to this, or not considered bugs, will be moved to the General Discussion (csf) forum.
Post Reply
marcele
Junior Member
Posts: 214
Joined: 17 Sep 2007, 17:02

LF_BIND trigger not working.

Post by marcele »

In my testing I wasn't able to get the LF_BIND login failure trigger to work. After checking some Centos7 and Centos 8 servers it looks like the BIND trigger in RegexMain.pm doesn't account for the hex value e.g. (@0x7f18041004f0) that is logged in Bind 9+ servers.

Broken (Currently used):
https://regex101.com/r/6y7q44/1

Fixed (I just added the (?: \S+)? to add a non-capturing group that is optional):
https://regex101.com/r/dAn2DK/1

I hope this helps!
Post Reply