File Coverage

blib/lib/Net/IP/Identifier/Plugin/ChinaNet.pm
Criterion Covered Total %
statement 18 18 100.0
branch n/a
condition 1 3 33.3
subroutine 6 6 100.0
pod 1 2 50.0
total 26 29 89.6


line stmt bran cond sub pod time code
1             #===============================================================================
2             # PODNAME: Net::IP::Identifier::Plugin::ChinaNet
3             # ABSTRACT: identify ChinaNet (often 163data.com) IP addresses
4             #
5             # AUTHOR: Reid Augustin (REID)
6             # EMAIL: reid@hellosix.com
7             # CREATED: Wed May 20 12:46:07 PDT 2015
8             #===============================================================================
9              
10 1     1   27 use 5.008;
  1         2  
  1         37  
11 1     1   4 use strict;
  1         2  
  1         39  
12 1     1   4 use warnings;
  1         2  
  1         38  
13              
14             package Net::IP::Identifier::Plugin::ChinaNet;
15              
16 1     1   6 use Role::Tiny::With;
  1         2  
  1         539  
17             with qw( Net::IP::Identifier_Role );
18              
19             our $VERSION = '0.111'; # VERSION
20              
21             sub new {
22 1     1 1 2 my ($class, %opts) = @_;
23              
24 1         2 my $self = {};
25 1   33     7 bless $self, (ref $class || $class);
26              
27             # List of known ChinaNet IP blocks as of May 2015
28 1         11 $self->ips(
29             # 266 Network Blocks
30             '1.0.8.0/21',
31             '1.0.32.0/19',
32             '1.1.8.0/21',
33             '1.1.32.0/19',
34             '1.2.0.0/23',
35             # extending 1.2.9.0/24 to include 1.2.10.0/23
36             # extending 1.2.9.0-1.2.11.255 to include 1.2.12.0/22
37             # extending 1.2.9.0-1.2.15.255 to include 1.2.16.0/20
38             # extending 1.2.9.0-1.2.31.255 to include 1.2.32.0/19
39             '1.2.9.0-1.2.63.255',
40             '1.3.0.0/16',
41             '1.4.2.0/23',
42             '1.4.64.0/18',
43             '1.10.8.0/23',
44             '1.10.64.0/18',
45             # extending 1.48.0.0/15 to include 1.50.0.0/16
46             '1.48.0.0-1.50.255.255',
47             '1.68.0.0/14',
48             '1.80.0.0/13',
49             '1.180.0.0/14',
50             '1.192.0.0/13',
51             # extending 1.202.0.0/15 to include 1.204.0.0/14
52             '1.202.0.0-1.207.255.255',
53             '14.0.0.0/21',
54             '14.16.0.0/12',
55             # extending 14.104.0.0/13 to include 14.112.0.0/12
56             '14.104.0.0-14.127.255.255',
57             '14.134.0.0/15',
58             '14.144.0.0/12',
59             '14.208.0.0/12',
60             '27.16.0.0/12',
61             '27.34.232.0/21',
62             '27.54.72.0/21',
63             '27.128.0.0/15',
64             # extending 27.148.0.0/14 to include 27.152.0.0/13
65             '27.148.0.0-27.159.255.255',
66             '27.184.0.0/13',
67             '27.224.0.0/14',
68             '36.0.0.0/22',
69             # extending 36.0.16.0/20 to include 36.0.32.0/19
70             '36.0.16.0-36.0.63.255',
71             '36.4.0.0/14',
72             '36.16.0.0/12',
73             '36.37.0.0/19',
74             '36.37.40.0/21',
75             # extending 36.40.0.0/13 to include 36.48.0.0/15
76             '36.40.0.0-36.49.255.255',
77             '36.56.0.0/13',
78             '36.96.0.0/11',
79             '39.0.0.0/24',
80             '39.0.8.0/21',
81             # extending 39.0.32.0/19 to include 39.0.64.0/18
82             '39.0.32.0-39.0.127.255',
83             '42.0.8.0/21',
84             '42.62.128.0/19',
85             '42.80.0.0/15',
86             '42.88.0.0/13',
87             '42.97.0.0/16',
88             '42.99.0.0/18',
89             '42.100.0.0/14',
90             '42.122.0.0/16',
91             '42.156.64.0/18',
92             '42.184.0.0/15',
93             '42.187.120.0/22',
94             '42.194.8.0/22',
95             '42.202.0.0/15',
96             '42.242.0.0/15',
97             '42.248.0.0/13',
98             '49.64.0.0/11',
99             '49.112.0.0/13',
100             '49.128.2.0/23',
101             # extending 58.32.0.0/13 to include 58.40.0.0/15
102             # extending 58.32.0.0-58.41.255.255 to include 58.42.0.0/16
103             # extending 58.32.0.0-58.42.255.255 to include 58.43.0.0/16
104             # extending 58.32.0.0-58.43.255.255 to include 58.44.0.0/14
105             # extending 58.32.0.0/12 to include 58.48.0.0/13
106             # extending 58.32.0.0-58.55.255.255 to include 58.56.0.0/15
107             # extending 58.32.0.0-58.57.255.255 to include 58.58.0.0/16
108             # extending 58.32.0.0-58.58.255.255 to include 58.59.0.0/17
109             # extending 58.32.0.0-58.59.127.255 to include 58.59.128.0/17
110             # extending 58.32.0.0-58.59.255.255 to include 58.60.0.0/14
111             '58.32.0.0/11',
112             '58.208.0.0/12',
113             # extending 59.32.0.0/13 to include 59.40.0.0/15
114             # extending 59.32.0.0-59.41.255.255 to include 59.42.0.0/16
115             '59.32.0.0-59.42.255.255',
116             # extending 59.44.0.0/14 to include 59.48.0.0/16
117             # extending 59.44.0.0-59.48.255.255 to include 59.49.0.0/17
118             # extending 59.44.0.0-59.49.127.255 to include 59.49.128.0/17
119             # extending 59.44.0.0-59.49.255.255 to include 59.50.0.0/16
120             # extending 59.44.0.0-59.50.255.255 to include 59.51.0.0/17
121             # extending 59.44.0.0-59.51.127.255 to include 59.51.128.0/17
122             # extending 59.44.0.0-59.51.255.255 to include 59.52.0.0/14
123             # extending 59.44.0.0-59.55.255.255 to include 59.56.0.0/14
124             # extending 59.44.0.0-59.59.255.255 to include 59.60.0.0/15
125             # extending 59.44.0.0-59.61.255.255 to include 59.62.0.0/15
126             '59.44.0.0-59.63.255.255',
127             # extending 59.172.0.0/15 to include 59.174.0.0/15
128             '59.172.0.0/14',
129             # extending 60.160.0.0/15 to include 60.162.0.0/15
130             # extending 60.160.0.0/14 to include 60.164.0.0/15
131             # extending 60.160.0.0-60.165.255.255 to include 60.166.0.0/15
132             # extending 60.160.0.0/13 to include 60.168.0.0/13
133             # extending 60.160.0.0/12 to include 60.176.0.0/12
134             '60.160.0.0/11',
135             '60.235.0.0/16',
136             '61.4.88.0/21',
137             '61.128.128.0/17',
138             # extending 61.130.0.0/16 to include 61.131.0.0/17
139             # extending 61.130.0.0-61.131.127.255 to include 61.131.128.0/17
140             # extending 61.130.0.0/15 to include 61.132.0.0/17
141             # extending 61.130.0.0-61.132.127.255 to include 61.132.128.0/17
142             '61.130.0.0-61.132.255.255',
143             # extending 61.133.128.0/18 to include 61.133.192.0/19
144             # extending 61.133.128.0-61.133.223.255 to include 61.133.224.0/19
145             # extending 61.133.128.0/17 to include 61.134.0.0/18
146             # extending 61.133.128.0-61.134.63.255 to include 61.134.64.0/19
147             '61.133.128.0-61.134.95.255',
148             # extending 61.136.128.0/17 to include 61.137.0.0/17
149             '61.136.128.0-61.137.127.255',
150             # extending 61.138.192.0/19 to include 61.138.224.0/19
151             # extending 61.138.192.0/18 to include 61.139.0.0/17
152             '61.138.192.0-61.139.127.255',
153             # extending 61.139.192.0/18 to include 61.140.0.0/14
154             # extending 61.139.192.0-61.143.255.255 to include 61.144.0.0/15
155             # extending 61.139.192.0-61.145.255.255 to include 61.146.0.0/16
156             # extending 61.139.192.0-61.146.255.255 to include 61.147.0.0/16
157             '61.139.192.0-61.147.255.255',
158             # extending 61.150.0.0/17 to include 61.150.128.0/17
159             # extending 61.150.0.0/16 to include 61.151.0.0/16
160             # extending 61.150.0.0/15 to include 61.152.0.0/16
161             # extending 61.150.0.0-61.152.255.255 to include 61.153.0.0/16
162             # extending 61.150.0.0-61.153.255.255 to include 61.154.0.0/16
163             # extending 61.150.0.0-61.154.255.255 to include 61.155.0.0/16
164             '61.150.0.0-61.155.255.255',
165             '61.157.0.0/16',
166             # extending 61.159.64.0/18 to include 61.159.128.0/18
167             # extending 61.159.64.0-61.159.191.255 to include 61.159.192.0/18
168             # extending 61.159.64.0-61.159.255.255 to include 61.160.0.0/16
169             '61.159.64.0-61.160.255.255',
170             '61.161.64.0/18',
171             # extending 61.164.0.0/16 to include 61.165.0.0/16
172             # extending 61.164.0.0/15 to include 61.166.0.0/16
173             '61.164.0.0-61.166.255.255',
174             # extending 61.169.0.0/16 to include 61.170.0.0/15
175             # extending 61.169.0.0-61.171.255.255 to include 61.172.0.0/15
176             # extending 61.169.0.0-61.173.255.255 to include 61.174.0.0/15
177             '61.169.0.0-61.175.255.255',
178             # extending 61.177.0.0/16 to include 61.178.0.0/16
179             '61.177.0.0-61.178.255.255',
180             '61.180.0.0/17',
181             # extending 61.183.0.0/16 to include 61.184.0.0/16
182             # extending 61.183.0.0-61.184.255.255 to include 61.185.0.0/16
183             # extending 61.183.0.0-61.185.255.255 to include 61.186.0.0/18
184             # extending 61.183.0.0-61.186.63.255 to include 61.186.64.0/18
185             # extending 61.183.0.0-61.186.127.255 to include 61.186.128.0/17
186             # extending 61.183.0.0-61.186.255.255 to include 61.187.0.0/16
187             # extending 61.183.0.0-61.187.255.255 to include 61.188.0.0/16
188             '61.183.0.0-61.188.255.255',
189             # extending 61.189.128.0/17 to include 61.190.0.0/16
190             # extending 61.189.128.0-61.190.255.255 to include 61.191.0.0/16
191             '61.189.128.0-61.191.255.255',
192             '101.0.0.0/22',
193             '101.1.0.0/22',
194             '101.2.172.0/22',
195             '101.50.56.0/22',
196             '101.53.100.0/22',
197             '101.78.0.0/22',
198             '101.80.0.0/12',
199             '101.96.8.0/22',
200             '101.102.104.0/21',
201             '101.110.116.0/22',
202             '101.128.0.0/22',
203             '101.128.16.0/20',
204             '101.203.172.0/22',
205             '101.224.0.0/13',
206             '101.234.76.0/22',
207             '101.248.0.0/15',
208             '101.251.0.0/22',
209             '106.0.4.0/22',
210             # extending 106.4.0.0/14 to include 106.8.0.0/15
211             '106.4.0.0-106.9.255.255',
212             # extending 106.16.0.0/12 to include 106.32.0.0/12
213             '106.16.0.0-106.47.255.255',
214             # absorbs:
215             # 106.33.0.0 - 106.33.255.255
216             # 106.34.0.0 - 106.34.255.255 (from 106.33.0.0/16)
217             '106.56.0.0/13',
218             '106.80.0.0/12',
219             # extending 106.108.0.0/14 to include 106.112.0.0/13
220             # extending 106.108.0.0-106.119.255.255 to include 106.120.0.0/13
221             '106.108.0.0-106.127.255.255',
222             # absorbs:
223             # 106.120.0.0/15 (from 106.120.0.0/19)
224             '106.224.0.0/12',
225             '110.76.156.0/22',
226             '110.76.184.0/22',
227             # extending 110.80.0.0/13 to include 110.88.0.0/14
228             '110.80.0.0-110.91.255.255',
229             # extending 110.152.0.0/14 to include 110.156.0.0/15
230             '110.152.0.0-110.157.255.255',
231             '110.166.0.0/15',
232             # extending 110.176.0.0/13 to include 110.184.0.0/13
233             '110.176.0.0/12',
234             '111.72.0.0/13',
235             '111.112.0.0/15',
236             # extending 111.120.0.0/14 to include 111.124.0.0/16
237             '111.120.0.0-111.124.255.255',
238             '111.126.0.0/15',
239             '111.170.0.0/16',
240             # extending 111.172.0.0/14 to include 111.176.0.0/13
241             '111.172.0.0-111.183.255.255',
242             '111.224.0.0/14',
243             '111.235.156.0/22',
244             '112.66.0.0/15',
245             # extending 112.98.0.0/15 to include 112.100.0.0/14
246             '112.98.0.0-112.103.255.255',
247             # extending 112.112.0.0/14 to include 112.116.0.0/15
248             '112.112.0.0-112.117.255.255',
249             # extending 113.12.0.0/14 to include 113.16.0.0/15
250             '113.12.0.0-113.17.255.255',
251             '113.24.0.0/14',
252             # extending 113.62.0.0/15 to include 113.64.0.0/11
253             # extending 113.62.0.0-113.95.255.255 to include 113.96.0.0/12
254             # extending 113.62.0.0-113.111.255.255 to include 113.112.0.0/13
255             # extending 113.62.0.0-113.119.255.255 to include 113.120.0.0/13
256             # extending 113.62.0.0-113.127.255.255 to include 113.128.0.0/15
257             '113.62.0.0-113.129.255.255',
258             # extending 113.132.0.0/14 to include 113.136.0.0/13
259             '113.132.0.0-113.143.255.255',
260             # extending 113.218.0.0/15 to include 113.220.0.0/14
261             '113.218.0.0-113.223.255.255',
262             # extending 113.240.0.0/13 to include 113.248.0.0/14
263             '113.240.0.0-113.251.255.255',
264             # extending 114.80.0.0/12 to include 114.96.0.0/13
265             # extending 114.80.0.0-114.103.255.255 to include 114.104.0.0/14
266             '114.80.0.0-114.107.255.255',
267             '114.135.0.0/16',
268             '114.138.0.0/15',
269             # extending 114.216.0.0/13 to include 114.224.0.0/12
270             '114.216.0.0-114.239.255.255',
271             # extending 115.148.0.0/14 to include 115.152.0.0/15
272             '115.148.0.0-115.153.255.255',
273             '115.168.0.0/14',
274             # extending 115.192.0.0/11 to include 115.224.0.0/12
275             '115.192.0.0-115.239.255.255',
276             '116.0.8.0/21',
277             '116.1.0.0/16',
278             # extending 116.4.0.0/14 to include 116.8.0.0/14
279             '116.4.0.0-116.11.255.255',
280             '116.16.0.0/12',
281             '116.52.0.0/14',
282             '116.192.0.0/16',
283             # extending 116.207.0.0/16 to include 116.208.0.0/14
284             '116.207.0.0-116.211.255.255',
285             '116.224.0.0/12',
286             # extending 116.246.0.0/15 to include 116.248.0.0/15
287             '116.246.0.0-116.249.255.255',
288             '116.252.0.0/15',
289             # extending 117.21.0.0/16 to include 117.22.0.0/15
290             # extending 117.21.0.0-117.23.255.255 to include 117.24.0.0/13
291             # extending 117.21.0.0-117.31.255.255 to include 117.32.0.0/13
292             # extending 117.21.0.0-117.39.255.255 to include 117.40.0.0/14
293             # extending 117.21.0.0-117.43.255.255 to include 117.44.0.0/15
294             '117.21.0.0-117.45.255.255',
295             '117.57.0.0/16',
296             # extending 117.60.0.0/14 to include 117.64.0.0/13
297             '117.60.0.0-117.71.255.255',
298             '117.80.0.0/12',
299             '118.84.0.0/15',
300             # extending 118.112.0.0/13 to include 118.120.0.0/14
301             # extending 118.112.0.0-118.123.255.255 to include 118.124.0.0/15
302             '118.112.0.0-118.125.255.255',
303             '118.127.128.0/19',
304             '118.180.0.0/14',
305             '118.213.0.0/16',
306             '118.239.0.0/16',
307             # extending 118.248.0.0/13 to include 119.0.0.0/15
308             '118.248.0.0-119.1.255.255',
309             '119.41.0.0/16',
310             '119.60.0.0/16',
311             '119.84.0.0/14',
312             '119.96.0.0/13',
313             # extending 119.120.0.0/13 to include 119.128.0.0/12
314             # extending 119.120.0.0-119.143.255.255 to include 119.144.0.0/14
315             '119.120.0.0-119.147.255.255',
316             '119.151.192.0/18',
317             # extending 120.32.0.0/13 to include 120.40.0.0/14
318             '120.32.0.0-120.43.255.255',
319             '120.68.0.0/14',
320             '121.8.0.0/13',
321             '121.32.0.0/14',
322             # extending 121.56.0.0/15 to include 121.58.0.0/17
323             '121.56.0.0-121.58.127.255',
324             '121.60.0.0/14',
325             '121.101.0.0/18',
326             '121.204.0.0/14',
327             '121.224.0.0/12',
328             '122.4.0.0/14',
329             # extending 122.224.0.0/12 to include 122.240.0.0/13
330             '122.224.0.0-122.247.255.255',
331             '123.52.0.0/14',
332             '123.96.0.0/15',
333             '123.101.0.0/16',
334             # extending 123.149.0.0/16 to include 123.150.0.0/15
335             '123.149.0.0-123.151.255.255',
336             # extending 123.160.0.0/14 to include 123.164.0.0/14
337             # extending 123.160.0.0/13 to include 123.168.0.0/14
338             # extending 123.160.0.0-123.171.255.255 to include 123.172.0.0/15
339             # extending 123.160.0.0-123.173.255.255 to include 123.174.0.0/15
340             '123.160.0.0/12',
341             # extending 123.177.0.0/16 to include 123.178.0.0/15
342             # extending 123.177.0.0-123.179.255.255 to include 123.180.0.0/14
343             # extending 123.177.0.0-123.183.255.255 to include 123.184.0.0/14
344             '123.177.0.0-123.187.255.255',
345             '123.244.0.0/14',
346             '124.31.0.0/16',
347             '124.40.192.0/19',
348             # extending 124.72.0.0/16 to include 124.73.0.0/16
349             # extending 124.72.0.0/15 to include 124.74.0.0/15
350             # extending 124.72.0.0/14 to include 124.76.0.0/14
351             '124.72.0.0/13',
352             # extending 124.112.0.0/15 to include 124.114.0.0/15
353             # extending 124.112.0.0/14 to include 124.116.0.0/16
354             # extending 124.112.0.0-124.116.255.255 to include 124.117.0.0/16
355             # extending 124.112.0.0-124.117.255.255 to include 124.118.0.0/15
356             '124.112.0.0/13',
357             # extending 124.224.0.0/16 to include 124.225.0.0/16
358             # extending 124.224.0.0/15 to include 124.226.0.0/15
359             # extending 124.224.0.0/14 to include 124.228.0.0/14
360             # extending 124.224.0.0/13 to include 124.232.0.0/15
361             # extending 124.224.0.0-124.233.255.255 to include 124.234.0.0/15
362             # extending 124.224.0.0-124.235.255.255 to include 124.236.0.0/14
363             '124.224.0.0/12',
364             # extending 125.64.0.0/13 to include 125.72.0.0/16
365             # extending 125.64.0.0-125.72.255.255 to include 125.73.0.0/16
366             # extending 125.64.0.0-125.73.255.255 to include 125.74.0.0/15
367             # extending 125.64.0.0-125.75.255.255 to include 125.76.0.0/17
368             # extending 125.64.0.0-125.76.127.255 to include 125.76.128.0/17
369             # extending 125.64.0.0-125.76.255.255 to include 125.77.0.0/16
370             # extending 125.64.0.0-125.77.255.255 to include 125.78.0.0/16
371             # extending 125.64.0.0-125.78.255.255 to include 125.79.0.0/16
372             # extending 125.64.0.0/12 to include 125.80.0.0/13
373             # extending 125.64.0.0-125.87.255.255 to include 125.88.0.0/13
374             '125.64.0.0/11',
375             # extending 125.104.0.0/13 to include 125.112.0.0/12
376             '125.104.0.0-125.127.255.255',
377             '150.0.0.0/16',
378             '150.138.0.0/15',
379             '153.118.0.0/15',
380             '171.8.0.0/13',
381             '171.40.0.0/13',
382             '171.80.0.0/14',
383             '171.88.0.0/13',
384             # extending 171.104.0.0/13 to include 171.112.0.0/14
385             '171.104.0.0-171.115.255.255',
386             '171.208.0.0/12',
387             '175.0.0.0/12',
388             '175.30.0.0/15',
389             '180.96.0.0/11',
390             '180.136.0.0/13',
391             # extending 180.152.0.0/13 to include 180.160.0.0/12
392             '180.152.0.0-180.175.255.255',
393             '180.212.0.0/15',
394             '182.32.0.0/12',
395             '182.84.0.0/14',
396             '182.96.0.0/12',
397             # extending 182.128.0.0/12 to include 182.144.0.0/13
398             '182.128.0.0-182.151.255.255',
399             '182.200.0.0/13',
400             '182.240.0.0/13',
401             # extending 183.0.0.0/10 to include 183.64.0.0/13
402             '183.0.0.0-183.71.255.255',
403             # extending 183.91.32.0/21 to include 183.91.40.0/21
404             '183.91.32.0/20',
405             # extending 183.128.0.0/11 to include 183.160.0.0/13
406             '183.128.0.0-183.167.255.255',
407             '202.6.6.0/23',
408             '202.12.98.0/23',
409             '202.80.192.0/22',
410             '202.84.8.0/21',
411             '202.86.252.0/22',
412             # extending 202.96.96.0/19 to include 202.96.128.0/18
413             # extending 202.96.96.0-202.96.191.255 to include 202.96.192.0/18
414             # extending 202.96.96.0-202.96.255.255 to include 202.97.0.0/19
415             # extending 202.96.96.0-202.97.31.255 to include 202.97.32.0/19
416             '202.96.96.0-202.97.63.255',
417             # extending 202.97.80.0/20 to include 202.97.96.0/19
418             '202.97.80.0-202.97.127.255',
419             # extending 202.98.32.0/19 to include 202.98.64.0/19
420             # extending 202.98.32.0-202.98.95.255 to include 202.98.96.0/19
421             # extending 202.98.32.0-202.98.127.255 to include 202.98.128.0/19
422             # extending 202.98.32.0-202.98.159.255 to include 202.98.160.0/19
423             # extending 202.98.32.0-202.98.191.255 to include 202.98.192.0/19
424             # extending 202.98.32.0-202.98.223.255 to include 202.98.224.0/19
425             '202.98.32.0-202.98.255.255',
426             # extending 202.100.0.0/18 to include 202.100.64.0/19
427             # extending 202.100.0.0-202.100.95.255 to include 202.100.96.0/19
428             # extending 202.100.0.0/17 to include 202.100.128.0/19
429             # extending 202.100.0.0-202.100.159.255 to include 202.100.160.0/19
430             # extending 202.100.0.0-202.100.191.255 to include 202.100.192.0/18
431             '202.100.0.0/16',
432             # extending 202.101.64.0/19 to include 202.101.96.0/19
433             # extending 202.101.64.0/18 to include 202.101.128.0/19
434             # extending 202.101.64.0-202.101.159.255 to include 202.101.160.0/19
435             # extending 202.101.64.0-202.101.191.255 to include 202.101.192.0/18
436             # extending 202.101.64.0-202.101.255.255 to include 202.102.0.0/17
437             '202.101.64.0-202.102.127.255',
438             '202.102.192.0/19',
439             # extending 202.103.0.0/18 to include 202.103.64.0/18
440             # extending 202.103.0.0/17 to include 202.103.128.0/18
441             # extending 202.103.0.0-202.103.191.255 to include 202.103.192.0/18
442             # extending 202.103.0.0/16 to include 202.104.0.0/16
443             # extending 202.103.0.0-202.104.255.255 to include 202.105.0.0/16
444             '202.103.0.0-202.105.255.255',
445             # extending 202.107.128.0/18 to include 202.107.192.0/18
446             '202.107.128.0/17',
447             # extending 202.109.0.0/17 to include 202.109.128.0/18
448             # extending 202.109.0.0-202.109.191.255 to include 202.109.192.0/18
449             '202.109.0.0/16',
450             '202.110.128.0/18',
451             '202.111.0.0/17',
452             '202.111.192.0/19',
453             '202.150.224.0/19',
454             '203.15.112.0/21',
455             '203.15.232.0/21',
456             '203.16.16.0/21',
457             '203.19.32.0/21',
458             '203.22.78.0/24',
459             '203.26.84.0/24',
460             '203.30.87.0/24',
461             '203.86.96.0/19',
462             '203.144.96.0/19',
463             '210.5.56.0/21',
464             # extending 218.0.0.0/16 to include 218.1.0.0/16
465             # extending 218.0.0.0/15 to include 218.2.0.0/15
466             # extending 218.0.0.0/14 to include 218.4.0.0/16
467             # extending 218.0.0.0-218.4.255.255 to include 218.5.0.0/16
468             # extending 218.0.0.0-218.5.255.255 to include 218.6.0.0/17
469             # extending 218.0.0.0-218.6.127.255 to include 218.6.128.0/17
470             '218.0.0.0-218.6.255.255',
471             # extending 218.13.0.0/16 to include 218.14.0.0/15
472             # extending 218.13.0.0-218.15.255.255 to include 218.16.0.0/14
473             # extending 218.13.0.0-218.19.255.255 to include 218.20.0.0/16
474             # extending 218.13.0.0-218.20.255.255 to include 218.21.0.0/19
475             # extending 218.13.0.0-218.21.31.255 to include 218.21.32.0/20
476             # extending 218.13.0.0-218.21.47.255 to include 218.21.48.0/20
477             # extending 218.13.0.0-218.21.63.255 to include 218.21.64.0/18
478             '218.13.0.0-218.21.127.255',
479             # absorbs:
480             # 218.16.0.0 - 218.17.255.255 (from 218.13.0.0/16)
481             # 218.18.0.0 - 218.18.255.255 (from 218.13.0.0/16)
482             '218.22.0.0/15',
483             '218.30.0.0/15',
484             # extending 218.62.128.0/17 to include 218.63.0.0/16
485             # extending 218.62.128.0-218.63.255.255 to include 218.64.0.0/16
486             # extending 218.62.128.0-218.64.255.255 to include 218.65.0.0/17
487             # extending 218.62.128.0-218.65.127.255 to include 218.65.128.0/17
488             # extending 218.62.128.0-218.65.255.255 to include 218.66.0.0/16
489             # extending 218.62.128.0-218.66.255.255 to include 218.67.0.0/17
490             '218.62.128.0-218.67.127.255',
491             # extending 218.70.0.0/16 to include 218.71.0.0/16
492             # extending 218.70.0.0/15 to include 218.72.0.0/15
493             # extending 218.70.0.0-218.73.255.255 to include 218.74.0.0/16
494             # extending 218.70.0.0-218.74.255.255 to include 218.75.0.0/17
495             # extending 218.70.0.0-218.75.127.255 to include 218.75.128.0/17
496             # extending 218.70.0.0-218.75.255.255 to include 218.76.0.0/16
497             # extending 218.70.0.0-218.76.255.255 to include 218.77.0.0/17
498             # extending 218.70.0.0-218.77.127.255 to include 218.77.128.0/17
499             # extending 218.70.0.0-218.77.255.255 to include 218.78.0.0/15
500             # extending 218.70.0.0-218.79.255.255 to include 218.80.0.0/14
501             # extending 218.70.0.0-218.83.255.255 to include 218.84.0.0/16
502             # extending 218.70.0.0-218.84.255.255 to include 218.85.0.0/16
503             # extending 218.70.0.0-218.85.255.255 to include 218.86.0.0/17
504             # extending 218.70.0.0-218.86.127.255 to include 218.86.128.0/17
505             # extending 218.70.0.0-218.86.255.255 to include 218.87.0.0/16
506             # extending 218.70.0.0-218.87.255.255 to include 218.88.0.0/15
507             # extending 218.70.0.0-218.89.255.255 to include 218.90.0.0/15
508             # extending 218.70.0.0-218.91.255.255 to include 218.92.0.0/15
509             # extending 218.70.0.0-218.93.255.255 to include 218.94.0.0/16
510             # extending 218.70.0.0-218.94.255.255 to include 218.95.0.0/17
511             # extending 218.70.0.0-218.95.127.255 to include 218.95.128.0/18
512             # extending 218.70.0.0-218.95.191.255 to include 218.95.192.0/19
513             # extending 218.70.0.0-218.95.223.255 to include 218.95.224.0/19
514             '218.70.0.0-218.95.255.255',
515             '218.100.88.0/21',
516             '218.185.240.0/21',
517             # extending 219.128.0.0/13 to include 219.136.0.0/15
518             # extending 219.128.0.0-219.137.255.255 to include 219.138.0.0/15
519             # extending 219.128.0.0-219.139.255.255 to include 219.140.0.0/16
520             # extending 219.128.0.0-219.140.255.255 to include 219.141.0.0/17
521             # extending 219.128.0.0-219.141.127.255 to include 219.141.128.0/17
522             # extending 219.128.0.0-219.141.255.255 to include 219.142.0.0/15
523             # extending 219.128.0.0/12 to include 219.144.0.0/15
524             # extending 219.128.0.0-219.145.255.255 to include 219.146.0.0/16
525             # extending 219.128.0.0-219.146.255.255 to include 219.147.0.0/19
526             # extending 219.128.0.0-219.147.31.255 to include 219.147.32.0/20
527             # extending 219.128.0.0-219.147.47.255 to include 219.147.48.0/20
528             # extending 219.128.0.0-219.147.63.255 to include 219.147.64.0/19
529             # extending 219.128.0.0-219.147.95.255 to include 219.147.96.0/19
530             # extending 219.128.0.0-219.147.127.255 to include 219.147.128.0/17
531             # extending 219.128.0.0-219.147.255.255 to include 219.148.0.0/17
532             # extending 219.128.0.0-219.148.127.255 to include 219.148.128.0/19
533             # extending 219.128.0.0-219.148.159.255 to include 219.148.160.0/19
534             # extending 219.128.0.0-219.148.191.255 to include 219.148.192.0/18
535             # extending 219.128.0.0-219.148.255.255 to include 219.149.0.0/17
536             # extending 219.128.0.0-219.149.127.255 to include 219.149.128.0/18
537             # extending 219.128.0.0-219.149.191.255 to include 219.149.192.0/18
538             # extending 219.128.0.0-219.149.255.255 to include 219.150.0.0/19
539             # extending 219.128.0.0-219.150.31.255 to include 219.150.32.0/19
540             # extending 219.128.0.0-219.150.63.255 to include 219.150.64.0/19
541             # extending 219.128.0.0-219.150.95.255 to include 219.150.96.0/20
542             # extending 219.128.0.0-219.150.111.255 to include 219.150.112.0/20
543             # extending 219.128.0.0-219.150.127.255 to include 219.150.128.0/17
544             # extending 219.128.0.0-219.150.255.255 to include 219.151.0.0/19
545             # extending 219.128.0.0-219.151.31.255 to include 219.151.32.0/19
546             '219.128.0.0-219.151.63.255',
547             # extending 219.151.128.0/17 to include 219.152.0.0/15
548             '219.151.128.0-219.153.255.255',
549             # extending 219.159.64.0/18 to include 219.159.128.0/17
550             '219.159.64.0-219.159.255.255',
551             # extending 220.160.0.0/15 to include 220.162.0.0/16
552             # extending 220.160.0.0-220.162.255.255 to include 220.163.0.0/16
553             # extending 220.160.0.0/14 to include 220.164.0.0/15
554             # extending 220.160.0.0-220.165.255.255 to include 220.166.0.0/16
555             # extending 220.160.0.0-220.166.255.255 to include 220.167.0.0/17
556             # extending 220.160.0.0-220.167.127.255 to include 220.167.128.0/17
557             # extending 220.160.0.0/13 to include 220.168.0.0/15
558             # extending 220.160.0.0-220.169.255.255 to include 220.170.0.0/16
559             # extending 220.160.0.0-220.170.255.255 to include 220.171.0.0/17
560             # extending 220.160.0.0-220.171.127.255 to include 220.171.128.0/18
561             # extending 220.160.0.0-220.171.191.255 to include 220.171.192.0/18
562             # extending 220.160.0.0-220.171.255.255 to include 220.172.0.0/16
563             # extending 220.160.0.0-220.172.255.255 to include 220.173.0.0/16
564             # extending 220.160.0.0-220.173.255.255 to include 220.174.0.0/16
565             # extending 220.160.0.0-220.174.255.255 to include 220.175.0.0/16
566             # extending 220.160.0.0/12 to include 220.176.0.0/15
567             # extending 220.160.0.0-220.177.255.255 to include 220.178.0.0/15
568             # extending 220.160.0.0-220.179.255.255 to include 220.180.0.0/16
569             # extending 220.160.0.0-220.180.255.255 to include 220.181.0.0/16
570             # extending 220.160.0.0-220.181.255.255 to include 220.182.0.0/18
571             '220.160.0.0-220.182.63.255',
572             '220.184.0.0/13',
573             # extending 221.224.0.0/13 to include 221.232.0.0/14
574             # extending 221.224.0.0-221.235.255.255 to include 221.236.0.0/15
575             # extending 221.224.0.0-221.237.255.255 to include 221.238.0.0/16
576             # extending 221.224.0.0-221.238.255.255 to include 221.239.0.0/17
577             # extending 221.224.0.0-221.239.127.255 to include 221.239.128.0/17
578             '221.224.0.0/12',
579             # extending 222.64.0.0/13 to include 222.72.0.0/15
580             # extending 222.64.0.0-222.73.255.255 to include 222.74.0.0/16
581             # extending 222.64.0.0-222.74.255.255 to include 222.75.0.0/16
582             # extending 222.64.0.0-222.75.255.255 to include 222.76.0.0/14
583             # extending 222.64.0.0/12 to include 222.80.0.0/15
584             # extending 222.64.0.0-222.81.255.255 to include 222.82.0.0/16
585             # extending 222.64.0.0-222.82.255.255 to include 222.83.0.0/17
586             # extending 222.64.0.0-222.83.127.255 to include 222.83.128.0/17
587             # extending 222.64.0.0-222.83.255.255 to include 222.84.0.0/16
588             # extending 222.64.0.0-222.84.255.255 to include 222.85.0.0/17
589             # extending 222.64.0.0-222.85.127.255 to include 222.85.128.0/17
590             # extending 222.64.0.0-222.85.255.255 to include 222.86.0.0/15
591             # extending 222.64.0.0-222.87.255.255 to include 222.88.0.0/15
592             # extending 222.64.0.0-222.89.255.255 to include 222.90.0.0/15
593             # extending 222.64.0.0-222.91.255.255 to include 222.92.0.0/14
594             '222.64.0.0/11',
595             # extending 222.168.0.0/15 to include 222.170.0.0/15
596             # extending 222.168.0.0/14 to include 222.172.0.0/17
597             # extending 222.168.0.0-222.172.127.255 to include 222.172.128.0/17
598             # extending 222.168.0.0-222.172.255.255 to include 222.173.0.0/16
599             # extending 222.168.0.0-222.173.255.255 to include 222.174.0.0/15
600             # extending 222.168.0.0/13 to include 222.176.0.0/13
601             # extending 222.168.0.0-222.183.255.255 to include 222.184.0.0/13
602             '222.168.0.0-222.191.255.255',
603             # extending 222.208.0.0/13 to include 222.216.0.0/15
604             # extending 222.208.0.0-222.217.255.255 to include 222.218.0.0/16
605             # extending 222.208.0.0-222.218.255.255 to include 222.219.0.0/16
606             # extending 222.208.0.0-222.219.255.255 to include 222.220.0.0/15
607             # extending 222.208.0.0-222.221.255.255 to include 222.222.0.0/15
608             '222.208.0.0/12',
609             '222.240.0.0/13',
610             '223.8.0.0/13',
611             '223.144.0.0/12',
612             '223.198.0.0/15',
613             '223.214.0.0/15',
614             '223.220.0.0/15',
615             '223.240.0.0/13',
616             );
617 1         7 return $self;
618             }
619              
620             sub name {
621 3     3 0 11 return 'ChinaNet';
622             }
623              
624             1;
625              
626             __END__