ircd_config.toml 2.0 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869
  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. ## 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 address
  20. #inbound="tls://0.0.0.0:11002"
  21. # ipv6 version:
  22. #inbound="tls://[::]:11002"
  23. ## P2P external address
  24. ## Put your IP or hostname 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:11002"
  28. # ipv6 version:
  29. #external_addr="tls://[ipv6 address here]:11002"
  30. ## Manually configured peers to connect to
  31. #peers=["tls://127.0.0.1:11003"]
  32. ## Seed nodes to connect to
  33. seeds=["tls://irc0.dark.fi:11001", "tls://irc1.dark.fi:11001"]
  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. ## Contacts list
  49. # Shared secrets that encrypt direct communication between two nicknames on
  50. # the network.
  51. # These are in the form of secret:[nick0,nick1], which means that the same
  52. # shared secret will be used for all the nicknames in the list.
  53. [contact."7CkVuFgwTUpJn5Sv67Q3fyEDpa28yrSeL5Hg2GqQ4jfM"]
  54. nicks = ["sneed", "chuck"]