ircd_config.toml 2.1 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071
  1. ## JSON-RPC listen URL
  2. #rpc_listen="tcp://127.0.0.1:25550"
  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. ## Daemon specific password (optional, but once you configure it,
  13. ## it is required from the client side)
  14. #password="CHANGE_ME"
  15. ## P2P net settings
  16. [net]
  17. ## Connection slots
  18. outbound_connections=5
  19. ## P2P accept addresses
  20. #inbound = ["tls://0.0.0.0:25551"]
  21. # ipv6 version:
  22. #inbound = ["tls://[::]:25551"]
  23. ## P2P external addresses
  24. ## Put your IPs or hostnames here
  25. ## This is how people can reach you on the inbound port configured above
  26. ## You can also put an ipv6 address :)
  27. #external_addr = ["tls://XXX.XXX.XXX.XXX:25551"]
  28. # ipv6 version:
  29. #external_addr = ["tls://[ipv6 address here]:25551"]
  30. ## Manually configured peers to connect to
  31. #peers = ["tls://127.0.0.1:25551"]
  32. ## Seed nodes to connect to
  33. seeds = ["tls://lilith0.dark.fi:25551", "tls://lilith1.dark.fi:25551"]
  34. ## Only used for debugging. Compromises privacy when set.
  35. #node_id = "foo"
  36. ## these are the default configuration for the p2p network
  37. #manual_attempt_limit=0
  38. #seed_query_timeout_seconds=8
  39. #connect_timeout_seconds=10
  40. #channel_handshake_seconds=4
  41. #channel_heartbeat_seconds=10
  42. ## Per-channel settings
  43. #[channel."#foo"]
  44. ## Create with `ircd --gen-secret`
  45. #secret = "7CkVuFgwTUpJn5Sv67Q3fyEDpa28yrSeL5Hg2GqQ4jfM"
  46. ## Topic to set for the channel
  47. #topic = "DarkFi Foo Stuff"
  48. [channel."#dev"]
  49. topic = "DarkFi Development HQ"
  50. ## Contacts list
  51. # Shared secrets that encrypt direct communication between two nicknames on
  52. # the network.
  53. # These are in the form of secret:[nick0,nick1], which means that the same
  54. # shared secret will be used for all the nicknames in the list.
  55. [contact."7CkVuFgwTUpJn5Sv67Q3fyEDpa28yrSeL5Hg2GqQ4jfM"]
  56. nicks = ["sneed", "chuck"]