init.d script not supporting option "status"
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
| firehol (Ubuntu) |
Undecided
|
Unassigned |
Bug Description
Binary package hint: firehol
The init.d script that calls firehol needs to be able to return the status in the same way other init scripts do it.
The options below are supported by the firehol scipt itself.
//----
start to activate the firewall configuration.
try to activate the firewall, but wait until
stop to stop a running iptables firewall.
restart this is an alias for start and is given for
condrestart will start the firewall only if it is not
status will show the running firewall, as in:
panic will block all IP communication.
save to start the firewall and then save it to the
debug to parse the configuration file but instead of
explain to enter interactive mode and accept configuration
helpme or to enter a wizard mode where FireHOL will try
wizard to figure out the configuration you need.
<a filename> a different configuration file.
Related branches
description: | updated |
description: | updated |
Johnathon (kirrus) wrote : | #2 |
Thanks for your bug report. I think that this is a wishlist priority bug.
I've seen this in my own experience & use of firehol, hence confirmation.
Miguel Ruiz (mruiz) wrote : | #3 |
Thank you for taking the time to report this bug and helping to make Ubuntu better.
I'll start this task during the next week. Mathias Gug will guide me trough the process.
Cheers!
Changed in firehol: | |
assignee: | motu → mruiz |
status: | Confirmed → In Progress |
Johnathon (kirrus) wrote : | #4 |
Any luck with this one Miguel?
Changed in firehol: | |
assignee: | mruiz → nobody |
status: | In Progress → Incomplete |
Changed in firehol: | |
status: | Incomplete → Confirmed |
The init script should handle/pass on the status option as expected from an init script. For the other options howeverver, calling the firehol script directly seems just all right.
# firehol panic
description: | updated |
summary: |
- The rcS.d script for firehol is missing some options + init.d script not supporting option "status" |
status could check if current iptables match those firehol generates from its configuration ("firehol debug") else dispay the diff.
Mahyuddin Susanto (udienz) wrote : | #9 |
I think Erick want to show current iptables and not pid file based in /proc. I try to read about firehol. and please try this debdiff, hope it works
tags: | added: patch |
Launchpad Janitor (janitor) wrote : | #10 |
This bug was fixed in the package firehol - 1.296-1
---------------
firehol (1.296-1) unstable; urgency=low
* New maintainer (Closes: #660524).
* New upstream version (Closes: #607785):
- Removed depedency to get-iana.sh and to RESERVED_IPS
(Closes: #583176, #565737, #574458, #598324, #455754, #536609, #558288),
thanks to Cristian Ionescu-Idbohrn <email address hidden>
(#536609), to Adrian Bridgett <email address hidden> (#583176);
- Updated documentations (Closes: #571727);
- Improved kernel modules management (Closes: #610249);
- Simplified quoting in log prefix (Closes: #443051) (LP: #253843);
- Passive FTP fix (Closes: #563655), thanks to Toni Mueller
<email address hidden>;
- Minor improvements and fixes.
* Update to source format 3.0 (quilt).
* Bump debhelper build-dep to >= 9.
* Bump Standards Version to 3.9.4.
* Rewrite debian/rules:
- use dh sequencer with minimal external Makefile.
* Revisit debian/control.
* Add empty but commented watch file.
* Correct manpages.
* Remove RESERVED_IPS as it is no more mandatory, nevertheless
/usr/
* Move get-iana.sh to /usr/share/
as RESERVED_IPS is no more mandatory.
* Render /etc/init.d/firehol independ from /usr tree.
* Add `status' option support to /etc/init.d/firehol (LP: #185978).
* Convert debian/copyright to DEP-5 format.
* Conform debian/patches/ patches to DEP-3 format.
* Generate now temporary directory with mktemp (Closes: #496424),
thanks to Phil Whineray for pointing to it.
* Now plainly use iproute (Red Hat Bugzilla: #784520),
thanks to Phil Whineray for hardening the original RedHat patch.
* Temporary files are now left behind in case of error (Closes: #703341),
thanks to Phil Whineray who backported the sanewall patch to FireHOL.
* `panic' option has been rationalized (Closes: #536675),
thanks to Andrew Schulman and Phil Whineray.
* Standard patch naming scheme (Closes: #705731), thanks to
Jari Aalto <email address hidden>.
* Whitespace cleanup, thanks to Jari Aalto <email address hidden>.
-- Jerome Benoit <email address hidden> Sat, 20 Apr 2013 07:06:57 +0000
Changed in firehol (Ubuntu): | |
status: | Confirmed → Fix Released |
Confirming & Assigning to MOTU