{"id":48767363,"url":"https://github.com/james-parky/fwsim","last_synced_at":"2026-04-13T08:33:45.528Z","repository":{"id":331142071,"uuid":"1124340440","full_name":"james-parky/fwsim","owner":"james-parky","description":"A command line tool for simulating a packet passing through a firewall.","archived":false,"fork":false,"pushed_at":"2026-01-01T17:36:23.000Z","size":27,"stargazers_count":0,"open_issues_count":2,"forks_count":0,"subscribers_count":0,"default_branch":"main","last_synced_at":"2026-01-03T16:14:02.569Z","etag":null,"topics":["firewall","nft","pcap","python","tcpdump","tshark"],"latest_commit_sha":null,"homepage":"","language":"Python","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"gpl-3.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/james-parky.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,"zenodo":null,"notice":null,"maintainers":null,"copyright":null,"agents":null,"dco":null,"cla":null}},"created_at":"2025-12-28T20:56:17.000Z","updated_at":"2026-01-01T17:36:26.000Z","dependencies_parsed_at":null,"dependency_job_id":null,"html_url":"https://github.com/james-parky/fwsim","commit_stats":null,"previous_names":["james-parky/fwsim"],"tags_count":null,"template":false,"template_full_name":null,"purl":"pkg:github/james-parky/fwsim","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/james-parky%2Ffwsim","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/james-parky%2Ffwsim/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/james-parky%2Ffwsim/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/james-parky%2Ffwsim/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/james-parky","download_url":"https://codeload.github.com/james-parky/fwsim/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/james-parky%2Ffwsim/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":31746103,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-04-13T06:26:45.479Z","status":"ssl_error","status_checked_at":"2026-04-13T06:26:44.645Z","response_time":93,"last_error":"SSL_read: 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":["firewall","nft","pcap","python","tcpdump","tshark"],"created_at":"2026-04-13T08:33:44.914Z","updated_at":"2026-04-13T08:33:45.517Z","avatar_url":"https://github.com/james-parky.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"# `fwsim`\n\nA command line tool for simulating a packet passing through a firewall.\n\n---\n\n\n\n\n## TODO\n\n- [ ] Parse NFT rules.\n- [ ] Collect packets from `tshark` output in JSON.\n- [ ] Take command line arguments for NFT ruleset file and packet file.\n\n### Further Work\n\n- [ ] Take packets from a JSON stream.\n- [ ] Handle `tcpdump`, non-JSON `tshark`, and `pcap` outputs.\n- [ ] Handle parsing FaC file formats other than NFT.\n\n\n### Links\n\n- [NFT](https://wiki.nftables.org/wiki-nftables/index.php/Main_Page)\n- [Tshark Packet Format](https://tshark.dev/formats/)\n- [`argparse`](https://docs.python.org/3/library/argparse.html)\n- [`json`](https://docs.python.org/3/library/json.html)\n- [`black`](https://pypi.org/project/black/)\n- [`abc`](https://docs.python.org/3/library/abc.html)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fjames-parky%2Ffwsim","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fjames-parky%2Ffwsim","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fjames-parky%2Ffwsim/lists"}