I am trying to setup an IRC server on my machine for a bunch of friends and me to use. This is an ubuntu box and I have installed dancer-ircd and dancer-services and gotten everything up and running according to the Ubuntu Docs. I would like to now lock down the server so that users need a "global" password to connect. Alternatively, every user can have their own username/password as long as I have the ability to pre-approve who is registering a nick on the server.
|
I had some IRC servers way back when. If I remember correctly, you set the connection password in the third field of the I: lines in ircd.conf. The clients connect with something like /server yourserver.com:port password, and I believe most clients will ask for the password if you fail to provide one in the connect string. There are a number of other options if you want to further restrict the connections.
The connection class is defined with an Y: line. There's probably one in the default configuration that you can reference. Looking through the example ircd.conf is probably a good idea, most configuration options are explained there. |
|||||||||||
|
|
Have you considered running an IRC bot such as Eggdrop on a +i channel on a public network? This has the following benefits:
Obviously, there are disadvantages:
One more point to consider is that IRC is not a secure protocol. Some server software supports SSL connections, though I've never encountered such servers in practice. YMMV. SILC is another alternative, although the PK cryptography minutia can be too much for some users. |
|||||||
|
|
There might be a way to limit connections only to certain IP addresses, but it seems like you're seriously overcomplicating yourself, as I've never seen a server that requires a password to connect. You should just get a channel on a public network and password protect it, or better yet use some chat tool like Yahoo Messenger, which features conference mode, where you can invite more people into the same discussion. |
|||||||
|
|
I found this several years after the fact, but I'd like to add that the way I do this is to set up a IRCd to listen on localhost only, and set up ZNC. ZNC has user accounts and uses either the server password or a USER that contains both. I'm using this approach for TRC, example: https://irc.teamrelaychat.nl/ (use demo2/demo2) |
|||
|
|