ircd_config.toml 1.9 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465
  1. ## JSON-RPC listen URL
  2. #rpc_listen="tcp://127.0.0.1:11055"
  3. ## IRC listen URL
  4. #irc_listen="tcp://127.0.0.1:6667"
  5. #irc_listen="tls://0.0.0.0:6697"
  6. ## TLS certificate path if IRC acceptor uses TLS (optional)
  7. #irc_tls_cert = "/etc/letsencrypt/ircd/fullchain.pem"
  8. ## TLS secret key path if IRC acceptor uses TLS (optional)
  9. #irc_tls_secret = "/etc/letsencrypt/ircd/privkey.pem"
  10. ## List of channels to autojoin for new client connections
  11. autojoin = ["#dev", "#memes", "#philosophy", "#markets", "#math", "#random"]
  12. ## P2P net settings
  13. [net]
  14. ## Connection slots
  15. outbound_connections=5
  16. ## P2P accept address
  17. #inbound="tls://0.0.0.0:11002"
  18. # ipv6 version:
  19. #inbound="tls://[::]:11002"
  20. ## P2P external address
  21. ## Put your IP or hostname here
  22. ## This is how people can reach you on the inbound port configured above
  23. ## You can also put an ipv6 address :)
  24. #external_addr="tls://XXX.XXX.XXX.XXX:11002"
  25. # ipv6 version:
  26. #external_addr="tls://[ipv6 address here]:11002"
  27. ## Manually configured peers to connect to
  28. #peers=["tls://127.0.0.1:11003"]
  29. ## Seed nodes to connect to
  30. seeds=["tls://irc0.dark.fi:11001", "tls://irc1.dark.fi:11001"]
  31. ## Only used for debugging. Compromises privacy when set.
  32. #node_id = "foo"
  33. ## these are the default configuration for the p2p network
  34. #manual_attempt_limit=0
  35. #seed_query_timeout_seconds=8
  36. #connect_timeout_seconds=10
  37. #channel_handshake_seconds=4
  38. #channel_heartbeat_seconds=10
  39. ## Per-channel settings
  40. #[channel."#foo"]
  41. ## Create with `ircd --gen-secret`
  42. #secret = "7CkVuFgwTUpJn5Sv67Q3fyEDpa28yrSeL5Hg2GqQ4jfM"
  43. ## Topic to set for the channel
  44. #topic = "DarkFi Foo Stuff"
  45. ## Contacts list
  46. # Shared secrets that encrypt direct communication between two nicknames on
  47. # the network.
  48. # These are in the form of secret:[nick0,nick1], which means that the same
  49. # shared secret will be used for all the nicknames in the list.
  50. [contact."7CkVuFgwTUpJn5Sv67Q3fyEDpa28yrSeL5Hg2GqQ4jfM"]
  51. nicks = ["sneed", "chuck"]