Add RTSP protocol

This commit is contained in:
Scott Ullrich 2005-06-23 23:04:46 +00:00
parent e57757c5e4
commit 3dc2d8933b

View File

@ -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! */