{"id":22902824,"url":"https://github.com/quackscience/duckdb-extension-pcap","last_synced_at":"2025-04-15T06:05:48.936Z","repository":{"id":266908496,"uuid":"899647776","full_name":"quackscience/duckdb-extension-pcap","owner":"quackscience","description":"DuckDB PCAP Reader Extension made in Rust","archived":false,"fork":false,"pushed_at":"2025-02-26T01:02:09.000Z","size":83,"stargazers_count":9,"open_issues_count":2,"forks_count":2,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-04-15T06:05:41.924Z","etag":null,"topics":["duckdb","duckdb-extension","extension","pcap","rust"],"latest_commit_sha":null,"homepage":"https://duckdb.org/community_extensions/extensions/pcap_reader.html","language":"Rust","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/quackscience.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-12-06T17:49:52.000Z","updated_at":"2025-03-22T10:16:55.000Z","dependencies_parsed_at":"2025-01-10T10:31:06.844Z","dependency_job_id":"e8ef2e05-6429-4c01-8f77-6beb92ee363f","html_url":"https://github.com/quackscience/duckdb-extension-pcap","commit_stats":null,"previous_names":["quackscience/duckdb-extension-pcap"],"tags_count":3,"template":false,"template_full_name":"duckdb/extension-template-rs","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/quackscience%2Fduckdb-extension-pcap","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/quackscience%2Fduckdb-extension-pcap/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/quackscience%2Fduckdb-extension-pcap/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/quackscience%2Fduckdb-extension-pcap/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/quackscience","download_url":"https://codeload.github.com/quackscience/duckdb-extension-pcap/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":249016624,"owners_count":21198833,"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":["duckdb","duckdb-extension","extension","pcap","rust"],"created_at":"2024-12-14T02:19:25.511Z","updated_at":"2025-04-15T06:05:48.923Z","avatar_url":"https://github.com/quackscience.png","language":"Rust","funding_links":[],"categories":[],"sub_categories":[],"readme":"\u003cimg src=\"https://github.com/user-attachments/assets/46a5c546-7e9b-42c7-87f4-bc8defe674e0\" width=250 /\u003e\n\n# DuckDB PCAP Community Extension \nThis experimental rust extension allows reading PCAP files from DuckDB using the [pcap-parser crate](https://crates.io/crates/pcap-parser)\n\n\u003e Experimental: USE AT YOUR OWN RISK!\n\n### 📦 Installation\n```sql\nINSTALL pcap_reader FROM community;\nLOAD pcap_reader;\n```\n\n### Example\n```sql\nD SELECT * FROM pcap_reader('test/test.pcap') LIMIT 3;\n┌─────────────────────┬────────────────┬────────────────┬──────────┬──────────┬──────────┬────────┬───────────────────────────────────────────┐\n│      timestamp      │     src_ip     │     dst_ip     │ src_port │ dst_port │ protocol │ length │                 payload                   │\n│      timestamp      │    varchar     │    varchar     │ int32    │ int32    │ varchar  │ int32  │                 varchar                   │\n├─────────────────────┼────────────────┼────────────────┼──────────┼──────────┼──────────┼────────┼───────────────────────────────────────────┤\n│ 2024-12-06 19:30:2… │ xx.xx.xx.xxx   │ yyy.yyy.yy.yyy │ 64078    │ 5080     │ UDP      │ 756    │ INVITE sip:810442837619024@yyy.yyy.yy.y…  │\n│ 2024-12-06 19:30:2… │ yyy.yyy.yy.yyy │ xx.xx.xx.xxx   │ 5080     │ 64078    │ UDP      │ 360    │ SIP/2.0 100 Trying\\r\\nVia: SIP/2.0/UDP …  │\n│ 2024-12-06 19:30:2… │ yyy.yyy.yy.yyy │ xx.xx.xx.xxx   │ 5080     │ 64078    │ UDP      │ 909    │ SIP/2.0 480 Temporarily Unavailable\\r\\n…  │\n├─────────────────────┴────────────────┴────────────────┴──────────┴──────────┴──────────┴────────┴───────────────────────────────────────────┤\n│ 3 rows                                                                                                                            8 columns │\n└─────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────┘\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fquackscience%2Fduckdb-extension-pcap","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fquackscience%2Fduckdb-extension-pcap","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fquackscience%2Fduckdb-extension-pcap/lists"}