{"id":17454127,"url":"https://github.com/palfrey/ban_allowlist","last_synced_at":"2026-02-03T13:31:33.256Z","repository":{"id":230976250,"uuid":"780628520","full_name":"palfrey/ban_allowlist","owner":"palfrey","description":"Home Assistant plugin to add IP ban whitelisting","archived":false,"fork":false,"pushed_at":"2024-10-04T18:00:36.000Z","size":68,"stargazers_count":9,"open_issues_count":1,"forks_count":1,"subscribers_count":3,"default_branch":"main","last_synced_at":"2025-07-05T05:08:23.206Z","etag":null,"topics":["allowlist","bans","home-assistant","ip"],"latest_commit_sha":null,"homepage":"https://tevps.net/blog/2024/04/04/home-assistant-ip-ban-allow-list-plugin/","language":"Python","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"agpl-3.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/palfrey.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":"2024-04-01T21:34:25.000Z","updated_at":"2025-03-23T15:27:29.000Z","dependencies_parsed_at":"2024-10-20T06:40:47.198Z","dependency_job_id":null,"html_url":"https://github.com/palfrey/ban_allowlist","commit_stats":null,"previous_names":["palfrey/ban_whitelist","palfrey/ban_allowlist"],"tags_count":3,"template":false,"template_full_name":null,"purl":"pkg:github/palfrey/ban_allowlist","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/palfrey%2Fban_allowlist","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/palfrey%2Fban_allowlist/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/palfrey%2Fban_allowlist/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/palfrey%2Fban_allowlist/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/palfrey","download_url":"https://codeload.github.com/palfrey/ban_allowlist/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/palfrey%2Fban_allowlist/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":29046566,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-02-03T10:09:22.136Z","status":"ssl_error","status_checked_at":"2026-02-03T10:09:16.814Z","response_time":96,"last_error":"SSL_connect returned=1 errno=0 peeraddr=140.82.121.6:443 state=error: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"can_crawl_api":true,"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":["allowlist","bans","home-assistant","ip"],"created_at":"2024-10-18T01:14:47.732Z","updated_at":"2026-02-03T13:31:33.234Z","avatar_url":"https://github.com/palfrey.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Home Assistant IP Ban Allowlist plugin\n\nStatus: **GIANT HACK, USE AT YOUR OWN RISK**\n\nHome Assistant has [a very useful IP banning feature](https://www.home-assistant.io/integrations/http/#ip-filtering-and-banning) which is nice for when you've got a private but externally facing instance that you'd like to reduce the odds on getting hacked.\n\nHowever, it's got one little missing feature: IP allowlists. Without this, sometimes you get the problem that your home IP gets banned (because you've got something internal to your house using the external naming), which is a bit frustrating. The position of the core devs appears to be [\"this is a bug with something else that we shouldn't workaround\"](https://github.com/home-assistant/core/pull/52334), but meanwhile we're stuck with the banning happening every so often.\n\nThis integration (well, kinda) fixes this, but does so in the hackiest way possible, by reaching into the HTTP handler code and adding a wrapper around the banning code.\n\nThis does have a decent unit test suite, and is explicitly integration tested against every latest patch version of HA from 2023.8.4 up (i.e. for every `x.y.z` version, we test all values of `x.y` using the latest `z` value), but it's also doing something hacky enough that no guarantees are given. YMMV!\n\n## Config\n\nTo use this, [install with HACS](https://hacs.xyz/) as [a custom repository](https://hacs.xyz/docs/faq/custom_repositories).\n\nThen add to your `configuration.yaml` something like the following:\n```\nban_allowlist:\n  ip_addresses: [\"my.ip.address\", \"another.network.address/24\"]\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fpalfrey%2Fban_allowlist","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fpalfrey%2Fban_allowlist","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fpalfrey%2Fban_allowlist/lists"}