diff options
author | Stefano Sabatini <stefasab@gmail.com> | 2013-11-28 19:14:38 +0100 |
---|---|---|
committer | Stefano Sabatini <stefasab@gmail.com> | 2013-11-28 20:16:53 +0100 |
commit | 312d075e5de97855ee7e1c8a5aa2eb2abc667772 (patch) | |
tree | 77c81f5e84b146f457cc4aa59691becd4fd150c9 | |
parent | 4e39962f0c396c5760b81be0c0c3bf3c0c2a46e4 (diff) | |
download | ffmpeg-312d075e5de97855ee7e1c8a5aa2eb2abc667772.tar.gz |
doc/ffserver: move ACL syntax section before the global option sections
-rw-r--r-- | doc/ffserver.texi | 60 |
1 files changed, 30 insertions, 30 deletions
diff --git a/doc/ffserver.texi b/doc/ffserver.texi index 007b0981f2..64bc514a64 100644 --- a/doc/ffserver.texi +++ b/doc/ffserver.texi @@ -226,6 +226,36 @@ A line starting with @code{#} is ignored and treated as a comment. Name of options and sections are case-insensitive. +@section ACL syntax +An ACL (Access Control List) specifies the address which are allowed +to access a given stream, or to write a given feed. + +It accepts the folling forms +@itemize +@item +Allow/deny access to @var{address}. +@example +ACL ALLOW <address> +ACL DENY <address> +@end example + +@item +Allow/deny access to ranges of addresses from @var{first_address} to +@var{last_address}. +@example +ACL ALLOW <first_address> <last_address> +ACL DENY <first_address> <last_address> +@end example +@end itemize + +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. + @section Global options @table @option @item Port @var{port_number} @@ -277,36 +307,6 @@ Set no-daemon mode. This option is currently ignored since now @end table -@section ACL syntax -An ACL (Access Control List) specifies the address which are allowed -to access a given stream, or to write a given feed. - -It accepts the folling forms -@itemize -@item -Allow/deny access to @var{address}. -@example -ACL ALLOW <address> -ACL DENY <address> -@end example - -@item -Allow/deny access to ranges of addresses from @var{first_address} to -@var{last_address}. -@example -ACL ALLOW <first_address> <last_address> -ACL DENY <first_address> <last_address> -@end example -@end itemize - -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. - @section Feed section A Feed section defines a feed provided to @command{ffserver}. |