oobctl — tool for creating and querying file oob database
oobctl [-rv] [-d delim] [-g gdelim] { -t table-fn | -f http-proxy-cfg-fn }
Program oobctl can be used for creating, viewing and changing the OOB table.
The OOB file name is specified either by option -t
(the file name of the OOB file) or by option -f (the
OOB file name is taken from the http-proxy configuraiton file).
If the file does not exist yet, it can be created (option
-r).
The program is interactive, the following commands can be used:
?
[username |
IP]
prints the current contents of the OOB table (with particular filter)
0clears the OOB table
+ IP user group1 group2 ...Adds/replaces a record to/in the OOB table
- { username |
IP }removes the (newest) record from the OOB table
EOFthe program exits
-f
http-proxy-fnThe low level configuration file for http-proxy. The file name of the OOB table is taken from the configuration, or the default value is used.
-t
table-fnThe file name of the OOB table to be used
-d
delimThe field delimiter for the output
-g
gdelimThe delimitter for groups
-vprint verbose information about the internals of the table to stdout
-rRecreate the table if necessary. The table is
created if it does not exist. The table is recreated
if the parameters from the configuration do not match
the parametrs of the existing table (the following
parameters are checked: max-users,
max-groups and
max-sessions).
It is only safe to create the table when using
the configuration file as the file name (option
-f).