Link to home
Start Free TrialLog in
Avatar of mukund_mahajan
mukund_mahajan

asked on

disable igmp in linux PC without compiling kernel

i want to disable IGMP on my linux PC. I do not want to compile kernel module for this.
is there any way to do this ???

like setting a configuration in file or
updating interface settings etc. ?
Avatar of expert1010
expert1010
Flag of Sweden image

Hi,

Check with:
sysctl net.ipv4.icmp_echo_ignore_all

If 0 then:
echo "1" > net.ipv4.icmp_echo_ignore_all

You might want to check this also.
sysctl -a | egrep accept_redirects
sysctl net.ipv4.icmp_ignore_bogus_error_responses
Argh. Sorry. Read icmp instead of igmp.
ASKER CERTIFIED SOLUTION
Avatar of expert1010
expert1010
Flag of Sweden image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
I found an old document that said that you should have 0 on both membership and filters for igmp to disable it.

This should do then.

echo "0" > /proc/sys/net/ipv4/igmp_max_memberships
echo "0" > /proc/sys/net/ipv4/igmp_max_msf
Avatar of mukund_mahajan
mukund_mahajan

ASKER

no