Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
F
FFmpeg
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Container Registry
Model registry
Operate
Environments
Monitor
Incidents
Service Desk
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
libremedia
Tethys
FFmpeg
Commits
a28d4f86
Commit
a28d4f86
authored
22 years ago
by
Philip Gladstone
Browse files
Options
Downloads
Patches
Plain Diff
Add some examples of using ACL
Originally committed as revision 822 to
svn://svn.ffmpeg.org/ffmpeg/trunk
parent
8256c0a3
No related branches found
No related tags found
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
doc/ffserver.conf
+21
-0
21 additions, 0 deletions
doc/ffserver.conf
with
21 additions
and
0 deletions
doc/ffserver.conf
+
21
−
0
View file @
a28d4f86
...
@@ -54,6 +54,9 @@ FileMaxSize 200K
...
@@ -54,6 +54,9 @@ FileMaxSize 200K
# Specify launch in order to start ffmpeg automatically
# Specify launch in order to start ffmpeg automatically
# Launch
# Launch
# Only allow connections from localhost to the feed
ACL
allow
127
.
0
.
0
.
1
</
Feed
>
</
Feed
>
##################################################################
##################################################################
...
@@ -134,6 +137,19 @@ VideoGopSize 12
...
@@ -134,6 +137,19 @@ VideoGopSize 12
# for a key frame to appear in the data stream.
# for a key frame to appear in the data stream.
#PreRoll 15
#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
>
</
Stream
>
# second mpeg stream with high frame rate
# second mpeg stream with high frame rate
...
@@ -331,6 +347,11 @@ StartSendOnKey
...
@@ -331,6 +347,11 @@ StartSendOnKey
Format
status
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
FaviconURL
http
://
pond1
.
gladstonefamily
.
net
:
8080
/
favicon
.
ico
</
Stream
>
</
Stream
>
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment