Quantcast
Channel: MobileRead Forums - Kindle Developer's Corner
Viewing all articles
Browse latest Browse all 4434

K5 Kindle Touch phoning home when first connecting to a WiFi network

$
0
0
Today, I set up a new wifi network at home. Almost everything worked as before, only my KT didn't connect properly with it.

After finding out that it actually did correctly connect to the wifi network but the KT framework somehow failed to recognize that, I suspected my custom firewall rules (see this thread) to be the culprit.

A little tcpdump session later, it looks like that the KT tries to verify a new wifi connection by downloading a file from Amazon: http://spectrum.s3.amazonaws.com/kin.../wifistub.html

The dialog between KT and Amazon is completely normal browser/webserver stuff:

Code:

GET /kindle-wifi/wifistub.html HTTP/1.1
User-Agent: Mozilla /5.0 (Linux; like iPhone; U; en-US) AppleWebKit/528.5+ (KHTML, like Gecko, Safari/528.5+) Version/4.0
Accept: */*
Host: spectrum.s3.amazonaws.com


HTTP/1.1 200 OK
x-amz-id-2: 3+3Tnnwb/1HjOIyunxC9e7WbaNWv7hzMMlEaF35j4tmB3dv0AZMhb666/OMO1jxk
x-amz-request-id: 8CD37DDE1E738221
Date: Sun, 19 Aug 2012 12:11:20 GMT
x-amz-meta-s3fox-filesize: 419
x-amz-meta-s3fox-modifiedtime: 1263439412000
Last-Modified: Thu, 14 Jan 2010 03:23:46 GMT
ETag: "4384cffb0af0f42d033cc1465f016427"
Accept-Ranges: bytes
Content-Type: text/html
Content-Length: 419
Server: AmazonS3

<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01//EN" "http://www.w3.org/TR/html4/strict.dtd">
<html>
<head>
<title>Kindle Reachability Probe Page</title>
<META http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
<!--81ce4465-7167-4dcb-835b-dcc9e44c112a created with python 2.5 uuid.uuid4()-->
</head>
<body bgcolor="#ffffff" text="#000000">
81ce4465-7167-4dcb-835b-dcc9e44c112a
</body>
</html>

As far as I can tell, this file is the same since 2010 (see last-modified header) and doesn't get dynamically generated. This suggests that other Kindles also do this? But I didn't find lots on the net about this, only some japanese pages. The KT doesn't seem to send any overly sensitive data, the http headers don't contain anything that looks specific to my Kindle Touch. I guess, Amazon only sees the IP address.

For testing this behavior, you can go to Menu -> Settings -> Wi-Fi Networks, select the wifi connection you want to test and select "Forget" in the following dialog. When setting up the network again the KT will download the file.

Viewing all articles
Browse latest Browse all 4434

Trending Articles