diff options
author | Scott Ullrich <sullrich@pfsense.org> | 2006-07-01 22:23:45 +0000 |
---|---|---|
committer | Scott Ullrich <sullrich@pfsense.org> | 2006-07-01 22:23:45 +0000 |
commit | 97449b9a079e4a7c766807ad40be212bfe8fb151 (patch) | |
tree | 27f52db3bc6bcda70d261ef816ba75482f167c66 /usr | |
parent | 6a997de8a4ab47304649f8a727d5f77a7ab507ab (diff) | |
download | pfsense-97449b9a079e4a7c766807ad40be212bfe8fb151.zip pfsense-97449b9a079e4a7c766807ad40be212bfe8fb151.tar.gz |
Add Jabber IM. It is the standard on the internet so we should support it out of the box if we do not support editing of the default generated traffic shaper configuration.
Diffstat (limited to 'usr')
-rw-r--r-- | usr/local/www/wizards/traffic_shaper_wizard.inc | 6 | ||||
-rw-r--r-- | usr/local/www/wizards/traffic_shaper_wizard.xml | 22 |
2 files changed, 27 insertions, 1 deletions
diff --git a/usr/local/www/wizards/traffic_shaper_wizard.inc b/usr/local/www/wizards/traffic_shaper_wizard.inc index 4fcf2ec..eb54467 100644 --- a/usr/local/www/wizards/traffic_shaper_wizard.inc +++ b/usr/local/www/wizards/traffic_shaper_wizard.inc @@ -805,6 +805,12 @@ function step6_stepsubmitphpaction() { $othersplist[] = array('IRC', 'tcp', '6667', '6670', 'both', $_POST['irc']); } + if($_POST['jabber'] != "") { + /* jabber */ + $othersplist[] = array('IRC', 'tcp', '5222', '5222', 'both', $_POST['jabber']); + $othersplist[] = array('IRC', 'tcp', '5269', '5269', 'both', $_POST['jabber']); + } + if($_POST['dns'] != "") { /* domain name system */ $othersplist[] = array('DNS1', 'tcp', '53', '53', 'both', $_POST['dns']); diff --git a/usr/local/www/wizards/traffic_shaper_wizard.xml b/usr/local/www/wizards/traffic_shaper_wizard.xml index 0f11c73..c290a99 100644 --- a/usr/local/www/wizards/traffic_shaper_wizard.xml +++ b/usr/local/www/wizards/traffic_shaper_wizard.xml @@ -601,7 +601,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,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</enablefields> <donotdisable>true</donotdisable> <bindstofield>ezshaper->step6->enable</bindstofield> </field> @@ -718,6 +718,26 @@ <typehint>Internet Relay Chat</typehint> </field> <field> + <name>Jabber</name> + <type>select</type> + <bindstofield>ezshaper->step6->jabber</bindstofield> + <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>Jabber</typehint> + </field> + <field> <name>ICQ</name> <bindstofield>ezshaper->step6->icq</bindstofield> <type>select</type> |