advertisement

Adding IPv6 to the application layer

45 %
55 %
advertisement
Information about Adding IPv6 to the application layer
Technology

Published on February 25, 2009

Author: nipotan

Source: slideshare.net

Description

also you can watch the movie and have the transcript of it at http://meetings.apnic.net/27/program/ipv6-in-3d
advertisement

Adding IPv6 to the application layer Koichi Taniguchi livedoor Co., Ltd. Feb 25th, 2009 APNIC 27 Manila 2009 - IPv6 in 3D Adding IPv6 to the application layer

Koichi Taniguchi

livedoor Co., Ltd.

Feb 25th, 2009

Background EDGE Co.Lab v6 provides IPv6 testing environment. www.data-hotel.net LIVEDOOR/AS17707 APNIC member APNIC 27 Manila 2009 - IPv6 in 3D Adding IPv6 to the application layer www.livedoor.com (*) 2.3 billion PV/month 23 million UU/month * autumn 2008

Problems at the beginning A lot of problems. What I need to do? How can I develop web applications on IPv6? Not found any useful tips, hints. APNIC 27 Manila 2009 - IPv6 in 3D Adding IPv6 to the application layer

A lot of problems.

What I need to do?

How can I develop web applications on IPv6?

Not found any useful tips, hints.

Research and development I researched and developed. Blogged it. "8 tips how to add IPv6 to your application if you don't have enough knowledge about it" http://tinyurl.com/IPv6-dev-ja English version is brought to you now! APNIC 27 Manila 2009 - IPv6 in 3D Adding IPv6 to the application layer

I researched and developed.

Blogged it.

"8 tips how to add IPv6 to your application if you don't have enough knowledge about it"

http://tinyurl.com/IPv6-dev-ja

English version is brought to you now!

#1 You need IPv6 connectivity Each gateways should handle IPv6. Each OS should handle IPv6. ... or IPv4 client -> IPv6 HTTP proxy Some of enterprise load balancer often don’t support IPv6. APNIC 27 Manila 2009 - IPv6 in 3D Adding IPv6 to the application layer

Each gateways should handle IPv6.

Each OS should handle IPv6.

... or IPv4 client -> IPv6 HTTP proxy

Some of enterprise load balancer often don’t support IPv6.

#2 SSL server ID is same as before Using SSL IPv4 server ID <=> IPv6 server ID (same!) Established -> SSL server key exchange (immediately) It doesn’t matter which version of IP you’re using. APNIC 27 Manila 2009 - IPv6 in 3D Adding IPv6 to the application layer

Using SSL

IPv4 server ID <=> IPv6 server ID (same!)

Established -> SSL server key exchange (immediately)

It doesn’t matter which version of IP you’re using.

#3 Easy Apache configuration Apache 2.x (or later) + APR (Apache Portable Runtime) are IPv6 ready! There are few differences. APNIC 27 Manila 2009 - IPv6 in 3D Adding IPv6 to the application layer

Apache 2.x (or later) + APR (Apache Portable Runtime) are IPv6 ready!

There are few differences.

IPv4 #3 Easy Apache configuration Listen NameVirtualHost <VirtualHost> : </VirtualHost> Listen 192.0.2.36:80 NameVirtualHost 192.0.2.36:80 <VirtualHost 192.0.2.36:80> : </VirtualHost> Listen 192.0.2.36 NameVirtualHost 192.0.2.36 <VirtualHost 192.0.2.36> : </VirtualHost> APNIC 27 Manila 2009 - IPv6 in 3D Adding IPv6 to the application layer

IPv4

IPv6 #3 Easy Apache configuration Listen NameVirtualHost <VirtualHost> : </VirtualHost> Listen 2001:db8::dead:beef:80 NameVirtualHost 2001:db8::dead:beef:80 <VirtualHost 2001:db8::dead:beef:80> : </VirtualHost> Listen [2001:db8::dead:beef]:80 NameVirtualHost [2001:db8::dead:beef]:80 <VirtualHost [2001:db8::dead:beef]:80 > : </VirtualHost> APNIC 27 Manila 2009 - IPv6 in 3D Adding IPv6 to the application layer

IPv6

Exceptional case #3 Easy Apache configuration Allow Deny Allow from 192.0.2.8 Deny from 192.0.2.16 Allow from 192.0.2.8/255.255.255.249 Deny from 192.0.2.16/255.255.255.249 APNIC 27 Manila 2009 - IPv6 in 3D Adding IPv6 to the application layer Allow from 192.0.2.8/29 Deny from 192.0.2.16/29 Allow from 192.0.2.8/29 Deny from 192.0.2.16/29 Allow from 2001:db8::c0:ffee/10

Exceptional case

#4 ping and traceroute aren’t able to use on IPv6 We usually use ping and traceroute command. Most of connecting commands are suffixed with “6”. % ping6 2001:db8:bad:face::dead % traceroute6 2001:db8:bad:face::dead C:WINDOWS>tracert6 2001:db8:bad:face::dead APNIC 27 Manila 2009 - IPv6 in 3D Adding IPv6 to the application layer

We usually use ping and traceroute command.

Most of connecting commands are suffixed with “6”.

#5 Use AAAA record in DNS We use A record. Names won’t be resolved to IPv6 address. Add IPv6 entries to the AAAA (quad-A) record. APNIC 27 Manila 2009 - IPv6 in 3D Adding IPv6 to the application layer

We use A record.

Names won’t be resolved to IPv6 address.

Add IPv6 entries to the AAAA (quad-A) record.

#6 Which version of IP is the client using? Dual-stack and same hostname. Vary based on the version. REMOTE_ADDR environment variable. You don’t need to check the format of addresses strictly. APNIC 27 Manila 2009 - IPv6 in 3D Adding IPv6 to the application layer

Dual-stack and same hostname.

Vary based on the version.

REMOTE_ADDR environment variable.

You don’t need to check the format of addresses strictly.

Listening to proxied requests from reverse proxy. Add extra header on reverse proxy with using mod_headers. #6 Which version of IP is the client using? APNIC 27 Manila 2009 - IPv6 in 3D Adding IPv6 to the application layer

Listening to proxied requests from reverse proxy.

Add extra header on reverse proxy with using mod_headers.

#6 Which version of IP is the client using? APNIC 27 Manila 2009 - IPv6 in 3D Adding IPv6 to the application layer Listen 80 # IP-based virtual hosting <VirtualHost [2001:db8::babe::face]:80> ServerName babeface.example.com RewriteEngine On : RequestHeader set X-IP-Version 6 </VirtualHost> <VirtualHost 192.0.2.1:80> ServerName babeface.example.com RewriteEngine On : RequestHeader set X-IP-Version 4 </VirtualHost> Listen 80 # IP-based virtual hosting <VirtualHost [2001:db8::babe::face] :80> ServerName babeface.example.com RewriteEngine On : RequestHeader set X-IP-Version 6 </VirtualHost> <VirtualHost 192.0.2.1 :80> ServerName babeface.example.com RewriteEngine On : RequestHeader set X-IP-Version 4 </VirtualHost>

#6 Which version of IP is the client using? Getting IP version. HTTP_X_IP_VERSION environment variable is 4 or 6. APNIC 27 Manila 2009 - IPv6 in 3D Adding IPv6 to the application layer

Getting IP version.

HTTP_X_IP_VERSION environment variable is 4 or 6.

#7 Expand the column length To save remote addresses into the DB. IPv4 IPv6 INET_ADDRSTRLEN (16) - 1 (nul) -> INET6_ADDRSTRLEN (46) - 1 (nul) 15 bytes -> 45 bytes 255.255.255.255 FFFF:FFFF:FFFF:FFFF:FFFF:FFFF:255.255.255.255 APNIC 27 Manila 2009 - IPv6 in 3D Adding IPv6 to the application layer

To save remote addresses into the DB.

IPv4

IPv6

INET_ADDRSTRLEN (16) - 1 (nul) -> INET6_ADDRSTRLEN (46) - 1 (nul)

15 bytes -> 45 bytes

#8 Check the access log parser Many access log parsers. Some of them are failed to parse some lines (including IPv6 address). Check your parser. APNIC 27 Manila 2009 - IPv6 in 3D Adding IPv6 to the application layer

Many access log parsers.

Some of them are failed to parse some lines (including IPv6 address).

Check your parser.

Critical issues Web application developers: are poorly informed about IPv6. have misunderstandings of IPv6. know that IPv4 will be exhausted. aren’t sure when it will be exhausted. hope that some new technology will appear to avoid IPv4 exhaustion. aren’t motivated to add IPv6. think that IPv6 doesn’t have any advantages. don’t think that IPv4 has some serious disadvantage. APNIC 27 Manila 2009 - IPv6 in 3D Adding IPv6 to the application layer

Web application developers:

are poorly informed about IPv6.

have misunderstandings of IPv6.

know that IPv4 will be exhausted.

aren’t sure when it will be exhausted.

hope that some new technology will appear to avoid IPv4 exhaustion.

aren’t motivated to add IPv6.

think that IPv6 doesn’t have any advantages.

don’t think that IPv4 has some serious disadvantage.

Critical issues Imagine The all of interesting websites will be phased out in 2011 . APNIC 27 Manila 2009 - IPv6 in 3D Adding IPv6 to the application layer

Conclusion Please call out and introduce the fact to some L7 developer you know. I wish this slides will be Bible for web application developers. Bridging the layers is our task. APNIC 27 Manila 2009 - IPv6 in 3D Adding IPv6 to the application layer

Please call out and introduce the fact to some L7 developer you know.

I wish this slides will be Bible for web application developers.

Thank you [email_address] http://twitter.com/nipotan http://search.cpan.org/~taniguchi/ APNIC 27 Manila 2009 - IPv6 in 3D Adding IPv6 to the application layer

Add a comment

Related presentations

Presentación que realice en el Evento Nacional de Gobierno Abierto, realizado los ...

In this presentation we will describe our experience developing with a highly dyna...

Presentation to the LITA Forum 7th November 2014 Albuquerque, NM

Un recorrido por los cambios que nos generará el wearabletech en el futuro

Um paralelo entre as novidades & mercado em Wearable Computing e Tecnologias Assis...

Microsoft finally joins the smartwatch and fitness tracker game by introducing the...

Related pages

Adding IPv6 to the application layer - APNIC Conferences

Adding IPv6 to the application layer Koichi Taniguchi livedoor Co., Ltd. Feb 25th, 2009 APNIC 27 Manila 2009 - IPv6 in 3D Adding IPv6 to the application layer
Read more

PPT - Adding IPv6 to the application layer PowerPoint ...

Adding IPv6 to the application layer. APNIC 27 Manila 2009 - IPv6 in 3D. Adding IPv6 to the application layer. Koichi Taniguchi livedoor Co., Ltd. Feb 25th ...
Read more

Adding IPv6 to the application layer Koichi Taniguchi ...

Adding IPv6 to the application layer Koichi Taniguchi livedoor Co., Ltd. Feb 25th, 2009 APNIC 27 Manila 2009 - IPv6 in 3D Adding IPv6 to the application.
Read more

Adding IPv6 to the application layer - Technology

The document was removed. Please view another documents! 1 × Close Share Adding IPv6 to the application layer
Read more

Why we have to change application layer in IPv6 if this is ...

Why we have to change application layer in IPv6 if this is a layered ... you never need to manually do IPv6 fragmentation at the application layer.
Read more

Adding IPv6 to the application layer - 豆丁网 - docin.com

"8 tips how to add IPv6 to your application if you don't have enough knowledge about it" ... Some of enterprise load balancer often don't support IPv6. ...
Read more

Application layer - Wikipedia

Please help improve this article by adding citations ... An application layer is an abstraction layer that ... Internet layer; IP. IPv4; IPv6; ICMP;
Read more

TCP/IP Layers - Cisco Technical Support Forum

IPv6 Integration and ... You must be aware that encapusaltion happens from top to bottom with TCP/IP layer, Application Layer ... adding source and ...
Read more

Cisco ASA 5500 Series Configuration Guide using the CLI, 8 ...

Getting Started With Application Layer Protocol ... See the ipv6 commands in the Cisco Security Appliance Command Reference for more ... Adding IPv6 Access ...
Read more