Proxy iplocate IP databases via the github remote #9
Reference in New Issue
Block a user
Delete Branch "benvin/add-iplocate-remote"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Why
The tomswallapi ASN expander needs iplocate's ip-to-asn database (CIDR → ASN) to expand ASN address groups into prefixes, pulled through artifactapi.
Changes
github.comgeneric remote foriplocate/ip-address-databasesunderip-to-asn/andip-to-country/(reusing the existing remote rather than adding a new one)./raw/path 302-redirects tomedia.githubusercontent.com; the github remote already follows github's cross-host redirects (as for release assets), so the raw path returns the real bytes. Verified:github.com/iplocate/ip-address-databases/raw/main/ip-to-asn/ip-to-asn.csv.zip→ 12MB zip (raw.githubusercontent.com would return only the LFS pointer).Access
https://artifactapi.k8s.syd1.au.unkin.net/api/v2/remotes/github/files/iplocate/ip-address-databases/raw/main/ip-to-asn/ip-to-asn.csv.zip64880870e7to36e23e9a2bAdd iplocate IP database remoteto Proxy iplocate IP databases via the github remote