|
Name | MaxClients |   |
Syntax | MaxClients number | none [message] |
Context | Server config <Global> <VirtualHost> <Anonymous> |
Modul | mod_core |
From version | 0.99.0 |
Description | |
06.00.2003 20:02 |
|
|
|
Name | MaxClientsPerHost |   |
Syntax | MaxClientsPerHost number|none [message] |
Context | Server config <Global> <VirtualHost> <Anonymous> |
Modul | mod_core |
Standard | |
From version | 1.1.7 |
Description | |
Example 1 | Beispiel:
MaxClientsPerHost 1 "Bitte nicht öfters als 1x verbinden"
Ergebnis: 530 Bitte nicht öfters als 1x verbinden |
Example 2 | |
02.00.2004 05:01 |
|
|
|
Name | MaxHostsPerUser |   |
Syntax | MaxHostsPerUser number|none [message] |
Context | <Global> <VirtualHost> <Anonymous> |
Modul | mod_core |
Standard | |
From version | 1.2.4 |
Description | The MaxHostsPerUser directive configures the maximum number of times different hosts, using a given login, can connect at any given time. The optional argument message may be used which will be displayed to a client attempting to exceed the maximum value. If message is not supplied, a default message of "Sorry, the maximum number of hosts (%m) for this user already connected." |
Example 1 | |
Example 2 | |
02.00.2004 05:01 |
|
|
|
Name | MaxInstances |   |
Syntax | MaxInstances number |
Context | Server config |
Modul | mod_core |
From version | 1.1.6pl1 |
Description | |
06.00.2003 20:02 |
|
|
|
Name | MaxLoginAttempts |   |
Syntax | MaxLoginAttempts number |
Context | Server config <Global> <VirtualHost> |
Modul | mod_core |
Standard | 3 |
From version | 0.99.0 |
Description | |
06.00.2003 20:02 |
|
|
|
Name | ControlsMaxClients |   |
Syntax | ControlsMaxClients number |
Context | Server config |
Modul | mod_ctrls |
Standard | 5 |
From version | 1.2.8rc1 and later |
Description | |
Example 1 | |
Example 2 | |
02.00.2004 05:01 |
|
|
|
Name | MaxClientsPerUser |   |
Syntax | MaxClientsPerUser [ MaxClientsPerUser number|none [message]] |
Context | Server config <Global> <VirtualHost> <Anonymous> |
Modul | mod_auth |
Standard | |
From version | 1.2.7rc1 and later |
Description | The MaxClientsPerUser directive configures the maximum number of clients that may be connected at any given time using the same user name. The optional argument message may be used which will be displayed to a client attempting to exceed the maximum value. If message is not supplied, a default message of "Sorry, the maximum number of clients (%m) for this user already connected." |
Example 1 | MaxClientsPerUser 1 "Only one such user at a time."
#Results in: 530 Only one such user at a time. |
Example 2 | |
02.00.2004 05:01 |
|
|
|
Name | MaxRetrieveFileSize |   |
Syntax | MaxRetrieveFileSize [ number|"*" units ["user"|"group"|"class" expression]] |
Context | Server config <Global> <VirtualHost> <Anonymous> .ftpaccess <Directory> |
Modul | mod_xfer |
Standard | |
From version | 1.2.7rc1 and later |
Description | When downloading files to clients (eg serving a RETR request), the server will check for any configured limit against the size of the file being requested, and abort any transfers if the requested file's size exceeds the configured limit.
A single "*" argument configures unlimited file sizes, and is used primarily to override any inherited restrictions from higher contexts. The given number is the number of bytes for the limit, and is followed by a units specifier of (case-insensitive) "Gb" (Gigabytes), "Mb" (Megabytes), "Kb" (Kilobytes), or "B" (bytes). The given number of bytes is multiplied by the appropriate factor.
The optional parameters are used to restrict the file size limits only to specific users. If the "user" restriction is given, then expression is a user-expression specifying to which users the rule applies. Similarly for the "group" restriction. For the "class" restriction, the expression is simply the name of connection class for whom the rule will apply. If no matching user, group, or class expression is found for the current user (in that order), then a limit with no expression (i.e. no "user", "group", or "class" identifier) is applied.
See Also: MaxStoreFileSize |
Example 1 | # Download bis zu 1 GB erlauben
MaxRetrieveFileSize 1 Gb |
Example 2 | # Den Download nur für den User "fred" begrezen
# für alle anderen aber nicht begrenzen
MaxStoreFileSize 50 Kb user fred
MaxStoreFileSize * |
02.00.2004 04:02 |
|
|
|
Name | MaxConnectionRate |   |
Syntax | MaxConnectionRate [ connections per second] |
Context | Server config |
Modul | mod_core |
Standard | |
From version | 1.2.7rc1 and later |
Description | Set the maxiumum rate at which new TCP connections are accepted, this applies to the entire server, therefore too low a value on a high traffic server can result in all VirtualHosts being made unavailable due to normal traffic levels.
The value is the number of connections in a given second at which the block comes into effect, thus a value of "1" will result in all connections being blocked. |
Example 1 | MaxConnectionRate 4 |
Example 2 | |
06.00.2003 21:02 |
|
|
|
Name | MaxStoreFileSize |   |
Syntax | MaxStoreFileSize [ number|"*" units ["user"|"group"|"class" expression]] |
Context | Server config <Global> <VirtualHost> <Anonymous> .ftpaccess <Directory> |
Modul | mod_xfer |
Standard | |
From version | 1.2.7rc1 and later |
Description | When uploading files from a client (eg serving a STOR request), the server will check for any configured limit against the size of the file being sent, and abort any transfers if/when the given file's size exceeds the configured limit.
A single "*" argument configures unlimited file sizes, and is used primarily to override any inherited restrictions from higher contexts. The given number is the number of bytes for the limit, and is followed by a units specifier of (case-insensitive) "Gb" (Gigabytes), "Mb" (Megabytes), "Kb" (Kilobytes), or "B" (bytes). The given number of bytes is multiplied by the appropriate factor.
Weiterhin kann man durch die Angabe eines Users, einer Gruppe oder ein Klasse die Ausfuehrung des Befehls aus eben diese beschraenken. Sollte dabei keine Angabe zutreffen, so wird der Befehl dann nicht ausgefuehrt.
Ausserdem: MaxRetrieveFileSize |
Example 1 | # Restrict upload to only 3 megabytes
MaxStoreFileSize 3 Mb |
Example 2 | # Restrict anonymous uploads to 50k,
# but allow unlimited upload size for everyone else
MaxStoreFileSize 50 Kb user anonymous
MaxStoreFileSize * |
02.00.2004 04:02 |
|
|
|
Name | MaxClientsPerClass |   |
Syntax | MaxClientsPerClass name number|"none" [message] |
Context | Server config <Global> <VirtualHost> |
Modul | mod_auth |
Standard | None |
From version | 1.2.10RC1 |
Description | The MaxClientsPerClass directive configures the maximum number of clients
that may be connected at any given time from the same Class. The
optional argument message may be used which will be displayed to a client
attempting to exceed the maximum value. If message is not supplied, a default
message of "Sorry, the maximum number of clients (%m) from your class are
already connected."</para> |
Example 1 | NEU |
Example 2 | NEU |
05.00.2004 03:01 |
|
|