forked from extern/shorewall_code
Port a couple of fixes to 4.4.4
This commit is contained in:
parent
51b905eed4
commit
c02ab429e6
@ -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;
|
||||
|
@ -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.
|
||||
|
||||
|
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user