Scaffold the federated services daemon
Protocol-agnostic core: a Protocol trait maps raw server-to-server lines to a normalized event/action model, so the engine never touches a raw line and a new ircd is one new module. Adds event-log state (state is a fold over the log) and a service framework. First protocol impl links to an InspIRCd (insp4) uplink — completes the CAPAB/SERVER handshake, bursts, and introduces NickServ.
This commit is contained in:
commit
f82ab0c70a
15 changed files with 890 additions and 0 deletions
12
config.example.toml
Normal file
12
config.example.toml
Normal file
|
|
@ -0,0 +1,12 @@
|
|||
# Copy to config.toml and edit. config.toml is gitignored (holds the link password).
|
||||
|
||||
[uplink]
|
||||
host = "127.0.0.1"
|
||||
port = 7000
|
||||
password = "changeme" # must match the <link> block on the uplink IRCd
|
||||
|
||||
[server]
|
||||
name = "services.example.net"
|
||||
sid = "42S" # 3 chars, unique on the network
|
||||
description = "Federated Services"
|
||||
protocol = 1206 # InspIRCd link protocol version (1206 = insp4, 1205 = insp3)
|
||||
Loading…
Add table
Add a link
Reference in a new issue