Module:Sensitive IP addresses/list/sandbox
Appearance
This is the module sandbox page for Module:Sensitive IP addresses/list (diff). |
This module is subject to page protection. It is a highly visible module in use by a very large number of pages, or is substituted very frequently. Because vandalism or mistakes would affect many pages, and even trivial editing might cause substantial load on the servers, it is protected from editing. |
This Lua module is used in system messages. Changes to it can cause immediate changes to the Wikipedia user interface. To avoid major disruption, any changes should be tested in the module's /sandbox or /testcases subpages, or in your own module sandbox. The tested changes can be added to this page in a single edit. Please discuss changes on the talk page before implementing them. |
This module houses data about sensitive IP ranges used by Module:Sensitive IP addresses.
How to add information
[edit] {
name = 'Entity name', -- required
id = 'entityid', -- required, must be unique
description = 'a description of the entity', -- required
reason = 'political', -- "political" or "technical" -- optional (default "political")
ipv4Ranges = { -- One or more IPv4 CIDR ranges -- optional
'1.2.3.0/24',
'4.5.6.0/24',
},
ipv6Ranges = { -- One or more IPv6 CIDR ranges -- optional
'2001:db8::ff00:0:0/96',
'2001:db8::ff05:0:0/96',
},
notes = 'Notes about the entity or the IP ranges', -- optional
},
Validation errors
[edit]No errors found
return {
--[=[
{
name = 'Entity name', -- required
id = 'entityid', -- required, must be unique
description = 'a description of the entity', -- required
reason = 'political', -- "political" or "technical" -- optional (default "political")
ipv4Ranges = { -- One or more IPv4 CIDR ranges -- optional
'1.2.3.0/24',
'4.5.6.0/24',
},
ipv6Ranges = { -- One or more IPv6 CIDR ranges -- optional
'2001:db8::ff00:0:0/96',
'2001:db8::ff05:0:0/96',
},
notes = 'Notes about the entity or the IP ranges', -- optional
},
--]=]
{
name = 'United States House of Representatives',
id = 'ushr',
description = 'the [[United States House of Representatives]]',
reason = 'political',
ipv4Ranges = {
'143.228.0.0/16',
'143.231.0.0/16',
'137.18.0.0/16',
'12.185.56.0/29',
'12.147.170.144/28',
'74.119.128.0/22',
},
ipv6Ranges = {
'2620:0:e20::/46',
},
},
{
name = 'United States Senate',
id = 'ussenate',
description = 'the [[United States Senate]]',
reason = 'political',
ipv4Ranges = {
'156.33.0.0/16',
},
ipv6Ranges = {
'2620:0:8a0::/48',
'2600:803:618::/48',
},
},
{
name = 'Executive Office of the President of the United States',
id = 'useop',
description = 'the [[Executive Office of the President of the United States]]',
reason = 'political',
ipv4Ranges = {
'165.119.0.0/16',
'198.137.240.0/23',
'204.68.207.0/24',
},
ipv6Ranges = {
'2620:10F:B000::/40',
},
},
{
name = 'United States Department of Justice',
id = 'usdoj',
description = 'the [[United States Department of Justice]]',
reason = 'political',
ipv4Ranges = {
'149.101.0.0/16',
},
ipv6Ranges = {
'2607:f330::/32',
},
},
{
name = 'United States Department of Homeland Security',
id = 'usdhs',
description = 'the [[United States Department of Homeland Security]]',
reason = 'political',
ipv4Ranges = {
'65.165.132.0/24',
'204.248.24.0/24',
'216.81.80.0/20',
},
ipv6Ranges = {
'2600:400::/32',
}
},
{
name = 'Canadian Department of National Defence',
id = 'cdnd',
description = 'the [[Canadian Department of National Defence]]',
reason = 'political',
ipv4Ranges = {
'131.132.0.0/14',
'131.136.0.0/14',
'131.140.0.0/15',
},
notes = 'These ranges include any IP matching 131.{132-141}.*.*',
},
{
name = 'Canadian House of Commons',
id = 'chc',
description = 'the [[Canadian House of Commons]]',
reason = 'political',
ipv4Ranges = {
'192.197.82.0/24',
},
},
{
name = 'Parliament of the United Kingdom',
id = 'ukparliament',
description = 'the [[Parliament of the United Kingdom]]',
reason = 'political',
ipv4Ranges = {
'194.60.0.0/18',
},
},
{
name = 'United States Department of the Navy and United States Marine Corps',
id = 'usnavy',
description = 'the [[United States Department of the Navy]] and the [[United States Marine Corps]]',
reason = 'political',
ipv4Ranges = {
'138.162.0.0/16',
},
},
{
name = 'Wikimedia Foundation',
id = 'wmf',
description = 'the [[Wikimedia Foundation]]',
reason = 'technical',
ipv4Ranges = {
'91.198.174.0/24',
'185.15.56.0/22',
'198.35.26.0/23',
'208.80.152.0/22',
},
ipv6Ranges = {
'2620:0:860::/46',
'2a02:ec80::/32',
},
},
{
name = 'Wiki Education Dashboard',
id = 'wikieducationdashboard',
description = 'dashboard.wikiedu.org OAuth application, maintained by [[m:Wiki Education Foundation|]]',
reason = 'technical',
ipv4Ranges = {
'45.79.101.112/32',
}
},
{
name = 'TEST-NET-1',
id = 'test',
description = 'RFC 5737 reserved test range',
reason = 'technical',
ipv4Ranges = {
'192.0.2.0/24',
},
notes = 'This can be blocked (with no need to notify the WMF) for testing or training purposes.'
}
}