]> jfr.im git - irc/DALnet/bahamut.git/commitdiff
Add RuneB's WEBIRC description to reference.conf
authorAndrew Lee <redacted>
Thu, 7 May 2020 01:34:22 +0000 (18:34 -0700)
committerAndrew Lee <redacted>
Thu, 7 May 2020 01:34:22 +0000 (18:34 -0700)
doc/reference.conf

index 91185fc959a5c220d8af532f893b8639f2acd70b..509db3fe7998664ad3eae070624d8ba4cf632f6f 100755 (executable)
@@ -399,7 +399,24 @@ allow {
 # 
 # Using the examples in this file, a client could connect with the password
 # string "secret:johndoe:secret" and be masked as johndoe@staff.net.
-# 
+#
+# The WEBIRC command identifies trusted clients, and permits the real
+# hostname of a webirc client be used instead of the hostname of the
+# webirc gateway they connected through. This can be used to prevent users
+# from having ircip1.mibbit.com as their hostname, for example.
+#
+# Trusted clients are added to the ircd.conf by adding special allow
+# blocks that match ident@host (if an identd response was received), or
+# webirc@host (if not), and that use a password of the form:
+# webirc.<password>
+#
+# For example:
+#
+# allow { ipmask webirc@127.0.0.1; passwd webirc.mypass; class users; };
+#
+# will allow the command to be used from a non-identd client connecting
+# from 127.0.0.1 if they use the password mypass in the WEBIRC command.
+#
 # The flags token allows special behavior to be assigned to this
 # connection, using a set of single-letter options.  The available flags
 # are: