diff options
author | Martin Fuchs <mfuchs@pfsense.org> | 2007-11-27 16:00:16 +0000 |
---|---|---|
committer | Martin Fuchs <mfuchs@pfsense.org> | 2007-11-27 16:00:16 +0000 |
commit | 8dca032f86dfe544461f860834f455710c00dfe0 (patch) | |
tree | dcf332b70cbb38d14b9904f60fea8799bb5fd239 /usr/local/www/wizards | |
parent | 514ced4c17772fd919af1b5f76d082aadaf06d9e (diff) | |
download | pfsense-8dca032f86dfe544461f860834f455710c00dfe0.zip pfsense-8dca032f86dfe544461f860834f455710c00dfe0.tar.gz |
add HBCI to traffic shaper
Diffstat (limited to 'usr/local/www/wizards')
-rw-r--r-- | usr/local/www/wizards/traffic_shaper_wizard.inc | 7 | ||||
-rw-r--r-- | usr/local/www/wizards/traffic_shaper_wizard.xml | 28 |
2 files changed, 30 insertions, 5 deletions
diff --git a/usr/local/www/wizards/traffic_shaper_wizard.inc b/usr/local/www/wizards/traffic_shaper_wizard.inc index 5bd8d3b..fe571c7 100644 --- a/usr/local/www/wizards/traffic_shaper_wizard.inc +++ b/usr/local/www/wizards/traffic_shaper_wizard.inc @@ -771,7 +771,7 @@ function step6_stepsubmitphpaction() { $gamesplist[] = array('AL-1', 'tcp', '11000', '11000', 'both'); $gamesplist[] = array('AL-2', 'tcp', '11002', '11002', 'both'); $gamesplist[] = array('AL-3', 'tcp', '11008', '11008', 'both'); - } + } if($_POST['gunzonline'] != "") { /* GunZ Online */ @@ -1073,6 +1073,11 @@ function step7_stepsubmitphpaction() { $othersplist[] = array('cvs', 'tcp', '5999', '5999', 'both', $_POST['cvsup']); } + if($_POST['hbci'] != "") { + /* HBCI */ + $othersplist[] = array('HBCI', 'tcp', '3000', '3000', 'both', $_POST['hbci']); + } + /* XXX: add some more protocols here! */ /* Set up/down protocols as higher weight */ diff --git a/usr/local/www/wizards/traffic_shaper_wizard.xml b/usr/local/www/wizards/traffic_shaper_wizard.xml index b03db11..24e2267 100644 --- a/usr/local/www/wizards/traffic_shaper_wizard.xml +++ b/usr/local/www/wizards/traffic_shaper_wizard.xml @@ -651,9 +651,9 @@ <typehint>World of Warcraft</typehint> <bindstofield>ezshaper->step6->wow</bindstofield> </field> - <field> - <name>ArchLord</name> - <type>checkbox</type> + <field> + <name>ArchLord</name> + <type>checkbox</type> <typehint>ArchLord</typehint> <bindstofield>ezshaper->step6->archlord</bindstofield> </field> @@ -684,7 +684,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>AIM,AppleRemoteDesktop,DNS,HTTP,ICMP,ICQ,IMAP,IPSEC,IRC,Jabber,LotusNotes,MSN,MSRDP,MySqlServer,PCAnywhere,POP3,PPTP,RTSP,SMB,SMTP,SNMP,StreamingMP3,TeamSpeak,VNC,NNTP,CVSUP</enablefields> + <enablefields>AIM,AppleRemoteDesktop,DNS,HTTP,ICMP,ICQ,IMAP,IPSEC,IRC,Jabber,LotusNotes,MSN,MSRDP,MySqlServer,PCAnywhere,POP3,PPTP,RTSP,SMB,SMTP,SNMP,StreamingMP3,TeamSpeak,VNC,NNTP,CVSUP,HBCI</enablefields> <donotdisable>true</donotdisable> <bindstofield>ezshaper->step7->enable</bindstofield> </field> @@ -1241,6 +1241,26 @@ <typehint>CVSUP</typehint> </field> <field> + <name>HBCI</name> + <bindstofield>ezshaper->step7->hbci</bindstofield> + <type>select</type> + <options> + <option> + <name>Default priority</name> + <value>D</value> + </option> + <option> + <name>Higher priority</name> + <value>H</value> + </option> + <option> + <name>Lower priority</name> + <value>L</value> + </option> + </options> + <typehint>HBCI</typehint> + </field> + <field> <name>Next</name> <type>submit</type> </field> |