AW: AW: [IRCServices] ircservices and support for/of IPv6
Yusuf Iskenderoglu
uhc0 at rz.uni-karlsruhe.de
Wed Mar 12 04:19:30 PST 2003
What I would say in this case is, that there will certainly be hosts,
Of which the address cannot be resolved by the ircd, so that the
hostname
Will appear in ipv6 address.
Moreover, the NICK line of certain ircds, can only do conversion of
Ipv4 addresses into the longip, but ipv6 addresses cannot be converted
In such a way, so that they probably (on tr-ircd for sure) appear as
strings.
Since services does support SZLINE, which depends on the IP of the user,
Services must work correctly when storing ip addresses received via the
NICK line.
If services would try storing them into u->ip where ip is char ip[15];
You would then live in interesting times.
Thats my case, which means, services should check if there are arrays of
fixed sized,
Which would be too small for ipv6 addresses. Its not only doing
connection.
Its more.
Regards;
Yusuf
----------------------------------------------------------------------
| Yusuf Iskenderoglu | You get to meet all sorts, |
| eMail - uhc0 at rz.uni-karlsruhe.de | in this line of work... |
| eMail - s_iskend at ira.uka.de | |
| ICQ UIN : 20587464 \ TimeMr14C | |
----------------------------------------------------------------------
>-----Ursprüngliche Nachricht-----
>Von: ircservices-bounces at ircservices.za.net
>[mailto:ircservices-bounces at ircservices.za.net] Im Auftrag von
>Ian R. Justman
>Gesendet: Tuesday, March 11, 2003 6:50 PM
>An: IRC Services General Mailing List
>Betreff: Re: AW: [IRCServices] ircservices and support for/of IPv6
>
>
>
>
>Yusuf Iskenderoglu wrote:
>> The answer to this question is simple.
>> Services could have had used char arrays of fixed sizes to store
>> hostnames, which could be too small for ipv6 addresses.
>>
>> Look at the definition of HOSTIPLEN in several ircds, those, which
>> support IPv6 have HOSTIPLEn=53, those who do not have it set to 15.
>
>I'm going to move what I wrote in my previous e-mail here:
>
> >>Mainly because Services does not do any DNS resolution
>(would >>slow Services >>down something fierce; that's what
>the server's for), the address, >>regardless of type (name
>vs. IP) or IPv#, is always going to >>be a text field.
>
>Remember, Services already has enough on its plate where DNS will only
>add to the burden. that's why the server does its DNS lookup.
>
>The only time Services ever needs to give a damn about IPv6 is
>when it's
>connecting to its next-hop server. :)
>
>--Ian R. Justman, Co-Founder and Postmaster, The EsperNet IRC Network.
>
>-----
>Ian R. Justman ianj at esper.net (Official
>EsperNet business)
>Co-Founder and Postmaster, The EsperNet IRC Network
>Server Administrator, chocobo.esper.net "IJ" on IRC
>
>PGP/GPG keys available upon request, or from any PGP keyserver.
>
>------------------------------------------------------------------
>To unsubscribe or change your subscription options, visit:
>http://www.ircservices.za.net/mailman/listinfo/>ircservices
>