From: oetiker Date: Mon, 29 Sep 2008 19:58:34 +0000 (+0000) Subject: This patch introduces the concept of socket privilege levels. "UPDATE" X-Git-Url: https://git.octo.it/?p=rrdtool.git;a=commitdiff_plain;h=2eb6853472839cde0f48e717981a169078af74f1;hp=2eb6853472839cde0f48e717981a169078af74f1 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". -- kevin git-svn-id: svn://svn.oetiker.ch/rrdtool/trunk/program@1547 a5681a0c-68f1-0310-ab6d-d61299d08faa ---