A useful logging library for Python
Project description
FuxuanTracer
FuxuanTracer是一个基于Python的开源网络流量监控工具,它能够抓取网络数据包,并解析出网络连接的IP地址, 端口等信息, 方便用户进行网络流量监控。
安装
pip install FuxuanTracer
Get Started
from FuxuanTracer import DataPackAnalyzer
ins = DataPackAnalyzer()
devices = list(ins.getAvaliableDevice().keys())
# 我们选择第4个,因为那个是我的以太网设备
choose_divice = devices[4]
# 抓取10个包
ins.catchDataPak(choose_divice, 10)
# 解析抓取的包
ins.analyze_packets(True,"result.log")
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
fuxuantracer-0.0.1a0.tar.gz
(12.6 kB
view details)
Built Distribution
File details
Details for the file fuxuantracer-0.0.1a0.tar.gz
.
File metadata
- Download URL: fuxuantracer-0.0.1a0.tar.gz
- Upload date:
- Size: 12.6 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/5.1.0 CPython/3.12.4
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | e3f24abbfbc29fceb2a40403b837a68c9b338a78d514ac243a944d7ff147633e |
|
MD5 | e28702fb2ef844eed51e37b1a286b113 |
|
BLAKE2b-256 | 38531d44ee8b079a87adb427909f01257ea5568de8660297820160e6cc58eecc |
File details
Details for the file FuxuanTracer-0.0.1a0-py3-none-any.whl
.
File metadata
- Download URL: FuxuanTracer-0.0.1a0-py3-none-any.whl
- Upload date:
- Size: 16.2 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/5.1.0 CPython/3.12.4
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | f9aefe5c7149be0b1ac0c26378bc4ae8c123be982aaabd34132b548bbae61766 |
|
MD5 | b55b5898ca72a11ef2cf4ae9ae66bd36 |
|
BLAKE2b-256 | 99cb0f7e2735a3caaeb375a7bb417b4a3dc1b510965bc7c7e5a04893c1282936 |