summaryrefslogtreecommitdiffstats
path: root/conf
diff options
context:
space:
mode:
authorSimon Rettberg2017-10-01 17:25:47 +0200
committerSimon Rettberg2017-10-01 17:25:47 +0200
commit893b125acba6633bf946adf2b9821f6359fc4d3c (patch)
tree9d3d83f6a321a84f9622cd119da168ee3dbf3c1f /conf
parent[SERVER] Move includes from header to source unit (diff)
downloaddnbd3-893b125acba6633bf946adf2b9821f6359fc4d3c.tar.gz
dnbd3-893b125acba6633bf946adf2b9821f6359fc4d3c.tar.xz
dnbd3-893b125acba6633bf946adf2b9821f6359fc4d3c.zip
[SERVER] Implement HTTP RPC that supports different queries and ACL
- ACL is defined in new file rpc.acl - Queries are still WIP, for now something like /query?q=stats&q=images /query?q=clients works, although the parsing is still ugly - Also supports HTTP keep-alive
Diffstat (limited to 'conf')
-rw-r--r--conf/rpc.acl5
1 files changed, 5 insertions, 0 deletions
diff --git a/conf/rpc.acl b/conf/rpc.acl
new file mode 100644
index 0000000..5167ae3
--- /dev/null
+++ b/conf/rpc.acl
@@ -0,0 +1,5 @@
+# Everything from localhost
+127.0.0.0/8 ALL
+# Some info reading for another machine
+132.230.8.113 STATS CLIENT_LIST IMAGE_LIST
+