summaryrefslogtreecommitdiffstats
path: root/usr/local/www/wizards
diff options
context:
space:
mode:
authorScott Ullrich <sullrich@pfsense.org>2006-03-05 21:02:26 +0000
committerScott Ullrich <sullrich@pfsense.org>2006-03-05 21:02:26 +0000
commitc84bf8c4299b71e2dba121942f6eddbe018f8daf (patch)
tree4402412bbce2272f4fd467ffb456f149030e849d /usr/local/www/wizards
parent44d5012c1c821bcbf5a35274a54035bd722d8396 (diff)
downloadpfsense-c84bf8c4299b71e2dba121942f6eddbe018f8daf.zip
pfsense-c84bf8c4299b71e2dba121942f6eddbe018f8daf.tar.gz
Add NNTP (Internet News) support
Diffstat (limited to 'usr/local/www/wizards')
-rw-r--r--usr/local/www/wizards/traffic_shaper_wizard.xml66
1 files changed, 46 insertions, 20 deletions
diff --git a/usr/local/www/wizards/traffic_shaper_wizard.xml b/usr/local/www/wizards/traffic_shaper_wizard.xml
index 674a270..d3e8f5a 100644
--- a/usr/local/www/wizards/traffic_shaper_wizard.xml
+++ b/usr/local/www/wizards/traffic_shaper_wizard.xml
@@ -1219,7 +1219,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</enablefields>
+ <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</enablefields>
<donotdisable>true</donotdisable>
<bindstofield>ezshaper->step6->enable</bindstofield>
</field>
@@ -1697,24 +1697,44 @@
</field>
<field>
<name>MySQLServer</name>
- <bindstofield>ezshaper->step6->mysqlserver</bindstofield>
- <type>select</type>
- <options>
- <option>
- <name>Higher priority</name>
- <value>H</value>
- </option>
- <option>
- <name>Default priority</name>
- <value></value>
- </option>
- <option>
- <name>Lower priority</name>
- <value>L</value>
- </option>
- </options>
- <typehint>MySQL Server</typehint>
- </field>
+ <bindstofield>ezshaper->step6->mysqlserver</bindstofield>
+ <type>select</type>
+ <options>
+ <option>
+ <name>Higher priority</name>
+ <value>H</value>
+ </option>
+ <option>
+ <name>Default priority</name>
+ <value></value>
+ </option>
+ <option>
+ <name>Lower priority</name>
+ <value>L</value>
+ </option>
+ </options>
+ <typehint>MySQL Server</typehint>
+ </field>
+ <field>
+ <name>NNTP</name>
+ <bindstofield>ezshaper->step6->nntp</bindstofield>
+ <type>select</type>
+ <options>
+ <option>
+ <name>Higher priority</name>
+ <value>H</value>
+ </option>
+ <option>
+ <name>Default priority</name>
+ <value></value>
+ </option>
+ <option>
+ <name>Lower priority</name>
+ <value>L</value>
+ </option>
+ </options>
+ <typehint>Internet News</typehint>
+ </field>
<field>
<name>Next</name>
<type>submit</type>
@@ -1929,7 +1949,13 @@
if($_POST['mysqlserver'] != "") {
/* mysql server */
$othersplist[] = array('MySQL1', 'tcp', '3306', '3306', 'both', $_POST['mysqlserver']);
- }
+ }
+
+ if($_POST['nntp'] != "") {
+ /* nntp */
+ $othersplist[] = array('NNTP1', 'tcp', '119', '119', 'both', $_POST['mysqlserver']);
+ $othersplist[] = array('NNTP2', 'udp', '119', '119', 'both', $_POST['mysqlserver']);
+ }
if($_POST['pcanwhere'] != "") {
/* symantec pc anywhere */
OpenPOWER on IntegriCloud