Suche senden
Hochladen
IPv6 Readyって何? NAT64/DNS64 徹底解説! #iosdc #b
•
5 gefällt mir
•
3,115 views
S
smadako
Folgen
iOSDC2016の資料です。
Weniger lesen
Mehr lesen
Internet
Melden
Teilen
Melden
Teilen
1 von 17
Jetzt herunterladen
Downloaden Sie, um offline zu lesen
Empfohlen
NTT IPv6のはなし - 垣間見える日本のインターネット通信業界構造 -
NTT IPv6のはなし - 垣間見える日本のインターネット通信業界構造 -
geekpage
IPv6にどう取り組むか
IPv6にどう取り組むか
Ken SASAKI
学生がIPv6に思う事
学生がIPv6に思う事
Takumi Ishibashi
2024 State of Marketing Report – by Hubspot
2024 State of Marketing Report – by Hubspot
Marius Sescu
Everything You Need To Know About ChatGPT
Everything You Need To Know About ChatGPT
Expeed Software
Product Design Trends in 2024 | Teenage Engineerings
Product Design Trends in 2024 | Teenage Engineerings
Pixeldarts
How Race, Age and Gender Shape Attitudes Towards Mental Health
How Race, Age and Gender Shape Attitudes Towards Mental Health
ThinkNow
AI Trends in Creative Operations 2024 by Artwork Flow.pdf
AI Trends in Creative Operations 2024 by Artwork Flow.pdf
marketingartwork
Empfohlen
NTT IPv6のはなし - 垣間見える日本のインターネット通信業界構造 -
NTT IPv6のはなし - 垣間見える日本のインターネット通信業界構造 -
geekpage
IPv6にどう取り組むか
IPv6にどう取り組むか
Ken SASAKI
学生がIPv6に思う事
学生がIPv6に思う事
Takumi Ishibashi
2024 State of Marketing Report – by Hubspot
2024 State of Marketing Report – by Hubspot
Marius Sescu
Everything You Need To Know About ChatGPT
Everything You Need To Know About ChatGPT
Expeed Software
Product Design Trends in 2024 | Teenage Engineerings
Product Design Trends in 2024 | Teenage Engineerings
Pixeldarts
How Race, Age and Gender Shape Attitudes Towards Mental Health
How Race, Age and Gender Shape Attitudes Towards Mental Health
ThinkNow
AI Trends in Creative Operations 2024 by Artwork Flow.pdf
AI Trends in Creative Operations 2024 by Artwork Flow.pdf
marketingartwork
Skeleton Culture Code
Skeleton Culture Code
Skeleton Technologies
PEPSICO Presentation to CAGNY Conference Feb 2024
PEPSICO Presentation to CAGNY Conference Feb 2024
Neil Kimberley
Content Methodology: A Best Practices Report (Webinar)
Content Methodology: A Best Practices Report (Webinar)
contently
How to Prepare For a Successful Job Search for 2024
How to Prepare For a Successful Job Search for 2024
Albert Qian
Social Media Marketing Trends 2024 // The Global Indie Insights
Social Media Marketing Trends 2024 // The Global Indie Insights
Kurio // The Social Media Age(ncy)
Trends In Paid Search: Navigating The Digital Landscape In 2024
Trends In Paid Search: Navigating The Digital Landscape In 2024
Search Engine Journal
5 Public speaking tips from TED - Visualized summary
5 Public speaking tips from TED - Visualized summary
SpeakerHub
ChatGPT and the Future of Work - Clark Boyd
ChatGPT and the Future of Work - Clark Boyd
Clark Boyd
Getting into the tech field. what next
Getting into the tech field. what next
Tessa Mero
Google's Just Not That Into You: Understanding Core Updates & Search Intent
Google's Just Not That Into You: Understanding Core Updates & Search Intent
Lily Ray
How to have difficult conversations
How to have difficult conversations
Rajiv Jayarajah, MAppComm, ACC
Introduction to Data Science
Introduction to Data Science
Christy Abraham Joy
Time Management & Productivity - Best Practices
Time Management & Productivity - Best Practices
Vit Horky
The six step guide to practical project management
The six step guide to practical project management
MindGenius
Beginners Guide to TikTok for Search - Rachel Pearson - We are Tilt __ Bright...
Beginners Guide to TikTok for Search - Rachel Pearson - We are Tilt __ Bright...
RachelPearson36
Unlocking the Power of ChatGPT and AI in Testing - A Real-World Look, present...
Unlocking the Power of ChatGPT and AI in Testing - A Real-World Look, present...
Applitools
12 Ways to Increase Your Influence at Work
12 Ways to Increase Your Influence at Work
GetSmarter
ChatGPT webinar slides
ChatGPT webinar slides
Alireza Esmikhani
More than Just Lines on a Map: Best Practices for U.S Bike Routes
More than Just Lines on a Map: Best Practices for U.S Bike Routes
Project for Public Spaces & National Center for Biking and Walking
Ride the Storm: Navigating Through Unstable Periods / Katerina Rudko (Belka G...
Ride the Storm: Navigating Through Unstable Periods / Katerina Rudko (Belka G...
DevGAMM Conference
Weitere ähnliche Inhalte
Empfohlen
Skeleton Culture Code
Skeleton Culture Code
Skeleton Technologies
PEPSICO Presentation to CAGNY Conference Feb 2024
PEPSICO Presentation to CAGNY Conference Feb 2024
Neil Kimberley
Content Methodology: A Best Practices Report (Webinar)
Content Methodology: A Best Practices Report (Webinar)
contently
How to Prepare For a Successful Job Search for 2024
How to Prepare For a Successful Job Search for 2024
Albert Qian
Social Media Marketing Trends 2024 // The Global Indie Insights
Social Media Marketing Trends 2024 // The Global Indie Insights
Kurio // The Social Media Age(ncy)
Trends In Paid Search: Navigating The Digital Landscape In 2024
Trends In Paid Search: Navigating The Digital Landscape In 2024
Search Engine Journal
5 Public speaking tips from TED - Visualized summary
5 Public speaking tips from TED - Visualized summary
SpeakerHub
ChatGPT and the Future of Work - Clark Boyd
ChatGPT and the Future of Work - Clark Boyd
Clark Boyd
Getting into the tech field. what next
Getting into the tech field. what next
Tessa Mero
Google's Just Not That Into You: Understanding Core Updates & Search Intent
Google's Just Not That Into You: Understanding Core Updates & Search Intent
Lily Ray
How to have difficult conversations
How to have difficult conversations
Rajiv Jayarajah, MAppComm, ACC
Introduction to Data Science
Introduction to Data Science
Christy Abraham Joy
Time Management & Productivity - Best Practices
Time Management & Productivity - Best Practices
Vit Horky
The six step guide to practical project management
The six step guide to practical project management
MindGenius
Beginners Guide to TikTok for Search - Rachel Pearson - We are Tilt __ Bright...
Beginners Guide to TikTok for Search - Rachel Pearson - We are Tilt __ Bright...
RachelPearson36
Unlocking the Power of ChatGPT and AI in Testing - A Real-World Look, present...
Unlocking the Power of ChatGPT and AI in Testing - A Real-World Look, present...
Applitools
12 Ways to Increase Your Influence at Work
12 Ways to Increase Your Influence at Work
GetSmarter
ChatGPT webinar slides
ChatGPT webinar slides
Alireza Esmikhani
More than Just Lines on a Map: Best Practices for U.S Bike Routes
More than Just Lines on a Map: Best Practices for U.S Bike Routes
Project for Public Spaces & National Center for Biking and Walking
Ride the Storm: Navigating Through Unstable Periods / Katerina Rudko (Belka G...
Ride the Storm: Navigating Through Unstable Periods / Katerina Rudko (Belka G...
DevGAMM Conference
Empfohlen
(20)
Skeleton Culture Code
Skeleton Culture Code
PEPSICO Presentation to CAGNY Conference Feb 2024
PEPSICO Presentation to CAGNY Conference Feb 2024
Content Methodology: A Best Practices Report (Webinar)
Content Methodology: A Best Practices Report (Webinar)
How to Prepare For a Successful Job Search for 2024
How to Prepare For a Successful Job Search for 2024
Social Media Marketing Trends 2024 // The Global Indie Insights
Social Media Marketing Trends 2024 // The Global Indie Insights
Trends In Paid Search: Navigating The Digital Landscape In 2024
Trends In Paid Search: Navigating The Digital Landscape In 2024
5 Public speaking tips from TED - Visualized summary
5 Public speaking tips from TED - Visualized summary
ChatGPT and the Future of Work - Clark Boyd
ChatGPT and the Future of Work - Clark Boyd
Getting into the tech field. what next
Getting into the tech field. what next
Google's Just Not That Into You: Understanding Core Updates & Search Intent
Google's Just Not That Into You: Understanding Core Updates & Search Intent
How to have difficult conversations
How to have difficult conversations
Introduction to Data Science
Introduction to Data Science
Time Management & Productivity - Best Practices
Time Management & Productivity - Best Practices
The six step guide to practical project management
The six step guide to practical project management
Beginners Guide to TikTok for Search - Rachel Pearson - We are Tilt __ Bright...
Beginners Guide to TikTok for Search - Rachel Pearson - We are Tilt __ Bright...
Unlocking the Power of ChatGPT and AI in Testing - A Real-World Look, present...
Unlocking the Power of ChatGPT and AI in Testing - A Real-World Look, present...
12 Ways to Increase Your Influence at Work
12 Ways to Increase Your Influence at Work
ChatGPT webinar slides
ChatGPT webinar slides
More than Just Lines on a Map: Best Practices for U.S Bike Routes
More than Just Lines on a Map: Best Practices for U.S Bike Routes
Ride the Storm: Navigating Through Unstable Periods / Katerina Rudko (Belka G...
Ride the Storm: Navigating Through Unstable Periods / Katerina Rudko (Belka G...
IPv6 Readyって何? NAT64/DNS64 徹底解説! #iosdc #b
1.
IPv6 Readyって何だ? NAT64/DNS64の 本当の 使い方とは? 藤崎 智宏/Internet
Society Japan Chapter (ISOC-JP) 岡田 雅之/JPNIC,CONBU
2.
自己紹介 • 藤崎 智宏(ISOC-JP,そのほか沢山) •
Twitter:@dudisaki • メイン:電話屋で,インターネット関連の仕事 • IPv6普及に取り組んでいます. • IPv6普及・高度化推進協議会 • アプリケーションのIPv6対応検討SWG 部会長 • IPv6導入に起因する問題検討SWG 部会長 等 • 岡田 雅之(JPNIC/CONBU/{JANOG}) • Twitter:@smadako • FBのほうが活発です • ネットワーク関係 • IPアドレス配布と関係するシステム 2
3.
インターネットとIPアドレス 3 インターネット 機器(モノ)がインターネットにつな がるには,IPアドレスが必要 192.0.2.1 198.51.100.1 203.0.113.1 従来から利用されてきたのは”IPv4アドレス” IPv4では,IPアドレスは 32ビット ≒
約43億個 IPv4アドレス在庫の枯渇 世界的に,IPv4アドレスはほぼ利用し尽くされ ているのが現状 第30回JPNICオープンポリシーミーティング JPNIC報告資料より抜粋 http://www.jpopf.net/JPOPM30Program?action=AttachFile&do=view& target=4_policy-implementation.pdf IPアドレスが入手できないと,インターネット が拡張できない!今後の発展のため,イン ターネットのバージョンアップ が進行中! 「IPv4 → IPv6 へ」
4.
IPv6とは IPv4 の後継プロトコルとし てインターネット標準化団 体(IETF)で規定. アドレス数を大幅に増やした IPv6アドレス: 128ビット (IPv4:
32ビット) プロトコル的にはIPv4互換性 無し IPv4機器とIPv6機器は相互に 通信不可 同じネットワーク上には共存可能 機器はIPv4・IPv6両対応が必要 4 IPv4 バケツ一杯 分の砂の数 IPv6 太陽一個分(地球100万 個分)の体積の砂の数 IPv4 v4 IPv6 v6 変換装置 IPv4による通信 ホストA ホストB ホストC IPv6による通信 IPv6スタックIPv6スタック IPv4スタック IPv4スタック IPv4スタック IPv4/v6 共存ネットワーク 変換装置による対応もあり
5.
IPv6の普及状況 • 世界的に普及が進んでいます. 5 IPv6の普及度 https://stats.labs.apnic.net/ipv6/ Google サーバへの通信の割合 https://www.google.com/intl/ja/ipv6/statistics.html
6.
IPv6とGoogle, Apple • Google
も Apple も,「インターネットの継続的な発展」と いう観点から,IPv6普及に積極対応. • 両社,各種サービスはほとんどIPv6対応済み • Apple においては,2016年6月から,iOS アプリの IPv6 対応を必須化 • アプリ審査でチェック • 実際に審査が通らなかった 例もあるようです. 6 https://developer.apple.com/news/?id=05042016a
7.
Appleの文書より(1)対応プログラム Appleは開発者向け文書で対応方法やテスト方法を解説 https://developer.apple.com/jp/documentation/ の,”ネットワーキング オー バービュー
”から,” IPv6 DNS64/NAT64ネットワークのサポート” IPv6対応ネットワークプログラミングの注意点 • プロトコルに埋め込まれたIPアドレスリテラル。 • 構成ファイルに埋め込まれたIPアドレスリテラル。 • ネットワークプリフライト • 低レベルネットワークAPIの使用 • 小さなアドレスファミリストレージコンテナの使用 IPアドレスを直接プログラムに書かない! IPアドレスを直接設定ファイルに書かない! プリフライト(≒インターネット接続チェック)をつかわない! 高レベルAPIで救われる落とし穴にはまる! IPアドレスは32bitだけじゃない! 7
8.
残念な例(1) 8
9.
残念な例(2) 9
10.
memset(&ptr, 0, sizeof(ptr)); ptr.ai_family
= AF_INET; ptr.ai_socktype = SOCK_STREAM; if((ret = getaddrinfo(host, NULL, &ptr, &info )) ! = 0 { printf("network error %d ¥n", ret); return -1; } 残念な例(3) 残念ながら、探すとたくさんこういった例が いっぱいあります・・・・(T_T) 10 よくある例
11.
Appleの文書より(2)試験環境 • IPv6 only
(デュアルスタックでなく)の環境でのアプリ試験 環境について解説 • IPv4インターネットへは,プロトコル変換 (DNS64/NAT64)を利用したアク セスを想定 11 DNS64 サーバ クライアント DNS問い合わせ IPv6アドレス, または合成IPv6 アドレス(IPv4ア ドレスから変換 されたIPv6アド レス) IPv4 サーバ クライアント NAT64ゲー トウェイ IPv6 サーバ 合成IPv6アドレ スに対するコン テンツの要求/ 返答 コンテン ツの要求 /返答 IPv6アド レスに対 するコン テンツの 要求/返 答 ① ② DNS64/NAT64の動作概略
12.
• 同文書で詳解されているテスト環境 https://developer.apple.com/jp/documentation/NetworkingInternetWeb/Conceptual/NetworkingOverview/Understa ndingandPreparingfortheIPv6Transition/UnderstandingandPreparingfortheIPv6Transition.html#//apple_ref/doc/uid/T P40010220-CH213-SW1 より抜粋 ”IPv6対応”
でなく,「DNS64/NAT64 環境でのIPv4インターネッ トへのアクセス」方法なので,注意. Appleの文書より(2)試験環境続き 12
13.
v6は珍しくありません 13
14.
IPv6へのお誘い • IPv6普及・高度化推進協議会 お宝満載! 14
15.
IPv4枯渇タスクフォース・JPNICセミナー http://kokatsu.jp/ 15
16.
IPv4枯渇タスクフォース・JPNICセミナー https://www.nic.ad.jp/ 16
17.
本日の会場ネットワーク • NAT64/DNS64環境もご用意 • SSID:iosdc-cookpad-64/pass:
yatteiku • 動かないアプリがあったら教えてください! • @conbu_net or @smadako 等
Jetzt herunterladen