[gopher] Re: gopher and IPv6
[Top] [All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index] [Thread Index]
> > > I run bucktooth (0.2.6) from openbsd-inetd dual-stack. I just checked,
> > > and ipv6 source addresses are *not* correct: It always shows 0.0.0.0.
> > > Maybe I have some time next week to see if I can solve this.
> >
> > That's what I figured would happen. If you submit me a patch, I'll check
> > it in as experimental for the next version.
>
> It appears to be a little more complicated then I thought. IPv6 support
> in Perl is pretty bad[1]. I don't see a easy way to determine the
> address family of the inherited socket, let alone properly unpack it for
> the AF_INET6 case. And gethostbyaddr() is IPv4 only without an IP
> agnostic counterpart in base.
We'll have to see what happens in Perl 6. I did some looking at IPv6 for
HTTPi a couple years ago, but did not see much IPv6 support in Perl core. It's
distressing to see this has not changed.
However, there should be a way to unpack the socket manually. I'll do a little
digging myself.
--
------------------------------------ personal: http://www.cameronkaiser.com/ --
Cameron Kaiser * Floodgap Systems * www.floodgap.com * ckaiser@xxxxxxxxxxxx
-- ASCII stupid question, get a stupid ANSI! ----------------------------------
- [gopher] gopher and IPv6, usenet, 2009/01/15
- [gopher] Re: gopher and IPv6, Cameron Kaiser, 2009/01/16
- [gopher] Re: gopher and IPv6, JumpJet Mailbox, 2009/01/17
- [gopher] Re: gopher and IPv6, usenet, 2009/01/17
- [gopher] Re: gopher and IPv6, Cameron Kaiser, 2009/01/17
- [gopher] Re: gopher and IPv6, Jeroen Schot, 2009/01/18
- [gopher] Re: gopher and IPv6, usenet, 2009/01/18
- [gopher] Re: gopher and IPv6, Cameron Kaiser, 2009/01/18
- [gopher] Re: gopher and IPv6, Jeroen Schot, 2009/01/19
- [gopher] Re: gopher and IPv6,
Cameron Kaiser <=
- [gopher] Re: gopher and IPv6, Florian Teply, 2009/01/20
- [gopher] Re: gopher and IPv6, usenet, 2009/01/18
- [gopher] Re: gopher and IPv6, Cameron Kaiser, 2009/01/18
[gopher] Re: gopher and IPv6, JumpJet Mailbox, 2009/01/17
|
|