Hi all -
I am using msec for security (mandrake) and no iptables.
I know how to change the various levels of msec , but i am having a problem setting my server to reply to pings.
The "level" i want to use for msec writes the following line to my sysctl.conf file:
Code:
net.ipv4.icmp_ignore_bogus_error_responses=1
net.ipv4.conf.all.rp_filter=1
net.ipv4.icmp_echo_ignore_broadcasts=1
net.ipv4.icmp_echo_ignore_all=1
net.ipv4.conf.all.log_martians=1
The sysctl has at the top which is not rewritten when i change anything:
Code:
# Controls IP packet forwarding
#net.ipv4.ip_forward = 0
# Disables IP dynaddr
net.ipv4.ip_dynaddr = 0
# Disable ECN
net.ipv4.tcp_ecn = 0
# Controls source route verification
net.ipv4.conf.default.rp_filter = 1
I changed in the /usr/share/msec/level.x file a line that had:
Code:
accept_icmp_echo no
to
Code:
accept_icmp_echo yes
So my question is, how/what do i need to change to have the server respong to pings.
Also , a seconday question, what is the difference between ignore_broadcasts and ignore_all?
*edit* I put this in here bc it involves msec, if it is more appropriate somewhere else please move it
Thanks in advance!