dargslan-port-monitor
Linux Open Port Monitor — Monitor listening ports, detect exposed services, check port availability. Reads from ss/netstat and /proc/net. Zero external dependencies.
Installation
pip install dargslan-port-monitor
CLI Usage
dargslan-ports report # Full port report
dargslan-ports tcp # TCP listening ports
dargslan-ports udp # UDP listening ports
dargslan-ports exposed # Externally exposed ports
dargslan-ports check 192.168.1.1 22 # Check specific port
dargslan-ports json # JSON output
Python API
from dargslan_port_monitor import PortMonitor
pm = PortMonitor()
pm.print_report()
tcp = pm.get_listening_ports()
exposed = pm.find_exposed()
unexpected = pm.find_unexpected(expected_ports=[22, 80, 443])
result = pm.check_port("192.168.1.1", 22)
More Resources
License
MIT — Dargslan
Metadata
Release files for dargslan-port-monitor 1.0.0
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| dargslan_port_monitor-1.0.0.tar.gz | 5.4 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| dargslan_port_monitor-1.0.0-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 11.8 kB
Release files / dargslan_port_monitor-1.0.0.tar.gz
| Download URL | dargslan_port_monitor-1.0.0.tar.gz |
|---|---|
| Size | 5.4 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
7a9a783b247364252105534935c275791f856248a4fe24daff478a42ab657286
|
|
BLAKE2b-256 checksum How to use checksums |
1b67ad21d63a16307a35350dc202e0d4562a81176376ef751a97deea3529edae
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.2.0 CPython/3.11.14
|
Release files / dargslan_port_monitor-1.0.0-py3-none-any.whl
| Download URL | dargslan_port_monitor-1.0.0-py3-none-any.whl |
|---|---|
| Size | 6.4 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
5fb55ae29122246b4d8b1166ac78573292c4151a51846b526eb7806590ce4df9
|
|
BLAKE2b-256 checksum How to use checksums |
448f501ce1bd888ab2856c00970317808f9b025d05169f7b7b5f1087eabfdcce
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.2.0 CPython/3.11.14
|