aboutsummaryrefslogtreecommitdiffstats
path: root/doc/ffserver.conf
diff options
context:
space:
mode:
authorPhilip Gladstone <philipjsg@users.sourceforge.net>2002-07-27 03:03:44 +0000
committerPhilip Gladstone <philipjsg@users.sourceforge.net>2002-07-27 03:03:44 +0000
commita28d4f86af7f50eb7eda9f79b11a33c4f3cf3a3e (patch)
tree427044f0ad6f50078e417ff46fd0c38f94c78b66 /doc/ffserver.conf
parent8256c0a3416e619f186875b3162c52a7d302132c (diff)
downloadffmpeg-a28d4f86af7f50eb7eda9f79b11a33c4f3cf3a3e.tar.gz
Add some examples of using ACL
Originally committed as revision 822 to svn://svn.ffmpeg.org/ffmpeg/trunk
Diffstat (limited to 'doc/ffserver.conf')
-rw-r--r--doc/ffserver.conf21
1 files changed, 21 insertions, 0 deletions
diff --git a/doc/ffserver.conf b/doc/ffserver.conf
index 0a1f039d66..3e03958591 100644
--- a/doc/ffserver.conf
+++ b/doc/ffserver.conf
@@ -54,6 +54,9 @@ FileMaxSize 200K
# Specify launch in order to start ffmpeg automatically
# Launch
+# Only allow connections from localhost to the feed
+ACL allow 127.0.0.1
+
</Feed>
##################################################################
@@ -134,6 +137,19 @@ VideoGopSize 12
# for a key frame to appear in the data stream.
#PreRoll 15
+# ACL:
+
+# You can allow ranges of addresses (or single addresses)
+# ACL ALLOW <first address> <last address>
+
+# You can deny ranges of addresses (or single addresses)
+# ACL DENY <first address> <last address>
+
+# You can repeat the ACL allow/deny as often as you like. It is on a per stream basis. The first
+# match defines the action. If there are no matches, then the default is the inverse of the last
+# ACL statement. Thus 'ACL allow localhost' only allows access from localhost.
+# 'ACL deny 1.0.0.0 1.255.255.255' would deny the whole of network 1 and allow everybody else.
+
</Stream>
# second mpeg stream with high frame rate
@@ -331,6 +347,11 @@ StartSendOnKey
Format status
+# Only allow local people to get to the status
+
+ACL allow localhost
+ACL allow 192.168.0.0 192.168.255.255
+
FaviconURL http://pond1.gladstonefamily.net:8080/favicon.ico
</Stream>