Beefy Boxes and Bandwidth Generously Provided by pair Networks
laziness, impatience, and hubris
 
PerlMonks  

State of IPv6

by matija (Priest)
on Jun 23, 2010 at 08:46 UTC ( #846021=perlmeditation: print w/ replies, xml ) Need Help??

Is there any organized effort to prepare Perl for using IPv6?

I was working on a project lately that had a client/server architecture. For the client, I had no problem writing one that would work both with IPv4 and IPv6 addresses: I just used IO::Socket::INET6, and it worked with both.

But when it comes to the server, Net::Server still only supports listening on IPv4. If I want it to support IPv6, I may have to rewrite Net::Server::INET by myself.

And another tool I've been using, LWP, also only works for IPv4: tell it to access an IPv6-only address, and it says it is a bad hostname. Catalyst works perfectly over IPv6 when it's called from Apache - but it's testing server is IPv4 only (probably because it relies on other modules fr that part).

I've already had people in one IPv6 conference tell me that they can't use perl, because it has no support for IPv6, and that they were forced to switch to PHP.

I'm certainly willing to contribute to the effort, but I don't have enough time to do everything myself. Is anybody already working on this? Are there any workgroups I could join?

IPv6 is going to be unavoidable very soon, and I am very sorry to see my favorite programming language lagging in support for it.

  • If I commit to getting, say, Net::Server working with IPv6, would anybody else be willing to tackle other parts?
  • Can we get any of the Perl release people to get involved in finding which modules need to implement IPv6 and contacting authors or finding volunteers to do it?

I'm starting a new job in a month, so I can't promise I'll be able to coordinate the effort or singlehandedly drag Perl into IPv6, but I would certainly like to contribute.

Comment on State of IPv6
Re: State of IPv6
by Anonymous Monk on Jun 24, 2010 at 07:44 UTC
    I have no idea about the state of IPv6 in Perl, but I attended the German Perl Workshop a few weeks ago and there was a speaker, Steffen Ullrich, who was talking about it. He works at a company making network appliances (www.genua.de), and they recently ported a firewall appliance to IPv6.

    He said that Perl support isn't quite complete, but it's doable. He wrote the Net-INET6Glue CPAN module: "Make common modules IPv6 ready by hotpatching".

    So look into that, and maybe contact Steffen for questions.

Re: State of IPv6
by JavaFan (Canon) on Jun 24, 2010 at 15:23 UTC
    IIRC, there was recently some IPv6 related activity on p5p. Either some patches were accepted into blead, or some proposals were made.

    IPv6 is something where support for has been lacking in Perl5. We'd like to have it, and have it in the core distribution (either in the core, or in the core modules). I'd say, check out the current status in blead, and head over to p5p to find out how you can contribute. (If it's in blead now, it's most likely to be in next version of Perl - which is scheduled to be released in spring 2011).

    Remember, it's p5p where changes to [pP]erl happen. Not Perlmonks.

Re: State of IPv6
by hackman (Acolyte) on Feb 11, 2011 at 20:28 UTC
    I'm sorry but Net::Server:INET is a module which should be used in conjunction with inetd or xinetd. And xinetd already supports IPv6.

    I agree that LWP needs upgrades.

    One Planet, One Internet...
    We Are All Connected...

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: perlmeditation [id://846021]
Approved by Ratazong
Front-paged by moritz
help
Chatterbox?
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others surveying the Monastery: (8)
As of 2014-08-29 17:25 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    The best computer themed movie is:











    Results (283 votes), past polls