Register Guidelines E-Books Today's Posts Search

Go Back   MobileRead Forums > E-Book Readers > Amazon Kindle > Kindle Developer's Corner

Notices

Reply
 
Thread Tools Search this Thread
Old 03-01-2016, 10:56 AM   #1
knc1
Going Viral
knc1 ought to be getting tired of karma fortunes by now.knc1 ought to be getting tired of karma fortunes by now.knc1 ought to be getting tired of karma fortunes by now.knc1 ought to be getting tired of karma fortunes by now.knc1 ought to be getting tired of karma fortunes by now.knc1 ought to be getting tired of karma fortunes by now.knc1 ought to be getting tired of karma fortunes by now.knc1 ought to be getting tired of karma fortunes by now.knc1 ought to be getting tired of karma fortunes by now.knc1 ought to be getting tired of karma fortunes by now.knc1 ought to be getting tired of karma fortunes by now.
 
knc1's Avatar
 
Posts: 17,212
Karma: 18210809
Join Date: Feb 2012
Location: Central Texas
Device: No K1, PW2, KV, KOA
Blocking Big Brother + 3 years

From time-to-time over the years, people have asked what services are provided by the various Amazon network registrations.

The list of registrations in the (now 3 years old) BBB add-in:
Spoiler:

All information based on public registration data as of: Feb. 8, 2013.

K3: 23.0.0.0/12
NetRange: 23.20.0.0 - 23.23.255.255
CIDR: 23.20.0.0/14
OriginAS: AS16509
NetName: AMAZON-EC2-USEAST-10
RegDate: 2011-09-19
Updated: 2012-03-02
OrgName: Amazon.com, Inc.
OrgId: AMAZO-4

K3: 50.16.0.0/14
NetRange: 50.16.0.0 - 50.19.255.255
CIDR: 50.16.0.0/14
OriginAS:
NetName: AMAZON-EC2-8
RegDate: 2010-10-07
Updated: 2012-03-02
OrgName: Amazon.com, Inc.
OrgId: AMAZO-4

K3: 72.21.192.0/19
NetRange: 72.21.192.0 - 72.21.223.255
CIDR: 72.21.192.0/19
OriginAS:
NetName: AMAZON-02
RegDate: 2004-12-30
Updated: 2012-03-02
OrgName: Amazon.com, Inc.
OrgId: AMAZON-4

K3: 107.20.0.0/14
NetRange: 107.20.0.0 - 107.23.255.255
CIDR: 107.20.0.0/14
OriginAS:
NetName: AMAZON-EC2-8
RegDate: 2011-05-03
Updated: 2012-03-02
OrgName: Amazon.com, Inc.
OrgId: AMAZO-4

K3: 184.72.0.0/15
NetRange: 184.72.0.0 - 184.73.255.255
CIDR: 184.72.0.0/15
OriginAS:
NetName: AMAZON-EC2-7
RegDate: 2010-01-26
Updated: 2012-03-02
OrgName: Amazon.com, Inc.
OrgId: AMAZO-4

K3: 204.246.160.0/19
NetRange: 204.246.160.0 - 204.246.191.255
CIDR: 204.246.160.0/19
OriginAS: AS7224, AS16509, AS39111
NetName: AMAZON-04
RegDate: 2009-07-17
Updated: 2012-03-02
OrgName: Amazon.com, Inc.
OrgId: AMAZON-4

K3: 205.251.192.0/18
NetRange: 205.251.192.0 - 205.251.255.255
CIDR: 205.251.192.0/18
OriginAS: AS7224, AS16509, AS39111
NetName: AMAZON-05
RegDate: 2010-08-27
Updated: 2012-03-02
OrgName: Amazon.com, Inc.
OrgId: AMAZON-4

K3: 207.171.160.0/19
NetRange: 207.171.160.0 - 207.171.191.255
CIDR: 207.171.160.0/19
OriginAS: AS16509
NetName: AMAZON-01
RegDate: 1999-09-23
Updated: 2012-03-02
OrgName: Amazon.com, Inc.
OrgId: AMAZON-4

Kpw: 23.20.0.0/14
NetRange: 23.20.0.0 - 23.23.255.255
CIDR: 23.20.0.0/14
OriginAS: AS16509
NetName: AMAZON-EC2-USEAST-10
RegDate: 2011-09-19
Updated: 2012-03-02
OrgName: Amazon.com, Inc.
OrgId: AMAZO-4

Kpw: 54.240.0.0/12
Kpw: 54.240.128.0/18 ** If wanting to screen the sub-net **
Amazon Technologies Inc. AMAZON-2011L (NET-54-240-0-0-1) 54.240.0.0 - 54.255.255.255
Amazon Web Services, LLC AWSEMAIL-Z (NET-54-240-0-0-2) 54.240.0.0 - 54.240.63.255

Kpw: 64.208.0.0/16
Kpw: 64.209.0.0/17
NetRange: 64.208.0.0 - 64.209.127.255
CIDR: 64.208.0.0/16, 64.209.0.0/17
OriginAS: AS3549
RegDate: 2000-03-15
Updated: 2012-03-02
OrgName: Level 3 Communications, Inc.
OrgId: LVLT

Kpw: 72.21.192.0/19
NetRange: 72.21.192.0 - 72.21.223.255
CIDR: 72.21.192.0/19
OriginAS:
NetName: AMAZON-02
RegDate: 2004-12-30
Updated: 2012-03-02
OrgName: Amazon.com, Inc.
OrgId: AMAZON-4

Kpw: 176.32.96.0/21
inetnum: 176.32.96.0 - 176.32.103.255
netname: amazon-EU-IAD-PROD
descr: PROD IAD
country: NL

Kpw: 178.236.0.0/21
inetnum: 178.236.0.0 - 178.236.7.255
netname: IE-AMAZON
descr: Amazon Data Services Ireland
country: IE

Kpw: 205.251.192.0/18
NetRange: 205.251.192.0 - 205.251.255.255
CIDR: 205.251.192.0/18
OriginAS: AS7224, AS16509, AS39111
NetName: AMAZON-05
RegDate: 2010-08-27
Updated: 2012-03-02
OrgName: Amazon.com, Inc.
OrgId: AMAZON-4

Kpw: 207.171.160.0/19
NetRange: 207.171.160.0 - 207.171.191.255
CIDR: 207.171.160.0/19
OriginAS: AS16509
NetName: AMAZON-01
RegDate: 1999-09-23
Updated: 2012-03-02
OrgName: Amazon.com, Inc.
OrgId: AMAZON-4

That list above has not been updated since the PW-1 was new (three years ago).

Since the Kindles only use IPv4 and the IPv4 assignments have been sold out since prior to that list being made -
Changes to the owned address ranges should have been rare.

It is probably past time that I re-check those and test for new ones.
Maybe even figure out which blocks are used by what services.

Don't anyone hold their breath on this - I don't promise a quick update (it requires some special hardware setup on my network).

Note:
The 411 report of the 5.6.x firmware series will list your OTA update status.
There is a KUAL button for that, or the home screen, search bar, command version is:
;411
Yes, the semi-colon is part of the command.

Last edited by knc1; 03-01-2016 at 11:18 AM.
knc1 is offline   Reply With Quote
Old 03-01-2016, 07:03 PM   #2
knc1
Going Viral
knc1 ought to be getting tired of karma fortunes by now.knc1 ought to be getting tired of karma fortunes by now.knc1 ought to be getting tired of karma fortunes by now.knc1 ought to be getting tired of karma fortunes by now.knc1 ought to be getting tired of karma fortunes by now.knc1 ought to be getting tired of karma fortunes by now.knc1 ought to be getting tired of karma fortunes by now.knc1 ought to be getting tired of karma fortunes by now.knc1 ought to be getting tired of karma fortunes by now.knc1 ought to be getting tired of karma fortunes by now.knc1 ought to be getting tired of karma fortunes by now.
 
knc1's Avatar
 
Posts: 17,212
Karma: 18210809
Join Date: Feb 2012
Location: Central Texas
Device: No K1, PW2, KV, KOA
Is Wireshark, Wireshark without the Wireshark GUI?

Actually, yes.
Although to add confusion to the answer to the question, the GUI is named: "Wireshark" but it is just an eye-candy wrapper around an entire set of (command line) programs.

Bright idea #1 - Build "Wireshark" without the GUI.
(done)

Now see if all the internals (tools) can be made to run on the Kindle from USB storage.
A nice little 4 or 5 day project (if I'm lucky).

Why?
To do the packet capture on the Kindle itself, without external networking mess.

Expected:
To at least do the packet capture on the Kindle to a file that the (for-real) Wireshark application on a pc can crunch for us.

Desired:
To also do the packet crunching on the Kindle.
It **should** be possible - the i.MX6 is a fairly powerful processor.

Added advantage:
The ppp (that is, the 3G) link can be monitored/captured/reported on also, not just the Wifi link.
knc1 is offline   Reply With Quote
Advert
Old 03-01-2016, 08:08 PM   #3
NiLuJe
BLAM!
NiLuJe ought to be getting tired of karma fortunes by now.NiLuJe ought to be getting tired of karma fortunes by now.NiLuJe ought to be getting tired of karma fortunes by now.NiLuJe ought to be getting tired of karma fortunes by now.NiLuJe ought to be getting tired of karma fortunes by now.NiLuJe ought to be getting tired of karma fortunes by now.NiLuJe ought to be getting tired of karma fortunes by now.NiLuJe ought to be getting tired of karma fortunes by now.NiLuJe ought to be getting tired of karma fortunes by now.NiLuJe ought to be getting tired of karma fortunes by now.NiLuJe ought to be getting tired of karma fortunes by now.
 
NiLuJe's Avatar
 
Posts: 13,477
Karma: 26012494
Join Date: Jun 2010
Location: Paris, France
Device: Kindle 2i, 3g, 4, 5w, PW, PW2, PW5; Kobo H2O, Forma, Elipsa, Sage, C2E
I'm not sure any of the network interfaces can be put into monitor mode, so better check that first .
NiLuJe is offline   Reply With Quote
Old 03-01-2016, 08:47 PM   #4
knc1
Going Viral
knc1 ought to be getting tired of karma fortunes by now.knc1 ought to be getting tired of karma fortunes by now.knc1 ought to be getting tired of karma fortunes by now.knc1 ought to be getting tired of karma fortunes by now.knc1 ought to be getting tired of karma fortunes by now.knc1 ought to be getting tired of karma fortunes by now.knc1 ought to be getting tired of karma fortunes by now.knc1 ought to be getting tired of karma fortunes by now.knc1 ought to be getting tired of karma fortunes by now.knc1 ought to be getting tired of karma fortunes by now.knc1 ought to be getting tired of karma fortunes by now.
 
knc1's Avatar
 
Posts: 17,212
Karma: 18210809
Join Date: Feb 2012
Location: Central Texas
Device: No K1, PW2, KV, KOA
Quote:
Originally Posted by NiLuJe View Post
I'm not sure any of the network interfaces can be put into monitor mode, so better check that first .
I do not think this is original by me.
I do think that I read that someone had done this on a Kindle years ago.

But it is a point -
And the easiest way I can think of to test it, is to try running tshark.
http://linux.die.net/man/1/tshark

tshark (and the rest of the tools) is built - from the most recent wireshark release.
but the build system put a bunch of useless garbage in the rpath of all the libraries and executables.
I will have fun the next few days, patchelf'ing all the files.

I also have the latest and greatest Midori built - but I have to do the same patchelf'ing that huge mess of inter-dependent libraries.
knc1 is offline   Reply With Quote
Old 03-01-2016, 09:48 PM   #5
NiLuJe
BLAM!
NiLuJe ought to be getting tired of karma fortunes by now.NiLuJe ought to be getting tired of karma fortunes by now.NiLuJe ought to be getting tired of karma fortunes by now.NiLuJe ought to be getting tired of karma fortunes by now.NiLuJe ought to be getting tired of karma fortunes by now.NiLuJe ought to be getting tired of karma fortunes by now.NiLuJe ought to be getting tired of karma fortunes by now.NiLuJe ought to be getting tired of karma fortunes by now.NiLuJe ought to be getting tired of karma fortunes by now.NiLuJe ought to be getting tired of karma fortunes by now.NiLuJe ought to be getting tired of karma fortunes by now.
 
NiLuJe's Avatar
 
Posts: 13,477
Karma: 26012494
Join Date: Jun 2010
Location: Paris, France
Device: Kindle 2i, 3g, 4, 5w, PW, PW2, PW5; Kobo H2O, Forma, Elipsa, Sage, C2E
Yeah, I have a vague memory of biting the dust on that front, but I can't remember for the life of me on which device that was.

Even more weird is the fact that I even have a memory of trying something like that, because networking is really not my game.

Eh.
NiLuJe is offline   Reply With Quote
Advert
Old 03-02-2016, 08:16 AM   #6
knc1
Going Viral
knc1 ought to be getting tired of karma fortunes by now.knc1 ought to be getting tired of karma fortunes by now.knc1 ought to be getting tired of karma fortunes by now.knc1 ought to be getting tired of karma fortunes by now.knc1 ought to be getting tired of karma fortunes by now.knc1 ought to be getting tired of karma fortunes by now.knc1 ought to be getting tired of karma fortunes by now.knc1 ought to be getting tired of karma fortunes by now.knc1 ought to be getting tired of karma fortunes by now.knc1 ought to be getting tired of karma fortunes by now.knc1 ought to be getting tired of karma fortunes by now.
 
knc1's Avatar
 
Posts: 17,212
Karma: 18210809
Join Date: Feb 2012
Location: Central Texas
Device: No K1, PW2, KV, KOA
Plus -
BitBucket has set our kual-system to 'un-owned, read-only' -
https://bitbucket.org/twobob/kual-system

I guess I had best clone it to another repo service where I can update it.
knc1 is offline   Reply With Quote
Old 03-04-2016, 07:52 AM   #7
knc1
Going Viral
knc1 ought to be getting tired of karma fortunes by now.knc1 ought to be getting tired of karma fortunes by now.knc1 ought to be getting tired of karma fortunes by now.knc1 ought to be getting tired of karma fortunes by now.knc1 ought to be getting tired of karma fortunes by now.knc1 ought to be getting tired of karma fortunes by now.knc1 ought to be getting tired of karma fortunes by now.knc1 ought to be getting tired of karma fortunes by now.knc1 ought to be getting tired of karma fortunes by now.knc1 ought to be getting tired of karma fortunes by now.knc1 ought to be getting tired of karma fortunes by now.
 
knc1's Avatar
 
Posts: 17,212
Karma: 18210809
Join Date: Feb 2012
Location: Central Texas
Device: No K1, PW2, KV, KOA
Quote:
Originally Posted by NiLuJe View Post
Yeah, I have a vague memory of biting the dust on that front, but I can't remember for the life of me on which device that was.

Even more weird is the fact that I even have a memory of trying something like that, because networking is really not my game.

Eh.
I had to do the first one (tshark) 'by hand' before I could figure out how to script the relocation to /mnt/us/esys.
Of course, once I had the first one done, I don't need any scripting to do the relocation if the first example doesn't work.


One application and 12 libraries to relocate as:
Interpreter: /mnt/us/esys/lib/ld-linux.so.3
RPATH: $ORIGIN/../lib;$ORIGIN/../../lib
Location: /mnt/us/esys/lib or /mnt/us/esys/usr/lib or /mnt/us/esys/usr/bin as appropriate.
But doing it this way removes all dependencies on the Amazon installed system and libraries.

Hmm...
And if it uses any configuration files (I think it does) I'll need to move those to either /var/local/esys/etc or /mnt/us/esys/etc (depending on if sym-links are required).

Note:
The readme at the link above says: /mnt/us/extensions/system
But that location changed after the repo became read-only to the shorter: /mnt/us/esys to deal with some limitations of patchelf.

Edit:
Nope that will not be the minimum.
tshark requires the dumpcap application.
Quote:
Originally Posted by tshark on x386
Code:
core2quad arm $ tshark
tshark: Couldn't run /usr/bin/dumpcap in child process: Permission denied
core2quad arm $ sudo tshark
tshark: Lua: Error during loading:
 [string "/usr/share/wireshark/init.lua"]:45: dofile has been disabled
Running as user "root" and group "root". This could be dangerous.
Capturing on eth0
  0.000000  192.168.0.2 -> 66.55.128.228 TCP 66 33386 > http [ACK] Seq=1 Ack=1 Win=2641 Len=0 TSval=41384632 TSecr=1509670841
  0.071340 66.55.128.228 -> 192.168.0.2  TCP 66 [TCP ACKed lost segment] http > 33386 [ACK] Seq=1 Ack=2 Win=102 Len=0 TSval=1509673361 TSecr=41367005
  0.416006  192.168.0.2 -> 74.125.21.99 TCP 66 37793 > http [ACK] Seq=1 Ack=1 Win=1686 Len=0 TSval=41384736 TSecr=1895430300
  0.465072 74.125.21.99 -> 192.168.0.2  TCP 66 [TCP ACKed lost segment] http > 37793 [ACK] Seq=1 Ack=2 Win=576 Len=0 TSval=1895440380 TSecr=41367112
  4.466579 66.55.128.228 -> 192.168.0.2  TCP 66 http > 33386 [FIN, ACK] Seq=1 Ack=2 Win=102 Len=0 TSval=1509674459 TSecr=41367005
  4.466694  192.168.0.2 -> 66.55.128.228 TCP 66 33386 > http [FIN, ACK] Seq=2 Ack=2 Win=2641 Len=0 TSval=41385748 TSecr=1509674459
  4.537743 66.55.128.228 -> 192.168.0.2  TCP 66 http > 33386 [ACK] Seq=2 Ack=3 Win=102 Len=0 TSval=1509674477 TSecr=41385748
 10.495992  192.168.0.2 -> 74.125.21.99 TCP 66 [TCP Keep-Alive] 37793 > http [ACK] Seq=1 Ack=1 Win=1686 Len=0 TSval=41387256 TSecr=1895440380
 10.545048 74.125.21.99 -> 192.168.0.2  TCP 66 [TCP Keep-Alive ACK] http > 37793 [ACK] Seq=1 Ack=2 Win=576 Len=0 TSval=1895450460 TSecr=41367112
 20.575996  192.168.0.2 -> 74.125.21.99 TCP 66 [TCP Keep-Alive] 37793 > http [ACK] Seq=1 Ack=1 Win=1686 Len=0 TSval=41389776 TSecr=1895450460
 20.624820 74.125.21.99 -> 192.168.0.2  TCP 66 [TCP Keep-Alive ACK] http > 37793 [ACK] Seq=1 Ack=2 Win=576 Len=0 TSval=1895460540 TSecr=41367112 
^C
11 packets captured
Code:
NetRange:       74.125.0.0 - 74.125.255.255
CIDR:           74.125.0.0/16
NetName:        GOOGLE
NetHandle:      NET-74-125-0-0-1
Parent:         NET74 (NET-74-0-0-0-0)
NetType:        Direct Allocation
OriginAS:       
Organization:   Google Inc. (GOGL)
RegDate:        2007-03-13
Updated:        2012-02-24
Ref:            https://whois.arin.net/rest/net/NET-74-125-0-0-1
And: 66.55.128.228 is MobileRead.com.

Last edited by knc1; 03-04-2016 at 09:09 AM.
knc1 is offline   Reply With Quote
Reply


Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Block Big Brother knc1 Kindle Developer's Corner 42 04-05-2013 08:44 AM
Big Brother Revisited adamselene Kindle Developer's Corner 7 02-11-2013 08:06 AM
Seriously thoughtful Say hello to Big Brother ardeegee Lounge 4 11-04-2009 05:08 PM
Big Brother is watching UK kaas Lounge 9 08-22-2008 09:57 AM
Big Brother at work Francesco Lounge 0 12-08-2004 06:02 PM


All times are GMT -4. The time now is 02:57 AM.


MobileRead.com is a privately owned, operated and funded community.