diff --git a/iptables-config b/iptables-config index 80e37fb..4f1fd28 100644 --- a/iptables-config +++ b/iptables-config @@ -3,35 +3,36 @@ # Space separated list of nat helpers (e.g. 'ip_nat_ftp ip_nat_irc'), which # are loaded after the firewall rules are applied. Options for the helpers are # stored in /etc/modules.conf. -#IPTABLES_MODULES="" +IPTABLES_MODULES="" # Unload modules on restart and stop # Value: yes|no, default: yes # This option has to be 'yes' to get to a sane state for a firewall # restart or stop. Only set to 'no' if there are problems unloading netfilter # modules. -#IPTABLES_MODULES_UNLOAD="yes" +IPTABLES_MODULES_UNLOAD="yes" # Save current firewall rules on stop. # Value: yes|no, default: no # Saves all firewall rules to /etc/sysconfig/iptables if firewall gets stopped # (e.g. on system shutdown). -#IPTABLES_SAVE_ON_STOP="no" +IPTABLES_SAVE_ON_STOP="no" # Save current firewall rules on restart. # Value: yes|no, default: no # Saves all firewall rules to /etc/sysconfig/iptables if firewall gets # restarted. -#IPTABLES_SAVE_ON_RESTART="no" +IPTABLES_SAVE_ON_RESTART="no" # Save (and restore) rule and chain counter. # Value: yes|no, default: no # Save counters for rules and chains to /etc/sysconfig/iptables if # 'service iptables save' is called or on stop or restart if SAVE_ON_STOP or # SAVE_ON_RESTART is enabled. -#IPTABLES_SAVE_COUNTER="no" +IPTABLES_SAVE_COUNTER="no" # Numeric status output -# Value: yes|no, default: no +# Value: yes|no, default: yes # Print IP addresses and port numbers in numeric format in the status output. -#IPTABLES_STATUS_NUMERIC="no" +IPTABLES_STATUS_NUMERIC="yes" + diff --git a/iptables.init b/iptables.init index 5c99246..79b1f42 100755 --- a/iptables.init +++ b/iptables.init @@ -39,7 +39,7 @@ IPTABLES_MODULES_UNLOAD="yes" IPTABLES_SAVE_ON_STOP="no" IPTABLES_SAVE_ON_RESTART="no" IPTABLES_SAVE_COUNTER="no" -IPTABLES_STATUS_NUMERIC="no" +IPTABLES_STATUS_NUMERIC="yes" # Load firewall configuration. [ -f "$IPTABLES_CONFIG" ] && . "$IPTABLES_CONFIG" diff --git a/iptables.spec b/iptables.spec index a57593c..27bf4cf 100644 --- a/iptables.spec +++ b/iptables.spec @@ -4,7 +4,7 @@ Name: iptables Summary: Tools for managing Linux kernel packet filtering capabilities. Version: 1.2.11 -Release: 3 +Release: 3.1 Source: http://www.netfilter.org/%{name}-%{version}.tar.bz2 Source1: iptables.init Source2: iptables-config @@ -148,6 +148,11 @@ fi %endif %changelog +* Fri Sep 17 2004 Thomas Woerner 1.2.11-3.1 +- changed default behaviour for IPTABLES_STATUS_NUMERIC to "yes" (#129731) +- modified config file to match this change and un-commented variables with + default values + * Thu Sep 16 2004 Thomas Woerner 1.2.11-3 - applied second part of cleanup patch from (#131848): thanks to Steve Grubb for the patch