{"id":17817078,"url":"https://github.com/gnarea/auth0-firehol-ipset","last_synced_at":"2025-03-18T03:31:14.642Z","repository":{"id":95668288,"uuid":"95915383","full_name":"gnarea/auth0-firehol-ipset","owner":"gnarea","description":"Service to look up IP addresses in a predetermined subset of IP Lists by the FireHOL team","archived":true,"fork":false,"pushed_at":"2017-07-03T01:19:18.000Z","size":15,"stargazers_count":0,"open_issues_count":2,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-03-11T13:11:34.755Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"","language":"JavaScript","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/gnarea.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,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2017-06-30T18:50:18.000Z","updated_at":"2024-09-15T18:39:00.000Z","dependencies_parsed_at":"2023-03-20T12:32:33.103Z","dependency_job_id":null,"html_url":"https://github.com/gnarea/auth0-firehol-ipset","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/gnarea%2Fauth0-firehol-ipset","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/gnarea%2Fauth0-firehol-ipset/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/gnarea%2Fauth0-firehol-ipset/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/gnarea%2Fauth0-firehol-ipset/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/gnarea","download_url":"https://codeload.github.com/gnarea/auth0-firehol-ipset/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":244150398,"owners_count":20406574,"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-10-27T16:40:21.968Z","updated_at":"2025-03-18T03:31:14.637Z","avatar_url":"https://github.com/gnarea.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# auth0-firehol-ipset\n\nService to look up IP addresses in a predetermined subset of [IP Lists by\nthe FireHOL team](http://iplists.firehol.org/).\n\nSee [design document](https://docs.google.com/document/d/1hPa-LLRRdGHXR21bzYocx0FCbNFydkWvHRFZVylSqs0/edit).\n\nTo use this service, it's necessary to have AWS configured locally. If you use\nthe AWS CLI, for example, then that'd be the case.\n\n## Dataset synchronisation\n\nRun `npm run ipset-update`.\n\nIt will push the serialised BST to Amazon S3. To customise the target, set\nthe following environment variables:\n\n- `AUTH0_IPSET_BUCKET` (default: `auth0-firehol-ipset`).\n- `AUTH0_IPSET_OBJECT_KEY` (default: `bst.json`).\n\nThe supported IP lists are available as constants in\n[auth0-ipset-updater.js](src/auth0-ipset-updater.js).\n\n## IP Lookup Service\n\nTo start the web application server, run `npm run ipset-serve`. The server\nwill report when it's ready to start accepting connections -- That is, once\nthe dataset has been retrieved from Amazon S3. \n\nTo look up an IP address, you should make a request to the root of the\napplication with the IP address included in the query string; e.g.:\n\n```bash\ncurl -v 'http://localhost:8080/?ip=37.9.53.1'\n```\n\nThe service shall respond with 204 \"No Content\" if the IP address was found\nin the dataset, or 404 \"Not Found\" otherwise. Additionally, a 400 \"Bad Request\"\nis returned if no IP address is passed.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fgnarea%2Fauth0-firehol-ipset","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fgnarea%2Fauth0-firehol-ipset","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fgnarea%2Fauth0-firehol-ipset/lists"}