diff --git a/doc/configuration.txt b/doc/configuration.txt index f25f647c8..46bee9bdd 100644 --- a/doc/configuration.txt +++ b/doc/configuration.txt @@ -12634,10 +12634,18 @@ If an unknown command is sent, haproxy displays the usage message which reminds all supported commands. Some commands support a more complex syntax, generally it will explain what part of the command is invalid when this happens. +add acl + Add an entry into the acl . This command does not verify if the entry + already exists. This command cannot be used if the reference is a file + also used with a map. In this case, you must use the command 'add map' in + place of 'add acl'. + add map Add an entry into the map to associate the value to the key . This command does not verify if the entry already exists. It is - mainly used to fill a map after a clear operation. + mainly used to fill a map after a clear operation. Note that if the reference + is a file and is shared with a map, this map will contain also a new + pattern entry. clear counters Clear the max values of the statistics counters in each proxy (frontend & @@ -12651,8 +12659,13 @@ clear counters all server. This has the same effect as restarting. This command is restricted and can only be issued on sockets configured for level "admin". +clear acl + Remove all entries from the acl . Note that if the reference is a + file and is shared with a map, this map will be also cleared. + clear map - Remove all entries from the map . + Remove all entries from the map . Note that if the reference is a + file and is shared with a acl, this acl will be also cleared. clear table [ data. ] | [ key ] Remove entries from the stick-table
. @@ -12702,8 +12715,19 @@ clear table
[ data. ] | [ key ] $ echo "show table http_proxy" | socat stdio /tmp/sock1 >>> # table: http_proxy, type: ip, size:204800, used:1 -del map +del acl [|#] + Delete all the acl entries from the acl corresponding to the key . + If the is used, this command delete only the listed reference. The + reference can be found with listing the content of the acl. Note that if the + reference is a file and is shared with a map, the entry will be also + deleted in the map. + +del map [|#] Delete all the map entries from the map corresponding to the key . + If the is used, this command delete only the listed reference. The + reference can be found with listing the content of the map. Note that if the + reference is a file and is shared with a acl, the entry will be also + deleted in the map. disable agent / Mark the auxiliary agent check as temporarily stopped. @@ -12815,9 +12839,10 @@ prompt quit Close the connection when in interactive mode. -set map - Modify the value corresponding to each key in a map . The new value - is . +set map [|#] + Modify the value corresponding to each key in a map . If the + is used in place of , only the entry pointed by is changed. The new + value is . set maxconn frontend Dynamically change the specified frontend's maxconn setting. Any positive @@ -12949,7 +12974,15 @@ show info show map [] Dump info about map converters. Without argument, the list of all available - maps is returned. If a is specified, its contents are dumped. + maps is returned. If a is specified, its contents are dumped. The first + column is a unique identifier. It can be used as reference for the operation + "del map" and "set map". The second column is the pattern and the third column + is the sample if available. + +show acl [] + Dump info about acl converters. Without argument, the list of all available + acls is returned. If a is specified, its contents are dumped. The dump + format is the same than the map even for the sample value. show pools Dump the status of internal memory pools. This is useful to track memory