Page 1 of 1

IPv6 Connections

Posted: Thu Aug 13, 2015 1:57 am
by Landslyde
I was just wondering if I have to have a separate server for IPv6 connections. In my listen block, this is what I have:

Code: Select all

listen         *:6697
{
	options
	{
		ssl;
		clientsonly;
	};
};

listen         *:8067;
listen         *:6667;
listen         [2a00:d880:6:74f::2]:6667;
I've done the reverse DNS and have that IPv6 pointing to irc.xtremeirc.net. The error I get is:

Code: Select all

Irssi: Looking up 2a00:d880:6:74f::2
Irssi: Connecting to 2a00:d880:6:74f::2 [2a00:d880:6:74f::2] port 6667
Irssi: Unable to connect server 2a00:d880:6:74f::2 port 6667 
[Connection refused]
I'm obviously doing something wrong, just not sure what it is. Please advise. Thank you.

Re: IPv6 Connections

Posted: Fri Aug 14, 2015 4:34 pm
by DJFrog
Hi Landslyde,

To me it seems the config is right aswell, alltho i experience also problems with ipv6 activated, seems loosing connection.
If i find out how to fix i will let you know aswell :)

Greets,

Sven

Re: IPv6 Connections

Posted: Mon Sep 28, 2015 12:06 pm
by Syzop
Your syntax is fine for UnrealIRCd 3.2.x.

You can run the following command on the shell to see on what ports UnrealIRCd is listening:

Code: Select all

netstat -anp|grep ircd|grep LISTEN
This will output something like:

Code: Select all

syzop@vulnscan:~$ netstat -anp|grep ircd|grep LISTEN
(Not all processes could be identified, non-owned process info
 will not be shown, you would have to be root to see it all.)
tcp        0      0 0.0.0.0:6667            0.0.0.0:*               LISTEN      11114/unrealircd
tcp        0      0 0.0.0.0:6697            0.0.0.0:*               LISTEN      11114/unrealircd
..
tcp6       0      0 :::6667                 :::*                    LISTEN      11114/unrealircd
tcp6       0      0 :::6697                 :::*                    LISTEN      11114/unrealircd
..
The lines containing "tcp" are you IPv4 listeners. And there should be lines with "tcp6" showing your IPv6 listeners. Like above.

If the tcp6 lines are missing but the tcp ones are there, then UnrealIRCd is not listening on the IPv6 socket.

If it's there.. then there's some other problem. Not with UnrealIRCd but with the machine/network. This could be a firewall blocking the port (or even all IPv6 traffic) or lack of true IPv6 connectivity upstream (towards the Internet).