1
0
mirror of https://github.com/anope/anope.git synced 2026-07-02 02:46:39 +02:00

Added m_xmlrpc and m_xmlrpc main, which allows remote programs to execute

remote RPC calls to Anope in realtime and receive responses
This commit is contained in:
Adam
2010-11-06 11:19:09 -04:00
parent 5cd4fefb4c
commit 8fbe36635c
10 changed files with 683 additions and 27 deletions
+33
View File
@@ -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" }