Python PCAP2MQTT
================
.. image:: https://img.shields.io/pypi/v/pcapmq.svg
:target: https://pypi.python.org/pypi/pcapmq
.. image:: https://img.shields.io/travis/rtfol/pcapmq.svg
:target: https://travis-ci.org/rtfol/pcapmq
.. image:: https://readthedocs.org/projects/pcapmq/badge/?version=latest
:target: https://pcapmq.readthedocs.io/en/latest/?badge=latest
:alt: Documentation Status
.. image:: https://pyup.io/repos/github/rtfol/pcapmq/shield.svg
:target: https://pyup.io/repos/github/rtfol/pcapmq/
:alt: Updates
Publish PCAP result to MQTT
* Free software: BSD license
* Documentation: https://pcapmq.readthedocs.io.
Features
--------
* Sniffer network packet
* Publish message to MQTT when found particular packet on network
Installation
--------
```
sudo apt install libpython3-dev libpcap-dev
pip install pcapmq
```
Configuration
--------
*(TODO)
Usage
--------
* Listening all UDP and ARP packet, display only, no MQTT
```
sudo pcapmq --filter "udp or arp"
```
* Send message to broker under topic devices/1/online, when found specific device's MAC address
```
sudo pcapmq --filter "ether src xx:xx:xx:xx:xx:xx" --topic devices/1/online --broker-url mqtt://username:password@localhost --payload-format "{0} - {1}"
```
=======
History
=======
0.1.0 (2018-05-04)
------------------
* First release on PyPI.
Metadata
Release files for pcapmq 0.1.1
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| pcapmq-0.1.1.tar.gz | 9.8 kB | Without provenance | Details for pcapmq-0.1.1.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| pcapmq-0.1.1-py2.py3-none-any.whl | Python 3, Python 2 | none | any | Details for pcapmq-0.1.1-py2.py3-none-any.whl |
Total release size: 13.5 kB
Release files / pcapmq-0.1.1.tar.gz
| Download URL | pcapmq-0.1.1.tar.gz |
|---|---|
| Size | 9.8 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
8789a59d50a3beb7cff353370001bf467830453890e3e524e294c35f82f1bd98
|
|
BLAKE2b-256 checksum How to use checksums |
0d6d3cd071258184714670ee5fbb68f791ae484bdd3e1ece59fc9d708bba6c65
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
Release files / pcapmq-0.1.1-py2.py3-none-any.whl
| Download URL | pcapmq-0.1.1-py2.py3-none-any.whl |
|---|---|
| Size | 3.8 kB |
| Tags | Python 2 Python 3 |
|
SHA-256 checksum How to use checksums |
7cb0eb661858eebd9573dd8dc5fc1d728796e773e7ed0bba8b93f0fc0e1855d5
|
|
BLAKE2b-256 checksum How to use checksums |
47da363a23d8e06f2fd297e7dd9c7af7b8f312a6cfd5e0963303a3e27051413b
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
Security for pcapmq 0.1.1
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.