LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Server (https://www.linuxquestions.org/questions/linux-server-73/)
-   -   IRC not connected? (https://www.linuxquestions.org/questions/linux-server-73/irc-not-connected-796094/)

mwjones 03-17-2010 02:18 PM

IRC not connected?
 
When attempting to use my ircd, I am receiving the following message in irrsi:

Code:

-!- Irssi: Looking up 127.0.0.1
-!- Irssi: Connecting to 127.0.0.1 [127.0.0.1] port 6667
-!- Irssi: Connection to 127.0.0.1 established
-!- Irssi: !hybrid7.debian.local *** Looking up your hostname...
-!- Irssi: !hybrid7.debian.local *** Checking Ident
-!- Irssi: !hybrid7.debian.local *** No Ident response

Looks good, connection shows up in netstat, etc. But if I try to join a channel, I get:

Code:

-!- Irssi: Not connected to server
I've also tried connecting to the IP address on eth2, which is the only interface with an IP, and the same result occurs.

This has been attempted with the default install config, and a slightly modified config:

Code:

--- ircd.conf.orig
+++ ircd.conf

- hub = yes;
+ hub = no;

- host = "127.0.0.1"; # change this!
+ # host = "127.0.0.1"; # change this!

deny {
- ip = "10.0.1.0/24";
+ # ip = "10.0.1.0/24";

Behavior from hybrid ircd is the same regardless of which config is used.

The IP address is statically assigned from /etc/network/interfaces, as is the gateway. This box is just on a hub with one other system. There is one iptables rule present and it is in the PREROUTING chain of the NAT table, and it does not increase so I assume it is irrelevant, but here is the rule:

Code:

iptables -t nat -I PREROUTING -i eth2 -j REDIRECT
I'm really at a loss here on how to get the IRC daemon to work properly. Any help would be greatly appreciated. TIA!

rweaver 03-17-2010 02:24 PM

is it disconnecting you after failing to get an ident response?

mwjones 03-17-2010 02:51 PM

It appears to still be at the connected network level. For example, in tcpdump pcap, the FIN/ACK is not sent until I close irssi. The connection also shows up as ESTABLISHED in netstat until I close irssi.

mwjones 03-17-2010 10:07 PM

Well, I reached a solution of sorts.

Code:

sudo aptitude purge ircd-hybrid
sudo aptitude install ircd-ircu
sudo cp /etc/ircd/ircd.conf /etc/ircd/ircd.con.bak
sudo cp /usr/share/doc/ircd-ircu/example.conf.gz /etc/ircd
sudo gzip -d /etc/ircd/example.conf.gz
sudo cp /etc/ircd/example.conf /etc/ircd/ircd.conf
sudo /etc/init.d/ircd-ircu restart

Sigh.


All times are GMT -5. The time now is 03:56 PM.