path: root/src/usr/local/share/protocols/http-rtsp.pat
diff options
Diffstat (limited to 'src/usr/local/share/protocols/http-rtsp.pat')
1 files changed, 16 insertions, 0 deletions
diff --git a/src/usr/local/share/protocols/http-rtsp.pat b/src/usr/local/share/protocols/http-rtsp.pat
new file mode 100644
index 0000000..73ef926
--- /dev/null
+++ b/src/usr/local/share/protocols/http-rtsp.pat
@@ -0,0 +1,16 @@
+# RTSP tunneled within HTTP
+# Pattern attributes: ok notsofast fast subset
+# Protocol groups: streaming_audio streaming_video ietf_draft_standard
+# Wiki:
+# Copyright (C) 2008 Matthew Strait, Ethan Sommer; See ../LICENSE
+# Apple's documentation on what Quicktime does:
+# This is what the first part of the pattern is about
+# The second part is based on the example in RFC 2326. For this part to
+# work, this pattern MUST be earlier in the iptables rules chain than
+# HTTP. Otherwise, the stream will be identified as HTTP.
+^(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://)
OpenPOWER on IntegriCloud