diff options
-rw-r--r-- | usr/local/www/wizards/traffic_shaper_wizard.xml | 23 |
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 */ |