Counts network traffic to and from local addresses using pcap. Stores data in an SQLite database for 60 seconds periods. Generates simple reports. Reports can have IP address labelled. Other reports can be generated using SQL and custom scripts. Labels traffic during 1:00 AM and 7:00 AM as free (that’s how my ISP works).
This package install only one script named traflog.
Start collecting data:
$ sudo traflog --net 192.168.1.0 --mask 255.255.255.0 /var/lib/traffic.sqlite
(You probably want to run this as a service.)
Generate report:
$ traflog --report --hours=24 /var/lib/traffic.sqlite addr nonfree free ----------------------------------- 192.168.1.5 0.00 0.00 router.tplink 192.168.1.103 318.00 1.00 julia.samsung 192.168.1.104 81.00 0.00 rebekka 192.168.1.105 0.00 0.00 ? 192.168.1.108 17.00 0.00 ? 192.168.1.125 259.00 15.00 umonkey.dell
Metadata
Release files for traflog 1.12
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 |
|---|---|---|---|---|
| traflog-1.12.tar.gz | 4.3 kB | Without provenance | Details for traflog-1.12.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| traflog-1.12-py2-none-any.whl | Python 2 | none | any | Details for traflog-1.12-py2-none-any.whl |
Total release size: 10.4 kB
Release files / traflog-1.12.tar.gz
| Download URL | traflog-1.12.tar.gz |
|---|---|
| Size | 4.3 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
6cdd0bc9bd3f599097bc75f66c3f382140a5badc0edbb3a28a9da76efc537027
|
|
BLAKE2b-256 checksum How to use checksums |
1230b4a57a55ea8bbefae8f98ed119727b7ed45a0134973157656835cfab6041
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
Release files / traflog-1.12-py2-none-any.whl
| Download URL | traflog-1.12-py2-none-any.whl |
|---|---|
| Size | 6.1 kB |
| Tags | Python 2 |
|
SHA-256 checksum How to use checksums |
03bf537f26b56956c50f859bb70ea7ea1ad5f79e5d9efcddc7210f99e6ae2fcb
|
|
BLAKE2b-256 checksum How to use checksums |
dde7616e4d92a6d34d84770847032ccdb91e84a97e5361a5e908152570abfa70
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
Security for traflog 1.12
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.