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

    NTOP Problem ?

    Scheduled Pinned Locked Moved pfSense Packages
    26 Posts 12 Posters 17.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.
    • M Offline
      markn62
      last edited by

      Ver 2.1.2-Amd64.

      Unless I'm using the wrong steps, it would appear the nTop settings, "ntop.maxNumHashEntries" & "ntop.maxNumSessions" aren't sticky.  I can double their values in StartUp Options or Edit Preferences GUI then restart nTop & goto "About, Show Configuration" & it still reports;

      -x…..8102
      -X.....8192

      I think these PfSense system log errors are due to the inability to upsize either the -x or -X parameter, more likely the -x.

      ntop[56500]: ERROR Low memory @ ip.c:262
      ntop[56500]: WARNING: Max num hash entries (8102) reached (see -x)

      It appears that some preferences are fixed values at time of compiling so they're really not preferences at all.  Best I can do is reduce the time that idle hosts are held, down to a very short time like 60 seconds.  I don't have time to look much at what nTop shows before the link comes up empty reporting no info due to timeout.  3600 seconds would be nice but then I get the syslog errors above.

      If I link down to the extensive configuration I see a header "Compile Time: globals-defines.h" that reports the sessions doubled in value but not the hash entries.

      DEFAULT_NTOP_MAX_HASH_ENTRIES…..8192
      DEFAULT_NTOP_MAX_NUM_SESSIONS.....32768

      Am I way off base in my assessment?  Can the nTop package be made to hold more hash entries, I have 8GB memory, using 1G.

      1 Reply Last reply Reply Quote 0
      • E Offline
        ESPNSTI
        last edited by

        "Host Map" works for me once I allow google.com and gstatic.com in the NoScript Firefox extension.
        "Local, Network Trafffic Map" only shows ip/mac for public hosts, no names, but I use that so infrequently that I don't recall if it ever did.
        I do not have the problem with reaching the max hash entries, but I normally don't have a lot of connections.

        1 Reply Last reply Reply Quote 0
        • M Offline
          markn62
          last edited by

          Don't want the NoScript FF extension as it is a whitelist taking more maintenance to use.  Tried a blacklist plugin blocking java from the two url's you mentioned and no change.  Keeps reporting something about checking that an html page is installed properly.  Trying to get to that spinning screen until it times out but before nTop crashes to see that message verbatim is a challenge.  So I paraphrase…

          1 Reply Last reply Reply Quote 0
          • M Offline
            markn62
            last edited by

            Looks like this problem has been around for a while.
            https://forum.pfsense.org/index.php?topic=69658.0

            1 Reply Last reply Reply Quote 0
            • H Offline
              humps
              last edited by

              I've been checking this post every other day or so hoping someone would find a fix for the NTOP issues but no help/fix is coming.. Sigh! . .  Its kinda SAD though cuz it seems we're left in the dark and the only solution is to uninstall NTOP and wait for the developers to release an updated version hoping it will fix things..

              If anyone found a fix for the current issues i would really appreciate if you could post some feedback here
              Thanks

              1 Reply Last reply Reply Quote 0
              • M Offline
                markn62
                last edited by

                I had to uninstall the nTop package.  Can't make it stable.  Keeps overrunning the max hash value causing errors even with idle host set to a short 30 seconds. CPU < 20%.

                2.1.3-RELEASE (amd64)

                1 Reply Last reply Reply Quote 0
                • D Offline
                  denisalves
                  last edited by

                  I'm having the same problem. The spinning logo stays forever and I can't see the info about the host. If I right-click at the host and save the HTML link to my computer, I'm able to see some infos, but with not a good interface. I'm waiting for a fix for this too  :(

                  1 Reply Last reply Reply Quote 0
                  • R Offline
                    rahul6065
                    last edited by

                    Hiii All,

                    I am facing the same problem. I have pfsense 2.1 amd 64 & ntop 5.0.1_1 v2.4 installed on it. but if I open that link on command line using elinks it opens e.g. elinks http://10.0.X.Y:3000/10.0.Y.Z.html. I tried all the browsers Chrome, Firefox, IE . All browser have the same issue.
                    I tried to install lower version .pbi using the link http://files.pfsense.org/packages/8/All/ with command line. It installs fine but after starting the ntop service I am unable to view some pi-charts. On every refresh pi-chart fluctuates. Any help please..

                    Thanks
                    Rahul

                    1 Reply Last reply Reply Quote 0
                    • E Offline
                      ESPNSTI
                      last edited by

                      The new package 5.0.1 v2.5 did not resolve the "spinning logo on IP detail" problem for me.

                      1 Reply Last reply Reply Quote 0
                      • H Offline
                        humps
                        last edited by

                        Ok Installed the new updated version of Ntop (5.0.1 v2.5) hoping that this version would fix the issues I have been having with the previous version (5.0.1_1 v2.4) but to my surprise everything remains the same.
                        I cannot connect to Ntop, each time i try to connect i get Time Out Error:
                        The connection has timed out
                        The server at 192.168.x.x is taking too long to respond
                        .
                        I have never had any problem with Ntop before and i've been using it for 2yrs + but ever since I installed version 5.0.1_1 v2.4 it has become UNUSEABLE!
                        I have since UnInstalled Ntop, i still love this program and i will continue check for new versions until its fixed.
                        I'm running Pfsense 2.1.3 X64.
                        UPDATE: Someone posted a suggestion on a thread that I had started here: https://forum.pfsense.org/index.php?topic=76358.0

                        Ntop seems to be working fine for me again.
                        I've noticed with NTOP; when you reinstall/install, you have to select interfaces and enter the password again. Some reason the settings are not retained.

                        1 Reply Last reply Reply Quote 0
                        • B Offline
                          BeerCan
                          last edited by

                          I am having the same issue.  The ntop "info about" page only has a spinning flower and eventually 404's.
                          If I right click the host and save the link I can open it and view some info.

                          This seems like there may be some permission issue of the pfsense machine.  It would be cool to see this fixed or ntopng made a package.  I would be willing to add $25-50 to a bounty if anyone wanted to go in with me.

                          1 Reply Last reply Reply Quote 0
                          • R Offline
                            razblack
                            last edited by

                            I too am still having some major problems with ntop and latest pfsense…

                            ntop[51381]: EPIPE while sending page to web client
                            ntop[15131]: ERROR Buffer too short @ report.c:3905 (increase to at least 1070) [ a23-...amaitechnologies.com OS: Linux HTTP Server     23.197.146.70<

                            no clue how to fix this, tried to find something in the docs and google... no luck at all.

                            1 Reply Last reply Reply Quote 0
                            • R Offline
                              razblack
                              last edited by

                              well.. not sure this is a fix  or not, but i currently (for the time) have this dril-down working.

                              I switched from using HTTP to HTTPS via ntop > admin > configure > startup options > [basic prefs]    and changed -w (HTTP) to 0 (zero) and HTTPS server to a port of my choosing.  restarted ntop and now I am able to drill-down:

                              IP > traffic directions > local to remote    and select a host IP to get detailed info.

                              I don't understand why, but seems the built-in webservices is having some kind of buffer issue for HTTP services since latest updates.. perhaps related/unrelated to the OpenSSL sercurity changes.. no idea.

                              1 Reply Last reply Reply Quote 0
                              • B Offline
                                BeerCan
                                last edited by

                                @razblack:

                                well.. not sure this is a fix  or not, but i currently (for the time) have this dril-down working.

                                I switched from using HTTP to HTTPS via ntop > admin > configure > startup options > [basic prefs]    and changed -w (HTTP) to 0 (zero) and HTTPS server to a port of my choosing.  restarted ntop and now I am able to drill-down:

                                IP > traffic directions > local to remote    and select a host IP to get detailed info.

                                I don't understand why, but seems the built-in webservices is having some kind of buffer issue for HTTP services since latest updates.. perhaps related/unrelated to the OpenSSL sercurity changes.. no idea.

                                Ahh you had me hopeful :)    I tried this on my system and I still have the same issue as before (spinning flower with no info).

                                I am glad you were able to get a fix for your issue.

                                1 Reply Last reply Reply Quote 0
                                • R Offline
                                  razblack
                                  last edited by

                                  @BeerCan:

                                  Ahh you had me hopeful :)    I tried this on my system and I still have the same issue as before (spinning flower with no info).

                                  I am glad you were able to get a fix for your issue.

                                  ya, i'm not sure this was a silver bullet…  there are a couple other changes I've made that could have also contributed.

                                  I enabled use W3C (yes) under display prefs, and also noticed that after adding a few lists in pfblocker, that my memore utilization was around 75%, so I reduced squid memory cache size to 3MB.  Those probably have absolutely no coincidental relation, but who knows.

                                  1 Reply Last reply Reply Quote 0
                                  • D Offline
                                    dgcom
                                    last edited by

                                    Interesting… Same issue here, but I found that looking at level 2 hosts (by MAC) actually works.

                                    It still sends back some 404s after showing page, which tells me something is broken with ntop web UI...

                                    And the issue is probably with this /python/sankey.py:

                                    The server cannot find the requested page (page expired or ntop configuration ?).

                                    Received request:

                                    <tt>"GET /python/sankey.py?maxhost=16&zoom=0&hostselected%5B%5D=192.168.1.1 HTTP/1.1"</tt>

                                    Python support disabled into this ntop instance

                                    DG

                                    1 Reply Last reply Reply Quote 0
                                    • D Offline
                                      dgcom
                                      last edited by

                                      After looking at this a bit deeper:

                                      Unfortunately, it seems that many reports in ntop (including level 3 host view) now require python integration, but the installed version was compiled without it.
                                      In About -> Show Configuration it says:

                                      Embedded Python       -> Not present 
                                      

                                      Python 2.7 is included with the ntop package - so I might be wrong and ntop just can't find it?
                                      I also can't find the full log file for ntop to see if it ever complained about python…

                                      DG

                                      1 Reply Last reply Reply Quote 0
                                      • B Offline
                                        BeerCan
                                        last edited by

                                        it seems there are a lot of issues with the directory paths also. I am getting a lot of file not found errors when I open the page in developer tools.  I think there are a few broken parts to this.  I wish I new how to fix it but  :'(

                                        1 Reply Last reply Reply Quote 0
                                        • J Offline
                                          JohnnyBeGood
                                          last edited by

                                          I'm on 2.2-ALPHA August 9 and have same issue just keeps loading logo. Hope it will be fixed in 2.2 final very useful tool to drill down.

                                          I like to fill my tub up with water, then turn the shower on and act like I'm in a submarine that's been hit!

                                          1 Reply Last reply Reply Quote 0
                                          • C Offline
                                            Cino
                                            last edited by

                                            try ntopng instead, just came out so their could be bugs… report any in the link below

                                            https://forum.pfsense.org/index.php?topic=80461

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