ircd - o-lines not working... mkpasswd?
I have been running an IRC server for ages, and I want to amalgamate my irc server with another server (mail) running linux. I have never setup an IRC server on linux. (I ran a MacOS irc server for a couple years, and then a win IRC server for maybe 4 years)
What I can't get to work is the o-lines. And it could be the o-lines, or it could be something else. Unfortunately, documentation does not help in this case.
First, the server I'm setting this up on is debian, and I'm using ircd-ircu. Everything comes up and works just fine, except for the fact that I can't get myeslf to show up as an server op.
Digging through the ircd.conf.sample indicate that
O:<host/IP>:<PW>:<nick>::<class>
is what's needed, and to use mkpasswd to encrypt the PW
so off I go writing a catchall O:line to get it up and running
O:*@*:<Password>:doug::1
now here is potential problem #1
mkpasswd (then it prompts to enter password) returns a different string each time. This is based on the salt, but what's the point of encrypting the password if the salt is different every time? The server documentation does not state "use this salt", it just says "encrypt using mkpasswd". So how do I know if when ircu goes to check the password, if it's working or not, since mkpasswd returns a differnt string each time? The server is not going to check 65 thousand combinations of the encrypted password, once for each salt to get a match on the password in the file... Yeah, I'm at a loss here...
Next, to get this thing setup, I have a single Y line and a single I line... (for reference)
Y:2:180:0:200:9000000 # up to 200 connections in class 2
I:*@192.168.0.21::Unresolved::2 # using specific IP, unresolved hostname, connect as class 2
and then with the O line above
O:*@*:VzWgnZoY0Wa7c:doug::2
(note: the password is as it appears in the config file, except for a single character which was changed for extra paranoia)
yet when I connect with my client (xchat) with my password in the appropriate field, nothing happens.
|