"Marc 'HE' Brockschmidt" <marc@marcbrockschmidt.de> wrote:

Today, I've tried to debianize firehol, but noticed a few problems
(eg. the need for a force-reload-option for every init-script [you could
realize it as an alias for restart]).
I've corrected a few " !!!" (As a reader of Terry Pratchett, I had to
kill them ;-)
I'm attaching a patch for these issues.

I've also created a manpage for FireHOL, and I'm working on the manpage
for firehole.conf.

---
Thank you Marc.
This commit is contained in:
ktsaou 2003-04-30 23:29:47 +00:00
parent 9e71125a19
commit 032abaacdd
2 changed files with 9 additions and 9 deletions

@ -10,7 +10,7 @@
# #
# config: /etc/firehol.conf # config: /etc/firehol.conf
# #
# $Id: firehol.sh,v 1.126 2003/04/24 08:15:08 ktsaou Exp $ # $Id: firehol.sh,v 1.127 2003/04/30 23:29:47 ktsaou Exp $
# #
FIREHOL_FILE="${0}" FIREHOL_FILE="${0}"
@ -679,7 +679,7 @@ rules_nfs() {
echo >&2 "" echo >&2 ""
echo >&2 "WARNING:" echo >&2 "WARNING:"
echo >&2 "This firewall must be restarted if NFS server ${x} is restarted !!!" echo >&2 "This firewall must be restarted if NFS server ${x} is restarted!"
echo >&2 "" echo >&2 ""
done done
@ -3215,7 +3215,7 @@ case "${arg}" in
exit 0 exit 0
;; ;;
restart) restart|force-reload)
FIREHOL_TRY=0 FIREHOL_TRY=0
;; ;;
@ -3334,7 +3334,7 @@ case "${arg}" in
else else
${CAT_CMD} <<"EOF" ${CAT_CMD} <<"EOF"
$Id: firehol.sh,v 1.126 2003/04/24 08:15:08 ktsaou Exp $ $Id: firehol.sh,v 1.127 2003/04/30 23:29:47 ktsaou Exp $
(C) Copyright 2003, Costa Tsaousis <costa@tsaousis.gr> (C) Copyright 2003, Costa Tsaousis <costa@tsaousis.gr>
FireHOL is distributed under GPL. FireHOL is distributed under GPL.
@ -3520,7 +3520,7 @@ then
${CAT_CMD} <<"EOF" ${CAT_CMD} <<"EOF"
$Id: firehol.sh,v 1.126 2003/04/24 08:15:08 ktsaou Exp $ $Id: firehol.sh,v 1.127 2003/04/30 23:29:47 ktsaou Exp $
(C) Copyright 2003, Costa Tsaousis <costa@tsaousis.gr> (C) Copyright 2003, Costa Tsaousis <costa@tsaousis.gr>
FireHOL is distributed under GPL. FireHOL is distributed under GPL.
Home Page: http://firehol.sourceforge.net Home Page: http://firehol.sourceforge.net
@ -3815,7 +3815,7 @@ then
${CAT_CMD} >&2 <<"EOF" ${CAT_CMD} >&2 <<"EOF"
$Id: firehol.sh,v 1.126 2003/04/24 08:15:08 ktsaou Exp $ $Id: firehol.sh,v 1.127 2003/04/30 23:29:47 ktsaou Exp $
(C) Copyright 2003, Costa Tsaousis <costa@tsaousis.gr> (C) Copyright 2003, Costa Tsaousis <costa@tsaousis.gr>
FireHOL is distributed under GPL. FireHOL is distributed under GPL.
Home Page: http://firehol.sourceforge.net Home Page: http://firehol.sourceforge.net
@ -3908,7 +3908,7 @@ EOF
echo "# " echo "# "
${CAT_CMD} <<"EOF" ${CAT_CMD} <<"EOF"
# $Id: firehol.sh,v 1.126 2003/04/24 08:15:08 ktsaou Exp $ # $Id: firehol.sh,v 1.127 2003/04/30 23:29:47 ktsaou Exp $
# (C) Copyright 2003, Costa Tsaousis <costa@tsaousis.gr> # (C) Copyright 2003, Costa Tsaousis <costa@tsaousis.gr>
# FireHOL is distributed under GPL. # FireHOL is distributed under GPL.
# Home Page: http://firehol.sourceforge.net # Home Page: http://firehol.sourceforge.net
@ -3919,12 +3919,12 @@ EOF
# ------------------------------------------------------------------------------ # ------------------------------------------------------------------------------
# #
EOF EOF
echo "# This config will have the same effect as NO PROTECTION !!!" echo "# This config will have the same effect as NO PROTECTION!"
echo "# Everything that found to be running, is allowed." echo "# Everything that found to be running, is allowed."
echo "# " echo "# "
echo "# Date: `${DATE_CMD}` on host `${HOSTNAME_CMD}`" echo "# Date: `${DATE_CMD}` on host `${HOSTNAME_CMD}`"
echo "# " echo "# "
echo "# The TODOs bellow, are YOUR to-dos !!!" echo "# The TODOs bellow, are YOUR to-dos!"
echo echo
# globals for routing # globals for routing

BIN
man/firehol.1.gz Normal file

Binary file not shown.