feat: report what listens, and which procd service it is #6

Merged
christianmanivong merged 1 commits from feat/listening-sockets into master 2026-10-07 05:21:32 +00:00
Owner

Mixes in ListeningSocketsMixin (napalm-device-types 2.5.0): without ss the shared command reads busybox netstat, and each process's cgroup names its procd service.

The command goes over an SSH exec channel of its own. busybox ash cuts a typed line at 512 characters, and the command is longer: through the interactive shell it left ash waiting for a closing quote. A login other than root cannot become root here, so its reading says it is not attributed.

Checked live on a real OpenWrt 25.12.2 access point. Needs napalm-device-types 2.5.0 (NAPALM/napalm-device-types, feat/listening-netstat). For NetOrk/netork#673.

Mixes in `ListeningSocketsMixin` (napalm-device-types 2.5.0): without `ss` the shared command reads busybox `netstat`, and each process's cgroup names its procd service. The command goes over an SSH exec channel of its own. busybox ash cuts a typed line at 512 characters, and the command is longer: through the interactive shell it left ash waiting for a closing quote. A login other than root cannot become root here, so its reading says it is not attributed. **Checked live** on a real OpenWrt 25.12.2 access point. Needs napalm-device-types 2.5.0 (NAPALM/napalm-device-types, feat/listening-netstat). For NetOrk/netork#673.
christianmanivong added 1 commit 2026-10-07 05:20:50 +00:00
Mixes in napalm-device-types' ListeningSocketsMixin (2.5.0): without ss
the shared command reads busybox netstat, and each process's cgroup names
its procd service. The driver only carries the command across.

Over an SSH exec channel of its own, not the interactive shell: busybox
ash cuts a typed line at 512 characters, the command is longer, and the
cut line left the shell waiting for a closing quote. OpenWrt logs in as
root; a login other than root cannot become root, so its reading says it
is not attributed.

Checked against a real OpenWrt 25.12.2 access point. For netOrk#673.
christianmanivong merged commit 4885f028be into master 2026-10-07 05:21:32 +00:00
christianmanivong deleted branch feat/listening-sockets 2026-10-07 05:21:32 +00:00
Sign in to join this conversation.
No Reviewers
No labels
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: NAPALM/napalm-openwrt#6