{"id":23165961,"url":"https://github.com/ndejong/cymru-lookup","last_synced_at":"2025-04-04T21:28:10.682Z","repository":{"id":143026035,"uuid":"211445246","full_name":"ndejong/cymru-lookup","owner":"ndejong","description":"A bash-wrapper tool around the GNU version of netcat and the ip-to-asn lookup service provided by cymru","archived":false,"fork":false,"pushed_at":"2019-09-28T05:03:29.000Z","size":3,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":3,"default_branch":"master","last_synced_at":"2025-02-10T06:14:14.881Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"Shell","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"bsd-2-clause","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/ndejong.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2019-09-28T04:44:47.000Z","updated_at":"2019-09-28T05:03:31.000Z","dependencies_parsed_at":"2023-08-31T20:19:05.345Z","dependency_job_id":null,"html_url":"https://github.com/ndejong/cymru-lookup","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ndejong%2Fcymru-lookup","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ndejong%2Fcymru-lookup/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ndejong%2Fcymru-lookup/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ndejong%2Fcymru-lookup/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/ndejong","download_url":"https://codeload.github.com/ndejong/cymru-lookup/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":247251452,"owners_count":20908506,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":[],"created_at":"2024-12-18T01:30:48.756Z","updated_at":"2025-04-04T21:28:10.662Z","avatar_url":"https://github.com/ndejong.png","language":"Shell","funding_links":[],"categories":[],"sub_categories":[],"readme":"# cymru-lookup\n\nThe `cymru-lookup` tool is a bash-wrapper tool around the [GNU version of netcat](http://netcat.sourceforge.net/)\nand the ip-to-asn lookup service provided by cymru, described here\n - https://www.team-cymru.com/IP-ASN-mapping.html#whois\n\nThe last octet of (IPv4) input addresses is stripped and thus grouped into their \nrespective /24 netblock, this is bacause the smallest possible public netblock \nvia external-BGP is a /24.\n\n\n## Project\n* [github.com/ndejong/cymru-lookup](https://github.com/ndejong/cymru-lookup)\n\n## Usage\n```\nUsage: cymru-lookup \u003cfilename\u003e\n \u003cfilename\u003e must be a flat file containing ip-addresses only.\n Duplicate address values are counted and shown in the cymru output\n comment column shown as the 'addr-count:' value.\n```\n\n## Example\n```\n$ ./cymru-lookup ipv4-example-list.txt \nOkay - input file: ipv4-example-list.txt\nOkay - output file: ipv4-example-list.txt-cymru.txt\n\n$ cat ipv4-example-list.txt-cymru.txt \nBulk mode; whois.cymru.com [2019-09-28 04:58:45 +0000]\n19281   | 9.9.9.0          | hit-count:1     | QUAD9-AS-1 - Quad9, US\n15169   | 8.8.8.0          | hit-count:1     | GOOGLE - Google LLC, US\n13335   | 1.1.1.0          | hit-count:1     | CLOUDFLARENET - Cloudflare, Inc., US\n```\n\n## Authors\n[Nicholas de Jong](https://nicholasdejong.com)\n\n## License\nBSD-2-Clause - see LICENSE file for full details.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fndejong%2Fcymru-lookup","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fndejong%2Fcymru-lookup","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fndejong%2Fcymru-lookup/lists"}