Netgate Discussion Forum
    • Categories
    • Recent
    • Tags
    • Popular
    • Search
    • Register
    • Login
    Introducing Netgate Nexus: Multi-Instance Management at Your Fingertips.

    API bug: retrieving pf table contents fails for URL Table (IP) aliases

    Scheduled Pinned Locked Moved Netgate Nexus
    2 Posts 1 Posters 182 Views 1 Watching
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • luckman212L
      luckman212 LAYER 8 Rebel Alliance
      last edited by luckman212

      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
      }
      
      luckman212L 1 Reply Last reply
      Reply Quote 0
      • luckman212L
        luckman212 LAYER 8 Rebel Alliance @luckman212
        last edited by luckman212

        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...

        redmine: https://redmine.pfsense.org/issues/17179

        1 Reply Last reply
        Reply Quote 0
        • luckman212L 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 Login
        • First post
          Last post
        Copyright 2026 Rubicon Communications LLC (Netgate). All rights reserved.
        Privacy Policy · Cookie Policy