]> git.ipfire.org Git - thirdparty/haproxy.git/commit
[MEDIUM] stats: add an admin level
authorCyril Bonté <cyril.bonte@free.fr>
Mon, 11 Oct 2010 22:14:36 +0000 (00:14 +0200)
committerWilly Tarreau <w@1wt.eu>
Sat, 30 Oct 2010 17:04:34 +0000 (19:04 +0200)
commit474be415af796956a887e3fb7e93656bdacc2091
tree0ad4ecc9054175d4452c376de1e33e26870df7d3
parent70be45dbdfb4edb26d7fee9b704ca71483134459
[MEDIUM] stats: add an admin level

The stats web interface must be read-only by default to prevent security
holes. As it is now allowed to enable/disable servers, a new keyword
"stats admin" is introduced to activate this admin level, conditioned by ACLs.
(cherry picked from commit 5334bab92ca7debe36df69983c19c21b6dc63f78)
include/common/uri_auth.h
include/proto/dumpstats.h
src/cfgparse.c
src/dumpstats.c
src/proto_http.c
src/uri_auth.c