IPTables

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Is it just me or is /etc/rc.d/init.d/iptables wrong?

I'm using the last release before Core 1 became production, but I suspect nothing's changed -- I hope I'm wrong.

Anyone having issues with this script as a result of the first few lines?

IPTABLES=/sbin/iptables
IPTABLES_DATA=/etc/sysconfig/$IPTABLES
IPTABLES_CONFIG=/etc/sysconfig/${IPTABLES}-config
IPV=${IPTABLES%tables} # ip for ipv4 | ip6 for ipv6
PROC_IPTABLES_NAMES=/proc/net/${IPV}_tables_names
VAR_SUBSYS_IPTABLES=/var/lock/subsys/$IPTABLES

So, let me get this straight.  I'm supposed to create the file /etc/sysconfig/sbin/iptables-config so that this script will have the appropriate rules to apply?  That's just goofy.

How about:
IPTABLES=iptables

Does /sbin even need to be specified at all?  I know I'd prefer to just have the file /etc/sysconfig/iptables-config, but perhaps that's just me.

Thoughts?  I know I'd like to see the default script be a little more clean, epecially when I'd expect the config file to be found under /etc/sysconfig and not under /etc/sysconfig/sbin.

Phil

Attachment: pgpOjXWwpN3RU.pgp
Description: PGP signature


[Index of Archives]     [Current Fedora Users]     [Fedora Desktop]     [Fedora SELinux]     [Yosemite News]     [Yosemite Photos]     [KDE Users]     [Fedora Tools]     [Fedora Docs]

  Powered by Linux