ntopng 4.0 is in freshports - could this be updated in pfSense? (2.5.x)
The FreshPorts for ntopng has just been updated to the latest stable ntopng version 4.0:
There's some pretty nifty new features in Ntopng 4.0
Do you have any idea of when this Freshports update will flow through to pfSense? (e.g. 2.5.0 snapshots).
(From an earlier thread, they mentioned that ntopng packages would only be updated in pfSense 2.5.0 snapshots. I don't know if that also applies to 2.4.5? Anyhow, I'm happy to try out ntopngs 4.0 on pfSense 2.5.0).
You can update it manually by following the instructions here (thanks to Parker Stephens for the post):
As of the date of writing (25 July 2020), the links I needed (for pfSense on FreeBSD 11.3 amd64) were:
Caution advised though, as by updating manually you're going off grid slightly (i.e. not sensible for a production firewall for a big corporate!). ntopng occasionally changes the command line parameters necessary to start the service, for example. If that happens in a future ntopng release, then it won't work in pfSense until the pfSense UI/package is updated with the corresponding changes - which is why the updated ntopng packages only tend to get pushed out by the pfSense developers as part of a future pfSense release.
Do not ever load packages like that from FreeBSD. The odds that you will end up loading a conflicting dependency are fairly high. It's just asking for trouble.
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.
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
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
PIE : on
RELRO : on
Shared Libs provided:
cpe : cpe:2.3:a:json-c_project:json-c:0.15:::::freebsd12:x64:1
repo_type : binary
repository : OPNsense
Flat size : 316KiB
Object Notation is a lightweight data exchange format and a subset of the
Thanks! I install json-c from here: https://freebsd.pkgs.org/11/freebsd-amd64/json-c-0.15.txz.html and it worked.