Op 5/04/2011 21:50, dan (ddp) schreef:
According to the ConfigServer documentation the following command may work:
"/usr/sbin/csf -a, --add ip"
This command "allows an IP and add to /etc/csf.allow "
Check out the readme: http://www.configserver.com/free/csf/readme.txt
Section "10. Advanced Allow/Deny Filters" may be useful as well.
dan
On Tue, Apr 5, 2011 at 3:40 PM, Gurtaj Singh<[email protected]> wrote:
woops my bad..xD
kinda forgot the name
anyways dan look at the features it doesnt really have a whitelist as
such
but u can remove the ip from the blacklist?
o.0
On Tue, 2011-04-05 at 15:30 -0400, dan (ddp) wrote:
Ok, that doesn't really answer my question (googling for "custom
security firewall" doesn't provide much). Googling for "csf" gives me
"configserver security& firewall," some cpanel thing (which uses
iptables).
I guess I should have also asked why you can't whitelist the IP to
access your mail server?
On Tue, Apr 5, 2011 at 3:22 PM, Gurtaj Singh<[email protected]> wrote:
@dan csf means custom security firewall. Its totally different from
iptables as far as i know. @erik i have no clue how to do that as of
now...but im looking into it
G
On Tue, 2011-04-05 at 15:03 -0400, dan (ddp) wrote:
What is csf?
On Tue, Apr 5, 2011 at 1:38 PM, Erik<[email protected]> wrote:
Hi,
My ossec.log tells me this all the time
2011/04/05 12:23:23 ossec-maild(1223): ERROR: Error Sending email to
xxx.xx.xxx.xx (smtp server)
I found out this is being caused by my firewall that's blocking ossec but
how do i tell my firewall to allow those mails?
my firewall is csf i can't just whitelist an ip address...
Erik
problem solved !
For anybody with the same problem you need to change some settings goto
"firewall configuration" and look for
SMTP_BLOCK = 1
SMTP_ALLOWLOCAL = 0
if both values are like above change
SMTP_ALLOWUSER = cpanel,ossecm
save & restart
where "ossecm" is the uid ossec-maild is running under you can see this by
ps aux | grep ossec
thanks,
Erik