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