{"id":17572433,"url":"https://github.com/n0str/asn-subnet-parser","last_synced_at":"2025-03-29T15:12:56.856Z","repository":{"id":50204502,"uuid":"143771792","full_name":"n0str/asn-subnet-parser","owner":"n0str","description":"Just a draft.","archived":false,"fork":false,"pushed_at":"2022-12-08T02:20:50.000Z","size":6,"stargazers_count":0,"open_issues_count":2,"forks_count":0,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-02-04T15:49:53.822Z","etag":null,"topics":["asn","asn-cidr","networking","parser","subnet-summarization"],"latest_commit_sha":null,"homepage":null,"language":"Python","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/n0str.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2018-08-06T19:11:38.000Z","updated_at":"2018-08-06T19:25:17.000Z","dependencies_parsed_at":"2023-01-24T05:30:29.752Z","dependency_job_id":null,"html_url":"https://github.com/n0str/asn-subnet-parser","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/n0str%2Fasn-subnet-parser","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/n0str%2Fasn-subnet-parser/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/n0str%2Fasn-subnet-parser/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/n0str%2Fasn-subnet-parser/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/n0str","download_url":"https://codeload.github.com/n0str/asn-subnet-parser/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":246200323,"owners_count":20739566,"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":["asn","asn-cidr","networking","parser","subnet-summarization"],"created_at":"2024-10-21T19:04:42.904Z","updated_at":"2025-03-29T15:12:56.833Z","avatar_url":"https://github.com/n0str.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"# asn-subnet-parser\nJust a draft.\n\nAllows getting summarized networks list for chosen ASN. Can be used to implement whitelist/blacklist for a firewall.\n\n## Usage\n\n\u003e `python main.py --help`\n\n```usage: main.py [-h] --asn ASN [--output OUTPUT]\n\noptional arguments:\n  -h, --help       show this help message and exit\n  --asn ASN        Autonomous System Number\n  --output OUTPUT  File to save summarized networks\n  ```\n  \n\u003e `python main.py --asn 20473 --output networks.txt`\n\n\u003e `head networks.txt`\n\n```\n4.79.145.0/24\n5.35.192.0/21\n8.2.120.0/23\n8.2.122.0/24\n8.3.5.0/24\n8.3.6.0/23\n8.3.28.0/23\n8.6.2.0/23\n8.6.8.0/23\n8.6.15.0/24\n```\n\n## Installation and requirements\n\n1. Python 3.6 (or remove f-string instead)\n2. `pip install -r requirements.txt` (requests, netaddr and beautifulsoup4)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fn0str%2Fasn-subnet-parser","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fn0str%2Fasn-subnet-parser","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fn0str%2Fasn-subnet-parser/lists"}