IPv6 (again) Link/Listen/SSL Problems
Posted: Fri Apr 22, 2005 1:26 am
Hello it's me again. Searching the forums for ipv6 shows like only posts from me. I was able to get ipv6 on yet another machine yesterday just fine. However, trying today on another server I've run into a dead in. Thought maybe one of you smarty-pants's would be able to help. 
Couple problems I guess.
Server is having trouble binding to IPv4 ips. - Server starts and runs fine, and when I attempt to connect via IPv6 works just fine. But when I try to connect to the IPv4 IP I get a connection refused error. 'netstat -an' doesn't show the IPv4 IPs in there, but the IPv6 ones are.
Here is my setup:
I would of course like SSL on port 6660 for both IPv4 and IPv6 if possible, but for testing purposes I disabled it on the IPv6 side. This was also done because this server will be linking from that port via SSL to another server. Link block is like:
I'm getting a couple errors in the log...
Hehe.. I know what the address already in use means, but there shouldn't be anyother processes using that port. That one only comes up randomly though, and not as often as the Invalid Argument error. I assume that error is because it is unable to link to an IPv4 server when it has not bound to an IPv4 IP.
I also tried the listen blocks with [::ffff:80.214.xx.xx]:6667; it didnt make any difference.
Other server only gets the "SSL_connect(): Underlying syscall error" error.
Much thanks for your quick and helpful responses.... hehe
Couple problems I guess.
Server is having trouble binding to IPv4 ips. - Server starts and runs fine, and when I attempt to connect via IPv6 works just fine. But when I try to connect to the IPv4 IP I get a connection refused error. 'netstat -an' doesn't show the IPv4 IPs in there, but the IPv6 ones are.
Here is my setup:
Code: Select all
listen ::ffff:80.203.xx.xx:6660 {
options {
ssl;
};
};
listen ::ffff:80.203.xx.xx:6666;
listen ::ffff:80.203.xx.xx:6667;
listen ::ffff:80.203.xx.xx:6668;
listen ::ffff:80.203.xx.xx:6669;
listen ::ffff:80.203.xx.xx:7000;
#listen [3ffe:80ee:xxxx::6667]:6660 {
# options {
# ssl;
# };
#};
listen [3ffe:80ee:xxxx::6667]:6666;
listen [3ffe:80ee:xxxx::6667]:6667;
listen [3ffe:80ee:xxxx::6667]:6668;
listen [3ffe:80ee:xxxx::6667]:6669;
listen [3ffe:80ee:xxxx::6667]:7000;
Code: Select all
link xxxxx.epicirc.net {
username *;
hostname ::ffff:212.151.xx.xx;
bind-ip *;
port 6660;
hub *;
password-connect "xxxxx";
password-receive "xxxxx" { crypt; };
class servers;
compression-level 9;
options {
autoconnect;
zip;
ssl;
};
};
Code: Select all
[Fri Apr 22 03:20:40 2005] - Connect to host xxxx.epicirc.net[::ffff:212.151.xx.xx] failed: Invalid argument
[Fri Apr 22 03:21:00 2005] - Error binding stream socket to IP 3ffe:80ee:xxxx::6667 port 7000 - localserver.epicirc.net[]:Address already in use
[Fri Apr 22 03:21:11 2005] - Connect to host xxxx.epicirc.net[::ffff:212.151.xx.xx] failed: Invalid argument
I also tried the listen blocks with [::ffff:80.214.xx.xx]:6667; it didnt make any difference.
Other server only gets the "SSL_connect(): Underlying syscall error" error.
Much thanks for your quick and helpful responses.... hehe