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

    Ntop stopping

    1.2.3-PRERELEASE-TESTING snapshots - RETIRED
    3
    4
    4.6k
    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.
    • M
      MaxPF
      last edited by

      I decided to to try ntop on my pfSense 1.2.3 (Feb. 25) and it works at first, but after a while the service stops. In the logs I see:

      ntop[58130]: warning: /etc/hosts.allow, line 4: can't get client address: Bad file descriptor

      and it gets repeated hundreds of times. I haven't changed any configuration file and this is the result of

      cat /etc/hosts.allow

      
      #
      # hosts.allow access control file for "tcp wrapped" applications.
      #
      ALL : ALL : allow
      
      
      1 Reply Last reply Reply Quote 0
      • M
        mikesamo
        last edited by

        same for me

        1 Reply Last reply Reply Quote 0
        • S
          Slam
          last edited by

          The error you see is nothing to worry about according to this old ntop mailing list http://www.mail-archive.com/ntop@unipi.it/msg11232.html

          From my own experience:-

          1. NTOP needs atleast 1GB of ram!
          2. P2P applications will kill NTOP!!!
          3. Enabling the option in NTOPs own GUI for "-c | –sticky-hosts" w/out enabling filters (for your lan e.g 192.168.1.0/24) can crash your NTOP as it stores ALL internal and external hosts in memory until the service is stopped or the pfsense box is rebooted, if your network has heavy P2P traffic, see note 2.
          4. Sometimes this fix can work -> a) uninstall NTOP, b) remove NTOP directory "rm -rf /var/db/ntop", c) reinstall NTOP.
          5. This post should be in the packages section as its not an issue directly a result from pfsense 1.2.3  :P

          With the above fix, I have been able to run it for days on end w/out any issues, unless of course a new client comes along and deciedes to download the latest episode of "Lost" on my network!

          There has been many occasions in the past where the CPU would hit the roof on my box (1.2ghz - 1GB ram - mini itx), as I said, note 4 fixes it for me.

          Hope that helps.

          Slam

          1 Reply Last reply Reply Quote 0
          • M
            MaxPF
            last edited by

            Thank you for the useful info. I'll give it a try!

            Max

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