issue with the firewall ?

Hi,

Recently, I have been loosing network access, a while after resuming from suspend (and changing of network subnet).

I found out that my logs are full of “martian source” alerts, which are nothing else than my subnet addresses.

As restarting the firewall seemed to solve the problem, I came to the idea that there were some issue with the if-up / if-down scripts.

I checked this file, /etc/sysconfig/network/if-up.d/SuSEfirewall2, whose section of code makes me skeptical :

case "$0" in
        *if-up.d*) /sbin/SuSEfirewall2 -q start ;;
        *if-down.d*) /sbin/SuSEfirewall2 -q start ;;
        *) echo "don't know what to do" >&2 ;;
esac

Shouldn’t it be :

case "$0" in
        *if-up.d*) /sbin/SuSEfirewall2 -q start ;;
        *if-down.d*) /sbin/SuSEfirewall2 -q stop ;;
        *) echo "don't know what to do" >&2 ;;
esac

There is no script in the if-dow.d folder. I think the above script should be linked there.

Am I understanding right ? I want to make sure before opening a bug ticket.

Yes, doesn’t look right. Probably nobody noticed because there was no symlink in if-down.d so that branch never got executed. Whether there should be a symlink I don’t know.

File a bug report anyway.

Ok, thanks.

So there it is : https://bugzilla.novell.com/show_bug.cgi?id=474267