ntopng for IPFire

Help on building IPFire & Feature Requests
ummeegge
Community Developer
Community Developer
Posts: 4515
Joined: October 9th, 2010, 10:00 am

Re: ntopng for IPFire

Post by ummeegge » June 9th, 2018, 1:32 pm

Hi gocart,
thanks for info. Am currently not at home but when back i will give it a go for 3.4 and MariaDB.

Grüssle,

UE
Image
Image
Image

ummeegge
Community Developer
Community Developer
Posts: 4515
Joined: October 9th, 2010, 10:00 am

Re: ntopng for IPFire

Post by ummeegge » June 24th, 2018, 2:36 pm

Hi all,
have updated (no 3.5 but little newer 3.3) Ntopng and the in- uninstaller (updater) and have also included the MySQL perl modules (builded faster then MariaDB) which were required to bring Ntopng to life so it should be independent of potential IPFire MySQL installation.

Ntopng-3.5 (either 3.5 stable nor 3.5 dev branch) do not build here -->

Code: Select all

In file included from /usr/include/stdio.h:862:0,
                 from /usr/src/ntopng/include/ntop_includes.h:33,
                 from src/TimeSeriesExporter.cpp:22:
/usr/include/bits/stdio2.h:65:44: note: '__builtin___snprintf_chk' output between 2 and 4116 bytes into a destination of size 4096
        __bos (__s), __fmt, __va_arg_pack ());
                                            ^
In file included from /usr/include/fcntl.h:313:0,
                 from /usr/src/ntopng/include/ntop_includes.h:84,
                 from src/TimeSeriesExporter.cpp:22:
In function 'int open(const char*, int, ...)',
    inlined from 'void TimeSeriesExporter::createDump()' at src/TimeSeriesExporter.cpp:77:12:
/usr/include/bits/fcntl2.h:50:24: error: call to '__open_missing_mode' declared with attribute error: open with O_CREAT or O_TMPFILE in second argument needs 3 arguments
    __open_missing_mode ();
    ~~~~~~~~~~~~~~~~~~~~^~
make[1]: *** [Makefile:167: src/TimeSeriesExporter.o] Error 1
make[1]: Leaving directory '/usr/src/ntopng'
make: *** [ntopng:93: /usr/src/log/ntopng-3.4.220618] Error 2
but version 3.3.180624 does build for 64 bit but also for 32 bit machines so both platforms are again available.

All can be found in here --> viewtopic.php?f=50&t=19565#p111061 .

Greetings,

UE
Image
Image
Image

ummeegge
Community Developer
Community Developer
Posts: 4515
Joined: October 9th, 2010, 10:00 am

Re: ntopng for IPFire

Post by ummeegge » June 27th, 2018, 5:18 am

Hi all,
we found a fix --> https://github.com/ntop/ntopng/issues/1833 for the above problem. Update to the current actual ntopng-3.5 and nDPI-2.2.2 dev version has been uploaded and is available via installer --> viewtopic.php?f=50&t=19565 .

UE
Image
Image
Image

User avatar
kettenshcutz
Posts: 17
Joined: May 23rd, 2018, 12:04 pm

Re: ntopng for IPFire

Post by kettenshcutz » July 4th, 2018, 5:28 am

hi and thanks for the update
out of the sudden the ntop IF was again not reachable, even if the ntop and redis server were running without errors
restarting services and even the whole IPFIRE wont fix that

i now installed the update with the new uploaded installer, and et voila. NTOP is up again (:

Special thanks for that ummeegge, cokart

Post Reply

Who is online

Users browsing this forum: No registered users and 4 guests