]> git.ipfire.org Git - thirdparty/haproxy.git/commit
MEDIUM: cli: handle CLI level from the master CLI
authorWilliam Lallemand <wlallemand@haproxy.com>
Thu, 13 Dec 2018 08:05:47 +0000 (09:05 +0100)
committerWilly Tarreau <w@1wt.eu>
Thu, 13 Dec 2018 08:45:16 +0000 (09:45 +0100)
commitb7ea141cbb566c89c42cee71d3fadf1df6138828
tree3abbecf006256974c8bec816f786fd2573261db6
parentdc12c2e56cd99150e637ad0f5e1ed3578cbab171
MEDIUM: cli: handle CLI level from the master CLI

Handle the CLI level in the master CLI. In order to do this, the master
CLI stores the level in the stream. Each command are prefixed by a
"user" or "operator" command before they are forwarded to the target
CLI.

The level can be configured in the haproxy program arguments with the
level keyword: -S /tmp/sock,level,admin -S /tmp/sock2,level,user.
doc/management.txt
include/types/stream.h
src/cli.c