On Thu, May 02, 2002 at 10:09:28PM -0500, JW wrote:
I'm still curious about the missing .so issue......
If you name an unknown target, iptables tries to "modprobe ipt_TARGET" or to load a library from /usr/lib/iptables. # iptables -I INPUT -s 10.0.0.1 -j ILLEGAL iptables v1.2.1a: Couldn't load target `ILLEGAL':/usr/lib/iptables/libipt_ILLEGAL.so: cannot open shared object file: No such file or directory man iptables tells us the 4 default target: ACCEPT, DROP, QUEUE, or RETURN and you may code your own... Perhaps your target is in lowercase where it has to be uppercase. Or have a close look at the end-of-line sequence. Try something like "grep ACCEPT /wherever/your/script/lies | od -x" to see if the unix-type with 0a or the MSDOS-type 0a0d occurs. Peter