模組:Sensitive IP addresses/list
模組解[開]
你可能想去為呢個Scribunto module開一個解版。 編者可以響呢個模組嘅沙盤 (開 | 鏡)同埋試例 (開)版度試驗佢。 請加個類到個/doc嘅細版度。 呢個模組嘅細版。 |
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 = 'Wikimedia Foundation',
id = 'wmf',
description = '[[維基媒體基金會]]',
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',
},
},
}