1
|
# RTSP tunneled within HTTP
|
2
|
# Pattern attributes: ok notsofast fast subset
|
3
|
# Protocol groups: streaming_audio streaming_video ietf_draft_standard
|
4
|
# Wiki: http://www.protocolinfo.org/wiki/RTSP
|
5
|
# Copyright (C) 2008 Matthew Strait, Ethan Sommer; See ../LICENSE
|
6
|
#
|
7
|
# Apple's documentation on what Quicktime does:
|
8
|
# http://developer.apple.com/quicktime/icefloe/dispatch028.html
|
9
|
# This is what the first part of the pattern is about
|
10
|
#
|
11
|
# The second part is based on the example in RFC 2326. For this part to
|
12
|
# work, this pattern MUST be earlier in the iptables rules chain than
|
13
|
# HTTP. Otherwise, the stream will be identified as HTTP.
|
14
|
|
15
|
http-rtsp
|
16
|
^(get[\x09-\x0d -~]* Accept: application/x-rtsp-tunnelled|http/(0\.9|1\.0|1\.1) [1-5][0-9][0-9] [\x09-\x0d -~]*a=control:rtsp://)
|