Project

General

Profile

Actions

Bug #3128

closed

netgraph7/ng_netflow does not compile

Added by aswell about 6 years ago. Updated almost 6 years ago.

Status:
Closed
Priority:
Normal
Assignee:
-
Category:
Kernel
Target version:
Start date:
04/10/2018
Due date:
% Done:

0%

Estimated time:

Description

Adding "WANTS_NETGRAPH7" to /etc/make.conf and "options NETGRAPH7" to kernel does not provide ng_netflow, as there is no Makefile: https://github.com/DragonFlyBSD/DragonFlyBSD/tree/master/sys/netgraph7/netflow

Creating Makefile and referencing either "netflow.c" or "ng_netflow.c" results in compilation errors.

Possible to use netflow in DF 5.x?

Reference: https://en.wikipedia.org/wiki/NetFlow

Actions #1

Updated by aswell about 6 years ago

When attempting to compile using a Makefile that references netflow.c, there are a number of errors, shown here:
https://app.box.com/s/x4vqli09905xgomizenklkn9bddbf7er

Of note, there are several references to uma, which appears is part of FreeBSD 5.0 era memory management, and is not a part of DragonFly.

Actions #2

Updated by sepherosa about 6 years ago

You can replace uma w/ malloc safely.

On Fri, Apr 13, 2018 at 12:55 PM,
<> wrote:

Issue #3128 has been updated by aswell.

When attempting to compile using a Makefile that references netflow.c, there are a number of errors, shown here:
https://app.box.com/s/x4vqli09905xgomizenklkn9bddbf7er

Of note, there are several references to uma, which appears is part of FreeBSD 5.0 era memory management, and is not a part of DragonFly.

----------------------------------------
Bug #3128: netgraph7/ng_netflow does not compile
http://bugs.dragonflybsd.org/issues/3128#change-13406

Creating Makefile and referencing either "netflow.c" or "ng_netflow.c" results in compilation errors.

Possible to use netflow in DF 5.x?

Reference: https://en.wikipedia.org/wiki/NetFlow

--
You have received this notification because you have either subscribed to it, or are involved in it.
To change your notification preferences, please click here: http://bugs.dragonflybsd.org/my/account

--
Tomorrow Will Never Die

Actions #3

Updated by aswell about 6 years ago

sepherosa wrote:

You can replace uma w/ malloc safely.

Correction: It is possible to replace uma w/ malloc safely.

Out of my area of expertise, have fixed some bad path statements and attempted to correct some syntax errors to get it to compile, but more or less just reporting a bug.

Was hoping to use netflow to gather metrics for a personal project, may contract someone to fix later if it turns into a commercial project.

Thanks for the feedback.

Actions #4

Updated by aswell about 6 years ago

aswell wrote:

Was hoping to use netflow to gather metrics for a personal project...

FYI- Using DF on an Atom box as a router/firewall and ntp/dhcp/dns server for a LAN in place of OPNsense/pfSense and was attempting this: https://forums.freebsd.org/threads/howto-monitor-network-traffic-with-netflow-nfdump-nfsen-on-freebsd.49724/

Actions #5

Updated by aswell almost 6 years ago

  • Status changed from New to Closed

After further research, and a brief exchange with Nuno Antunes, it seems getting ng_netflow working is not worth pursuing.

A brief search of the DF mailing list archives showed only a few inquiries related to ng_netflow availability in DF, and further research has shown there are similar tools available which offer more robust functionality and wider adoption and support, therefore interest for ng_netflow support in DF is not likely to grow.

Actions

Also available in: Atom PDF