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

    ntopng 4.0 is in freshports - could this be updated in pfSense? (2.5.x)

    Scheduled Pinned Locked Moved Traffic Monitoring
    17 Posts 8 Posters 3.8k 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.
    • T
      trumee
      last edited by

      Can this be back ported to 2.4.5?

      C 1 Reply Last reply Reply Quote 2
      • C
        cburbs @trumee
        last edited by

        @trumee

        Anyone - is it possilbe to run 4.0 on 2.4.5

        A 1 Reply Last reply Reply Quote 0
        • A
          Andrew453 @cburbs
          last edited by

          @cburbs Yes I am running 4.0 on 2.4.5-RELEASE-p1 (amd64). But please see the warnings elsewhere on this thread about it being completely unofficial and unsupported.

          C 1 Reply Last reply Reply Quote 0
          • C
            cburbs @Andrew453
            last edited by

            @Andrew453

            Do you have any links on how to do this upgrade?

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

              So I followed the post from above - https://parkercs.tech/upgrading-ntopng-on-pfsense-to-latest-version/

              But the below is the packages I found after doing some digging and it did work.

              pkg add -f https://pkg.freebsd.org/FreeBSD:11:amd64/quarterly/All/ntopng-4.0.d20200615_1,1.txz

              pkg add -f https://pkg.freebsd.org/FreeBSD:11:amd64/quarterly/All/ndpi-3.2.d20200403_1,1.txz

              1 Reply Last reply Reply Quote 1
              • N
                netnerdy
                last edited by

                When I installed it (v20200615 seems to be gone so I had to try v20200710) and try to run ntopng I get:

                [2.4.5-RELEASE][pfsense]/root: ntopng
                /usr/local/lib/libjson-c.so.5: version JSONC_0.14 required by /usr/local/bin/ntopng not defined
                

                and I do have libjson-c installed:

                [2.4.5-RELEASE][pfsense]/root: pkg info json-c
                json-c-0.14
                Name           : json-c
                Version        : 0.14
                Installed on   : Tue Jun  2 15:11:23 2020 PDT
                Origin         : devel/json-c
                Architecture   : FreeBSD:11:amd64
                Prefix         : /usr/local
                Categories     : devel
                Licenses       : MIT
                
                

                Has anyone seen this issue?

                T 1 Reply Last reply Reply Quote 0
                • T
                  tpz @netnerdy
                  last edited by

                  @netnerdy You can go ahead and upgrade json-c

                  root@OPNsense:/usr/local/etc/rc.d # pkg install json-c

                  Worked for me

                  1 Reply Last reply Reply Quote 0
                  • N
                    netnerdy
                    last edited by

                    @tpz which version of json-c do you have installed? Can you post your output of

                    pkg info json-c

                    T 1 Reply Last reply Reply Quote 0
                    • T
                      tpz @netnerdy
                      last edited by

                      @netnerdy I had 0.14 then upgraded to 0.15:

                      root@OPNsense:/ # pkg info json-c
                      json-c-0.15_1
                      Name : json-c
                      Version : 0.15_1
                      Installed on : Thu Oct 29 22:58:23 2020 CAT
                      Origin : devel/json-c
                      Architecture : FreeBSD:12:amd64
                      Prefix : /usr/local
                      Categories : devel
                      Licenses : MIT
                      Maintainer : sunpoet@FreeBSD.org
                      WWW : https://github.com/json-c/json-c/wiki
                      Comment : JSON (JavaScript Object Notation) implementation in C
                      Options :
                      PIE : on
                      RELRO : on
                      Shared Libs provided:
                      libjson-c.so.5
                      Annotations :
                      FreeBSD_version: 1201000
                      cpe : cpe:2.3:a:json-c_project:json-c:0.15:::::freebsd12:x64:1
                      repo_type : binary
                      repository : OPNsense
                      Flat size : 316KiB
                      Description :
                      This is a port of json-c, an implementation of json in C. Json, JavaScript
                      Object Notation is a lightweight data exchange format and a subset of the
                      JavaScript programming language.

                      WWW: https://github.com/json-c/json-c/wiki

                      1 Reply Last reply Reply Quote 0
                      • N
                        netnerdy
                        last edited by

                        Thanks! I install json-c from here: https://freebsd.pkgs.org/11/freebsd-amd64/json-c-0.15.txz.html and it worked.

                        1 Reply Last reply Reply Quote 2
                        • C
                          cburbs
                          last edited by

                          Well 4.2 is out but not available for FreeBSD11

                          ntopng-4.0.d20200710,1.txz

                          I use this site to see what packages are available -
                          https://pkgs.org/

                          and did a search for ntop and clicked on FreeBSD11

                          https://pkgs.org/search/?q=ntop

                          I 1 Reply Last reply Reply Quote 0
                          • I
                            im_not_a_robot @cburbs
                            last edited by

                            @cburbs I was able to install ntopng 4.2 from www.freshports.org/net/ntopng using ntopng-4.2.d20201102,1.txz in the 'pkg add' statements above.

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