ircd_config.toml 2.6 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384
  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. # Prefered transports for outbound connections
  35. #outbound_transports = ["tls", "tcp"]
  36. ## Only used for debugging. Compromises privacy when set.
  37. #node_id = "foo"
  38. ## these are the default configuration for the p2p network
  39. #manual_attempt_limit=0
  40. #seed_query_timeout_seconds=8
  41. #connect_timeout_seconds=10
  42. #channel_handshake_seconds=4
  43. #channel_heartbeat_seconds=10
  44. ## Per-channel settings
  45. #[channel."#foo"]
  46. ## Create with `ircd --gen-secret`
  47. #secret = "7CkVuFgwTUpJn5Sv67Q3fyEDpa28yrSeL5Hg2GqQ4jfM"
  48. ## Topic to set for the channel
  49. #topic = "DarkFi Foo Stuff"
  50. [channel."#dev"]
  51. topic = "DarkFi Development HQ"
  52. ### Contacts list
  53. ## Private key used to decrypt direct messages to you along with
  54. ## contact_pubkey. (configured only once)
  55. ## Generate keypair using 'ircd --gen-keypair'
  56. ## or to save to a file 'ircd --gen-keypair -o ~/some_dir/filename'
  57. ## !!SHOULD NEVER SHARE THIS!!
  58. #[private_key."955Dfa83pU7RCevT2rMrGfhza4kcy6FShSNE6AdR4Q7A"]
  59. ## Shared Public key that encrypt direct communication between two nicknames
  60. ## on the network.
  61. ## These are in the form of [Contact_nick, Contact_pubkey]
  62. ## Per-contact settings
  63. ## contact nickname (this is not irc nickname, and could be anything you want)
  64. ## irc msgs should be pointed to this nickname.
  65. #[contact."narodnik"]
  66. ## contact public key
  67. #contact_pubkey = "C9vC6HNDfGQofWCapZfQK5MkV1JR8Cct839RDUCqbDGK"