I've tried this with 3 different kernels, 2.0.34-36 and RH
dists 5.1 and 5.2 the problem persists.
entering: ipfwadm -F -p masq
works fine and masquerading is activated
entering something like:ipfwadm -F -i deny -S 184.108.40.206
will fail with: ipfwadm: setsockopt failed: Invalid argument
I have copiled a 2.0.35 kernel on an intel box and had no
trouble getting ipfwadm to work as expected.
This may sound like a dumb question but do you have IP_Firewalling and
IP_Masquerading enabled in you kernel config and properly recompiled
the kernel? The kernels ship with 5.2 may have these disabled by
Yes, I have compiled in all the appropriate kernel parts.
the Masq, and forwarding are working perfectly except for the inability
to change the non-default rules.
Could not get this to fail on a test lab machine with a stock install