]> git.kaiwu.me - haproxy.git/commit
[MEDIUM] add access restrictions to the stats socket
authorWilly Tarreau <w@1wt.eu>
Sat, 10 Oct 2009 15:13:00 +0000 (17:13 +0200)
committerWilly Tarreau <w@1wt.eu>
Sat, 10 Oct 2009 15:13:00 +0000 (17:13 +0200)
commit6162db2a81b71a5bb6217e85629a50898579922f
tree1c610cf36a36b2ca40514810af78a741f171050c
parent2f6bf2b82c0af292d9adb28d01fd91f754dff221
[MEDIUM] add access restrictions to the stats socket

The stats socket can now run at 3 different levels :
  - user
  - operator (default one)
  - admin

These levels are used to restrict access to some information
and commands. Only the admin can clear all stats. A user cannot
clear anything nor access sensible data such as sessions or
errors.
doc/configuration.txt
include/types/global.h
include/types/protocols.h
src/dumpstats.c