Bug 115655 - RFE: include iptables reload
Summary: RFE: include iptables reload
Keywords:
Status: CLOSED NOTABUG
Alias: None
Product: Red Hat Enterprise Linux 3
Classification: Red Hat
Component: iptables
Version: 3.0
Hardware: All
OS: Linux
medium
medium
Target Milestone: ---
Assignee: Thomas Woerner
QA Contact: Ben Levenson
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2004-02-14 13:28 UTC by Michael Redinger
Modified: 2011-06-02 11:08 UTC (History)
0 users

Fixed In Version:
Doc Type: Enhancement
Doc Text:
Clone Of:
Environment:
Last Closed: 2004-04-22 14:36:21 UTC
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Red Hat Bugzilla 710050 1 None None None 2021-01-20 06:05:38 UTC
Red Hat Bugzilla 710052 1 None None None 2021-01-20 06:05:38 UTC

Internal Links: 710050 710052

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.


Note You need to log in before you can comment on or make changes to this bug.