[pve-devel] [PATCH] add aliases feature

Dietmar Maurer dietmar at proxmox.com
Tue Apr 22 07:58:30 CEST 2014


> --- a/src/PVE/Firewall.pm
> +++ b/src/PVE/Firewall.pm
> @@ -712,6 +712,7 @@ sub parse_address_list {
>      my ($str) = @_;
> 
>      return if $str =~ m/^(\+)(\S+)$/; # ipset ref
> +    return if $str =~ m/^${security_group_pattern}$/; # aliases

Why do we need that? The example you provided show that this is not required?

+IN SSH(ACCEPT) net0 +myserveralias   #accept ssh for alias myserveralias




More information about the pve-devel mailing list