IPv6 Compiled but not accepting connections

These are old archives. They are kept for historic purposes only.
Darvocet
Posts: 105
Joined: Sun Jun 27, 2004 6:40 am
Location: Houston, TX
Contact:

IPv6 Compiled but not accepting connections

Post by Darvocet » Sun Jun 27, 2004 3:37 pm

Hi, its me again... Ive double checked the docs and the confs, and whereas the server is running fine and links with the network fine when a user tries to connect via ipv6 they still pull an ipv4 addy. Here are my listen blocks:

listen [::ffff:65.110.53.32]:6660 {
options {
ssl;
};
};

listen [::ffff:65.110.53.32]:6667;
listen [::ffff:65.110.53.32]:6668;
listen [::ffff:65.110.53.32]:6669;
listen [::ffff:65.110.53.32]:7000;

------- The server seems to listen fine on all those ports, but does not recogonize the ipv6 addresses. Any thoughts why?

Gizmo967
Posts: 10
Joined: Sun Jun 27, 2004 7:30 pm
Location: Land Of Dreams
Contact:

Post by Gizmo967 » Sun Jun 27, 2004 7:42 pm

Problem was [] in IP and user got supported in #Unreal-Support

Darvocet
Posts: 105
Joined: Sun Jun 27, 2004 6:40 am
Location: Houston, TX
Contact:

Post by Darvocet » Sun Jun 27, 2004 8:19 pm

Gizmo967 wrote:Problem was [] in IP and user got supported in #Unreal-Support
Well no Yea I was the one that was helped that was the link block hostname part. This is the listen block... I tried without the [] and whereas the server starts fine, I get connection refused errors:

[3:18pm] * Connect retry #11 desync.epicirc.net (6667)
[3:18pm] * Unable to connect to server (Connection refused)
[3:18pm] * Connect retry #12 desync.epicirc.net (6667)
(%) *** Looking up your hostname...

On connect retry #12 i had rehashed with the [] back in there.

Gizmo967
Posts: 10
Joined: Sun Jun 27, 2004 7:30 pm
Location: Land Of Dreams
Contact:

Post by Gizmo967 » Sun Jun 27, 2004 8:25 pm

Ah yes, it was link problem with IPv6
My bad :)

Darvocet
Posts: 105
Joined: Sun Jun 27, 2004 6:40 am
Location: Houston, TX
Contact:

Post by Darvocet » Sun Jun 27, 2004 8:34 pm

Gizmo967 wrote:Ah yes, it was link problem with IPv6
My bad :)
It's ok dont beat yourself up too much. : 8)

For the rest of you I still need help!!! :P hehe

codemastr
Former UnrealIRCd head coder
Posts: 811
Joined: Sat Mar 06, 2004 8:47 pm
Location: United States
Contact:

Post by codemastr » Sun Jun 27, 2004 8:54 pm

All of those IPs are v4, I'm not sure I understand what the problem is here...
-- codemastr

Darvocet
Posts: 105
Joined: Sun Jun 27, 2004 6:40 am
Location: Houston, TX
Contact:

Post by Darvocet » Sun Jun 27, 2004 9:04 pm

codemastr wrote:All of those IPs are v4, I'm not sure I understand what the problem is here...
Thats the listen block, should it be the ipv6 address and not the ipv4 one? Should there be 2? 1 for the ipv4 and one for the ipv6?

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

Post by Syzop » Sun Jun 27, 2004 11:57 pm

does not recogonize the ipv6 addresses.
Which means...? What does it do/say? (check log etc)

Darvocet
Posts: 105
Joined: Sun Jun 27, 2004 6:40 am
Location: Houston, TX
Contact:

Post by Darvocet » Mon Jun 28, 2004 12:06 am

Syzop wrote:
does not recogonize the ipv6 addresses.
Which means...? What does it do/say? (check log etc)
When someone connects using ipv6 i only get an ipv4 address. Dont see any errors or anything.

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

Post by Syzop » Mon Jun 28, 2004 2:15 am

- What OS are you on?
- Try looking at 'netstat -an' output to see at which socket it actually binds (on Linux 'netstat -anp|grep irc' is usually helpful)

Darvocet
Posts: 105
Joined: Sun Jun 27, 2004 6:40 am
Location: Houston, TX
Contact:

Post by Darvocet » Mon Jun 28, 2004 2:37 am

Syzop wrote:- What OS are you on?
- Try looking at 'netstat -an' output to see at which socket it actually binds (on Linux 'netstat -anp|grep irc' is usually helpful)
RH Linux Unreal3.2


tcp 0 0 ::ffff:65.110.53.3:6660 :::* LISTEN 27533/ircd
tcp 0 0 ::ffff:65.110.53.3:6667 :::* LISTEN 27533/ircd
tcp 0 0 ::ffff:65.110.53.3:6668 :::* LISTEN 27533/ircd
tcp 0 0 ::ffff:65.110.53.3:6669 :::* LISTEN 27533/ircd
tcp 0 0 ::ffff:65.110.53.3:7000 :::* LISTEN 27533/ircd
tcp 0 0 :::39807 :::* LISTEN 27533/ircd
tcp 0 0 ::ffff:65.110.53.3:6667 ::ffff:200.93.114.:4838 ESTABLISHED 27533/ircd
tcp 0 0 ::ffff:65.110.53.3:6667 ::ffff:68.91.108.2:3217 ESTABLISHED 27533/ircd
tcp 0 0 ::ffff:65.110.53.3:6667 ::ffff:67.65.16.9:50506 ESTABLISHED 27533/ircd
tcp 0 0 ::ffff:65.110.53.3:6660 ::ffff:66.98.152.:43577 ESTABLISHED 27533/ircd
udp 0 0 0.0.0.0:33712 0.0.0.0:* 27533/ircd
unix 2 [ ] DGRAM 2264334 27533/ircd


And the established ones are linked servers. No users have connected with it. desync.epicirc.net

Thanks

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

Post by Syzop » Mon Jun 28, 2004 2:49 am

Actually I'm lost too now.

You bind to ""IPv4"" address (::ffff:<ipv4ip>) and then you are surprised nobody can connect to you using ipv6? ;). To have ipv6 users able to connect you would have to bind to a real IPv6 addr of course.

Darvocet
Posts: 105
Joined: Sun Jun 27, 2004 6:40 am
Location: Houston, TX
Contact:

Post by Darvocet » Mon Jun 28, 2004 3:34 am

Syzop wrote:Actually I'm lost too now.

You bind to ""IPv4"" address (::ffff:<ipv4ip>) and then you are surprised nobody can connect to you using ipv6? ;). To have ipv6 users able to connect you would have to bind to a real IPv6 addr of course.
I see... so would it be right to do like:

listen 22.22.22.22:6667;

listen 102:9393:94b:02:6667;

So make 1 listen entry for the ipv6 addy at ipv6:port and one on the ipv4:port correct? Then people can connect using either?

codemastr
Former UnrealIRCd head coder
Posts: 811
Joined: Sat Mar 06, 2004 8:47 pm
Location: United States
Contact:

Post by codemastr » Mon Jun 28, 2004 3:52 am

listen 102:9393:94b:02:6667;
Well first off, that's a 100% illegal IPv6 address. And second, that's not even the correct notation to specify an IPv6:port.

[::1]:6667; /* The IPv6 equivilent of 127.0.0.1:6667 */
-- codemastr

Darvocet
Posts: 105
Joined: Sun Jun 27, 2004 6:40 am
Location: Houston, TX
Contact:

Post by Darvocet » Mon Jun 28, 2004 3:55 am

[::1]:6667; /* The IPv6 equivilent of 127.0.0.1:6667 */[/quote]

Well outta convience I didnt write the real one out.

So.. would it be like:

listen [3ffe:bc0:eca::58]:6667;

?

Post Reply