@@ -403,6 +403,16 @@ public function getOptionsProvider(): array
403403 [
404404 new Ip (),
405405 [
406+ 'networks ' => [
407+ '* ' => ['any ' ],
408+ 'any ' => ['0.0.0.0/0 ' , '::/0 ' ],
409+ 'private ' => ['10.0.0.0/8 ' , '172.16.0.0/12 ' , '192.168.0.0/16 ' , 'fd00::/8 ' ],
410+ 'multicast ' => ['224.0.0.0/4 ' , 'ff00::/8 ' ],
411+ 'linklocal ' => ['169.254.0.0/16 ' , 'fe80::/10 ' ],
412+ 'localhost ' => ['127.0.0.0/8 ' , '::1 ' ],
413+ 'documentation ' => ['192.0.2.0/24 ' , '198.51.100.0/24 ' , '203.0.113.0/24 ' , '2001:db8::/32 ' ],
414+ 'system ' => ['multicast ' , 'linklocal ' , 'localhost ' , 'documentation ' ],
415+ ],
406416 'allowIpv4 ' => true ,
407417 'allowIpv6 ' => true ,
408418 'allowSubnet ' => false ,
@@ -423,6 +433,16 @@ public function getOptionsProvider(): array
423433 [
424434 new Ip (allowIpv4: false ),
425435 [
436+ 'networks ' => [
437+ '* ' => ['any ' ],
438+ 'any ' => ['0.0.0.0/0 ' , '::/0 ' ],
439+ 'private ' => ['10.0.0.0/8 ' , '172.16.0.0/12 ' , '192.168.0.0/16 ' , 'fd00::/8 ' ],
440+ 'multicast ' => ['224.0.0.0/4 ' , 'ff00::/8 ' ],
441+ 'linklocal ' => ['169.254.0.0/16 ' , 'fe80::/10 ' ],
442+ 'localhost ' => ['127.0.0.0/8 ' , '::1 ' ],
443+ 'documentation ' => ['192.0.2.0/24 ' , '198.51.100.0/24 ' , '203.0.113.0/24 ' , '2001:db8::/32 ' ],
444+ 'system ' => ['multicast ' , 'linklocal ' , 'localhost ' , 'documentation ' ],
445+ ],
426446 'allowIpv4 ' => false ,
427447 'allowIpv6 ' => true ,
428448 'allowSubnet ' => false ,
@@ -443,6 +463,16 @@ public function getOptionsProvider(): array
443463 [
444464 new Ip (allowIpv6: false ),
445465 [
466+ 'networks ' => [
467+ '* ' => ['any ' ],
468+ 'any ' => ['0.0.0.0/0 ' , '::/0 ' ],
469+ 'private ' => ['10.0.0.0/8 ' , '172.16.0.0/12 ' , '192.168.0.0/16 ' , 'fd00::/8 ' ],
470+ 'multicast ' => ['224.0.0.0/4 ' , 'ff00::/8 ' ],
471+ 'linklocal ' => ['169.254.0.0/16 ' , 'fe80::/10 ' ],
472+ 'localhost ' => ['127.0.0.0/8 ' , '::1 ' ],
473+ 'documentation ' => ['192.0.2.0/24 ' , '198.51.100.0/24 ' , '203.0.113.0/24 ' , '2001:db8::/32 ' ],
474+ 'system ' => ['multicast ' , 'linklocal ' , 'localhost ' , 'documentation ' ],
475+ ],
446476 'allowIpv4 ' => true ,
447477 'allowIpv6 ' => false ,
448478 'allowSubnet ' => false ,
@@ -463,6 +493,16 @@ public function getOptionsProvider(): array
463493 [
464494 new Ip (allowSubnet: true ),
465495 [
496+ 'networks ' => [
497+ '* ' => ['any ' ],
498+ 'any ' => ['0.0.0.0/0 ' , '::/0 ' ],
499+ 'private ' => ['10.0.0.0/8 ' , '172.16.0.0/12 ' , '192.168.0.0/16 ' , 'fd00::/8 ' ],
500+ 'multicast ' => ['224.0.0.0/4 ' , 'ff00::/8 ' ],
501+ 'linklocal ' => ['169.254.0.0/16 ' , 'fe80::/10 ' ],
502+ 'localhost ' => ['127.0.0.0/8 ' , '::1 ' ],
503+ 'documentation ' => ['192.0.2.0/24 ' , '198.51.100.0/24 ' , '203.0.113.0/24 ' , '2001:db8::/32 ' ],
504+ 'system ' => ['multicast ' , 'linklocal ' , 'localhost ' , 'documentation ' ],
505+ ],
466506 'allowIpv4 ' => true ,
467507 'allowIpv6 ' => true ,
468508 'allowSubnet ' => true ,
@@ -483,6 +523,16 @@ public function getOptionsProvider(): array
483523 [
484524 new Ip (requireSubnet: true ),
485525 [
526+ 'networks ' => [
527+ '* ' => ['any ' ],
528+ 'any ' => ['0.0.0.0/0 ' , '::/0 ' ],
529+ 'private ' => ['10.0.0.0/8 ' , '172.16.0.0/12 ' , '192.168.0.0/16 ' , 'fd00::/8 ' ],
530+ 'multicast ' => ['224.0.0.0/4 ' , 'ff00::/8 ' ],
531+ 'linklocal ' => ['169.254.0.0/16 ' , 'fe80::/10 ' ],
532+ 'localhost ' => ['127.0.0.0/8 ' , '::1 ' ],
533+ 'documentation ' => ['192.0.2.0/24 ' , '198.51.100.0/24 ' , '203.0.113.0/24 ' , '2001:db8::/32 ' ],
534+ 'system ' => ['multicast ' , 'linklocal ' , 'localhost ' , 'documentation ' ],
535+ ],
486536 'allowIpv4 ' => true ,
487537 'allowIpv6 ' => true ,
488538 'allowSubnet ' => true ,
@@ -503,6 +553,16 @@ public function getOptionsProvider(): array
503553 [
504554 new Ip (allowNegation: true ),
505555 [
556+ 'networks ' => [
557+ '* ' => ['any ' ],
558+ 'any ' => ['0.0.0.0/0 ' , '::/0 ' ],
559+ 'private ' => ['10.0.0.0/8 ' , '172.16.0.0/12 ' , '192.168.0.0/16 ' , 'fd00::/8 ' ],
560+ 'multicast ' => ['224.0.0.0/4 ' , 'ff00::/8 ' ],
561+ 'linklocal ' => ['169.254.0.0/16 ' , 'fe80::/10 ' ],
562+ 'localhost ' => ['127.0.0.0/8 ' , '::1 ' ],
563+ 'documentation ' => ['192.0.2.0/24 ' , '198.51.100.0/24 ' , '203.0.113.0/24 ' , '2001:db8::/32 ' ],
564+ 'system ' => ['multicast ' , 'linklocal ' , 'localhost ' , 'documentation ' ],
565+ ],
506566 'allowIpv4 ' => true ,
507567 'allowIpv6 ' => true ,
508568 'allowSubnet ' => false ,
@@ -523,6 +583,16 @@ public function getOptionsProvider(): array
523583 [
524584 new Ip (ranges: ['private ' ]),
525585 [
586+ 'networks ' => [
587+ '* ' => ['any ' ],
588+ 'any ' => ['0.0.0.0/0 ' , '::/0 ' ],
589+ 'private ' => ['10.0.0.0/8 ' , '172.16.0.0/12 ' , '192.168.0.0/16 ' , 'fd00::/8 ' ],
590+ 'multicast ' => ['224.0.0.0/4 ' , 'ff00::/8 ' ],
591+ 'linklocal ' => ['169.254.0.0/16 ' , 'fe80::/10 ' ],
592+ 'localhost ' => ['127.0.0.0/8 ' , '::1 ' ],
593+ 'documentation ' => ['192.0.2.0/24 ' , '198.51.100.0/24 ' , '203.0.113.0/24 ' , '2001:db8::/32 ' ],
594+ 'system ' => ['multicast ' , 'linklocal ' , 'localhost ' , 'documentation ' ],
595+ ],
526596 'allowIpv4 ' => true ,
527597 'allowIpv6 ' => true ,
528598 'allowSubnet ' => false ,
0 commit comments