summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMartin Fuchs <mfuchs@pfsense.org>2007-11-27 16:00:16 +0000
committerMartin Fuchs <mfuchs@pfsense.org>2007-11-27 16:00:16 +0000
commit8dca032f86dfe544461f860834f455710c00dfe0 (patch)
treedcf332b70cbb38d14b9904f60fea8799bb5fd239
parent514ced4c17772fd919af1b5f76d082aadaf06d9e (diff)
downloadpfsense-8dca032f86dfe544461f860834f455710c00dfe0.zip
pfsense-8dca032f86dfe544461f860834f455710c00dfe0.tar.gz
add HBCI to traffic shaper
-rw-r--r--usr/local/www/wizards/traffic_shaper_wizard.inc7
-rw-r--r--usr/local/www/wizards/traffic_shaper_wizard.xml28
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>
OpenPOWER on IntegriCloud