View Issue Details
ID | Project | Category | View Status | Date Submitted | Last Update |
---|---|---|---|---|---|
0001990 | unreal | ircd | public | 2004-07-24 13:34 | 2004-10-07 23:59 |
Reporter | Jasmin | Assigned To | syzop | ||
Priority | normal | Severity | major | Reproducibility | always |
Status | resolved | Resolution | fixed | ||
Platform | i686 | OS | Linux | OS Version | 2.4.26 |
Product Version | 3.2.1 | ||||
Fixed in Version | 3.2.2 | ||||
Summary | 0001990: Link with hostname (not IP) broken on IPv6 compile | ||||
Description | link::hostname <hostname> does not work on an IPv6 compile. /connect <linkname> does return "Couldn't connect to foo" instantly. connect_server() returns -1 so i think there's a problem in s_bsd.c around cvp = connect_inet... Everything works fine with the same config & a non IPv6 compile. | ||||
Steps To Reproduce | Put a hostname instead an IP into link::hostname | ||||
Tags | No tags attached. | ||||
3rd party modules | |||||
|
Yeah, I'm aware of this problem, I just haven't exactly figured out how to fix it. |
|
I think I'll take a look at it when I got some time. There are probably even 2 problems btw *grin*. [quote]testing quote[/quote] edited on: 2004-10-07 19:16 |
|
i found this problem awhile ago but the bug tracker didnt like me back then and wouldnt let me sign up... if you really need ipv6 and hostname support you can use a little patch im using which makes it work if you have nodnscache enabled for the link 1c1 2371c2369 < if ((!aconf->ipnum.S_ADDR)) --- > if ((!aconf->ipnum.S_ADDR) || (aconf->options & CONNECT_NODNSCACHE)) apply that on s_bsd.c with patch |
|
Fixed in CVS [.150]. Both ipv4 and ipv6 hostnames work now (it tries ipv6 first, then ipv4). [replaced some checks to use WHOSTENTP and some T_ANY->T_AAAA stuff (T_ANY is completely gone now ;p)] |
Date Modified | Username | Field | Change |
---|---|---|---|
2004-07-24 13:34 | Jasmin | New Issue | |
2004-07-26 01:42 |
|
Note Added: 0007251 | |
2004-07-27 16:43 | syzop | Note Added: 0007268 | |
2004-10-03 09:37 | Neo-Vortex | Note Added: 0007857 | |
2004-10-07 19:16 | syzop | Note Edited: 0007268 | |
2004-10-07 23:04 | syzop | Status | new => assigned |
2004-10-07 23:04 | syzop | Assigned To | => syzop |
2004-10-07 23:59 | syzop | Status | assigned => resolved |
2004-10-07 23:59 | syzop | Fixed in Version | => 3.2.2 |
2004-10-07 23:59 | syzop | Resolution | open => fixed |
2004-10-07 23:59 | syzop | Note Added: 0007905 |