Advertisement
Guest User

Untitled

a guest
Jun 3rd, 2017
613
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.62 KB | None | 0 0
  1. From iris.conf:
  2. # IDENT STRING: A fixed string to use as an ident on IRC.
  3. # See ident setting documentation.
  4. ident_string: webchat
  5.  
  6. # WEBIRC MODE: This option controls how the IP/hostname of the
  7. # connecting browser will be sent to IRC. If set, the IRC server may
  8. # be able to transparently display users of Iris as from their
  9. # original hosts, rather than as coming from the webclient's IP.
  10. # Possible values include:
  11. # - "webirc": Use WEBIRC type blocks, with an IRCD configuration of
  12. # the following style:
  13. #
  14. cgiirc: {
  15. type webirc;
  16. hostname <127.0.0.1>;
  17. password <spectrum>;
  18. };
  19. #
  20. # You must set webirc_password to be the same as <password>.
  21. #
  22. # - "realname": Disables WEBIRC.
  23. # Sends the IP and hostname in the realname field in the format
  24. # <hostname>/<ip> - <normal realname>, convenient for human reading.
  25. #
  26. # - <left empty>: Disables WEBIRC.
  27. # Sends the IP in the realname field, overriding the REALNAME option.
  28. webirc_mode: webirc
  29.  
  30. # WEBIRC PASSWORD: Used for webirc mode "webirc", see webirc_mode option
  31. # documentation.
  32. webirc_password: spectrum
  33.  
  34. From ircd.conf
  35.  
  36. auth {
  37. /* user: webirc@IP.OF.YOUR.WEBIRC . the webirc@ part is required */
  38. user = "webirc@127.0.0.1";
  39.  
  40. /* password: password the webirc client sends in the WEBIRC command.
  41. * You can use a encrypted password here (see above auth block).
  42. */
  43. password = "spectrum";
  44.  
  45. /* spoof: This is required to keep it what it is currently if you
  46. * want the webirc client to show the users' real host as their
  47. * host on IRC.
  48. */
  49. spoof = "webirc.";
  50. class = "users";
  51. };
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement