Bug 22313 - ipchains when the rules fails
Summary: ipchains when the rules fails
Keywords:
Status: CLOSED WONTFIX
Alias: None
Product: Red Hat Linux
Classification: Retired
Component: ipchains
Version: 7.0
Hardware: i386
OS: Linux
medium
medium
Target Milestone: ---
Assignee: Mike A. Harris
QA Contact: David Lawrence
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2000-12-14 20:15 UTC by e
Modified: 2007-04-18 16:30 UTC (History)
0 users

Fixed In Version:
Doc Type: Enhancement
Doc Text:
Clone Of:
Environment:
Last Closed: 2004-07-07 21:17:31 UTC
Embargoed:


Attachments (Terms of Use)

Description e 2000-12-14 20:15:08 UTC
When there is a problem with the chains rules

/etc/init.d/ipchains

Happily prints out an error message and exits. If remotely administering
the box in question this is often bad. The script alss touches the file
in the subsys dir in the failure case. Could this script please be modified
to something like:

            if grep -v "^[[:space:]]*#" $IPCHAINS_CONFIG | grep -v
'^[[:space:]]*$' | /sbin/ipchains-restore -p -f
            then
                    success "Applying ipchains firewall rules"
                    echo
                    touch /var/lock/subsys/ipchains
            else
                    failure "Applying ipchains firewall rules"
                    echo
                    $0 stop
            fi

thanks

Comment 1 Mike A. Harris 2001-01-28 21:59:13 UTC
Ive changed the severity to Enhancement request.

Comment 2 Mike A. Harris 2001-10-30 07:17:51 UTC
Defering for future consideration.


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