mirror of
https://github.com/yogeshojha/rengine.git
synced 2026-10-20 23:31:31 +02:00
An open port with no name is a dead end. The IANA Service Name and Transport Protocol Port Number Registry (public domain, no key) fills the ~5,800 TCP ports our curated map does not cover, committed as a generated data file because it is small and slow-moving; scripts/fetch_port_registry.py rebuilds it. IANA is the fallback vocabulary, never the authority. It still calls 9200 wap-wsp and 5601 esmagent while the internet runs Elasticsearch and Kibana there, so WELL_KNOWN wins and gained ASM-framed descriptions of its own — "Docker API without TLS, equivalent to root on the host" beats "Docker REST API (plain text)". 80, 443, kibana, nessus, consul, kubelet and rabbitmq are now named rather than falling through to a generic "http". Provenance is carried, not hidden: describe() returns (text, from_registry) and a registered name is presented as "IANA registration for port N. This scan did not confirm it." — because IANA says port 12345 is a chat system. A name the UI shows is always a name `service:<name>` can find, so the registry writes through service_for_port into the stored column and a migration backfills rows written before it existed. Services also get an identity mark: the vendored Wappalyzer logo when the service is a product, the class glyph when it is a protocol. Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01BnC2xMMzV6WQnpDp5zcXoU
23 lines
436 B
TOML
23 lines
436 B
TOML
[project]
|
|
name = "rengine-shared"
|
|
version = "3.0.0"
|
|
description = "reNgine shared code"
|
|
requires-python = ">=3.13"
|
|
dependencies = [
|
|
"validators>=0.35.0",
|
|
"cryptography>=42",
|
|
"apprise>=1.9.0",
|
|
"croniter>=2.0.0",
|
|
]
|
|
|
|
|
|
[build-system]
|
|
requires = ["setuptools>=81.0"]
|
|
build-backend = "setuptools.build_meta"
|
|
|
|
[tool.setuptools.packages.find]
|
|
where = ["."]
|
|
|
|
[tool.setuptools.package-data]
|
|
"shared.definitions" = ["data/*.json"]
|