VnutZ Domain
Copyright © 1996 - 2018 [Matthew Vea] - All Rights Reserved

Featured Article

Linking IRCd-Hybrid and UnrealIRCd

[index] [1,321 page views]

An IRC server operator and I were beating our heads against the wall for awhile trying to figure out why our two daemons would not link. The comparison between the connect{} sections of our respective ircd.conf files were perfectly matched. Yet no matter what, the servers continued to report errors on authentication issues. Interestingly, while the question seemed to be asked quite a bit in IRC configuration forums, nobody ever really answered the question.

The answer is very simple – IT WILL NEVER WORK. EVER.

Not only did everyone in the forums continue to provide misleading and inaccurate information, but nobody even came close to explaining why.

On the IRCd-Hybrid host, I ran tcpdump:

sudo tcpdump -i eth0 dst and port 6667 -vv -w capture.pcap

On the UnrealIRCd host, I also ran tcpdump:

sudo tcpdump -i eth0 dst and port 6667 -vv -w capture.pcap

Viewing the two entries in WireShark reveals the following obvious answer:

Connection Packet from IRCd-Hybrid

Connection Packet from UnrealIRCd

According to RFC2813 – Internet Relay Chat: Server Protocol, the field is supposed to look like PASS moresecretpassword 0210010000 IRC|aBgH$ Z where the PASS command is followed by a password, version number, flags and options. The UnrealIRCd server doesn’t even come close to following the RFC. IRCd-Hybrid is much closer, but skipped the version number altogether.

The bottom line is … they don’t talk to the same language during the very first authentication step so they will not connect to each other.

More Content You Might Be Interested In Reading:

IRCd-Hybrid does not have SSL enabled and requires some workarounds to secure its connections. This tutorial will get an IRCd-Hybrid server running, linked to other servers, and secured with SSL.

Or try your hand at fate - use the Pattern Analysis of the MegaMillions Lottery or the Pattern Analysis of the PowerBall Lottery page to pick "smarter" numbers. Remember, you don't have to win the jackpot to win money from the lottery!