summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: 500cb83)
raw | patch | inline | side by side (parent: 500cb83)
author | oetiker <oetiker@a5681a0c-68f1-0310-ab6d-d61299d08faa> | |
Tue, 15 Mar 2011 07:53:03 +0000 (07:53 +0000) | ||
committer | oetiker <oetiker@a5681a0c-68f1-0310-ab6d-d61299d08faa> | |
Tue, 15 Mar 2011 07:53:03 +0000 (07:53 +0000) |
git-svn-id: svn://svn.oetiker.ch/rrdtool/branches/1.4/program@2180 a5681a0c-68f1-0310-ab6d-d61299d08faa
doc/rrdcached.pod | patch | blob | history | |
src/rrd_daemon.c | patch | blob | history |
diff --git a/doc/rrdcached.pod b/doc/rrdcached.pod
index e6cf910f122c2116233817e6fb002ed722ef8f42..7f9c2a1ab17c27424460d591b7dc08e064e5dfd8 100644 (file)
--- a/doc/rrdcached.pod
+++ b/doc/rrdcached.pod
authentication for clients connecting to the rrdcache daemon!
If your rrdtool installation was built with libwrap then you can use
-hosts_access to restrict client access to the rrdcache daemon. For more
+hosts_access to restrict client access to the rrdcache daemon (rrdcached). For more
information on how to use hosts_access to restrict access to the rrdcache
daemon you should read the hosts_access(5) man pages.
diff --git a/src/rrd_daemon.c b/src/rrd_daemon.c
index 215b620855d51cc0e22402ae749dbbc93b2ed58e..78426e6b0073d928ad3430af57bc73e618266631 100644 (file)
--- a/src/rrd_daemon.c
+++ b/src/rrd_daemon.c
getting overwritten by another thread.
*/
struct request_info req;
- request_init(&req, RQ_DAEMON, "rrdcache\0", RQ_FILE, fd, NULL );
+ request_init(&req, RQ_DAEMON, "rrdcached\0", RQ_FILE, fd, NULL );
fromhost(&req);
if(!hosts_access(&req)) {
RRDD_LOG(LOG_INFO, "refused connection from %s", eval_client(&req));