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

    Find Host With Most Active States

    Scheduled Pinned Locked Moved Firewalling
    5 Posts 4 Posters 1.9k 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.
    • A
      acherman
      last edited by

      Last night I got some alarms from our NMS that a few devices were unreachable - actually, they were down and up a number of times within a few minute span.  After some initial checks I logged in to our edge pfSense 2.0 Release box and saw the number of active states was quite high.  The hardware reports the max state table size (with the custom size field left blank) is 323000 - for a while last night I was seeing that plus a little more (ie. 334122).  I did some browsing through some of the states (obviously couldn't display all of them) to see if I could find a pattern of what internal host was making a larger than normal number of connections but couldn't make sense of it.  I increase the max states to 400000 and they were all used up just as quickly.

      So, in a circumstance such as this, is there a way to view the top hosts based on active states through the firewall?  Even CLI would be fine to track this down.  This device hosts approx. 600 hosts behind it.  Again, it is running 2.0 Release, running CARP with a backup unit that was also seeing the high number of states.

      Any help is appreciated.  Thanks in advance.

      Aaron

      1 Reply Last reply Reply Quote 0
      • C
        clarknova
        last edited by

        Hmm. The help document for the Diagnostics: State Table Summary page says you can order by different criteria, however this reordering functionality appears to be absent from 2.0-RELEASE.

        db

        1 Reply Last reply Reply Quote 0
        • marcellocM
          marcelloc
          last edited by

          Install tcptrack freebsd package at console.

          Treinamentos de Elite: http://sys-squad.com

          Help a community developer! ;D

          1 Reply Last reply Reply Quote 0
          • A
            acherman
            last edited by

            Happened again last night.  I will try this today.  Thank you.

            1 Reply Last reply Reply Quote 0
            • jimpJ
              jimp Rebel Alliance Developer Netgate
              last edited by

              I had thought I made that sortable, guess not.

              Remember: Upvote with the 👍 button for any user/post you find to be helpful, informative, or deserving of recognition!

              Need help fast? Netgate Global Support!

              Do not Chat/PM for help!

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