conf.example 1.2 KB

123456789101112131415161718192021222324252627282930
  1. #All lines beginning with '#' will be ignored during the bot startup. They are comments only.
  2. #These lines MUST be correctly syntaxed or the bot will not work properly.
  3. #A hub conf is located in the same dir as the hub binary, as 'conf' (encrypted)
  4. #A leaf conf is located at '~/.ssh/.known_hosts' (encrypted)
  5. #
  6. #Note the "- " and "+ " for the following items, the space is REQUIRED.
  7. #The first line must be the UID of the shell the bot is to be run on. (use "id" in shell to get uid)
  8. #- 1113
  9. #The second must be the output from uname -nv (-nr on FBSD)
  10. #+ somebox #1 SMP Thu May 29 06:55:05 EDT 2003
  11. #
  12. #The following line will disable ps cloaking on the shell if you compiled with S_PSCLOAK
  13. #!-
  14. #The rest of the conf is for bots and is in the following syntax:
  15. #botnick [!]ip4 [+]hostname IPv6-ip
  16. #A . (period) can be used in place of ip4 and/or hostname if the field is not needed. (ie, for using only an ipv6 ip)
  17. #(the ! means internal NAT ip address, IE: 10.10.0.3, Hostname REQUIRED)
  18. #Full example:
  19. #- 101
  20. #+ somebox 5.1-RELEASE
  21. #bot1 1.2.3.4 some.vhost.com
  22. #bot2 . +ipv6.uber.leet.la
  23. #bot3 . +another.ipv6.host.com 2001:66:669:3a4::1
  24. #bot4 1.2.3.4 +someipv6.host.com
  25. #if there are any trailing newlines at the end, remove them up to the last bot.