{"id":13775443,"url":"https://github.com/jmmk/rustcap","last_synced_at":"2025-05-11T07:32:37.734Z","repository":{"id":57653799,"uuid":"156154967","full_name":"jmmk/rustcap","owner":"jmmk","description":"Rust wrapper for libpcap","archived":true,"fork":false,"pushed_at":"2023-08-19T02:12:31.000Z","size":41,"stargazers_count":9,"open_issues_count":2,"forks_count":2,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-03-30T09:02:26.910Z","etag":null,"topics":["libpcap","packet","rust","sniffing"],"latest_commit_sha":null,"homepage":"","language":"Rust","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/jmmk.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE-MIT","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null}},"created_at":"2018-11-05T03:23:31.000Z","updated_at":"2023-08-19T02:12:56.000Z","dependencies_parsed_at":"2024-01-07T01:18:21.787Z","dependency_job_id":"98e7684d-4717-48f7-94d4-6bcb79b250df","html_url":"https://github.com/jmmk/rustcap","commit_stats":{"total_commits":18,"total_committers":2,"mean_commits":9.0,"dds":0.05555555555555558,"last_synced_commit":"91f132823775c8039c0ffb867400bd96e3143f66"},"previous_names":[],"tags_count":5,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jmmk%2Frustcap","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jmmk%2Frustcap/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jmmk%2Frustcap/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jmmk%2Frustcap/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/jmmk","download_url":"https://codeload.github.com/jmmk/rustcap/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":252561063,"owners_count":21768063,"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":["libpcap","packet","rust","sniffing"],"created_at":"2024-08-03T17:01:38.806Z","updated_at":"2025-05-11T07:32:35.843Z","avatar_url":"https://github.com/jmmk.png","language":"Rust","funding_links":[],"categories":["\u003ca id=\"8bc2e181f74ba67ec93fd2a13d95cc0c\"\u003e\u003c/a\u003elibpcap"],"sub_categories":["\u003ca id=\"b239f12aca7aa942b45836032cbef99a\"\u003e\u003c/a\u003e转换"],"readme":"# Archived\n\nThis library is very minimal and is not maintained, so I have archived it. I recommend looking at alternatives like [libpnet](https://github.com/libpnet/libpnet) and [rust-pcap/pcap](https://github.com/rust-pcap/pcap).\n\n# Rustcap\nRust wrapper for libpcap\n\n[![*nix build status](https://travis-ci.org/jmmk/rustcap.svg?branch=master)](https://travis-ci.org/jmmk/rustcap)\n[![Windows build status](https://ci.appveyor.com/api/projects/status/6rf0ygpcww6fegt2/branch/master?svg=true)](https://ci.appveyor.com/project/jmmk/rustcap/branch/master)\n[![](http://meritbadge.herokuapp.com/rustcap)](https://crates.io/crates/rustcap)\n\n### Developing\n\n#### Windows\nBy default, rustcap will link with library files from the [WinPcap SDK](https://www.winpcap.org/devel.htm). These files (for both MSVC and MinGW) are included in this repo under the terms of the WinPcap License\n\nMSVC:\n- Packet.lib\n- wpcap.lib\n\nMinGW:\n- libpacket.a\n- libwpcap.a\n\nTo link with a different version of WinPcap such as [Npcap](https://nmap.org/npcap/), set env var... TODO.\nNote that Npcap is subject to a different License; see the documentation for details.\n\n#### *nix\nBy default, rustcap will link with libpcap found by `pkg-config` or `pcap-config` (usually `/usr/lib/libpcap.dylib` or `/usr/lib/libpcap.so`).\nTo change this, set env var... TODO\n\n\n### Runtime\n\n#### Windows\nAt runtime, rustcap will expect Packet.dll and wpcap.dll to be available in the default DLL search paths (see [https://msdn.microsoft.com/en-us/library/7d83bc18.aspx]()). \nThis means in order to run tests and for any end user applications using this code, winpcap and its driver will need to be installed\n\nYou can download and install from the following sources:\n\n- [Winpcap](https://www.winpcap.org/install/default.htm)\n- [Npcap](https://nmap.org/npcap/) - Look for the link to the installer. Install in Winpcap compatibility mode\n- [Winpcap updated to NDIS 6](http://www.win10pcap.org/)\n\nEach download is subject to a different License; see the documentation for details.\n\n#### *nix\nlibpcap will need to be available on the library path\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fjmmk%2Frustcap","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fjmmk%2Frustcap","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fjmmk%2Frustcap/lists"}