mirror of
https://github.com/pfsense/pfsense.git
synced 2025-10-26 11:38:35 +00:00
Add RTSP protocol
This commit is contained in:
parent
e57757c5e4
commit
3dc2d8933b
@ -974,7 +974,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>MSRDP,PPTP,IPSEC,StreamingMP3,IRC,DNS,HTTP,SMTP,POP3,ICMP,IMAP,SMB</enablefields>
|
||||
<enablefields>MSRDP,PPTP,IPSEC,StreamingMP3,IRC,DNS,HTTP,SMTP,POP3,ICMP,IMAP,SMB,RTSP</enablefields>
|
||||
<donotdisable>true</donotdisable>
|
||||
<bindstofield>ezshaper->step6->enable</bindstofield>
|
||||
</field>
|
||||
@ -1225,7 +1225,27 @@
|
||||
</option>
|
||||
</options>
|
||||
<typehint>Microsoft SMB Protocol and friends</typehint>
|
||||
</field>
|
||||
</field>
|
||||
<field>
|
||||
<name>RTSP</name>
|
||||
<bindstofield>ezshaper->step6->rtsp</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>RealTime streaming protocol</typehint>
|
||||
</field>
|
||||
<field>
|
||||
<name>Next</name>
|
||||
<type>submit</type>
|
||||
@ -1398,7 +1418,12 @@
|
||||
/* Microsoft SMB and friends */
|
||||
$othersplist[] = array('SMB1', 'tcp', '445', '445', 'both', $_POST['smb']);
|
||||
$othersplist[] = array('SMB2', 'tcp', '137-139', '137-139', 'both', $_POST['smb']);
|
||||
}
|
||||
|
||||
|
||||
if($_POST['rtsp'] != "") {
|
||||
/* realtime streaming protocol */
|
||||
$othersplist[] = array('RTSP1', 'tcp', '554', '554', 'both', $_POST['rtsp']);
|
||||
} }
|
||||
|
||||
/* XXX: add some more protocols here! */
|
||||
|
||||
|
||||
Loading…
Reference in New Issue
Block a user