feat(ipintelligence): add canonical RDAP CIDR coverage and derive CIDRs from IPv4 start/end ranges
This commit is contained in:
@@ -77,6 +77,7 @@ console.log(intel);
|
||||
// registrantOrg: 'Google LLC',
|
||||
// registrantCountry: 'United States',
|
||||
// networkRange: '8.8.8.0/24',
|
||||
// networkCidrs: ['8.8.8.0/24'],
|
||||
// abuseContact: null,
|
||||
// country: null,
|
||||
// countryCode: 'US',
|
||||
@@ -109,7 +110,8 @@ interface IIpIntelligenceResult {
|
||||
// Registration (RDAP)
|
||||
registrantOrg: string | null;
|
||||
registrantCountry: string | null;
|
||||
networkRange: string | null; // CIDR or range
|
||||
networkRange: string | null; // primary CIDR, or legacy start-end range when multiple CIDRs are needed
|
||||
networkCidrs: string[] | null; // canonical CIDR coverage for the RDAP network when available
|
||||
abuseContact: string | null; // abuse email from RDAP
|
||||
|
||||
// Geolocation (MaxMind GeoLite2)
|
||||
|
||||
Reference in New Issue
Block a user