Bug 115655

Summary: RFE: include iptables reload
Product: Red Hat Enterprise Linux 3 Reporter: Michael Redinger <michael.redinger>
Component: iptablesAssignee: Thomas Woerner <twoerner>
Status: CLOSED NOTABUG QA Contact: Ben Levenson <benl>
Severity: medium Docs Contact:
Priority: medium    
Version: 3.0Keywords: FutureFeature
Target Milestone: ---   
Target Release: ---   
Hardware: All   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: Enhancement
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2004-04-22 14:36:21 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:

Description Michael Redinger 2004-02-14 13:28:12 UTC
Description of problem:

When restarting iptables, existing connections seem to get closed.
(I experience this with ssh (but I am using ssh.com): all ssh
connections except for the one where I run "service iptables
restart" are closed (I do not know why this one connection 
survives ...).

This can be fixed by not reloading the kernel modules.

Could you add a service iptables reload? It is basically the same
as restart, but without removing the modules:


reload() {
    # Do not stop if iptables module is not loaded.
    [ -e "$PROC_IPTABLES_NAMES" ] || return 1

    flush_n_delete
    set_policy ACCEPT

#    echo -n $"Unloading $IPTABLES modules: "
#    ret=0
#    rmmod_r ${IPV}_tables
#    let ret+=$?;
#    rmmod_r ${IPV}_conntrack
#    let ret+=$?;

#    [ $ret -eq 0 ] && success || failure
#    echo

    rm -f $VAR_SUBSYS_IPTABLES

    start
}



Version-Release number of selected component (if applicable):
Taroon Update 1
iptables 1.2.8-12
kernel 2.4.21-9.EL


Greetings,
Michael

Comment 1 Suzanne Hillman 2004-02-16 22:07:38 UTC
Internal RFE bug #115895 entered. Will be considered for future releases.

Comment 2 Suzanne Hillman 2004-04-22 14:36:21 UTC
Thank you for the suggestion. It was passed along to product
management, but not committed for a future release.