[rrd-developers] [PATCH] socket privilege levels

Tobias Oetiker tobi at oetiker.ch
Mon Sep 29 22:00:02 CEST 2008


Today kevin brintnall wrote:

> This patch introduces the concept of socket privilege levels.  "UPDATE"
> and "FLUSHALL" commands are restricted to high-privilege sockets.  "FLUSH"
> commands can be executed on any socket.  This is ideal for multi-user
> installations where only certain users need write access to the RRD files.
>
> Now, nearly all socket information is passed around the daemon in
> listen_socket_t data structures.  In case there is other per-socket state
> (i.e. if we add authentication) we can put it there.
>
> Also, I created a new "open_listen_socket_network" and removed the network
> setup from "open_listen_socket".

way to go!
tobi
-- 
Tobi Oetiker, OETIKER+PARTNER AG, Aarweg 15 CH-4600 Olten, Switzerland
http://it.oetiker.ch tobi at oetiker.ch ++41 62 775 9902 / sb: -9900



More information about the rrd-developers mailing list