{"id":13775419,"url":"https://github.com/luigirizzo/netmap-libpcap","last_synced_at":"2025-07-19T22:04:51.732Z","repository":{"id":29584933,"uuid":"33124775","full_name":"luigirizzo/netmap-libpcap","owner":"luigirizzo","description":"Automatically exported from code.google.com/p/netmap-libpcap","archived":false,"fork":false,"pushed_at":"2022-05-17T17:54:25.000Z","size":2032,"stargazers_count":78,"open_issues_count":2,"forks_count":22,"subscribers_count":11,"default_branch":"master","last_synced_at":"2025-04-23T10:46:00.868Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"C","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"other","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/luigirizzo.png","metadata":{"files":{"readme":"README","changelog":"CHANGES","contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2015-03-30T13:30:42.000Z","updated_at":"2024-09-28T06:06:21.000Z","dependencies_parsed_at":"2022-09-04T11:01:31.663Z","dependency_job_id":null,"html_url":"https://github.com/luigirizzo/netmap-libpcap","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/luigirizzo/netmap-libpcap","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/luigirizzo%2Fnetmap-libpcap","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/luigirizzo%2Fnetmap-libpcap/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/luigirizzo%2Fnetmap-libpcap/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/luigirizzo%2Fnetmap-libpcap/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/luigirizzo","download_url":"https://codeload.github.com/luigirizzo/netmap-libpcap/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/luigirizzo%2Fnetmap-libpcap/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":266026226,"owners_count":23866031,"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":[],"created_at":"2024-08-03T17:01:38.421Z","updated_at":"2025-07-19T22:04:51.681Z","avatar_url":"https://github.com/luigirizzo.png","language":"C","funding_links":[],"categories":["\u003ca id=\"8bc2e181f74ba67ec93fd2a13d95cc0c\"\u003e\u003c/a\u003elibpcap"],"sub_categories":["\u003ca id=\"b239f12aca7aa942b45836032cbef99a\"\u003e\u003c/a\u003e转换"],"readme":"LIBPCAP 1.x.y\n\nNOTE FOR OVERRIDING LIBRARIES\nUbuntu uses apparmor to control critical system binaries,\npreventing things like overriding the libraries.\nTo use tcpdump with this library\n\n    sudo apt-get install apparmor-utils\n    sudo aa-complain tcpdump\n    \u003cbuild\u003e\n    ln -s ./libpcap.so.1.6.0-PRE-GIT libpcap.so.0.8\n    sudo LD_LIBRARY_PATH=. tcpdump ...\n\n----\nwww.tcpdump.org\n\nPlease send inquiries/comments/reports to:\n\ttcpdump-workers@lists.tcpdump.org\n\nAnonymous Git is available via:\n\tgit clone git://bpf.tcpdump.org/libpcap\n\nPlease submit patches by forking the branch on GitHub at\n\n\thttp://github.com/the-tcpdump-group/libpcap/tree/master\n\nand issuing a pull request.\n\nformerly from \tLawrence Berkeley National Laboratory\n\t\tNetwork Research Group \u003clibpcap@ee.lbl.gov\u003e\n\t\tftp://ftp.ee.lbl.gov/old/libpcap-0.4a7.tar.Z\n\nThis directory contains source code for libpcap, a system-independent\ninterface for user-level packet capture.  libpcap provides a portable\nframework for low-level network monitoring.  Applications include\nnetwork statistics collection, security monitoring, network debugging,\netc.  Since almost every system vendor provides a different interface\nfor packet capture, and since we've developed several tools that\nrequire this functionality, we've created this system-independent API\nto ease in porting and to alleviate the need for several\nsystem-dependent packet capture modules in each application.\n\nFor some platforms there are README.{system} files that discuss issues\nwith the OS's interface for packet capture on those platforms, such as\nhow to enable support for that interface in the OS, if it's not built in\nby default.\n\nThe libpcap interface supports a filtering mechanism based on the\narchitecture in the BSD packet filter.  BPF is described in the 1993\nWinter Usenix paper ``The BSD Packet Filter: A New Architecture for\nUser-level Packet Capture''.  A compressed PostScript version can be\nfound at\n\n\tftp://ftp.ee.lbl.gov/papers/bpf-usenix93.ps.Z\n\nor\n\n\thttp://www.tcpdump.org/papers/bpf-usenix93.ps.Z\n\nand a gzipped version can be found at\n\n\thttp://www.tcpdump.org/papers/bpf-usenix93.ps.gz\n\nA PDF version can be found at\n\n\thttp://www.tcpdump.org/papers/bpf-usenix93.pdf\n\nAlthough most packet capture interfaces support in-kernel filtering,\nlibpcap utilizes in-kernel filtering only for the BPF interface.\nOn systems that don't have BPF, all packets are read into user-space\nand the BPF filters are evaluated in the libpcap library, incurring\nadded overhead (especially, for selective filters).  Ideally, libpcap\nwould translate BPF filters into a filter program that is compatible\nwith the underlying kernel subsystem, but this is not yet implemented.\n\nBPF is standard in 4.4BSD, BSD/OS, NetBSD, FreeBSD, OpenBSD, DragonFly\nBSD, and Mac OS X; an older, modified and undocumented version is\nstandard in AIX.  {DEC OSF/1, Digital UNIX, Tru64 UNIX} uses the\npacketfilter interface but has been extended to accept BPF filters\n(which libpcap utilizes).  Also, you can add BPF filter support to\nUltrix using the kernel source and/or object patches available in:\n\n\thttp://www.tcpdump.org/other/bpfext42.tar.Z\n\nLinux, in the 2.2 kernel and later kernels, has a \"Socket Filter\"\nmechanism that accepts BPF filters; see the README.linux file for\ninformation on configuring that option.\n\nNote to Linux distributions and *BSD systems that include libpcap:\n\nThere's now a rule to make a shared library, which should work on Linux \nand *BSD, among other platforms.\n\nIt sets the soname of the library to \"libpcap.so.1\"; this is what it \nshould be, *NOT* libpcap.so.1.x or libpcap.so.1.x.y or something such as \nthat.\n\nWe've been maintaining binary compatibility between libpcap releases for \nquite a while; there's no reason to tie a binary linked with libpcap to \na particular release of libpcap.\n\nProblems, bugs, questions, desirable enhancements, etc. should be sent\nto the address \"tcpdump-workers@lists.tcpdump.org\".  Bugs, support\nrequests, and feature requests may also be submitted on the GitHub issue\ntracker for libpcap at\n\n\thttps://github.com/the-tcpdump-group/libpcap/issues\n\nSource code contributions, etc. should be sent to the email address\nabove or submitted by forking the branch on GitHub at\n\n\thttp://github.com/the-tcpdump-group/libpcap/tree/master\n\nand issuing a pull request.\n\nCurrent versions can be found at www.tcpdump.org.\n\n - The TCPdump team\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fluigirizzo%2Fnetmap-libpcap","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fluigirizzo%2Fnetmap-libpcap","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fluigirizzo%2Fnetmap-libpcap/lists"}