add HBCI to traffic shaper

This commit is contained in:
Martin Fuchs 2007-11-27 16:00:16 +00:00
parent 514ced4c17
commit 8dca032f86
2 changed files with 30 additions and 5 deletions

View File

@ -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 */

View File

@ -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>
@ -1240,6 +1240,26 @@
</options>
<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>