{"id":13826847,"url":"https://github.com/nbareil/net2pcap","last_synced_at":"2026-01-10T21:04:51.427Z","repository":{"id":142114402,"uuid":"2275430","full_name":"nbareil/net2pcap","owner":"nbareil","description":"Net2PCAP is a simple network-to-pcap capture file for Linux. Its goal is to be as simple as possible to be used in hostile environments ","archived":false,"fork":false,"pushed_at":"2013-07-17T12:14:05.000Z","size":161,"stargazers_count":38,"open_issues_count":4,"forks_count":20,"subscribers_count":4,"default_branch":"master","last_synced_at":"2024-08-05T09:15:42.248Z","etag":null,"topics":["fpc","network","pcap","tcpdump"],"latest_commit_sha":null,"homepage":"","language":"C","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/nbareil.png","metadata":{"files":{"readme":"README","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}},"created_at":"2011-08-26T17:18:01.000Z","updated_at":"2023-11-15T01:52:34.000Z","dependencies_parsed_at":"2023-03-13T10:19:41.846Z","dependency_job_id":null,"html_url":"https://github.com/nbareil/net2pcap","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/nbareil%2Fnet2pcap","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/nbareil%2Fnet2pcap/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/nbareil%2Fnet2pcap/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/nbareil%2Fnet2pcap/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/nbareil","download_url":"https://codeload.github.com/nbareil/net2pcap/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":225480961,"owners_count":17481127,"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":["fpc","network","pcap","tcpdump"],"created_at":"2024-08-04T09:01:45.372Z","updated_at":"2024-11-20T06:30:23.867Z","avatar_url":"https://github.com/nbareil.png","language":"C","funding_links":[],"categories":["\u003ca id=\"7bf0f5839fb2827fdc1b93ae6ac7f53d\"\u003e\u003c/a\u003e工具"],"sub_categories":["\u003ca id=\"d7485f829bd85cd784ff582cbddc8624\"\u003e\u003c/a\u003e捕获\u0026\u0026Capture"],"readme":"Net2PCAP is a simple network to pcap capture file for Linux. Its goal\nis to be as simple as possible (hence auditable) so that good\nconfidence can be reached, for it to be used in hostile\nenvironments.\n\nIt does not require any library except a bit of libc. It does not do\nanything except dumping network traffic from an interface to a pcap\nfile. It is less than 600 lines of C. Please audit it !\n\nComparison with tcpdump\n\n  * Yes, tcpdump -w capfile can do almost the same. But the goal of\n    tcpdump is network debugging (thus, lot of options, packet\n    disassembly, etc.). The goal of net2pcap is to capture traffic into\n    a file in hostile environments (honeypots, internet, etc.) for\n    future analysis.\n  * net2pcap can run in daemon mode\n  * net2pcap can reopen its capture file (SIGHUP) (used for capture file rotation)\n  * net2pcap does not do anything else than reading from network and dumping to file\n  * net2pcap does not use libpcap\n  * net2pcap drops its privileges\n  * net2pcap sandboxes itself (if libseccomp is available)\n  * net2pcap runs only on Linux\n  * net2pcap is auditable (less than 600 lines)\n\nOriginal code from Philippe Biondi, bugs added by Nicolas Bareil :)\n\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fnbareil%2Fnet2pcap","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fnbareil%2Fnet2pcap","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fnbareil%2Fnet2pcap/lists"}