Disable logging of martian source

Restart SuSEfirewall2.

The custom rules script can be used to disable logging of martian source. As first step enable the execution of the custom rules script. Edit /etc/sysconfig/SuSEfirewall2 and add the path and file name of the custom rules script in FW_CUSTOMRULES.


The example above shows the empty script with the functions that SuSEfirewall2 expects.
Add the following code in function fw_custom_after_finished() right before true.

# disable logging of martian source packages for all interfaces
for i in /proc/sys/net/ipv4/conf/*; do
setproc 0 $i/log_martians

Restart SuSEfirewall2.