Search found 2 matches

by hinzinho
11 Sep 2013, 01:18
Forum: General Discussion (csf)
Topic: custom regex for SIP and Asterisk
Replies: 1
Views: 3604

Re: custom regex for SIP and Asterisk

I am lost as why the regex.custom.pm is not running. To test if it even getting into the script, I added an Else statement. Nothing in thing lfd.log. :confused: if (($lgfile eq $config{CUSTOM1_LOG}) and ($line =~ /^.* failed for .* - No matching peer found/ )) { return ("Failed Asterisk login $...
by hinzinho
10 Sep 2013, 07:12
Forum: General Discussion (csf)
Topic: custom regex for SIP and Asterisk
Replies: 1
Views: 3604

custom regex for SIP and Asterisk

I am running an Asterisk system with the SIP port open to the internet. I would like csf to block SIP brute force. I have spent many hours searching and testing but my custom regex doesn't do anything. I don't see anything logged from my custom script in lfd.log and my ip is not being blocked. under...