CSF / Asterisk

trupsalms
Junior Member
Posts: 2
Joined: 04 Apr 2014, 03:19

Re: CSF / Asterisk

Post by trupsalms »

Did You ever get this Working as i'm looking for the same solution?
leozim
Junior Member
Posts: 18
Joined: 30 May 2008, 14:35

Re: CSF / Asterisk

Post by leozim »

Hello Sergio, can you share the rule?

Thank you

Sergio wrote:You have a PM with the rule.

Please add the rule following the readme file directions.

After you add the regex, you have to restart LFD and it will show if the rules is right or if it has an error.

Remember to create a CUSTOM3_LOG in your CSF configuration with the /var/log/asterisk/messages
Sergio
Junior Member
Posts: 1712
Joined: 12 Dec 2006, 14:56

Re: CSF / Asterisk

Post by Sergio »

I never got an answer back, if you want to try it I can send it to you, but I will really appreciate if you can tell me if it worked or not.
leozim
Junior Member
Posts: 18
Joined: 30 May 2008, 14:35

Re: CSF / Asterisk

Post by leozim »

please give to me , I test and return to you.

I trying make my rule, but its my first experience with regex on csf.
Sergio
Junior Member
Posts: 1712
Joined: 12 Dec 2006, 14:56

Re: CSF / Asterisk

Post by Sergio »

leozim wrote:please give to me , I test and return to you.

I trying make my rule, but its my first experience with regex on csf.
@leozim,
please open a new thread and wrote there about 5 lines of the errors with the IPs that you want to block, then I will create an starting rule for you that you could modify to suit your need. As I don't have asterisk I can't test and try the rule.

Please add the name of the log file where you got that errors.

Sergio
leozim
Junior Member
Posts: 18
Joined: 30 May 2008, 14:35

Re: CSF / Asterisk

Post by leozim »

Ok, I create , thanks.

viewtopic.php?f=6&t=7717
keyjey
Junior Member
Posts: 7
Joined: 31 Oct 2013, 16:41

Re: CSF / Asterisk

Post by keyjey »

Sergio wrote:You have a PM with the rule.

Please add the rule following the readme file directions.

After you add the regex, you have to restart LFD and it will show if the rules is right or if it has an error.

Remember to create a CUSTOM3_LOG in your CSF configuration with the /var/log/asterisk/messages
Hi Sergio, can you share this to all users?

Thanks
Sergio
Junior Member
Posts: 1712
Joined: 12 Dec 2006, 14:56

Re: CSF / Asterisk

Post by Sergio »

keyjey wrote:
Sergio wrote:You have a PM with the rule.

Please add the rule following the readme file directions.

After you add the regex, you have to restart LFD and it will show if the rules is right or if it has an error.

Remember to create a CUSTOM3_LOG in your CSF configuration with the /var/log/asterisk/messages
Hi Sergio, can you share this to all users?

Thanks
Unfortunately I never received any feed back to know if the rule worked or not, so, I decided not to create any rule about asterix or any other system that I can't test, sorry.
simon templar
Junior Member
Posts: 19
Joined: 25 Mar 2010, 14:49

Re: CSF / Asterisk

Post by simon templar »

Sergio my apologies, I was traveling oversea for the past 7 weeks.
I'm back and will give it a shot and answer you today.
jehanzaib_kiani
Junior Member
Posts: 9
Joined: 19 Jul 2012, 07:56
Location: New Zealand

Re: CSF / Asterisk

Post by jehanzaib_kiani »

any word on this?
Post Reply