{ "info": { "author": "Adam Karpierz", "author_email": "adam@karpierz.net", "bugtrack_url": null, "classifiers": [ "Development Status :: 4 - Beta", "Intended Audience :: Developers", "License :: OSI Approved :: BSD License", "Natural Language :: Polish", "Operating System :: OS Independent", "Programming Language :: Python", "Programming Language :: Python :: 2", "Programming Language :: Python :: 2.7", "Programming Language :: Python :: 3", "Programming Language :: Python :: 3.4", "Programming Language :: Python :: 3.5", "Programming Language :: Python :: 3.6", "Programming Language :: Python :: 3.7", "Programming Language :: Python :: Implementation :: CPython", "Programming Language :: Python :: Implementation :: IronPython", "Programming Language :: Python :: Implementation :: Jython", "Programming Language :: Python :: Implementation :: PyPy", "Programming Language :: Python :: Implementation :: Stackless", "Topic :: Software Development :: Libraries :: Python Modules" ], "description": "libpcap\n=======\n\nPython binding for the *libpcap* C library.\n\nOverview\n========\n\n| Python *libpcap* module is a low-level binding for *libpcap* C library.\n| It is an effort to allow python programs full access to the API provided\n by the well known *libpcap* Unix C library and by its implementations\n provided under Win32 systems by such packet capture systems as:\n `WinPcap `__,\n `Npcap `__\n|\n| *libpcap* is a lightweight Python package, based on the *ctypes* library.\n| It is fully compliant implementation of the original C *libpcap* from\n 1.0.0 up to 1.9.0 API and the *WinPcap*'s 4.1.3 libpcap (1.0.0rel0b) API\n by implementing whole its functionality in a clean Python instead of C.\n|\n| Useful *libpcap* API documentation can be found at:\n\n | `Main pcap man page `__,\n | `(MORE pcap man pages) `__\n\nAbout original LIBPCAP:\n-----------------------\n\n| LIBPCAP 1.x.y\n| Now maintained by \"The Tcpdump Group\":\n\n https://www.tcpdump.org\n\nAnonymous Git is available via:\n\n git clone git://bpf.tcpdump.org/libpcap\n\nformerly from:\n\n | Lawrence Berkeley National Laboratory\n | Network Research Group \n | ftp://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 ftp://ftp.ee.lbl.gov/papers/bpf-usenix93.ps.Z\n\nor:\n\n https://www.tcpdump.org/papers/bpf-usenix93.ps.Z\n\nand a gzipped version can be found at:\n\n https://www.tcpdump.org/papers/bpf-usenix93.ps.gz\n\nA PDF version can be found at:\n\n https://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 https://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\nCurrent versions can be found at: https://www.tcpdump.org\n\n\\- The TCPdump group\n\nRequirements\n============\n\n- | It is fully independent package.\n | All necessary things are installed during the normal installation process.\n- ATTENTION: currently works and tested only for Windows.\n\nInstallation\n============\n\nPrerequisites:\n\n+ Python 2.7 or Python 3.4 or later\n\n * http://www.python.org/\n * 2.7 and 3.7 with LIBPCAP 1.8.1 are primary test environments.\n\n+ pip and setuptools\n\n * http://pypi.org/project/pip/\n * http://pypi.org/project/setuptools/\n\nTo install run::\n\n python -m pip install --upgrade libpcap\n\nDevelopment\n===========\n\nVisit `development page `__\n\nInstallation from sources:\n\nClone the `sources `__ and run::\n\n python -m pip install ./libpcap\n\nor on development mode::\n\n python -m pip install --editable ./libpcap\n\nPrerequisites:\n\n+ Development is strictly based on *tox*. To install it run::\n\n python -m pip install tox\n\nLicense\n=======\n\n | Copyright (c) 2016-2019, Adam Karpierz\n |\n | Licensed under the BSD license\n | http://opensource.org/licenses/BSD-3-Clause\n | Please refer to the LICENSE file.\n\nAuthors\n=======\n\n* Adam Karpierz \n\nChangelog\n=========\n\n1.10.0b5 (2019-09-16)\n---------------------\n- Upgrade to the latest libpcap API 1.10.0\n- Upgrade npcap's libpcap dll-s to the 0.996\n- Minor setup fixes and improvements.\n\n1.10.0b3 (2019-02-15)\n---------------------\n- Upgrade to the latest libpcap API 1.10.0\n- Upgrade npcap's libpcap dll-s to the 0.99rc9\n- Update required setuptools version.\n- Minor setup improvements.\n- Updates of tests.\n\n1.10.0b1 (2018-11-08)\n---------------------\n- Upgrade to the latest libpcap API 1.10.0\n- Upgrade npcap's libpcap dll-s to the 0.99rc7\n- Update required setuptools version.\n\n1.0.0b14 (2018-05-09)\n---------------------\n- Update required setuptools version.\n\n1.0.0b13 (2018-05-09)\n---------------------\n- Upgrade npcap's libpcap dll-s to the 0.99rc5\n\n1.0.0b12 (2018-05-08)\n---------------------\n- Upgrade to the latest libpcap.\n\n1.0.0b10 (2018-03-31)\n---------------------\n- Upgrade to the latest libpcap.\n- Improve and simplify setup and packaging.\n- Improve and update tests.\n\n1.0.0b9 (2018-02-26)\n--------------------\n- Improve and simplify setup and packaging.\n\n1.0.0b8 (2018-02-25)\n--------------------\n- Upgrade to the latest libpcap API 1.9.0\n- Setup improvement.\n\n1.0.0b7 (2017-12-18)\n--------------------\n- Fix the error of platform detecting (thanks to Dan ???).\n\n1.0.0b6 (2017-10-11)\n--------------------\n- Upgrade to the libpcap API 1.9.0\n\n1.0.0b5 (2017-10-08)\n--------------------\n- Upgrade to the libpcap API 1.8.1\n- Add support for libpcap from `Npcap `__.\n\n1.0.0b4 (2017-10-04)\n--------------------\n- Fourth beta release.\n\n1.0.0b3 (2017-08-28)\n--------------------\n- Third beta release.\n\n1.0.0b2 (2017-08-28)\n--------------------\n- Second beta release.\n\n1.0.0b1 (2017-08-27)\n--------------------\n- First beta release.\n\n1.0.0a16 (2017-08-26)\n---------------------\n- Next alpha release.\n\n1.0.0a0 (2017-06-08)\n--------------------\n- First alpha release.\n\n0.0.1 (2016-09-23)\n------------------\n- Initial release.", "description_content_type": "", "docs_url": null, "download_url": "http://pypi.org/project/libpcap/", "downloads": { "last_day": -1, "last_month": -1, "last_week": -1 }, "home_page": "http://pypi.org/project/libpcap/", "keywords": "pcap,libpcap,wpcap,npcap", "license": "BSD license ; http://opensource.org/licenses/BSD-3-Clause", "maintainer": "Adam Karpierz", "maintainer_email": "adam@karpierz.net", "name": "libpcap", "package_url": "https://pypi.org/project/libpcap/", "platform": "any", "project_url": "https://pypi.org/project/libpcap/", "project_urls": { "Download": "http://pypi.org/project/libpcap/", "Homepage": "http://pypi.org/project/libpcap/" }, "release_url": "https://pypi.org/project/libpcap/1.10.0b5/", "requires_dist": null, "requires_python": ">=2.7.0,!=3.0.*,!=3.1.*,!=3.2.*,!=3.3.*", "summary": "Python binding for the libpcap C library (ctypes/cffi-based libpcap)", "version": "1.10.0b5" }, "last_serial": 5853200, "releases": { "1.10.0b1": [ { "comment_text": "", "digests": { "md5": "d7db51f893b136a3fc300d6dd943a321", "sha256": "a1e3b98a74e71a99da7255c5e706c01508b1d197677eb91ea841c93522697212" }, "downloads": -1, "filename": "libpcap-1.10.0b1.zip", "has_sig": false, "md5_digest": "d7db51f893b136a3fc300d6dd943a321", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 1035689, "upload_time": "2018-11-09T09:06:40", "url": "https://files.pythonhosted.org/packages/4b/5a/6c79846ec384e9b5ac62d1495c24510c54d7d08ea0ad1d68ba98ded546ec/libpcap-1.10.0b1.zip" } ], "1.10.0b3": [ { "comment_text": "", "digests": { "md5": "12e90133691aac6816b41810d64d48c0", "sha256": "45ac7aaf6bb9dc9f61d0e268343cc314ba435029d5d8bca0f47ea8872694506a" }, "downloads": -1, "filename": "libpcap-1.10.0b3.zip", "has_sig": false, "md5_digest": "12e90133691aac6816b41810d64d48c0", "packagetype": "sdist", "python_version": "source", "requires_python": ">=2.7.0,!=3.0.*,!=3.1.*,!=3.2.*,!=3.3.*", "size": 1155148, "upload_time": "2019-02-16T01:41:28", "url": "https://files.pythonhosted.org/packages/a0/2a/6a2bb2b591d00ef48285a2d05eca8895962b6ab01c66dba37162ddf4edb5/libpcap-1.10.0b3.zip" } ], "1.10.0b4": [ { "comment_text": "", "digests": { "md5": "feb7149167343447fdbb3852262029aa", "sha256": "f5c69a8bd4777e6fd33bce5d8a3714bc62f94c9de63d704cf7532d45ad91f0ae" }, "downloads": -1, "filename": "libpcap-1.10.0b4.zip", "has_sig": false, "md5_digest": "feb7149167343447fdbb3852262029aa", "packagetype": "sdist", "python_version": "source", "requires_python": ">=2.7.0,!=3.0.*,!=3.1.*,!=3.2.*,!=3.3.*", "size": 1182948, "upload_time": "2019-09-16T06:19:34", "url": "https://files.pythonhosted.org/packages/20/45/1c42f5067e3850b0dcc1d9aa0f9a29c31fca88fc48773a2aa52430137f77/libpcap-1.10.0b4.zip" } ], "1.10.0b5": [ { "comment_text": "", "digests": { "md5": "5043a9b918a0addccc959ca099968b1a", "sha256": "12630443c8071c3d1fc4ee4e6c88b8140d08a595aa889ff15d9659ec4fdcaa95" }, "downloads": -1, "filename": "libpcap-1.10.0b5.zip", "has_sig": false, "md5_digest": "5043a9b918a0addccc959ca099968b1a", "packagetype": "sdist", "python_version": "source", "requires_python": ">=2.7.0,!=3.0.*,!=3.1.*,!=3.2.*,!=3.3.*", "size": 1074055, "upload_time": "2019-09-16T06:29:40", "url": "https://files.pythonhosted.org/packages/e6/a3/5f354a91e74a6452c532709914ec7594763ba66e4b4317570cefc464bcdf/libpcap-1.10.0b5.zip" } ] }, "urls": [ { "comment_text": "", "digests": { "md5": "5043a9b918a0addccc959ca099968b1a", "sha256": "12630443c8071c3d1fc4ee4e6c88b8140d08a595aa889ff15d9659ec4fdcaa95" }, "downloads": -1, "filename": "libpcap-1.10.0b5.zip", "has_sig": false, "md5_digest": "5043a9b918a0addccc959ca099968b1a", "packagetype": "sdist", "python_version": "source", "requires_python": ">=2.7.0,!=3.0.*,!=3.1.*,!=3.2.*,!=3.3.*", "size": 1074055, "upload_time": "2019-09-16T06:29:40", "url": "https://files.pythonhosted.org/packages/e6/a3/5f354a91e74a6452c532709914ec7594763ba66e4b4317570cefc464bcdf/libpcap-1.10.0b5.zip" } ] }