Netgate Discussion Forum
    • Categories
    • Recent
    • Tags
    • Popular
    • Users
    • Search
    • Register
    • Login

    PfSense Suggestion: "Delete [All] Shown States" button

    Scheduled Pinned Locked Moved Forum Feedback
    1 Posts 1 Posters 2.4k Views
    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.
    • I
      isolationism
      last edited by

      There are times when it'd be really convenient to be able to:

      • View the state table

      • Filter the table somehow

      • Click a button to delete all of the visible states

      This isn't something that comes up daily, but occasionally I change a routing rule, and want to reset only states affected by the rule (as opposed to dropping all connections). If there are a few hundred states, it can take a long time to click each one individually, and is only made more difficult by the states slowly fading then collapsing.

      Currently, I'm working around this issue by pasting the following JavaScript code into Firebug and executing, which I will eventually get around to turning into a GreaseMonkey script:

      
        $$('td.list img').each( function(el, idx) { eval( $(el).getAttribute('onclick') ) });
      
      

      Does anyone else think this might be a good idea to put on the road map for 2.x?

      1 Reply Last reply Reply Quote 0
      • First post
        Last post
      Copyright 2025 Rubicon Communications LLC (Netgate). All rights reserved.