{"id":20482095,"url":"https://github.com/uk0/mix_firewall","last_synced_at":"2026-04-20T14:35:12.922Z","repository":{"id":166040431,"uuid":"641458433","full_name":"uk0/mix_firewall","owner":"uk0","description":"golang 调用 iptables firewall-cmd netsh 工具","archived":false,"fork":false,"pushed_at":"2023-05-16T14:59:20.000Z","size":4,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2026-03-29T21:49:35.380Z","etag":null,"topics":["firewall-cmd","iptables","netsh"],"latest_commit_sha":null,"homepage":"","language":"Go","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/uk0.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":"2023-05-16T14:06:56.000Z","updated_at":"2023-05-16T15:01:01.000Z","dependencies_parsed_at":null,"dependency_job_id":"fbb1c64f-99c4-4623-9629-1891d14b868c","html_url":"https://github.com/uk0/mix_firewall","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/uk0/mix_firewall","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/uk0%2Fmix_firewall","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/uk0%2Fmix_firewall/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/uk0%2Fmix_firewall/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/uk0%2Fmix_firewall/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/uk0","download_url":"https://codeload.github.com/uk0/mix_firewall/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/uk0%2Fmix_firewall/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":32050957,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-04-20T11:35:06.609Z","status":"ssl_error","status_checked_at":"2026-04-20T11:34:48.899Z","response_time":94,"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":["firewall-cmd","iptables","netsh"],"created_at":"2024-11-15T16:11:28.541Z","updated_at":"2026-04-20T14:35:12.902Z","avatar_url":"https://github.com/uk0.png","language":"Go","funding_links":[],"categories":[],"sub_categories":[],"readme":"### mix_firewall\n\n\n\n#### 简易的pcap检测工具\n\n\n#### TODO\n\n* 支持Rego规则\n* 支持多种协议 http tcp udp 的数据包内容检测\n\n\n#### 使用方法\n\n* build and run\n\n\n#### 自己改一下代码才能用\n\n```go\nconst (\n\tpcapDev     = \"en0\"           // 相关设备\n\tpacketLimit = 10              // 触发防火墙规则的数据包数量\n\tcooldown    = time.Second * 5 // 防火墙规则的冷却时间\n)\n```","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fuk0%2Fmix_firewall","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fuk0%2Fmix_firewall","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fuk0%2Fmix_firewall/lists"}