diff options
Diffstat (limited to 'data')
| -rw-r--r-- | data/example.conf | 33 |
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" } + |
