ntopng 4.0 is in freshports - could this be updated in pfSense? (2.5.x)
-
2.5.0 already has ntopng 4.0.
-
-
Can this be back ported to 2.4.5?
-
Anyone - is it possilbe to run 4.0 on 2.4.5
-
@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.
-
Do you have any links on how to do this upgrade?
-
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
-
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?
-
@netnerdy You can go ahead and upgrade json-c
root@OPNsense:/usr/local/etc/rc.d # pkg install json-c
Worked for me
-
@tpz which version of json-c do you have installed? Can you post your output of
pkg info json-c
-
@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
-
Thanks! I install json-c from here: https://freebsd.pkgs.org/11/freebsd-amd64/json-c-0.15.txz.html and it worked.
-
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
-
@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.