There is a small patch for binkleyforce 0.22.9-v for systems with IPv6 support (getaddrinfo/getnameinfo). Not tested much but looks like all
works fine. http://fido.g0x.ru/gpl/fido/ftnsoft/mailer/bforce/bforce-0.22.9-v-ipv6
.patch
So, my node is fully IPv6 capable now. ^_^
There is a small patch for binkleyforce 0.22.9-v for systems with
IPv6 support (getaddrinfo/getnameinfo). Not tested much but looks
like all works fine.
http://fido.g0x.ru/gpl/fido/ftnsoft/mailer/bforce/bforce-0.22.9-v-ip
v6 .patch So, my node is fully IPv6 capable now. ^_^
There are a few glitches in the patch:
1)
+ DEB((D_INFO, "tcpip_connect: trying \"%s\" at port %d",
hostbuf, servbuf));
... servbuf is a string ... so you should replace %d with %s. [Made
the same mistake myself a few times ;)]
2)
You should be cautious with how you determine the port (strrchr(host, ':')) ... this will fail for literal IPv6 addresses.
3)
+ state.peerport = (long)htons(((struct sockaddr_in *)&client)->sin_port);
... is by far not protocol independent. You should either use getnameinfo(..., NI_NUMERICSERV) or build some protocol dependent
code.
BinkForce doesn't do own incoming session handling?!
Yeah, I know port was required for literal ipv6 addresses to work. Now
It is not, but square brackets enclosing required instead. ^_^
Yeah, I know port was required for literal ipv6 addresses to
work. Now It is not, but square brackets enclosing required
instead. ^_^
Sysop: | Nelgin |
---|---|
Location: | Plano, TX |
Users: | 611 |
Nodes: | 10 (1 / 9) |
Uptime: | 48:38:44 |
Calls: | 9,831 |
Files: | 16,216 |
Messages: | 1,080,209 |