{"id":50138882,"url":"https://github.com/pgaskin/go-pcapfilter","last_synced_at":"2026-05-24T00:03:35.126Z","repository":{"id":359724986,"uuid":"1247216724","full_name":"pgaskin/go-pcapfilter","owner":"pgaskin","description":"Compile tcpdump-style filters in pure Go.","archived":false,"fork":false,"pushed_at":"2026-05-23T05:22:40.000Z","size":409,"stargazers_count":1,"open_issues_count":0,"forks_count":0,"subscribers_count":0,"default_branch":"master","last_synced_at":"2026-05-23T07:23:24.731Z","etag":null,"topics":["bpf","pcap","tcpdump","wasm","wasm2go"],"latest_commit_sha":null,"homepage":"","language":"Go","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"bsd-3-clause","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/pgaskin.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":"2026-05-23T03:17:43.000Z","updated_at":"2026-05-23T05:22:44.000Z","dependencies_parsed_at":null,"dependency_job_id":null,"html_url":"https://github.com/pgaskin/go-pcapfilter","commit_stats":null,"previous_names":["pgaskin/go-pcapfilter"],"tags_count":1,"template":false,"template_full_name":null,"purl":"pkg:github/pgaskin/go-pcapfilter","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/pgaskin%2Fgo-pcapfilter","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/pgaskin%2Fgo-pcapfilter/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/pgaskin%2Fgo-pcapfilter/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/pgaskin%2Fgo-pcapfilter/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/pgaskin","download_url":"https://codeload.github.com/pgaskin/go-pcapfilter/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/pgaskin%2Fgo-pcapfilter/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":33416316,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-05-23T22:14:44.296Z","status":"ssl_error","status_checked_at":"2026-05-23T22:14:43.778Z","response_time":53,"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":["bpf","pcap","tcpdump","wasm","wasm2go"],"created_at":"2026-05-24T00:03:31.100Z","updated_at":"2026-05-24T00:03:35.102Z","avatar_url":"https://github.com/pgaskin.png","language":"Go","funding_links":[],"categories":[],"sub_categories":[],"readme":"# go-pcapfilter\n\n[![Go Reference](https://pkg.go.dev/badge/github.com/pgaskin/go-pcapfilter.svg)](https://pkg.go.dev/github.com/pgaskin/go-pcapfilter)\n[![Test](https://github.com/pgaskin/go-pcapfilter/actions/workflows/test.yml/badge.svg)](https://github.com/pgaskin/go-pcapfilter/actions/workflows/test.yml)\n[![Attest libpcap build](https://github.com/pgaskin/go-pcapfilter/actions/workflows/attest.yml/badge.svg)](https://github.com/pgaskin/go-pcapfilter/actions/workflows/attest.yml)\n\nCompile tcpdump-style filters in pure Go.\n\nThis library wraps a WebAssembly build of [pcap_compile](https://www.tcpdump.org/manpages/pcap_compile.3pcap.html) from [libpcap](https://github.com/the-tcpdump-group/libpcap) transpiled to Go using [wasm2go](https://github.com/ncruces/wasm2go).\n\nIt can be used with libraries like [github.com/gopacket/gopacket/afpacket](https://github.com/google/gopacket/tree/master/afpacket) to implement CGO-less packet capture.\n\nA command-line interface is available.\n\nThe wasm2go blob is fully [reproducible](./src/Dockerfile) and [verified](https://github.com/pgaskin/go-pcapfilter/attestations).\n\nTo have working IDE integration while working on the bindings, use `bear -- make -C src distclean download all CC=/path/to/wasi-sdk/bin/wasm32-wasip1-clang WASM_OPT=/path/to/binaryen/bin/wasm-opt` to download the libpcap source and generate the `compile_commands.json`.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fpgaskin%2Fgo-pcapfilter","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fpgaskin%2Fgo-pcapfilter","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fpgaskin%2Fgo-pcapfilter/lists"}