{"id":20440595,"url":"https://github.com/bootbool/simplefirewall","last_synced_at":"2026-05-05T10:32:47.085Z","repository":{"id":236212489,"uuid":"792150025","full_name":"bootbool/simplefirewall","owner":"bootbool","description":"Low level linux firewall, support ip/port whitelist and blacklist.","archived":false,"fork":false,"pushed_at":"2024-09-01T02:42:54.000Z","size":21,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-01-15T20:21:31.181Z","etag":null,"topics":["ebpf","firew","kernel","linux","netfilter"],"latest_commit_sha":null,"homepage":"","language":"C","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/bootbool.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":"2024-04-26T04:39:30.000Z","updated_at":"2024-09-13T16:50:06.000Z","dependencies_parsed_at":null,"dependency_job_id":"384ab4f8-53b9-4d85-9aa5-61ae96bf682e","html_url":"https://github.com/bootbool/simplefirewall","commit_stats":null,"previous_names":["look4better/simplefirewall","foolfoot/simplefirewall","bootbool/simplefirewall"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/bootbool%2Fsimplefirewall","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/bootbool%2Fsimplefirewall/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/bootbool%2Fsimplefirewall/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/bootbool%2Fsimplefirewall/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/bootbool","download_url":"https://codeload.github.com/bootbool/simplefirewall/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":241989857,"owners_count":20053802,"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":["ebpf","firew","kernel","linux","netfilter"],"created_at":"2024-11-15T09:25:15.902Z","updated_at":"2026-05-05T10:32:42.047Z","avatar_url":"https://github.com/bootbool.png","language":"C","funding_links":[],"categories":[],"sub_categories":[],"readme":"# simplefirewall\n\n# Overview\nA simple firewall aiming to filter network packages, impletemented by hooking netfilter mechanism and loaded by kernel module and ebpf.  You can choose one running mechanism depending on your run kernel version. Reconmmend kernel module for low version, versus ebpf for high kernel version.\n\n# Features\n## IP filter\n- IP blacklist\n- IP whitelist\n- CIDR format support\n- Single IP address support\n\n## Port filter\n- Port blacklist\n- Port whitelist\n- Port range support, e.g.[4-55]\n- Single port support\n\n## Flexible configure\n- Runtime configure firewall by writing to file under /proc/net/simplefirwall/\n- File names including ip_blacklist, ip_whitelist, port_whitelist, port_blacklist, as the function hinted by the file name.\n- Runtime switch to disable firewall by commit \"echo 0 \u003e /proc/net/simplefirwall/enable\"\n\n## Log\n- Realtime filter action is displayed by /proc/net/simplefirewall/log file\n\n# Principle\n## Kernel module\n### hook location\nFirewall filter is hooked in Netfilter **INPUT** chain\nIP address is organized under a radix tree, port number is mapped into a bitmap structure.\n\n## Ebpf\ntodo\n\n\n\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fbootbool%2Fsimplefirewall","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fbootbool%2Fsimplefirewall","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fbootbool%2Fsimplefirewall/lists"}