PROXY commands
-
PROXY:set_auth_key(value) — Customize the crypto key FortiADC used for encrypt/decrypt authentication cookie name "FortiADCauthSI". This will increase your FortiADC's security so that others cannot forge this authentication cookie.
-
PROXY:clear_auth_key(value) — Clears the customized authentication key that was previously set to use the default key instead.
-
PROXY:shared_table_create() — Creates a shared table if there is no existing shared table with the specified name.
-
PROXY:shared_table_destroy() — Destroys the specified shared table and all the data entries if the calling process is the only one attached to the shared table. In case there is more than one process attached to this table, this function will only detach both the data entries and the shared table for the calling process.
-
PROXY:shared_table_entry_count() — Returns the current count of entries in a shared table. Returns -1 if the table does not exist.
-
PROXY:shared_table_memory_size() — Returns the current memory usage of a shared table. Returns -1 if the table does not exist.
-
PROXY:shared_table_insert() — Inserts a pair of <key, value> as an entry into the shared table. If the key already exists in the table or if the table is full, the function will do nothing. The key can be a Lua string or integer while the value can be a Lua string, integer, or table.
-
PROXY:shared_table_lookup() — Looks up whether a key exists in the shared table. If the key exists, returns the corresponding value.
-
PROXY:shared_table_delete() — Deletes an entry specified by a key from the shared table. If the key does not exist, the function will do nothing. If there is more than one process attached to the data entry, this function only detaches the calling process.
-
PROXY:shared_table_dump() — Prints the current contents of the shared table for debugging purposes. This works similar to an iterator for a shared table.
-
PROXY:atomic_counter_create() — Creates an atomic counter with a specific name. This counter is sharable among different processes of one virtual server. The creation process has the ownership. All the other processes within the same VS can perform all the operations except destroy. Each VS can create up to 255 counters.
-
PROXY:atomic_counter_destroy() — Destroys an atomic counter with a specific name. The creator process has the ownership, and only the owner can destroy the counter. Non-owner calls will be ignored.
-
PROXY:atomic_counter_set() — Sets the value specified by an atomic counter name.
-
PROXY:atomic_counter_get() — Returns the current value of the specified atomic counter name.
-
PROXY:atomic_counter_inc() — Increases the current value of the specified atomic counter name by one.
-
PROXY:atomic_counter_dec() — Decreases the current value of the specified atomic counter name by one.
-
PROXY:atomic_counter_add() — Adds a value to the specified atomic counter name.
-
PROXY:atomic_counter_sub() — Subtracts a value from the specified atomic counter name.