summaryrefslogtreecommitdiffstats
path: root/usr/local/www/wizards
diff options
context:
space:
mode:
authorScott Ullrich <sullrich@pfsense.org>2005-06-07 03:50:23 +0000
committerScott Ullrich <sullrich@pfsense.org>2005-06-07 03:50:23 +0000
commit36e11358969f47413c9df649de5462c882ec38c4 (patch)
treefa2f407c58e04736ff761e99d713ba213eeeaff8 /usr/local/www/wizards
parent16a5dc45353fb92696e4a1a4a8068837af5b0033 (diff)
downloadpfsense-36e11358969f47413c9df649de5462c882ec38c4.zip
pfsense-36e11358969f47413c9df649de5462c882ec38c4.tar.gz
Add IRC and DNS to the boost other protocol category
Diffstat (limited to 'usr/local/www/wizards')
-rw-r--r--usr/local/www/wizards/traffic_shaper_wizard.xml23
1 files changed, 22 insertions, 1 deletions
diff --git a/usr/local/www/wizards/traffic_shaper_wizard.xml b/usr/local/www/wizards/traffic_shaper_wizard.xml
index 2fd5d50..50b308e 100644
--- a/usr/local/www/wizards/traffic_shaper_wizard.xml
+++ b/usr/local/www/wizards/traffic_shaper_wizard.xml
@@ -912,7 +912,17 @@
<name>StreamingMP3</name>
<type>checkbox</type>
<typehint>Streaming Media</typehint>
- </field>
+ </field>
+ <field>
+ <name>IRC</name>
+ <type>checkbox</type>
+ <typehint>Internet Relay Chat</typehint>
+ </field>
+ <field>
+ <name>DNS</name>
+ <type>checkbox</type>
+ <typehint>Domain Name Services</typehint>
+ </field>
<field>
<name>Next</name>
<type>submit</type>
@@ -991,6 +1001,17 @@
$othersplist[] = array('STREAMINGMP3','tcp','8000','8010','both');
}
+ if($_POST['irc'] != "") {
+ /* internet relay chat */
+ $othersplist[] = array('IRC','tcp','6667-6670','6667-6670','both');
+ }
+
+ if($_POST['dns'] != "") {
+ /* domain name system */
+ $othersplist[] = array('DNS1','tcp','53','53','both');
+ $othersplist[] = array('DNS2','udp','53','53','both');
+ }
+
/* XXX: add some more protocols here! */
/* Set up/down protocols as higher weight */
OpenPOWER on IntegriCloud