View Issue Details

IDProjectCategoryView StatusLast Update
0001980unrealircdpublic2004-11-25 13:40
ReporterShArDiCk Assigned To 
PrioritynormalSeverityblockReproducibilityalways
Status closedResolutionopen 
Product Version3.2.1 
Summary0001980: Unable to link ipv6 compile to ipv4 compile via ipv4
DescriptionIve configured ipv6 compiled ircd correctly. It starts. When i try to link this to an ipv4 compile via ipv4, link fails.
Steps To ReproduceI setup the LISTEN lines of ipv6 ircd on 5556 for ipv4 and 5555 for ipv6.
It starts.

Quote:
listen [::ffff:127.0.0.1]:5556;
listen [2001:618:4db::1]:5555;



I have done it only to start the ipv6 ircd and try.

Now i have to link it for test to my hub, that's an ircd IPV4 Compile.

This is my c\n line on ipv6 ircd:
Quote:

link myhub.myserver.net
{
username *;
hostname ::ffff:1.2.3.4;
bind-ip *;
port 5556;
hub *;
password-connect "pass";
password-receive "pass";
class servers;
options {
autoconnect;
};
};



If i use

Quote:
hostname 1.2.3.4;


it returns an error:

Quote:
*** Notice -- error: unrealircd.conf:358: link myhub.myserver.net has link::hostname set to '1.2.3.4' (IPv4) on a IPv6 compile, use the ::ffff:1.2.3.4 form instead



And how it advice ive done but with that c\n lines that you can see above it returns another error:

Quote:
*** Couldn't connect to myhub.myserver.net.
3rd party modules

Activities

codemastr

2004-07-20 23:27

reporter   ~0007180

I doubt the server's IP is 1.2.3.4.

ShArDiCk

2004-07-21 03:05

reporter   ~0007182

Naturally that ip are examples... of you want real ips?

codemastr

2004-07-21 13:24

reporter   ~0007187

Yes. I'm almost totally positive that the problem is your config file. I can link IPv6 to IPv4 just fine. So I need to see exactly what you have in both config files.

ShArDiCk

2004-07-21 13:26

reporter   ~0007189

Can i send you my whole real unrealircd.conf via email? If yes, say me where. Thanx codemastr

codemastr

2004-07-21 15:46

reporter   ~0007191

I just need the link blocks. Nothing else has anything to do with the linking.

ShArDiCk

2004-07-22 06:01

reporter   ~0007207

CONF ON IPV6 IRCD (IPV6 COMPILE)
- listen:

listen 155.8.77.236:5556-5557;
listen [2001:618:4db::1]:6662;

- link
link blacktower.irclab.net
{
        username *;
        hostname ::ffff:66.160.1357.12;
        bind-ip *;
        port 5557;
        hub *;
        password-connect "password";
        password-receive "password";
        class servers;
                options {
                      autoconnect;
                };
};
----------------------------------------------
CONFIG ON IPV4 IRCD (IPV4 COMPILE)
- listen
listen 66.160.135.12:5557;
listen 66.160.135.12:6660-7000;

- link
link v6.irclab.net
{
        username *;
        hostname 155.8.77.236;
        bind-ip *;
        port 5557;
        hub *;
        password-connect "password";
        password-receive "password";
        class servers;
                options {
                      autoconnect;
                };
};

That's all.

codemastr

2004-07-22 12:24

reporter   ~0007215

As I already told you,

listen 155.8.77.236:5556-5557;

That is wrong.

listen [::ffff:155.8.77.236]:5556-5557;

That is how you specify a v4 IP when using v6.

ShArDiCk

2004-07-22 12:25

reporter   ~0007216

ok, i'll try.

codemastr

2004-11-25 00:33

reporter   ~0008407

Does this problem still exist?

ShArDiCk

2004-11-25 03:19

reporter   ~0008409

No Codemaster. We are able to link ipv6 servers to ipv4 now.
The problem was mine and of my eth0 configuration.

I'm sorry to have disturbed you.

U are doing a great work with Unreal!
Thanx a lot!

Issue History

Date Modified Username Field Change
2004-07-20 05:30 ShArDiCk New Issue
2004-07-20 23:27 codemastr Note Added: 0007180
2004-07-21 03:05 ShArDiCk Note Added: 0007182
2004-07-21 13:24 codemastr Note Added: 0007187
2004-07-21 13:26 ShArDiCk Note Added: 0007189
2004-07-21 15:46 codemastr Note Added: 0007191
2004-07-22 06:01 ShArDiCk Note Added: 0007207
2004-07-22 12:24 codemastr Note Added: 0007215
2004-07-22 12:25 ShArDiCk Note Added: 0007216
2004-11-25 00:33 codemastr Note Added: 0008407
2004-11-25 03:19 ShArDiCk Note Added: 0008409
2004-11-25 13:40 codemastr Status new => closed