summaryrefslogtreecommitdiffstats
path: root/usr
diff options
context:
space:
mode:
authorScott Ullrich <sullrich@pfsense.org>2005-06-14 17:26:57 +0000
committerScott Ullrich <sullrich@pfsense.org>2005-06-14 17:26:57 +0000
commit3aa8c07a2214c848315541850e708ab9c800dd6d (patch)
tree3bf7539f0978ccab43278cdc604f2e20d9a74886 /usr
parent088ac016781a8ec609e015b66913b1839ab9c097 (diff)
downloadpfsense-3aa8c07a2214c848315541850e708ab9c800dd6d.zip
pfsense-3aa8c07a2214c848315541850e708ab9c800dd6d.tar.gz
Add Microsoft SMB protocol to traffic shaper raise / lower priority screen
Diffstat (limited to 'usr')
-rw-r--r--usr/local/www/wizards/traffic_shaper_wizard.xml28
1 files changed, 27 insertions, 1 deletions
diff --git a/usr/local/www/wizards/traffic_shaper_wizard.xml b/usr/local/www/wizards/traffic_shaper_wizard.xml
index 75d62fb..1cbf663 100644
--- a/usr/local/www/wizards/traffic_shaper_wizard.xml
+++ b/usr/local/www/wizards/traffic_shaper_wizard.xml
@@ -1175,6 +1175,26 @@
</option>
</options>
<typehint>ICMP Protocol</typehint>
+ </field>
+ <field>
+ <name>SMB</name>
+ <bindstofield>ezshaper->step6->smb</bindstofield>
+ <type>select</type>
+ <options>
+ <option>
+ <name>Dont care</name>
+ <value></value>
+ </option>
+ <option>
+ <name>Higher</name>
+ <value>H</value>
+ </option>
+ <option>
+ <name>Lower</name>
+ <value>L</value>
+ </option>
+ </options>
+ <typehint>Microsoft SMB Protocol and friends</typehint>
</field>
<field>
<name>Next</name>
@@ -1341,7 +1361,13 @@
if($_POST['imap'] != "") {
/* IMAP */
- $othersplist[] = array('IMAP', 'imap', '143', '143', 'both', $_POST['imap']);
+ $othersplist[] = array('IMAP', 'tcp', '143', '143', 'both', $_POST['imap']);
+ }
+
+ if($_POST['smb'] != "") {
+ /* Microsoft SMB and friends */
+ $othersplist[] = array('SMB1', 'tcp', '445', '445', 'both', $_POST['smb']);
+ $othersplist[] = array('SMB1', 'tcp', '137-139', '137-139', 'both', $_POST['smb']);
}
/* XXX: add some more protocols here! */
OpenPOWER on IntegriCloud