File: diagnostics_cymru_difference

package info (click to toggle)
pyasn 1.6.2-1
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid, trixie
  • size: 16,100 kB
  • sloc: python: 1,541; ansic: 1,358; sh: 8; makefile: 4
file content (74 lines) | stat: -rw-r--r-- 3,378 bytes parent folder | download | duplicates (3)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
# checked the DAT files; pyasn worked correctly
# checked MRT/RIB-converter for these ranges; with the latest changes, same response
#   (can't also be due to multiple TD entries, as these are non-existant prefixes, not different ones
#    leaves only possibility different routeview / bgp-routing point of views - to check)

# 2014/11/02: if I am not mistaken, RouteViews data was 2014-05-13 06:00, and Cymru for 2014-05-13 00:00;
#             that COULD explain some difference. (I tried two randomly, it didn't)

# # not sure why we don't have these in the DAT, but we don't.
104.135.25.154  > cymru:  36384, pyasn:   None
104.144.210.69  > cymru:  55286, pyasn:   None
104.175.46.164  > cymru:  20001, pyasn:   None
116.130.71.171  > cymru:  59344, pyasn:   None
139.183.193.91  > cymru:  49518, pyasn:   None
154.106.138.53  > cymru:   2609, pyasn:   None
155.73.83.130   > cymru:  10741, pyasn:   None
37.133.139.184  > cymru:  12715, pyasn:   None
42.103.221.212  > cymru:   4134, pyasn:   None
47.61.122.150   > cymru:  12430, pyasn:   None
70.121.211.109  > cymru:  11427, pyasn:   None

# not sure why CYMRU doesn't have these.
192.129.36.175  > cymru:   None, pyasn:    286
# whois resolves to RIPE, AS-name is KPN
49.232.221.106  > cymru:   None, pyasn:  62294
# whois resolves to BJENET (Chinese), AS-name is Castcable HK


RANDOM re-checks of above:
$ whois -h whois.cymru.com " -v 104.135.25.154 2014-05-13 06:00:00 GMT"
AS      | IP               | BGP Prefix          | CC | Registry | Allocated  | Info                    | AS Name
36384   | 104.135.25.154   | 104.132.0.0/14      | US | arin     | 2014-07-03 | 2014-05-13 06:00:00 GMT | GOOGLE-IT - Google Incorporated,US

$ whois -h whois.cymru.com " -v 42.103.221.212 2014-05-13 06:00:00 GMT"
AS      | IP               | BGP Prefix          | CC | Registry | Allocated  | Info                    | AS Name
4134    | 42.103.221.212   | 42.103.0.0/16       | CN | apnic    | 2011-02-28 | 2014-05-13 06:00:00 GMT | CHINANET-BACKBONE No.31,Jin-rong Street,CN

$ whois -h whois.cymru.com " -v 192.129.36.175 2014-05-13 06:00:00 GMT"
AS      | IP               | BGP Prefix          | CC | Registry | Allocated  | Info                    | AS Name
NA      | 192.129.36.175   | NA                  | DE | ripencc  |            | 2014-05-13 06:00:00 GMT | NA

db = pyasn.pyasn('devel/pyasn.git/data/ipasn_20140513.dat')
db.lookup('104.135.25.154')
#Out: (None, None)
db.lookup('42.103.221.212')
#Out: (None, None)
db.lookup('192.129.36.175')
#Out: (286, '192.129.32.0/20')


# are these same/different??
171.0.248.105   > cymru:  17552, pyasn:   9874  # StarHub, TrueAS
147.53.153.218  > cymru:    174, pyasn:   1767  # Cogent, Indiana Higher Edu
172.224.18.176  > cymru:  35994, pyasn:  31377  # akamai, vodacom

#OK - AS names indicate same owner
132.11.174.152  > cymru:    367, pyasn:    721  # DOD
46.152.156.165  > cymru:  34400, pyasn:  35819  # Etisalat
99.17.28.174    > cymru:   7018, pyasn:   7132  # AT&T

#OK, COMCAST:
50.167.229.42   > cymru:   7725, pyasn:   7922
66.177.71.176   > cymru:  33489, pyasn:   7922
67.180.151.181  > cymru:  33651, pyasn:   7922
69.252.244.180  > cymru:  33491, pyasn:   7922
71.228.112.206  > cymru:  33654, pyasn:   7922
71.236.106.88   > cymru:   7016, pyasn:   7922
73.181.253.215  > cymru:  33650, pyasn:   7922
98.197.5.181    > cymru:  33662, pyasn:   7922