IPv6 and programming

Status
Not open for further replies.

Justanothernate

Ars Praetorian
520
Subscriptor
Hello Arsian programmers, I'm looking for a bit of help on a presentation I have to develop for work. I am an engineer on the network infrastructure team and was asked to present to the development team some info on IPv6 and what it means to them.

I currently work for a large retailer with around 2000 sites and would like to know if there are any papers, books, sites, etc with information on how the changeover to IPv6 will affect software development (if at all). Not only the technical changes that will have to be taken into consideration, but new opportunities that will be presented, such as globally routable addresses enabling some sort of new class of apps that couldn't exist in a world with NAT.

Any pointers or ideas would be greatly appreciated.

Thanks,

Nate
 

Blacken00100

Ars Legatus Legionis
10,130
Subscriptor
It won't really change all that much, in terms of what you can do. Anything you can do with an exposed IPv4 address, you can do with an IPv6 address.

I suppose you can say "hey, we don't have to tell users to port forward anymore, and STUN can disappear," but I can't think of much else. (STUN may not disappear, however, as NAT may still persist in many environments simply as a security layer.)
 

bombcar

Ars Legatus Legionis
32,602
Lots of the underlying stuff is handled by the OS and system libraries for you, so if you're not doing manual TCP but using library calls IPv6 may be a drop-in replacement.

The biggest software programming difference is not having to worry about the communication details. I don't know (offhand) of a resource written for programmers, most are aimed at network managers.
 

Xon

Ars Scholae Palatinae
1,004
The biggest thing from a development POV is to store the IP as a string(long enough to hold a IPv6) rather than an 32bit integer. This is really only relevent when dealing with database schema's and braindead legacy designs. There is also the braindead idea of dealling with IPs rather than FQDN.

So if you are doing to right thing, it should be a drop in replacement. Saddly that probably isn't the case most of the time.
 

ronelson

Ars Legatus Legionis
21,399
Subscriptor
The biggest thing from a development POV is to store the IP as a string(long enough to hold a IPv6) rather than an 32bit integer. This is really only relevent when dealing with database schema's and braindead legacy designs. There is also the braindead idea of dealling with IPs rather than FQDN.
You will have to parse and validate input differently, of course. Hex encoding versus numeric is different, plus there are all the differences with delimiters, subnets, and null info (like 2000::0001). I imagine socket access is much the same, maybe as simple as changing the protocol version to a 6. It may seem like a brain dead idea, but not if you happen to be writing a DNS management app.
 
Status
Not open for further replies.