Repository navigation
portop v0.4.0
portop now recognises Multipath TCP sockets on Linux, and reads the ufw rules that open every port to a subnet, which previously made every port look blocked.
New
- Multipath TCP on Linux. Sockets whose upper-layer protocol is MPTCP show
MPTCP(MPTCP6for IPv6) in the PROTO column and matchportop mptcp;--jsonadds"mptcp": trueto them. Go 1.24 and later open MPTCP listeners by default, so most Go servers (Caddy, Traefik, Grafana, Prometheus) now show it. Their protocol staysTCP: service names, the firewall verdict,--wait,--free,--compose, baselines and metrics are unchanged, and an existing baseline reports no drift. Thanks to @ottenhoff for the contribution (#36).
Fixes
- ufw rules for every port. A rule without a port, such as
Anywhere ALLOW IN 192.168.1.0/24, was skipped, so with a default deny every port readblocked; such rules now cover every port and the port readsrestricted. Application profiles (OpenSSH) are still skipped. Thanks to @andgriva for the report (#37). - ufw rule order. A rule for some sources no longer hides a later one for everyone: with a LAN rule before
22/tcp ALLOW IN Anywhere, port 22 now readsallowedinstead ofrestricted.
Changelog
Features
- bc12228 feat: identify MPTCP sockets on Linux
Fixes
- d7f3611 fix(firewall): read ufw rules that open every port to some sources