Search found 16 matches

by leozim
26 May 2014, 14:32
Forum: General Discussion (csf)
Topic: CSF / Asterisk
Replies: 36
Views: 25604

Re: CSF / Asterisk

Hi,

Yes, I restart LFD after all changes and change CUSTOM1_LOG = "/var/log/asterisk/messages"

Is very stranger custom check dont work.

I need make changes on LF_TRIGGER or another options on /etc/csf/csf.conf?

Thank you
by leozim
23 May 2014, 17:47
Forum: General Discussion (csf)
Topic: CSF / Asterisk
Replies: 36
Views: 25604

Re: CSF / Asterisk

Re: Custom REGEX rules for CSF. Postby leozim » 23 May 2014 13:41 Hello, Last month I try to configure rules of Sergio and cant work, but is a very busy time to me and I dont back here to check again... at this time, I try new rules solution, but on here, dont work yet. I configure correctly CUSTOM1...
by leozim
10 Apr 2014, 18:32
Forum: General Discussion (csf)
Topic: CSF / Asterisk
Replies: 36
Views: 25604

Re: CSF / Asterisk

Ok, I create , thanks.

viewtopic.php?f=6&t=7717
by leozim
10 Apr 2014, 18:13
Forum: General Discussion (csf)
Topic: Regex Rule for Asterisk
Replies: 1
Views: 2582

Regex Rule for Asterisk

Hi, I'm starting make a rule to csf block ips of fail on asterisk SIP user login. This is line of log: [Apr 10 14:01:18] NOTICE[16683] chan_sip.c: Registration from '"8260" <sip:8260@111.111.111.111:5060>' failed for '2.2.2.2:5075' - No matching peer found 111.111.111.111 is asterisk serve...
by leozim
10 Apr 2014, 17:52
Forum: General Discussion (csf)
Topic: CSF / Asterisk
Replies: 36
Views: 25604

Re: CSF / Asterisk

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

I trying make my rule, but its my first experience with regex on csf.
by leozim
10 Apr 2014, 15:52
Forum: General Discussion (csf)
Topic: CSF / Asterisk
Replies: 36
Views: 25604

Re: CSF / Asterisk

Hello Sergio, can you share the rule? Thank you 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 configura...
by leozim
02 Nov 2012, 15:50
Forum: General Discussion (csf)
Topic: csfpre rules is remove by csf or lfd
Replies: 4
Views: 5772

csfpre rules is remove by csf or lfd

Hi, I use csfpre.sh to configure iptables rules to OPENVPN and work. But at 2 weeks aprox, openvpn stop work. I investigate and SNAT is disabled automaticly by CSF or LFD (dont known a correct reason) This is line on csfpre.sh: iptables -t nat -A POSTROUTING -s 10.8.0.0/24 -j SNAT --to 200.200.200.2...
by leozim
13 Jul 2011, 14:33
Forum: Report Bugs (csf)
Topic: CSF.Gallow problem on lfd dialy restart
Replies: 7
Views: 7947

Re: CSF.Gallow problem on lfd dialy restart

Hello, I not receive more updates about this problem, can I make one sugestion? on this crontab: /etc/cron.d/lfdcron.sh MAILTO= SHELL=/bin/sh 0 0 * * * root /etc/init.d/lfd restart > /dev/null 2>&1 put csf restart too, because the problem is on csf not receive all iptables rules, and not up the ...
by leozim
05 Jul 2011, 22:50
Forum: Report Bugs (csf)
Topic: CSF.Gallow problem on lfd dialy restart
Replies: 7
Views: 7947

Re: CSF.Gallow problem on lfd dialy restart

Hi, Thanks for fast response. I goes to change csf.conf to debug=1, after this I restart lfd, and imediatly restart csf too, and problem ocourring! After 1 hour, when crontab restart again csf/lfd server is fine, and i check logs, I not see problems, is below... Apper to me, /etc/csf/g* files is ok,...
by leozim
05 Jul 2011, 16:22
Forum: Report Bugs (csf)
Topic: CSF.Gallow problem on lfd dialy restart
Replies: 7
Views: 7947

Re: CSF.Gallow problem on lfd dialy restart

After I have problems all days, today can I see more details.. Problem ocorruing only lfd restart automactly , via cronjob I make a iptables --list on this situation, and analising Chain GALLOWIN (1 references) is'not present file /etc/csf/csf.gallow is ok, but when lfd restart not load this file to...