On Tue 19 Feb 2002 17:11, Kevin Lyda wrote:
> is it possible to implement a closed irc server - one that would require
> a password to access?
Yes. Using the Undernet IRC server, for example, you can add a
password field to your I: lines. You can set things up so that
certain domains require password, or certain usernames, or whatever.
From the ircd.conf distributed with Debian's ircd:
# I: [MANDATORY]. The I: lines are client-authorization lines. Without
# these lines, no clients will be able to connect to your server.
# Wildcards ("*") are permitted. Passwords are also permitted (clients can
# be configured to send passwords).
# Debian Default: Permit universal access
# Change this ASAP if you do not want to run a public server!
# Ident (for more information on this, see rfc1413) can also be used by
# placing a @ in the appropriate fields.
# Fields are as follows:
# I:IP-address-mask:optional password:domain-mask::connection class (opt)
# With a password..... This will allow anyone from anywhere to connect
# as long as they know the password ("foobar"). Note listing this I: line
# first, it will be read *last*, meaning it is the "fall-through". That
# is, anyone who doesn't match the I: lines listed below must know the
# password ("foobar") to connect.
# This is a standard vanilla I: line which will permit anyone with an IP
# address starting with 128.197 OR with a hostname ending in .bu.edu to
# connect to the server. NOTE, the ircd matches on the *right-most* match,
# so if I connect as hrose at csa.bu.edu (which is hrose at 18.104.22.168) I will
# show up on irc as hrose at csa.bu.edu since that is the first match it
# found. (Even though the second match is valid).
# using ident
# and you can even specify just certain usernames running ident (as long
# as the client's site is running the ident daemon):
#I:NOMATCH::hrose at csa.bu.edu::1
# putting NOMATCH in the first field will stop the ircd from matching
# automatically against the IP address and it will force the server to
# match against the hostname. (the "NOMATCH" string is not mandatory, you
# can use any arbitrary text in the first field).
Hope this helps,
Colm Buckley : Systems Architect at NewWorldIQ
Personal : colm at tuatha.org | +353 87 2469146 | www.colm.buckley.name
Business : colm at newworldiq.com | +353 1 4334334 | www.newworldiq.com
Plan to be spontaneous tomorrow.
Maintained by the ILUG website team. The aim of Linux.ie is to
support and help commercial and private users of Linux in Ireland. You can
display ILUG news in your own webpages, read backend
information to find out how. Networking services kindly provided by HEAnet, server kindly donated by
Dell. Linux is a trademark of Linus Torvalds,
used with permission. No penguins were harmed in the production or maintenance
of this highly praised website. Looking for the
Indian Linux Users' Group? Try here. If you've read all this and aren't a lawyer: you should be!