{"id":16634463,"url":"https://github.com/qsniyg/simplenetfilt","last_synced_at":"2025-08-09T07:07:27.622Z","repository":{"id":229511982,"uuid":"776281318","full_name":"qsniyg/simplenetfilt","owner":"qsniyg","description":"Simple firewall to block outgoing network access for specified software","archived":false,"fork":false,"pushed_at":"2024-05-14T20:23:11.000Z","size":10,"stargazers_count":14,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-03-18T02:44:23.718Z","etag":null,"topics":["application-firewall","firewall","network","networking","privacy-enhancing-technologies","privacy-protection","privacy-tools","wine"],"latest_commit_sha":null,"homepage":"","language":"C","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"apache-2.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/qsniyg.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE.txt","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-03-23T04:24:32.000Z","updated_at":"2024-08-13T12:47:20.000Z","dependencies_parsed_at":"2024-10-28T11:20:19.409Z","dependency_job_id":null,"html_url":"https://github.com/qsniyg/simplenetfilt","commit_stats":null,"previous_names":["qsniyg/simplenetfilt"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/qsniyg%2Fsimplenetfilt","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/qsniyg%2Fsimplenetfilt/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/qsniyg%2Fsimplenetfilt/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/qsniyg%2Fsimplenetfilt/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/qsniyg","download_url":"https://codeload.github.com/qsniyg/simplenetfilt/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":244822677,"owners_count":20516151,"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":["application-firewall","firewall","network","networking","privacy-enhancing-technologies","privacy-protection","privacy-tools","wine"],"created_at":"2024-10-12T05:37:50.566Z","updated_at":"2025-03-21T15:31:32.473Z","avatar_url":"https://github.com/qsniyg.png","language":"C","funding_links":[],"categories":[],"sub_categories":[],"readme":"# simplenetfilt\n\nThis is a simple project to disable outside network access for linux programs (primarily developed for usage with wine). It optionally allows loopback (`localhost` / `127.0.0.1`) and local network access (192.168.\\*.\\*, 10.\\*.\\*.\\*, \\*.local).\n\nThis was created out of a need to run some programs under wine without outside network access. Loopback was needed for some IPC work the programs required. After spending days wrestling with `firejail`, X11, and `iptables`, I gave up and decided to write this.\n\n## Current limitations\n\n * Only outgoing connections are filtered.\n * IPv6 isn't supported. Currently it blocks all outgoing IPv6 connections.\n * Only tested under wine and a few basic programs (curl, ping, firefox). Leaks may exist for other software.\n * No whitelist/blacklist.\n\nPlease open an issue if these limitations cause a problem for you.\n\n## Usage\n\n### Building\n\n```sh\nmkdir build \u0026\u0026 cd build\ncmake ..\nmake\nsudo make install\n```\n\n### Running\n\nUsing the wrapper:\n\n```sh\nsimplenetfilt program [args...]\n```\n\nManual LD_PRELOAD:\n\n```sh\nLD_PRELOAD=libsimplenetfilt.so program [args...]\n```\n\nNote that when using the manual method, if it has been installed to `/usr/local/lib`, you may need to add `/usr/local/lib` to `LD_LIBRARY_PATH`.\n\n### Configuration\n\nThe following environment variables can be configured:\n\n * `SIMPLENETFILT_ALLOW_LOCALHOST` - Allows `localhost` / `127.0.0.1` access. Default: `true`\n * `SIMPLENETFILT_ALLOW_LOCALNET` - Allows local network access. Default: `false`\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fqsniyg%2Fsimplenetfilt","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fqsniyg%2Fsimplenetfilt","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fqsniyg%2Fsimplenetfilt/lists"}