[pve-devel] [PATCH] add aliases feature

Alexandre DERUMIER aderumier at odiso.com
Tue Apr 22 09:20:49 CEST 2014


Sorry, typo error, it's without + for aliases

(+ only for ipset group)




----- Mail original ----- 

De: "Dietmar Maurer" <dietmar at proxmox.com> 
À: "Alexandre Derumier" <aderumier at odiso.com>, pve-devel at pve.proxmox.com 
Envoyé: Mardi 22 Avril 2014 08:29:29 
Objet: RE: [pve-devel] [PATCH] add aliases feature 

> > --- 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 

I just applied a fix for that. 


More information about the pve-devel mailing list