-
Notifications
You must be signed in to change notification settings - Fork 0
/
ip_addresses
executable file
·1224 lines (1215 loc) · 26.3 KB
/
ip_addresses
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
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
576
577
578
579
580
581
582
583
584
585
586
587
588
589
590
591
592
593
594
595
596
597
598
599
600
601
602
603
604
605
606
607
608
609
610
611
612
613
614
615
616
617
618
619
620
621
622
623
624
625
626
627
628
629
630
631
632
633
634
635
636
637
638
639
640
641
642
643
644
645
646
647
648
649
650
651
652
653
654
655
656
657
658
659
660
661
662
663
664
665
666
667
668
669
670
671
672
673
674
675
676
677
678
679
680
681
682
683
684
685
686
687
688
689
690
691
692
693
694
695
696
697
698
699
700
701
702
703
704
705
706
707
708
709
710
711
712
713
714
715
716
717
718
719
720
721
722
723
724
725
726
727
728
729
730
731
732
733
734
735
736
737
738
739
740
741
742
743
744
745
746
747
748
749
750
751
752
753
754
755
756
757
758
759
760
761
762
763
764
765
766
767
768
769
770
771
772
773
774
775
776
777
778
779
780
781
782
783
784
785
786
787
788
789
790
791
792
793
794
795
796
797
798
799
800
801
802
803
804
805
806
807
808
809
810
811
812
813
814
815
816
817
818
819
820
821
822
823
824
825
826
827
828
829
830
831
832
833
834
835
836
837
838
839
840
841
842
843
844
845
846
847
848
849
850
851
852
853
854
855
856
857
858
859
860
861
862
863
864
865
866
867
868
869
870
871
872
873
874
875
876
877
878
879
880
881
882
883
884
885
886
887
888
889
890
891
892
893
894
895
896
897
898
899
900
901
902
903
904
905
906
907
908
909
910
911
912
913
914
915
916
917
918
919
920
921
922
923
924
925
926
927
928
929
930
931
932
933
934
935
936
937
938
939
940
941
942
943
944
945
946
947
948
949
950
951
952
953
954
955
956
957
958
959
960
961
962
963
964
965
966
967
968
969
970
971
972
973
974
975
976
977
978
979
980
981
982
983
984
985
986
987
988
989
990
991
992
993
994
995
996
997
998
999
1000
#! /bin/sh
# ip_addresses - print tight regular expressions for IPv4 and IPv6 addresses
# Copyright (C) 2018-2024 Erik Auerswald
#
# This program is free software: you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by
# the Free Software Foundation, either version 3 of the License, or
# (at your option) any later version.
#
# This program is distributed in the hope that it will be useful,
# but WITHOUT ANY WARRANTY; without even the implied warranty of
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
# GNU General Public License for more details.
#
# You should have received a copy of the GNU General Public License
# along with this program. If not, see <http://www.gnu.org/licenses/>.
# verify IPv4 and IPv6 addresses using regular expressions
# accept addresses with or without CIDR prefix length
# this script tests the regular expressions defined therein
#
# CAUTION: the regular expressions contain '/' characters
# -> use a different character, e.g. ',', for sed and similar tools
echo "Defining regular expressions for matching IPv4 and IPv6 addresses."
# IPv4 regular expression
dot_quad='(((1?[0-9]{1,2})|(2[0-4][0-9])|(25[0-5]))\.){3}((1?[0-9]{1,2})|(2[0-4][0-9])|(25[0-5]))(/([0-9]|([12][0-9])|(3[0-2])))?'
IPv4_CIDR='/([0-9]|([12][0-9])|(3[0-2]))'
IPv4="${dot_quad}(${IPv4_CIDR})?"
# IPv6 regular expression
IPv6_CIDR='/(([0-9]?[0-9])|(1[0-1][0-9])|(12[0-8]))'
IPv6_long='([[:xdigit:]]{1,4}:){7}[[:xdigit:]]{1,4}'
IPv6_short0='::(([[:xdigit:]]{1,4}:){0,6}[[:xdigit:]]{1,4})?'
IPv6_short1='[[:xdigit:]]{1,4}::(([[:xdigit:]]{1,4}:){0,5}[[:xdigit:]]{1,4})?'
IPv6_short2='([[:xdigit:]]{1,4}:){2}:(([[:xdigit:]]{1,4}:){0,4}[[:xdigit:]]{1,4})?'
IPv6_short3='([[:xdigit:]]{1,4}:){3}:(([[:xdigit:]]{1,4}:){0,3}[[:xdigit:]]{1,4})?'
IPv6_short4='([[:xdigit:]]{1,4}:){4}:(([[:xdigit:]]{1,4}:){0,2}[[:xdigit:]]{1,4})?'
IPv6_short5='([[:xdigit:]]{1,4}:){5}:(([[:xdigit:]]{1,4}:){0,1}[[:xdigit:]]{1,4})?'
IPv6_short6='([[:xdigit:]]{1,4}:){6}:([[:xdigit:]]{1,4})?'
IPv6_short7='([[:xdigit:]]{1,4}:){7}:'
IPv6_quad0="([[:xdigit:]]{1,4}:){6}${dot_quad}"
IPv6_quad1="::([[:xdigit:]]{1,4}:){0,5}${dot_quad}"
IPv6_quad2="[[:xdigit:]]{1,4}::([[:xdigit:]]{1,4}:){0,4}${dot_quad}"
IPv6_quad3="([[:xdigit:]]{1,4}:){2}:([[:xdigit:]]{1,4}:){0,3}${dot_quad}"
IPv6_quad4="([[:xdigit:]]{1,4}:){3}:([[:xdigit:]]{1,4}:){0,2}${dot_quad}"
IPv6_quad5="([[:xdigit:]]{1,4}:){4}:([[:xdigit:]]{1,4}:){0,1}${dot_quad}"
IPv6_quad6="([[:xdigit:]]{1,4}:){5}:${dot_quad}"
# allow zone IDs for multicast, site-local, and link-local IPv6 addresses,
# i.e., ff00::/8, fe80::/10, and fec0/10 (fe80/9)
# link-local includes FE80::/10, not just FE80::/64
IPv6_zone_pre='(([fF]{2}[[:xdigit:]]{2})|([fF][eE][89ABCDEFabcdef][[:xdigit:]]))'
# According to RFC 4007, zone IDs are arbitrary character strings that do not
# "conflict" with the delimiter character. The delimiter is the '%' character.
# Since the first '%' character from the left must be the zone ID delimiter,
# one can view additional '%' characters as non-conflicting. While a zone ID
# ending in a slash ('/') and a number is potentially "conflicting" with CIDR
# notation, it is also used, e.g., in Cisco IOS. Thus zone ID support is quite
# problematic and not perfect here. Some of the examples for "wrong" IPv6
# addresses could be accepted a "valid" IPv6 address with a zone ID.
IPv6_zone_id='%(([^/][^%]*)|(/[^%]*[^0-9%][^%]*))'
IPv6_z_l='([[:xdigit:]]{1,4}:){6}[[:xdigit:]]{1,4}'
IPv6_z_s0='::(([[:xdigit:]]{1,4}:){0,5}[[:xdigit:]]{1,4})?'
IPv6_z_s1='[[:xdigit:]]{1,4}::(([[:xdigit:]]{1,4}:){0,4}[[:xdigit:]]{1,4})?'
IPv6_z_s2='([[:xdigit:]]{1,4}:){2}:(([[:xdigit:]]{1,4}:){0,3}[[:xdigit:]]{1,4})?'
IPv6_z_s3='([[:xdigit:]]{1,4}:){3}:(([[:xdigit:]]{1,4}:){0,2}[[:xdigit:]]{1,4})?'
IPv6_z_s4='([[:xdigit:]]{1,4}:){4}:(([[:xdigit:]]{1,4}:){0,1}[[:xdigit:]]{1,4})?'
IPv6_z_s5='([[:xdigit:]]{1,4}:){5}:([[:xdigit:]]{1,4})?'
IPv6_z_q0="([[:xdigit:]]{1,4}:){5}${dot_quad}"
IPv6_z_q1="::([[:xdigit:]]{1,4}:){0,4}${dot_quad}"
IPv6_z_q2="[[:xdigit:]]{1,4}::([[:xdigit:]]{1,4}:){0,3}${dot_quad}"
IPv6_z_q3="([[:xdigit:]]{1,4}:){2}:([[:xdigit:]]{1,4}:){0,2}${dot_quad}"
IPv6_z_q4="([[:xdigit:]]{1,4}:){3}:([[:xdigit:]]{1,4}:){0,1}${dot_quad}"
IPv6_z_q5="([[:xdigit:]]{1,4}:){4}:${dot_quad}"
IPv6="(((${IPv6_long})|(${IPv6_short0})|(${IPv6_short1})|(${IPv6_short2})|(${IPv6_short3})|(${IPv6_short4})|(${IPv6_short5})|(${IPv6_short6})|(${IPv6_short7})|(${IPv6_quad0})|(${IPv6_quad1})|(${IPv6_quad2})|(${IPv6_quad3})|(${IPv6_quad4})|(${IPv6_quad5})|(${IPv6_quad6}))|(${IPv6_zone_pre}((${IPv6_z_l})|(${IPv6_z_s0})|(${IPv6_z_s1})|(${IPv6_z_s2})|(${IPv6_z_s3})|(${IPv6_z_s4})|(${IPv6_z_s5})|(${IPv6_z_q0})|(${IPv6_z_q1})|(${IPv6_z_q2})|(${IPv6_z_q3})|(${IPv6_z_q4})|(${IPv6_z_q5}))(${IPv6_zone_id})))(${IPv6_CIDR})?"
# test the regular expressions
TMPFILE=$(mktemp) || { echo "ERROR: could not create temporary file."; exit 1; }
trap "rm -f $TMPFILE" 0
cat > "$TMPFILE" << EOAdressen
%%%% correct IP adresses (version 4 and 6) %%%%
0.0.0.0
0.0.0.0/0
0.0.0.0/1
1.2.3.4/31
1.2.3.4/32
192.168.0.1
10.0.0.1
10.0.0.1/8
10.100.11.254/24
172.16.10.1/25
131.246.124.65/26
0.0.0.0/8
0.0.0.0/32
10.0.0.0/8
127.0.0.0/8
127.0.0.1
127.0.0.2
169.254.0.0/16
172.16.0.0/12
192.0.0.0/24
192.0.2.0/24
192.88.99.0/24
192.88.99.1
192.168.0.0/16
198.18.0.0/15
198.51.100.0/24
203.0.113.0/24
224.0.0.0/4
240.0.0.0/4
255.255.255.255/32
100.64.0.0/10
131.246.199.16/30
131.246.199.18
131.246.197.0/25
131.246.197.0/26
131.246.197.64/27
131.246.197.96/28
131.246.197.112/28
10.122.0.0/24
10.122.96.0/24
213.239.193.212
78.46.223.160/29
224.0.0.0
224.0.0.1
224.0.0.2
224.0.0.4
224.0.0.5
224.0.0.6
224.0.0.9
224.0.0.10
224.0.0.13
224.0.1.0/24
224.0.1.39
224.0.1.40
224.0.2.0
224.0.255.0
224.0.255.255
239.0.0.0
239.255.255.255
239.192.0.0
239.251.255.255
239.252.0.0
239.254.255.255
255.255.255.255
2001:638:208:ef34:0:ff:fe00:74/64
fe80::52:46ff:fec6:818f/64
::
::/0
::1
0::1
0::1/128
0::0/0
2001:0db8:85a3:0000:0000:8a2e:0370:7334
2001:db8:85a3:0:0:8a2e:370:7334
2001:db8:85a3::8a2e:370:7334
2001:db8:85a3::8a2e:7334
2001:db8:85a3::8a2e
2001::8a2e:370:7334
2001:85a3::8a2e:370:7334
0:0:0:0:0:0:0:1
0:0:0:0:0:0:0:0
::ffff:c000:280
::ffff:192.0.2.128
0:0:0000:0000:0:ffff:192.0.2.128
0:0:0:0::ffff:192.0.2.128
0:0:0::ffff:192.0.2.128
0:0::ffff:192.0.2.128
0::ffff:192.0.2.128
::/128
::1/128
fe80::/10
fe80::/64
fc00::/7
fd00::/8
FD00::/8
::ffff:0:0/96
::FFFF:0:0/96
::ffff:0:0:0/96
::ffff:10.1.0.1
::ffff:10.1.0.1/128
fc00::10:1:0:1
fc00::10:2:34:0/112
::ffff:0a01:0001
64:ff9b::/96
64:FF9B::/96
2002::/16
2001:0000::/29
2001:01f8::/29
2001:0000::/32
2001::/32
2001:2::/48
2001:10::/28
2001:db8::/32
ff00::0/12
ff01::1
ff02::1
ff01::2
ff02::2
ff05::1
ff05::2
ff02::5
ff02::6
ff02::9
ff02::a
ff02::b
ff02::c
ff02::d
FF02::A
FF02::B
FF02::C
FF02::D
FF02::16
ff01::fb
ff01::101
ff02::1:1
ff02::1:2
ff02::1:3
ff05::1:3
ff02::1:ff00:0/104
ff02::2:ff00:0/104
dead:BEAF::
::dEaD:BeAf
deAD::BEaf
FE80::5EFE:10.23.1.5
::FFFF:10.23.1.5
FEC0:0:0:1::10.23.1.5
2002:0A17:0105::/48
2001:DB8::/32
ABCD:EF01:2345:6789:ABCD:EF01:2345:6789
2001:DB8:0:0:8:800:200C:417A
2001:DB8::8:800:200C:417A
FF01:0:0:0:0:0:0:101
FF01::101
0:0:0:0:0:0:13.1.68.3
0:0:0:0:0:FFFF:129.144.52.38
::13.1.68.3
::FFFF:129.144.52.38
2001:0DB8:0000:CD30:0000:0000:0000:0000/60
2001:0DB8::CD30:0:0:0:0/60
2001:0DB8:0:CD30::/60
2001:0DB8:0:CD30:123:4567:89AB:CDEF
2001:0DB8:0:CD30:123:4567:89AB:CDEF/60
FF00::/8
FE80::/10
2001:0DB8:0000:0001:0000:0000:0010:01FF
2001:0DB8:0000:0001::0010:01FF
2001:DB8:0:1::10:1FF
0000::/8
0000::/96
0064:ff9b::/96
064:ff9b::/96
0200::/7
2001:Db8::/32
2001:0000::/32
2001:0010::/28
2001:0002::/48
3FFE:831F::/32
FC00::/7
FC00::/8
FEC0::/10
ff00::/8
FF05::2
0100::/8
0200::/7
0400::/6
0800::/5
1000::/4
2000::/3
4000::/3
6000::/3
8000::/3
A000::/3
C000::/3
E000::/4
F000::/5
F800::/6
FE00::/9
fF00::/8
CAFE:1::1/64
::/96
::ffff:0.0.0.0/96
3ffe::/16
FF02:0:0:0:0:2:FF00::/104
FF02::2:FF00:0/104
::ffff:127.0.0.0/104
0001:0000:0000:0000:0000:0000:0000:0000/48
0::/8
1::/48
::/48
::ffff:0.0.0.0/104
1::1/64
2031:0000:130F:0000:0000:09C0:876A:130B
2031:0:130f::9c0:876a:130b
FF01:0:0:0:0:0:0:1
2001::/16
3FFF::/16
fe80::206:5bff:fe30:bbd2
::192.168.20.1
::C0A8:1E01
FE80::0800:2001:c782
FF02::1:FF01:c782
2001:DB8:2222:7272::72/64
2001:DB8:2222:7272::/64
2001:DB8:2222:7272:000B:5DFF:FE72:7A3A/64
FE80::1
2001::/64
fe80::5efe:10.47.181.92
fe80::3521:12fa:2c44:87d1
fe80::208:74ff:feda:625c
2001:db8:d005:f282:ed46:5dd4:5439:2e1c
2001:db8:d005:f282:3521:12fa:2c44:87d1
fd4a:3a9:27a1:f282:ed46:5dd4:5439:2e1c
fd4a:3a9:27a1:f282:3521:12fa:2c44:87d1
fec0::/10
2001:0DB8:3000:3000::42
2001:DB8:1263::/48
13::/64
2001:1:1:1::/64
3ffe:b00:800:1::3/127
3ffe:153:AFFE:2::1/126
ff02::5678%5
ff02::5678%pvc1.3
ff08::9abc%10
ff08::9abc%interface10
ff08::9abc%enp0s29u1u1c4i2
ff08::9abc%vlan4@ens224
ff08::9abc%eth0:1
ff08::9abc%eth0.47:1
fe80::1234%1
fe80::1234%ne0
fe80::2%3
fe80::%2/64
fe80::%a/64
fe80::%z/64
FE80::C801:1AFF:FE97:8%FastEthernet0/0
FE80::C801:1AFF:FE97:8%FastEthernet0/0.123
FE80::C801:1AFF:FE97:8%FastEthernet0/0/64
FE80::C801:1AFF:FE97:8%FastEthernet0/0.123/64
FE80::C801:1AFF:FE97:8%f0/0
FE80::C801:1AFF:FE97:8%f0/0.123
FE80::C801:1AFF:FE97:8%f0/0/64
FE80::C801:1AFF:FE97:8%f0/0.123/64
fe80::5efe:192.168.41.30%10
fe80::206:5bff:fe30:bbd2%eth0
fe80::206:5bff:fe30:bbd2%12
fe80::210:5aff:feaa:20a2%4
fe80::260:97ff:fe02:6ea5%4
fe80::5efe:10.47.181.92%17
fe80::5efe:10.47.181.92%0
fe80::3521:12fa:2c44:87d1%8
fe80::208:74ff:feda:625c%5
fe80::208:74ff:feda:625c%0
FF30::/12
ff30::/12
Ff30::/12
fF30::/12
FF70::/12
ff70::/12
Ff70::/12
fF70::/12
FF02:0:0:0:0:1:FF00:0000/104
ff02:0:0:0:0:1:ff00:0000/104
Ff02::1:fF00:0
2037::01:800:200E:8C6C
FF02::1:FF0E:8C6C
2001:DB8:9696::/64
2001:DB8::abf:1:7
::FFFF:127.0.0.1
2001:db8:1:2:a:b:c:0/127
2001:db8:1:2:a:b:c:1/127
2001:db8:1:2::1/64
2001:db8:1:2::2/64
2001:db8:1:2::3
3ffe:ffff::1/127
3ffe:ffff::1
3ffe:ffff::0/127
3ffe:ffff::0
::FFFF:152.78.1.1
fd00::/48
fd00::/56
fd00::/64
fd00:0:0:1::/64
fd00:0:0:2::/64
2001:DB80::/48
2001:DB80:0:1::/64
2001:DB80:0:2::/64
2001:DB80:0:3::/64
2001:638:208:fdc0::/64
2001:638:208:FDC0::2
2001:638:208:cd00::/56
2a01:4f8:130:53c4::/64
fdbd:e109:c5b4::3e07:54ff:fe3f:daff
fdbd:e109:c5b4::1/64
e80::c43d:c7ff:fe9d:e39a/64
fdbd:e109:c5b4:2::1/64
fe80::c63d:c7ff:fe9d:e39a/64
2001::
2001:0:0:0:0DB8:0:0:417A
2001::DB8:0:0:417A
0:0:0:0:0:0:192.168.30.1
::192.168.30.1
2031:0000:130F:0000:0000:09C0:876A:130B
2031:0:130F:0:0:09C0:876A:130B
2031:0:130F::9C0:876A:130B
::0A43:0002
::10.67.0.2
0:0:0:0:0:0:10.67.0.2
FE80:0:0:0:10::123
FE80::10:0:0:123
3000:1234:5678::/48
2340::/12
ff02::2%se00
ff02::1%se00
FF02::12
2005:0:DEAD:BEEF:2DD:1FF:FE1C:DB80
FE80::2DD:1FF:FE1C:DB80
FE80::5
2005:0:DEAD:BEEF::1/64
ff05::1:3
2005:dead:beef:a1::/64
2005:dead:beef:b1::53
2005:dead:beef:b2::53
2005:DEAD:BEEF:C100::1/64
2005:DEAD:BEEF:D100::/56
2005:DEAD:BEEF:C100::2/64
::1:0:0:0:1/64
::192.168.14.1
::192.168.199.2
224.0.0.0/8
224.0.0.1
224.0.0.2
224.0.0.5
224.0.0.6
224.0.0.9
224.0.0.10
FE80::5:73FF:FFA0:42
FE80::200:CFF:FEF6:52CD
FE80::7:B4FF:FE04:200
2005:dead:beef:c100::1
2002:C0A8:C701::/48
2002:C0A8:C702::
FE80::5EFE:C0A8:C701
2005:DEAD:BEEF::/64
ff02::521
2005:dead:beef::/48
FF7E:0164:2005:DEAD:BEEF:00C1:1001::/96
001:15A8:A:1:FFFF:FFFF:FFFF:2
2001:0000::/23
2001:0000::/32
2001:0200::/23
2001:0400::/23
2001:0600::/23
2001:0660:010a:4002:4421:21FF:FE24:87c1
2001:0660:3000::/40
2001:0660:3300::/40
2001:0660:4400::/40
2001:0660:4700::/40
2001:0660:4701::/48
2001:0660:4702::/48
2001:0660:5400::/40
2001:0660::/32
2001:678::/29
2001:0738:0::/36
2001:0738:2000::/44
2001:0738:5000::/44
2001:0738:58::/44
2001:0738:6000::/44
2001:0738:7000::/44
2001:0738:7800::/44
2001:0760::/32
2001:0800::/23
2001:0A00::/23
2001:0C00::/23
2001:0DB8:3003:0001:0000:0000:6543:210F
2001:0E00::/23
2001:1200::/23
2001:1578:0:FF::1
2001:1578:0:FFFF::1
2001:1578:0:FFFF::2
2001:15A8:A:1:FFFF:FFFF:FFFF:3
2001:15A8:A:1:FFFF:FFFF:FFFF:4
2001:15A8:A:1:FFFF:FFFF:FFFF:5
2001:470:1F01:FFFF::224
2001:470:1F01:FFFF::225
2001:660:3001:104::8
2001:660:3003:2:a00:20ff:fe18:964c/64
2001:660:3003::/48
2001:660:3006:1::1:1
2001:660:7301:1::1
2001:660::/32
2001:690:1:1:0E:0CFF:FE31:C81F
2001:690:1fff:200:20e:cff:fe31:c81f
2001:690:5:0::10
2001::/16
2001:DB8:10::beef/48
2001:DB8:1:2::1
2001:DB8:1:2::100
2001:DB8:20::291D:6A83/48
2001:DB8:20::922:A678
2001:DB8:3003:1::6543:210F
2001:DB8::43
2001:bf0:000::/35
2001:db8:1:1::
2001:db8:1:1::1600
2001:db8:dead:beef::cafe
2002:c000:0101::/48
2003::/16
2006:151:2:0:20C:29FF:FEB9:8D7C
2006:151:2:0:20c:29ff:feb9:8d7c
2006:151:3:0:20D:60FF:FEFA:E15B
2006:151:3:0:20d:60ff:fefa:e15b
2006:1::20C:29FF:FEB9:8D7C
2006:1::20D:60FF:FEFA:E15B
2006:1::20c:29ff:feb9:8d7c
2006:1::20d:60ff:fefa:e15b
2006:1::7/64
2010:836B:4179::836B:4179
3FFE:1001:1:F036::1
3FFE:1001:1:F036::2
3ffe:2a00:100:7031::1
::192.9.5.5
::9
::FFFF:134.1.68.3
::ffff:152.78.64.1
CA5A:4::9
CA5A:4::BB4/64
D093::/64
D093::1/64
FE80::20C:29FF:FEB9:8D7C
FE80::20D:60FF:FEFA:E15B
FE80::20E:0CFF:FE31:C81F
FE80::20F:23FF:FEf0:551A
FE80::20F:35FF:FE2D:38C9
FEDC:BA98:7654:3210:FEDC:BA98:7654:3210
FF02:0000:0000:0000:0000:0001:FF00:0000/104
FF02:0000:0000:0000:0000:0001:FF24:87c1
FF02:0:0:0:0:0:0:1
FF02:0:0:0:0:0:0:101
FF02:0:0:0:0:0:0:2
FF02:0:0:0:0:0:0:D
FF05:0:0:0:0:0:0:101
FF05:0:0:0:0:0:0:2
FF0E:0:0:0:0:0:0:101
FF0E::1234
FF3E:20:2001:660:0:0:1234:abcd
FF3E:40:2001:660:3007:123:1234:5678
FF7E:0820:2001:660:3001:104:1234:abcd
fe00::/9
fe80::1234:5678%eth0
fe80::211:bcff:fec0:c800%4
fe80::211:bcff:fec0:d000%4
fec0:0:0:5::2/64
ff1e::2:4444
ff1e::5d:8888
2001:0000:0001:0002:0000:0000:0000:ABCD
2001:0:1:2:0:0:0:ABCD
2001:0:1:2::ABCD
2001:0:aabb:1:2222:3333:4444:5555/64
2001:0:aabb:2::1/64
2001:8:1234:aabb::/64
FE80::21D:A1FF:FE88:33C1
2001:8:1234:AABB:21D:A1FF:FE88:33C1
FE80::21D:A1FF:FE6C:D238
2001:8::21D:A1FF:FE6C:D238
2001:8::/64
2001:0:1:2::/64
2001:0:1:1::1
2001:0:1:1::2/64
2001:0:1:5::2/64
2001:0:1::/80
2001:0:1:1:5::4
2001:0:1::/48
FE80::5EFE:A08:808
2001:1:2:3::/64
2001:1:2:3:0:5EFE:A08:808
fd20:010d:08b5::/48
2001:db8:beef::/48
2001:db8:cafe::/48
fd20:010d:08b5:babe::8:beef
fd20:10d:8b5:babe::8:beef
2001:db8:beef:babe::8:beef
2001:0db8:beef:babe::8:beef
2001:db8:cafe:babe::8:beef
2001:0db8:cafe:babe::8:beef
fd00:0:1::/64
fd00:0:2::/64
64:ff9b::0.0.0.0/96
64:ff9b::203.0.113.50
64:FF9B::192.0.2.33
2001:db8:0:0:1:0:0:1
2001:0db8:0:0:1:0:0:1
2001:db8::1:0:0:1
2001:db8::0:1:0:0:1
2001:0db8::1:0:0:1
2001:db8:0:0:1::1
2001:db8:0000:0:1::1
2001:DB8:0:0:1::1
2001:db8:aaaa:bbbb:cccc:dddd:eeee:0001
2001:db8:aaaa:bbbb:cccc:dddd:eeee:001
2001:db8:aaaa:bbbb:cccc:dddd:eeee:01
2001:db8:aaaa:bbbb:cccc:dddd:eeee:1
2001:db8:aaaa:bbbb:cccc:dddd::1
2001:db8:aaaa:bbbb:cccc:dddd:0:1
2001:db8:0:0:0::1
2001:db8:0:0::1
2001:db8:0::1
2001:db8::1
2001:DB8::1
2001:0db8::0001
2001:db8::aaaa:0:0:1
2001:db8:0:0:aaaa::1
2001:db8:aaaa:bbbb:cccc:dddd:eeee:aaaa
2001:db8:aaaa:bbbb:cccc:dddd:eeee:AAAA
2001:db8:aaaa:bbbb:cccc:dddd:eeee:AaAa
2001:0db8:0000::/48
2001:0db8:0000:0000:1111:2222:3333:4444
2001:0db8:0000:0000:0000:0000:0000:0001
2001:0db8:0::1
2001:DB8::1:0:0:1
2001:db8:0:1::1
2001:db8::1:0:0:0:1
2001:db8::1:0:1
2001:db8:1::0:1
2001:db8:0:1:1:1:1:1
2001:db8::1:1:1:1:1
2001:db8:0:0:0:0:2:1
2001:db8::2
2001:db8::2:1
2001:db8::0:1
2001:0:0:1:0:0:0:1
2001:0db8:0000:0000:1234:0000:0052:0001
2001:0db8:0000:0000:1234::0052:0001
2001:0db8:0:0:1234::52:1
2001:db8::1234:0:51:1
FE11:3CB8:000E:0000:0000:3B00:0230:00A9
FE11:3CB8:E:0:0:3B00:230:A9
FE11:3CB8:E::3B00:230:A9
FE11:3CB8:E:0:0:3B00:230:A9/40
FE11:3CB8:E::3B00:230:A9/40
0000:0000:0000:0000:0000:0000:147.19.1.1
::147.19.1.1
1234:0000:1234:0000:1234:0000:0123:1234
1234:0:1234:0:1234:0:123:1234
1234::1234:0:1234:0:123:1234
1234:0:1234::1234:0:123:1234
1234:0:1234:0:1234::123:1234
1111:0000:0000:1234:0011:0022:0033:0044
1111::1234:11:22:33:44
::D190:4E71
::d190:4E71
::D190:4e71
::d190:4e71
::209.144.78.113
24::24:2
13::/64
13::13:3
13::13:1/64
13::219:55FF:FEF0:B7D0/64
FF02::1
FF02::2
FF02::1:FF13:3
FF02::1:FFF0:B7D0
103::/64
103::3/128
FE80::219:55FF:FEF0:B7D0/10
2002:ac10:6501::/128
2002:ac10:6601::/128
AAAA::1
AAAA::2
AAAA::3
AAAA::4
FF00::A
ABCD:0123:4040:0000:0000:0000:000A:000B
ABCD:123:4040::A:B
b:b:b:b::1/64
b:b:b:b::2/64
A:A:A:A::11/64
B:B:B:B::11/64
1234:5678:9abc:def0::/64
::ffff:192.0.2.1
192.0.2.1
2001:db8:c001:cafe:00c0:2:2100:0
2001:db8:c001:cafe:c0:2:2100:0
2001:db8:1234::80
fd00:dead:beef:1::1
0:0:0:0:0:FFFF:7F00:0/104
FEC0::1234:5678:9ABC
FEC0::1234:5678:9ABC%1
fec0::1234:5678:9abc
fec0::1234:5678:9abc%1
febf::a
FeBf::A
fEbf::a%33
fEBf::a%33
fEBf::a%33/64
fec0::1234%0
fec0::1234%0/64
fec0::fA34%0/64
fe80::1234
ff02::5678
ff08::9abc
fe80::2
fe80::206:98ff:fe00:232%tap0
fe80::230:48ff:fed9:40f5%2
fe80::230:48ff:fed9:40f5%252
fe80::230:48ff:fed9:40f5%em1
fe80::a%en1
fe80::a%25ee1
fe80::201:2eff:fe6c:1234%enp66s0
fd12:3456:7890:abcd::/64
fd63:45eb:dc14:0:8546:6ab7:1529:b435
fe7f::
FE7F::
d00::face:b00c:1
::192.0.2.255
::f
0::01
0:1:2::007
0011:2233:4455:6677:8899:aabb:ccdd:eeff
fe80::2%eth0
fe80::23%tailscale0
1:2:3:4:5:6:7:8
1:2::3:4
1:2:0:0:0:0:3:4
1:2:3:4:5:6:77.77.88.88
1:2:3:4:5:6:4d4d:5858
fe80::1.2.3.4
fe80:0:0:0:0:0:102:304
1::
1:0:0:0:0:0:0:0
0000:0000:0000:0000:0000:0000:0000:0000
192.168.140.255
1::1.2.3.4
1::102:304
::1.2.3.4
0::/0
2010::0003/128
2020::0002/128
2000::/16
2001:DB8:7654:3210:FEDC:BA98:7654:3210
2001:DB8:8086:6502::/32
2001::DB8:800:200C:417A
E000::/3
FE80::/64
FF02::/16
0:0:0:a::
0:0:0:b::
0:0:0:c::
2a03:2880:f10e:83:face:b00c:0:25de
2606:2800:220:1:248:1893:25c8:1946
fe80::abcd%0
fe80::abcd%1
fe80::abcd%en1
fe80::abcd%eth0
fe80::abcd%25
fe80::abcd%25en1
fe80::abcd%25xy
10.1.2.3
10.1.2.4
169.254.13.78
198.51.100.117
198.51.100.121
203.0.113.1
2001:db8:1::1
2001:db8:1::2
2001:db8:1::d5e3:0:0:1
2001:db8:1::d5e3:7953:13eb:22e8
2001:db8:2::1
2001:db8:2::2
2001:db8:3::1
2001:db8:3::2
2001:db8:1aaa::/48
2001:db8:1aaa::a
2001:db8:1bbb::/48
2001:db8:1bbb::b
2001:db8:1ccc::c
2001:db8:6ccc::c
2001:db8:70aa::/48
2001:db8:70aa::a
2001:db8:70bb::/48
2001:db8:70bb::b
2001:db8:3ffe::1
2001:db8:3f44::2
2002:c633:6401::/48
2002:c633:6401::1
2002:c633:6401::2
2002:c633:6401::d5e3:7953:13eb:22e8
fd11:1111:1111:1::1
fd22:2222:2222:2::2
fe80::1
fe80::a
ff00::1
10.0.1.5
2001:db8:1::/64
2001:db8:1::1/128
fe80::1%lo0
fe80::1234%eth0
2607:f8b0:4002:c03::64
192.168.178.1
fe80::1%eth0
fe80::4321%7
fe80::823b:f9ff:fe7b:d9dc%10
fe80::fae4:e3ff:fee2:37a4%eth0
::127.0.0.1
fe80::1ff:fe23:4567:890a%3
fe80::a%TenGigabitEthernet1/2/3
fd00:ab:cd::1
fe80::8d0f:7f26:f5c8:780b%enx525400d5e0fb
2001:0DB8:0001::/48
2001:0DB8:0001:D550::1234
2001:0DB8:5555::/48
2001:0DB8:6666::/48
FD01:0203:0405::/48
FD01:0203:0405:0001::1234
FD01:4444:5555::/48
64:ff9b:1::/48
64:ff9a:ffff::/48
64:ff9a:ffff::
64:ff9b::ffff:ffff
64:ff9b::1:0:0
64:ff9b:0:ffff:ffff:ffff:ffff:ffff
64:ff9a::/31
64:ff9b::/47
64:ff9b:1:fffe::/96
64:ff9b:1:fffd:1::/96
64:ff9b:1:fffc:2::/96
64:ff9b:1:abcd:0:5431::/96
2001:db8:100::/40
2001:db8:122::/48
2001:db8:122:300::/56
2001:db8:122:344::/64
2001:db8:122:344::/96
192.0.2.33
2001:db8:c000:221::
2001:db8:1c0:2:21::
2001:db8:122:c000:2:2100::
2001:db8:122:3c0:0:221::
2001:db8:122:344:c0:2:2100::
2001:db8:122:344::192.0.2.33
64:ff9b::192.0.2.33
2001:db8:122:344:c0:2::/96
2001:db8:122:344:c0:2:2100::/104
198.51.100.1
192.0.2.100
192.168.1.2
192.168.1.2/24
2001:db8:1234::/96
2001:db8:aaaa::/56
2001:db8:aaaa::/96
2001:db8:1234::198.51.100.1
2001:db8:aaaa::192.168.1.2
fe80::1%name
fe80::1%wlp0s20f3
fe80::a8c1:abff:feb4:ab82%Et1
fe80::a8c1:abff:fe18:8133%Et2
0f00::/8
1:2:3::0/48
1:2:3:cafe::/64
1:2:3:cafe:F0::/72
2001:20::/28
2001:30::/28
224.0.0.109
FF02:0:0:0:0:0:0:6D
2001:0DB8::CD30/60
2001:0DB8:0000:0000:0000:0000:0000:CD30
2001:0DB8::CD3/60
2001:0DB8:0000:0000:0000:0000:0000:0CD3
2001:0DB8:0000:CD30::/60
::0:1
::0:0:1
::0:0:0:1
::0:0:0:0:1
::0:0:0:0:0:1
::0:0:0:0:0:0:1
::0:0:0:0:0:0:0
0:0:0:0:0:0:0::
2001:db8:0::
2001:db8:0:0::
2001:db8:0:0:0::
2001:db8:0:0:0:0::
2001:db8:0:0:0:0:0::
3fff::/20
100::/64
2001::/23
2001:1::1/128
2001:1::2/128
2001:1::3/128
2001:3::/32
2001:4:112::/48
2620:4f:8000::/48
5f00::/16
55.66.77.88
55.66.77.0/24
55.66.77.88/24
55.66.77.88/32
172.15.30.1
172.28.30.1
192.167.100.1
192.168.100.1
10.0.5.9
10.0.5.0/24
fc00::/48
fe00::/48
192.0.2.5
192.0.2.128/25
130.129.0.0/16
31.133.128.0/18
31.130.224.0/20
2001:67c:1230::/46
2001:67c:370::/48
193.0.24.0/21
2001:67c:64::/48
199.91.192.0/21
2620:f:8000::/48
::0/0
fc00::/8
::ffff:1.2.3.4
192.0.2.0/32
2001:db8::/128
0:0:0:0:0:ffff::
::ffff:feed:cafe
2001:db8:A::/48
2001:db8:B::/48
2001:db8:D::dc6
2001::3:0/11
2001:db8:0::/64
3012:D678::/64
fd7a:4321::1/64
2001:db8:cafe:beef::1
fe80::2001:db8:cafe:beef
208.0.0.0
208.0.15.255
%%%% no correct IP addresses below this line %%%%
fe80::230:48ff:fed9:40f5%25n%C3%A9t0
127/8
fd00:dead:beef:1::1.http
2001:db8:coo1:cafe:00c0:2:2100:0
2001:db8:coo1:cafe:c0:2:2100:0
[::ffff:192.0.2.1]
[192.0.2.1]
192.0.2.1/255.255.255.0
0:0:0:0:0:FFFF::192.0.2.1
1.1
127.1
123456
10/8
1234:5678:9abc:def0:/64
13:219:55FF;FEF0:B7D0/128
1.-1.2.3
1.2.3
1.2.3/22
1.2.3.4.5
1.2.3.4.5/21
10.0.0.1/33
10.0.0.1/-3
256.1.1.1
1.256.1.1
1.1.256.1
1.1.1.256
10.300.1.2/23
::/-1
:::
:::/3
::::
:0::
:0:::
::/129
2001::db8::/32
2345:2001:0db8:85a3:0000:0000:8a2e:0370:7334
:2001:0db8:85a3:0000:0000:8a2e:0370:7334
2001:0db8:85a3:0000:0000:8a2e:0370:7334:
:2001:0db8:85a3:0000:0000:8a2e:0370:7334:
:0db8:85a3:0000:0000:8a2e:0370:7334
0db8:85a3:0000:0000:8a2e:0370:7334
dead:beaf:0x::
ff05::1::3
FF02::2:FF00:0:/104
2001:0DB8:0:CD3/60
::%0
::%0/128
::1%0
::1%0/128
ff02::5678%
ff08::9abc%
fe80::1234%
ff02::5678%/64
ff08::9abc%/64
fe80::1234%/64
fec0::1234%/64
g::
G::
::12345
12345::
01234:5678:9abc:def0:1234:5678:9abc:def0
1234:05678:9abc:def0:1234:5678:9abc:def0
1234:5678:09abc:def0:1234:5678:9abc:def0
1234:5678:9abc:def0:01234:5678:9abc:def0
1234:5678:9abc:def0:1234:5678:09abc:def0