summaryrefslogtreecommitdiff
path: root/data
diff options
context:
space:
mode:
authorAdam <Adam@anope.org>2010-11-06 11:19:09 -0400
committerAdam <Adam@anope.org>2010-12-12 19:30:14 -0500
commit8fbe36635c8acae23d7c0879aaa347265b96408d (patch)
tree898ff9790d763e91ccb24c5fe28da5e575499d7b /data
parent5cd4fefb4c3c9e9a723c2b6b2e52859c5c7bb49e (diff)
Added m_xmlrpc and m_xmlrpc main, which allows remote programs to execute
remote RPC calls to Anope in realtime and receive responses
Diffstat (limited to 'data')
-rw-r--r--data/example.conf33
1 files changed, 33 insertions, 0 deletions
diff --git a/data/example.conf b/data/example.conf
index 0b0c1abcd..e573cbaac 100644
--- a/data/example.conf
+++ b/data/example.conf
@@ -1805,3 +1805,36 @@ blacklist
reason = "You have a host listed in the DroneBL. For more information, visit http://dronebl.org/lookup.do?ip=%i"
}
+/*
+ * m_xmlrpc
+ *
+ * Allows remote applications (websites) to execute queries in real time to retrieve data from Anope.
+ * By itself this module does nothing, but allows other modules (m_xmlrpc_main) to receive and send XMLRPC queries.
+ */
+#module { name = "m_xmlrpc" }
+m_xmlrpc
+{
+ /* IP to listen on */
+ bindip = "127.0.0.1"
+ /* Port to listen on */
+ port = 16673
+ /* Enable for IPv6 */
+ ipv6 = no
+ /* If enabled, requires m_ssl is loaded */
+ ssl = no
+ /* IPs allowed to connect (separate with spaces), this should be secured. We also recommend you firewall this
+ * with an outside program to ensure security.
+ */
+ allowed = "127.0.0.1"
+ /* An optional username and password, if supplied clients using XMLRPC must authenticate first using it */
+ username = "anope"
+ password = "mypass"
+}
+
+/*
+ * m_xmlrpc_main
+ *
+ * Main XMLRPC function, adds many core methods that may be required for XMLRPC to work right (such as login).
+ */
+#module { name = "m_xmlrpc_main" }
+