op-packages/openwrt-peanut
github-actions[bot] 32600acc60 🌴 Sync 2026-03-05 23:51:42
2026-03-05 23:51:42 +08:00
..
files 🌴 Sync 2026-03-05 23:51:42 2026-03-05 23:51:42 +08:00
.gitattributes 🌴 Sync 2026-03-05 23:51:42 2026-03-05 23:51:42 +08:00
LICENSE 🌴 Sync 2026-03-05 23:51:42 2026-03-05 23:51:42 +08:00
Makefile 🌴 Sync 2026-03-05 23:51:42 2026-03-05 23:51:42 +08:00
README.md 🌴 Sync 2026-03-05 23:51:42 2026-03-05 23:51:42 +08:00

Peanut script

This script lists the IPv4 and IPv6 connections that the OpenWrt router is listening on, sorted by port number. It uses the netstat -peanut | grep LISTEN command, but with processing to make it output better...

Requirements:

  • bash

Sample output:

output