Implement the backend for automatically provisioning relays
This commit is contained in:
@@ -2,13 +2,14 @@
|
||||
"Listener": {
|
||||
"Port": 13867,
|
||||
"Address": "127.0.0.1",
|
||||
"UseSSL": true,
|
||||
"Key": "key.pem",
|
||||
"Certificate": "cert.pem"
|
||||
"UseSSL": true
|
||||
},
|
||||
"Key": "key.pem",
|
||||
"Certificate": "cert.pem",
|
||||
"RedisSocket": "/tmp/redis.sock",
|
||||
"UsePassword": true,
|
||||
"ConnectOnCreate": false,
|
||||
"RelayPassword": "s",
|
||||
"Notifications": {
|
||||
"Highlight": true,
|
||||
"Connection": true,
|
||||
@@ -29,32 +30,13 @@
|
||||
},
|
||||
"Delays": {
|
||||
"WhoLoop": 600,
|
||||
"WhoRange": 1800
|
||||
"WhoRange": 1800,
|
||||
"Timeout": 30,
|
||||
"MaxDelay": 360,
|
||||
"InitialDelay": 1.0,
|
||||
"Factor": 2.718281828459045,
|
||||
"Jitter": 0.11962656472
|
||||
}
|
||||
},
|
||||
"Default": {
|
||||
"host": null,
|
||||
"port": null,
|
||||
"protocol": "ssl",
|
||||
"bind": null,
|
||||
"timeout": 30,
|
||||
"maxdelay": 360,
|
||||
"initialdelay": 1.0,
|
||||
"factor": 2.7182818284590451,
|
||||
"jitter": 0.11962656472,
|
||||
"nickname": null,
|
||||
"username": null,
|
||||
"realname": null,
|
||||
"userinfo": null,
|
||||
"finger": null,
|
||||
"version": null,
|
||||
"source": null,
|
||||
"autojoin": [],
|
||||
"authtype": null,
|
||||
"password": null,
|
||||
"authentity": "NickServ",
|
||||
"key": "key.pem",
|
||||
"certificate": "cert.pem"
|
||||
},
|
||||
"Master": [null, null]
|
||||
}
|
||||
|
||||
1
conf/example/network.json
Normal file
1
conf/example/network.json
Normal file
@@ -0,0 +1 @@
|
||||
{}
|
||||
@@ -1,10 +1,8 @@
|
||||
{
|
||||
"pass": "pass <password>",
|
||||
"logout": "logout",
|
||||
"add": "add <name> [<address>] [<port>] [<ssl|plain>] [<nickname>]",
|
||||
"del": "del <name>",
|
||||
"mod": "mod <name> [<key>] [<value>]",
|
||||
"default": "default [<key>] [<value>]",
|
||||
"get": "get <name> <variable>",
|
||||
"key": "key <master|list|add|del|except|unexcept|listexcept|monitor> [<name>] [<target>] [<key...>] [<on|off>]",
|
||||
"who": "who <query>",
|
||||
@@ -22,6 +20,8 @@
|
||||
"mon": "mon -h",
|
||||
"chans": "chans <nick> [<nick> ...]",
|
||||
"users": "users <channel> [<channel> ...]",
|
||||
"alias": "alias <add|del|list> [<alias> <nickname> <ident> <realname>]",
|
||||
"relay": "relay <add|del|list> [<relay> <host> <port> <user> <password>"
|
||||
"alias": "alias <add|del|list> [<alias> <nickname> <altnick> <ident> <realname> <password>]",
|
||||
"relay": "relay <add|del|list> [<relay> <host> <port> <user> <password>]",
|
||||
"network": "network <add|del|list> [<name> <address> <port> <ssl|plain> <sasl|ns|none>]",
|
||||
"provision": "provision <relay> <alias> [<network>]"
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user