Port a couple of fixes to 4.4.4

This commit is contained in:
Tom Eastep 2009-11-23 14:00:25 -08:00
parent 51b905eed4
commit c02ab429e6
3 changed files with 17 additions and 1 deletions

View File

@ -573,7 +573,7 @@ sub validate_6range( $$ ) {
}
sub validate_6host( $$ ) {
my ( $host, $allow_name ) = $_[0];
my ( $host, $allow_name ) = @_;
if ( $host =~ /^(.*:.*)-(.*:.*)$/ ) {
validate_6range $1, $2;

View File

@ -11,3 +11,13 @@
at /usr/share/shorewall/Shorewall/Rules.pm line 2319.
This problem is corrected in Shorewall 4.4.4.1.
3) The 'show policies' command doesn't work in Shorewall6 and
Shorewall6-lite.
This problem is corrected in Shorewall 4.4.4.2.
4) In some contexts, DNS names are not accepted by Shorewall6.
This problem is corrected in Shorewall 4.4.4.2.

View File

@ -511,6 +511,12 @@ show_command() {
vardir)
echo $VARDIR;
;;
policies)
[ $# -gt 1 ] && usage 1
echo "$PRODUCT $version Policies at $HOSTNAME - $(date)"
echo
[ -f ${VARDIR}/policies ] && cat ${VARDIR}/policies;
;;
*)
if [ "$PRODUCT" = Shorewall6 ]; then
case $1 in