[pve-devel] firewall rules format

Alexandre DERUMIER aderumier at odiso.com
Sat May 17 06:53:58 CEST 2014


>>As long as it is unique. But for now I want to keep things simple. We just need to 
>>decide if we move from position based arguments to named arguments.

Yes, keep it simple

in ACCEPT(MACRO) -i net0 -source 192.168.2.0 -dest 1.2.3.4 -p tcp -dport 80 -sport 20

seem to be enough

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

De: "Dietmar Maurer" <dietmar at proxmox.com> 
À: "Michael Rasmussen" <mir at datanom.net>, pve-devel at pve.proxmox.com 
Envoyé: Vendredi 16 Mai 2014 19:50:22 
Objet: Re: [pve-devel] firewall rules format 

> > But above syntax is basically iptables format, with some 
> > simplifications ;-) Or what would you change exactly? 
> > 
> -source -> -s 
> -dest -> -d 

The getopt-long parser usually accept several option format, like: 

--source 
-source 
-s 

As long as it is unique. But for now I want to keep things simple. We just need to 
decide if we move from position based arguments to named arguments. 

_______________________________________________ 
pve-devel mailing list 
pve-devel at pve.proxmox.com 
http://pve.proxmox.com/cgi-bin/mailman/listinfo/pve-devel 



More information about the pve-devel mailing list