host_ports
Audit a host's listening sockets and UFW rules to see what is reachable locally, over Tailscale, or publicly, with process names and public UFW allows.
Instructions
What is reachable on a host and from where: every listening socket classified as local / tailnet-only / public-allowed / blocked by ufw / PUBLIC because ufw is off, with the process name. Plus the public UFW allows.
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"host": "<host>"
},
"name": "host_ports"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| host | Yes | host name from the inventory (fleet_hosts) |