Difference between revisions of "IPv6: Cek IPv6-ready Beberapa contoh client program"

From OnnoWiki
Jump to navigation Jump to search
Line 31: Line 31:
 
Hasilnya kira-kira:
 
Hasilnya kira-kira:
  
  Trying 2404:6800:4003:803::1013...  
+
  Trying 2404:6800:4003:804::200e...
  Connected to ipv6.l.google.com.  
+
  Connected to ipv6.l.google.com.
  Escape character is '^]'.  
+
  Escape character is '^]'.
masukan  
+
 
 +
masukan  
 +
 
 
  HEAD / HTTP/1.0  
 
  HEAD / HTTP/1.0  
  
 
hasilnya  
 
hasilnya  
  
  HTTP/1.0 302 Found
+
  HTTP/1.0 200 OK
  Location: http://www.google.com.sg/
+
  Date: Thu, 31 Jan 2019 10:22:43 GMT
  Cache-Control: private  
+
Expires: -1
  Content-Type: text/html; charset=UTF-8
+
  Cache-Control: private, max-age=0
  Set-Cookie: PREF=ID=fd105bce7948e981:FF=0:TM=1372208872:LM=1372208872:S=YTnn9vG9buRittEI; expires=Fri, 26-Jun-2015 01:07:52 GMT; path=/; domain=.google.co m
+
  Content-Type: text/html; charset=ISO-8859-1
  Set-Cookie: NID=67=MTceEcK4qnyL_NeUStqIpvHTtqvrG2FTxt4qdSN-zCbuYvrxlL37lZQe6TukGty6V9UWTLRpO3prQ8MJxciG5avgvfS6iYYyiWF7SnG39BQZ4WIRrF-uq_3XRHQK-Mwe;  expires=Thu, 26-Dec-2013 01:07:52 GMT; path=/; domain=.google.com; HttpOnly
+
  P3P: CP="This is not a P3P policy! See g.co/p3phelp for more info."
  P3P: CP="This is not a P3P policy! See http://www.google.com/support/accounts/bin/answer.py?hl=en answer=151657 for more info."
+
Server: gws
  Date: Wed, 26 Jun 2013 01:07:52 GMT
+
X-XSS-Protection: 1; mode=block
Server: gws
+
X-Frame-Options: SAMEORIGIN
Content-Length: 222
+
Set-Cookie: 1P_JAR=2019-01-31-10; expires=Sat, 02-Mar-2019 10:22:43 GMT; path=/; domain=.google.com
X-XSS-Protection: 1; mode=block
+
  Set-Cookie: NID=158=CiggwaK_uAPMZyWJc7Tn0drVnARTDYQAOGk966CXGE7b7J1XoPkqDD_2FMMAyuHkKh7_cZ-s-vorzDEhiRZs_aGMie-zJmeDuX1oqziN0vpImdrbGw0b8qYihyUzASS5k5G00LWnRrK49fSF1XqHM_V_4IAWTN4hXRMDYO_hAEs;  expires=Fri, 02-Aug-2019 10:22:43 GMT; path=/; domain=.google.com; HttpOnly
X-Frame-Options: SAMEORIGIN
+
  Accept-Ranges: none
 +
  Vary: Accept-Encoding
 +
 
 +
Connection closed by foreign host.
 +
 
  
 
Jika telnet client tidak mengerti IPv6 maka akan keluar error seperti “cannot resolve hostname”, maka kemungkinan besar telnet client tersebut tidak mengenal IPv6.
 
Jika telnet client tidak mengerti IPv6 maka akan keluar error seperti “cannot resolve hostname”, maka kemungkinan besar telnet client tersebut tidak mengenal IPv6.
 
  
 
==Pranala Menarik==
 
==Pranala Menarik==
  
 
* [[IPv6]]
 
* [[IPv6]]

Revision as of 17:23, 31 January 2019

Untuk menjalankan test ini, kita membutuhkan sistem yang siap dengan IPv6.

Cek DNS untuk me-resolve address IPv6

Karena security update beberapa tahun belakangan ini, seharusnya semua DNS server menjalankan software terbaru yang harusnya mengerti tentang address IPv6 tipe AAAA.

Test sederhana tampak berikut ini,

host -t AAAA ipv6.google.com 

dan harusnya akan tampak sebagai berikut:

ipv6.google.com is an alias for ipv6.l.google.com. 
ipv6.l.google.com has IPv6 address 2404:6800:4003:800::1011


Untuk meyakinkan bahwa ipv6.google.com hanya mempunyai IPv6 address saja, lakukan,

host -t A ipv6.google.com 

Akan tambah IPv4 tidak bisa diberikan

ipv6.google.com is an alias for ipv6.l.google.com.

Telnet client yang siap IPv6

Telnet client harusnya siap IPv6, test sederhana dapat digunakan menggunakan perintah misalnya,

$ telnet ipv6.google.com 80 

Hasilnya kira-kira:

Trying 2404:6800:4003:804::200e...
Connected to ipv6.l.google.com.
Escape character is '^]'.

masukan

HEAD / HTTP/1.0 

hasilnya

HTTP/1.0 200 OK
Date: Thu, 31 Jan 2019 10:22:43 GMT
Expires: -1
Cache-Control: private, max-age=0
Content-Type: text/html; charset=ISO-8859-1
P3P: CP="This is not a P3P policy! See g.co/p3phelp for more info."
Server: gws
X-XSS-Protection: 1; mode=block
X-Frame-Options: SAMEORIGIN
Set-Cookie: 1P_JAR=2019-01-31-10; expires=Sat, 02-Mar-2019 10:22:43 GMT; path=/; domain=.google.com
Set-Cookie: NID=158=CiggwaK_uAPMZyWJc7Tn0drVnARTDYQAOGk966CXGE7b7J1XoPkqDD_2FMMAyuHkKh7_cZ-s-vorzDEhiRZs_aGMie-zJmeDuX1oqziN0vpImdrbGw0b8qYihyUzASS5k5G00LWnRrK49fSF1XqHM_V_4IAWTN4hXRMDYO_hAEs;  expires=Fri, 02-Aug-2019 10:22:43 GMT; path=/; domain=.google.com; HttpOnly
Accept-Ranges: none
Vary: Accept-Encoding

Connection closed by foreign host.


Jika telnet client tidak mengerti IPv6 maka akan keluar error seperti “cannot resolve hostname”, maka kemungkinan besar telnet client tersebut tidak mengenal IPv6.

Pranala Menarik