The net/nfsen port
nfsen-1.3.11 – web-based front end for the nfdump netflow tools (cvsweb github mirror)
Description
NfSen is a graphical web based front end for the nfdump netflow tools, allowing you to: * Display your netflow data: Flows, Packets and Bytes using RRD (Round Robin Database). * Easily navigate through the netflow data. * Process the netflow data within the specified time span. * Create history as well as continuous profiles. * Set alerts, based on various conditions. * Write your own plugins to process netflow data on a regular interval. Different tasks need different interfaces to your netflow data. NfSen allows you to keep all the convenient advantages of the command line using nfdump directly and gives you also a graphical overview over your netflow data.WWW: https://nfsen.sourceforge.net/
Readme
+----------------------------------------------------------------------- | Running ${PKGSTEM} on OpenBSD +----------------------------------------------------------------------- Note: the _nfcapd user has been added to group "www". Basic installation ================== To proceed with an installation or upgrade, adjust ${SYSCONFDIR}/nfsen.conf as required and run the configuration tool: # install-nfsen.pl ${SYSCONFDIR}/nfsen.conf This will read the configuration file, create directories and files as needed, and handle upgrades from previous versions. It is highly advisable to read the documentation available at https://nfsen.sourceforge.net/ Note, you may export netflow-compatible data from PF via pflow(4). Chroot considerations ===================== NfSen is written with chroot in mind and is capable of communicating with the main nfcap daemon running outside the jail. Adapting to this configuration is a simple matter of moving a few files around (while the daemon is stopped). # mkdir -p /var/www/var/db # mv /var/db/nfsen /var/www/var/db/nfsen # ln -s /var/www/var/db/nfsen /var/db/nfsen PortTracker =========== This optional module splits up traffic by port number. It can be useful but is somewhat experimental. You can attempt to use it like this: - uncomment the sample PortTracker entry from the plugin section in the sample ${SYSCONFDIR}/nfsen.conf - start nftrack: note that this will require at least 10GB of space in the database directory. # su -m _nfcapd -c "nftrack -I -d /var/db/nfsen/ports-db/" - restart nfsen # rcctl restart nfsen After the next processing interval, PortTracker should generate data and graphs. If you have problems then examine system logs (you may need to increase logging levels).
Maintainer
The OpenBSD ports mailing-list
Categories
Build dependencies
Run dependencies
Files
- /etc/nfsen.conf
- /etc/rc.d/nfsen
- /usr/local/bin/RebuildHierarchy.pl
- /usr/local/bin/install-nfsen.pl
- /usr/local/bin/nfsen
- /usr/local/bin/nfsend
- /usr/local/bin/testPlugin
- /usr/local/lib/nfsen/
- /usr/local/lib/nfsen/plugins/
- /usr/local/lib/nfsen/plugins/PortTracker.pm
- /usr/local/lib/nfsen/plugins/demoplugin.pm
- /usr/local/lib/nfsen/plugins/smily.jpg
- /usr/local/libdata/perl5/site_perl/NfSen/
- /usr/local/libdata/perl5/site_perl/NfSen/AbuseWhois.pm
- /usr/local/libdata/perl5/site_perl/NfSen/Log.pm
- /usr/local/libdata/perl5/site_perl/NfSen/Lookup.pm
- /usr/local/libdata/perl5/site_perl/NfSen/NfAlert.pm
- /usr/local/libdata/perl5/site_perl/NfSen/NfConf.pm
- /usr/local/libdata/perl5/site_perl/NfSen/NfProfile.pm
- /usr/local/libdata/perl5/site_perl/NfSen/NfSen.pm
- /usr/local/libdata/perl5/site_perl/NfSen/NfSenRC.pm
- /usr/local/libdata/perl5/site_perl/NfSen/NfSenRRD.pm
- /usr/local/libdata/perl5/site_perl/NfSen/NfSenSim.pm
- /usr/local/libdata/perl5/site_perl/NfSen/Nfcomm.pm
- /usr/local/libdata/perl5/site_perl/NfSen/Nfsources.pm
- /usr/local/libdata/perl5/site_perl/NfSen/Nfsync.pm
- /usr/local/libdata/perl5/site_perl/NfSen/Notification.pm
- /usr/local/libdata/perl5/site_perl/NfSen/installer-items/
- /usr/local/libdata/perl5/site_perl/NfSen/installer-items/CopyRecursive.pm
- /usr/local/libdata/perl5/site_perl/NfSen/installer-items/RRDconvertv1.pm
- /usr/local/share/doc/pkg-readmes/nfsen
- /usr/local/share/examples/nfsen/
- /usr/local/share/examples/nfsen/nfsen.conf
- /var/db/nfsen/
- /var/db/nfsen/ports-db/
- /var/www/htdocs/nfsen/
- /var/www/htdocs/nfsen/alerting.php
- /var/www/htdocs/nfsen/colour_palette.html
- /var/www/htdocs/nfsen/colour_picker.html
- /var/www/htdocs/nfsen/conf.php
- /var/www/htdocs/nfsen/conf.php.dist
- /var/www/htdocs/nfsen/css/
- /var/www/htdocs/nfsen/css/alerting.css
- /var/www/htdocs/nfsen/css/detail.css
- /var/www/htdocs/nfsen/css/lookup.css
- /var/www/htdocs/nfsen/css/nfsen.css
- /var/www/htdocs/nfsen/css/profileadmin.css
- /var/www/htdocs/nfsen/details.php
- /var/www/htdocs/nfsen/icons/
- /var/www/htdocs/nfsen/icons/EmptyGraph.png
- /var/www/htdocs/nfsen/icons/Error.png
- /var/www/htdocs/nfsen/icons/ErrorGraph.png
- /var/www/htdocs/nfsen/icons/arrow.blue.down.png
- /var/www/htdocs/nfsen/icons/arrow.blue.right.png
- /var/www/htdocs/nfsen/icons/arrow.yellow.down.png
- /var/www/htdocs/nfsen/icons/arrow.yellow.right.png
- /var/www/htdocs/nfsen/icons/cancel.png
- /var/www/htdocs/nfsen/icons/close.png
- /var/www/htdocs/nfsen/icons/cursor-line.png
- /var/www/htdocs/nfsen/icons/cursor-start.png
- /var/www/htdocs/nfsen/icons/cursor-stop.png
- /var/www/htdocs/nfsen/icons/edit.png
- /var/www/htdocs/nfsen/icons/help.png
- /var/www/htdocs/nfsen/icons/invisible.png
- /var/www/htdocs/nfsen/icons/minus.png
- /var/www/htdocs/nfsen/icons/ok.png
- /var/www/htdocs/nfsen/icons/plus.png
- /var/www/htdocs/nfsen/icons/progress.png
- /var/www/htdocs/nfsen/icons/save.png
- /var/www/htdocs/nfsen/icons/shade.gif
- /var/www/htdocs/nfsen/icons/shade.png
- /var/www/htdocs/nfsen/icons/shadeactive.png
- /var/www/htdocs/nfsen/icons/space.png
- /var/www/htdocs/nfsen/icons/spyglas.png
- /var/www/htdocs/nfsen/icons/trash.png
- /var/www/htdocs/nfsen/icons/trigger.png
- /var/www/htdocs/nfsen/index.php
- /var/www/htdocs/nfsen/js/
- /var/www/htdocs/nfsen/js/ColorPicker2.js
- /var/www/htdocs/nfsen/js/alerting.js
- /var/www/htdocs/nfsen/js/detail.js
- /var/www/htdocs/nfsen/js/global.js
- /var/www/htdocs/nfsen/js/menu.js
- /var/www/htdocs/nfsen/js/profileadmin.js
- /var/www/htdocs/nfsen/lookup.php
- /var/www/htdocs/nfsen/navigator.php
- /var/www/htdocs/nfsen/nfsen.php
- /var/www/htdocs/nfsen/nfsenutil.php
- /var/www/htdocs/nfsen/overview.php
- /var/www/htdocs/nfsen/pic.php
- /var/www/htdocs/nfsen/plugins/
- /var/www/htdocs/nfsen/plugins/PortTracker.php
- /var/www/htdocs/nfsen/plugins/demoplugin.php
- /var/www/htdocs/nfsen/process.php
- /var/www/htdocs/nfsen/profileadmin.php
- /var/www/htdocs/nfsen/rrdgraph.php
- @conflict nfsen-web-*
- @exec-add usermod -v -G www _nfcapd
- @extraunexec rm -rf /var/db/nfsen/ports-db/*