Page 2 of 4

Re: CSF / Asterisk

Posted: 04 Apr 2014, 03:22
by trupsalms
Did You ever get this Working as i'm looking for the same solution?

Re: CSF / Asterisk

Posted: 10 Apr 2014, 15:52
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

Re: CSF / Asterisk

Posted: 10 Apr 2014, 17:30
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.

Re: CSF / Asterisk

Posted: 10 Apr 2014, 17:52
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.

Re: CSF / Asterisk

Posted: 10 Apr 2014, 18:00
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

Re: CSF / Asterisk

Posted: 10 Apr 2014, 18:32
by leozim
Ok, I create , thanks.

viewtopic.php?f=6&t=7717

Re: CSF / Asterisk

Posted: 29 Apr 2014, 03:14
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

Re: CSF / Asterisk

Posted: 29 Apr 2014, 03:58
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.

Re: CSF / Asterisk

Posted: 29 Apr 2014, 12:06
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.

Re: CSF / Asterisk

Posted: 12 May 2014, 02:44
by jehanzaib_kiani
any word on this?