IPv6 Connections

These are old archives. They are kept for historic purposes only.
Post Reply
Posts: 21
Joined: Mon Jun 23, 2014 6:45 pm

IPv6 Connections

Post by Landslyde » Thu Aug 13, 2015 1:57 am

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

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.

Posts: 4
Joined: Sat Oct 20, 2012 5:27 pm

Re: IPv6 Connections

Post by DJFrog » Fri Aug 14, 2015 4:34 pm

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 :)



UnrealIRCd head coder
Posts: 1839
Joined: Sat Mar 06, 2004 8:57 pm
Location: .nl

Re: IPv6 Connections

Post by Syzop » Mon Sep 28, 2015 12:06 pm

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  *               LISTEN      11114/unrealircd
tcp        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).

Post Reply