API bug: retrieving pf table contents fails for URL Table (IP) aliases
-
Is there a Nexus endpoint to show table entries? The API spec for
GET /diag/tables/{table_name}says"Get detailed table information, including its entries", but in my testing, the entries aren't returned as part of the response. E.g.{ "table_name": "h_blocklist", "last_update": "", "avail_action": "update", "action_descr": "Update table", "action_prompt": "Download h_blocklist table", "entries": [], "entries_removable": false } -
Hmm, digging a bit more, this seems to be an actual bug. pf tables generated from URL Table aliases don't return contents in Nexus (they do in the old PHP interface, as well as via
pfctl -t my_url_alias -T show)This affects the API as well as the Nexus GUI...
-
L luckman212 referenced this topic
Hello! It looks like you're interested in this conversation, but you don't have an account yet.
Getting fed up of having to scroll through the same posts each visit? When you register for an account, you'll always come back to exactly where you were before, and choose to be notified of new replies (either via email, or push notification). You'll also be able to save bookmarks and upvote posts to show your appreciation to other community members.
With your input, this post could be even better 💗
Register LoginPrivacy Policy · Cookie Policy