diff options
author | Scott Ullrich <sullrich@pfsense.org> | 2005-07-08 00:19:32 +0000 |
---|---|---|
committer | Scott Ullrich <sullrich@pfsense.org> | 2005-07-08 00:19:32 +0000 |
commit | 4f8c80e5594b06eb9a898b62aea5b6035950ba88 (patch) | |
tree | 1e5845d934fa9033bed591b67f5193d02dd5c6b7 /usr | |
parent | 6f239c19e5548932a6aa809ffe28e1f58bc863b3 (diff) | |
download | pfsense-4f8c80e5594b06eb9a898b62aea5b6035950ba88.zip pfsense-4f8c80e5594b06eb9a898b62aea5b6035950ba88.tar.gz |
Add VNC protocol
Diffstat (limited to 'usr')
-rw-r--r-- | usr/local/www/wizards/traffic_shaper_wizard.xml | 29 |
1 files changed, 27 insertions, 2 deletions
diff --git a/usr/local/www/wizards/traffic_shaper_wizard.xml b/usr/local/www/wizards/traffic_shaper_wizard.xml index 0f49c6e..cf51af4 100644 --- a/usr/local/www/wizards/traffic_shaper_wizard.xml +++ b/usr/local/www/wizards/traffic_shaper_wizard.xml @@ -985,7 +985,7 @@ <type>checkbox</type> <typehint>Other networking protocols</typehint> <description>This will help raise or lower the priority of other protocols higher than most traffic.</description> - <enablefields>MSRDP,PPTP,IPSEC,StreamingMP3,IRC,DNS,HTTP,SMTP,POP3,ICMP,IMAP,SMB,RTSP,SNMP</enablefields> + <enablefields>MSRDP,PPTP,IPSEC,StreamingMP3,IRC,DNS,HTTP,SMTP,POP3,ICMP,IMAP,SMB,RTSP,SNMP,VNC</enablefields> <donotdisable>true</donotdisable> <bindstofield>ezshaper->step6->enable</bindstofield> </field> @@ -1276,7 +1276,27 @@ </option> </options> <typehint>Simple Network Management Protocol</typehint> - </field> + </field> + <field> + <name>VNC</name> + <bindstofield>ezshaper->step6->vnc</bindstofield> + <type>select</type> + <options> + <option> + <name>Higher priority</name> + <value>H</value> + </option> + <option> + <name>Default priority</name> + <value></value> + </option> + <option> + <name>Lower priority</name> + <value>L</value> + </option> + </options> + <typehint>Virtual Network Computing</typehint> + </field> <field> <name>Next</name> <type>submit</type> @@ -1461,6 +1481,11 @@ $othersplist[] = array('SNMP2', 'udp', '161', '161', 'both', $_POST['snmp']); } + if($_POST['vnc'] != "") { + /* Simple network management protocol */ + $othersplist[] = array('VNC', 'tcp', '5900-5930', '5900-5930', 'both', $_POST['vnc']); + } + /* XXX: add some more protocols here! */ /* Set up/down protocols as higher weight */ |