Difference between revisions of "IPv6-ready client program (contoh)"
Onnowpurbo (talk | contribs) (New page: 4.5. IPv6-ready client programs (selection) To run the following shown tests, it's required that your system is IPv6 enabled, and some examples show addresses which only can be reached if...) |
Onnowpurbo (talk | contribs) |
||
Line 6: | Line 6: | ||
Because of security updates in the last years every Domain Name System (DNS) server should run newer software which already understands the (intermediate) IPv6 address-type AAAA (the newer one named A6 isn't still common at the moment because only supported using BIND9 and newer and also the non-existent support of root domain IP6.ARPA). A simple test whether the used system can resolve IPv6 addresses is | Because of security updates in the last years every Domain Name System (DNS) server should run newer software which already understands the (intermediate) IPv6 address-type AAAA (the newer one named A6 isn't still common at the moment because only supported using BIND9 and newer and also the non-existent support of root domain IP6.ARPA). A simple test whether the used system can resolve IPv6 addresses is | ||
− | |||
− | + | # 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 | ||
+ | |||
− | |||
− | |||
− | |||
4.5.2. IPv6-ready telnet clients | 4.5.2. IPv6-ready telnet clients | ||
Line 18: | Line 20: | ||
IPv6-ready telnet clients are available. A simple test can be done with | IPv6-ready telnet clients are available. A simple test can be done with | ||
− | |||
− | |||
− | |||
− | |||
− | |||
− | HTTP/1.1 | + | $ telnet ipv6.google.com 80 |
− | + | ||
− | GMT | + | Trying 2404:6800:4003:803::1013... |
− | + | Connected to ipv6.l.google.com. | |
− | + | Escape character is '^]'. | |
− | + | ||
− | Content-Length: | + | HEAD / HTTP/1.0 |
− | + | ||
− | + | HTTP/1.0 302 Found | |
+ | Location: http://www.google.com.sg/ | ||
+ | Cache-Control: private | ||
+ | Content-Type: text/html; charset=UTF-8 | ||
+ | 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 | ||
+ | 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 http://www.google.com/support/accounts/bin/answer.py?hl=en& answer=151657 for more info." | ||
+ | Date: Wed, 26 Jun 2013 01:07:52 GMT | ||
+ | Server: gws | ||
+ | Content-Length: 222 | ||
+ | X-XSS-Protection: 1; mode=block | ||
+ | X-Frame-Options: SAMEORIGIN | ||
− | |||
If the telnet client don't understand the IPv6 address and says something like “cannot resolve hostname”, then it's not IPv6-enabled. | If the telnet client don't understand the IPv6 address and says something like “cannot resolve hostname”, then it's not IPv6-enabled. | ||
+ | |||
4.5.3. IPv6-ready ssh clients | 4.5.3. IPv6-ready ssh clients | ||
4.5.3.1. openssh | 4.5.3.1. openssh |
Revision as of 08:09, 26 June 2013
4.5. IPv6-ready client programs (selection)
To run the following shown tests, it's required that your system is IPv6 enabled, and some examples show addresses which only can be reached if a connection to the 6bone is available. 4.5.1. Checking DNS for resolving IPv6 addresses
Because of security updates in the last years every Domain Name System (DNS) server should run newer software which already understands the (intermediate) IPv6 address-type AAAA (the newer one named A6 isn't still common at the moment because only supported using BIND9 and newer and also the non-existent support of root domain IP6.ARPA). A simple test whether the used system can resolve IPv6 addresses is
# 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
4.5.2. IPv6-ready telnet clients
IPv6-ready telnet clients are available. A simple test can be done with
$ telnet ipv6.google.com 80
Trying 2404:6800:4003:803::1013... Connected to ipv6.l.google.com. Escape character is '^]'.
HEAD / HTTP/1.0
HTTP/1.0 302 Found Location: http://www.google.com.sg/ Cache-Control: private Content-Type: text/html; charset=UTF-8 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
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 http://www.google.com/support/accounts/bin/answer.py?hl=en& answer=151657 for more info." Date: Wed, 26 Jun 2013 01:07:52 GMT Server: gws Content-Length: 222 X-XSS-Protection: 1; mode=block X-Frame-Options: SAMEORIGIN
If the telnet client don't understand the IPv6 address and says something like “cannot resolve hostname”, then it's not IPv6-enabled.
4.5.3. IPv6-ready ssh clients 4.5.3.1. openssh
Current versions of openssh are IPv6-ready. Depending on configuring before compiling it has two behavior.
--without-ipv4-default: the client tries an IPv6 connect first automatically and fall back to IPv4 if not working
--with-ipv4-default: default connection is IPv4, IPv6 connection must be force like following example shows
$ ssh -6 ::1 user@::1's password: ****** [user@ipv6host user]$
If your ssh client doesn't understand the option “-6” then it's not IPv6-enabled, like most ssh version 1 packages. 4.5.3.2. ssh.com
SSH.com's SSH client and server is also IPv6 aware now and is free for all Linux and FreeBSD machine regardless if used for personal or commercial use. 4.5.4. IPv6-ready web browsers
A current status of IPv6 enabled web browsers is available at IPv6+Linux-status-apps.html#HTTP.
Most of them have unresolved problems at the moment
If using an IPv4 only proxy in the settings, IPv6 requests will be sent to the proxy, but the proxy will fail to understand the request and the request fails. Solution: update proxy software (see later).
Automatic proxy settings (*.pac) cannot be extended to handle IPv6 requests differently (e.g. don't use proxy) because of their nature (written in Java-script and well hard coded in source like to be seen in Maxilla source code).
Also older versions don't understand an URL with IPv6 encoded addresses like http://[2001:a60:9002:1::186:6]/ (this given URL only works with an IPv6-enabled browser!).
A short test is to try shown URL with a given browser and using no proxy. 4.5.4.1. URLs for testing
A good starting point for browsing using IPv6 is http://www.kame.net/. If the turtle on this page is animated, the connection is via IPv6, otherwise the turtle is static.