Port details |
- ng_ipacct Netgraph IP accounting
- 20210316_1 net-mgmt
=3 Version of this port present on the latest quarterly branch. - Maintainer: vsevolod@FreeBSD.org
 - Port Added: 2005-02-28 12:35:53
- Last Update: 2022-07-20 14:22:42
- Commit Hash: 43ac3e2
- People watching this port, also watch:: tcpdump, nagios, monit, python, openvpn
- Also Listed In: kld
- License: BSD2CLAUSE
- Description:
- The ng_ipacct is Netgraph IP accounting node intended to gather
IP traffic informations.
IP accounting is collected in both simple and extended modes.
Output format is similar to the one used in Cisco IOS (command
"show ip accounting").
In simple mode output format is:
ip_from ip_to packets bytes
and in verbose mode:
ip_from s_port ip_to d_port proto packets bytes
Also, effective user ID of relevant process and timestamp can be saved.
CPU overhead is minimal because ng_ipacct works at kernel level.
WWW: ftp://ftp.wuppy.net.ru/pub/FreeBSD/local/kernel/ng_ipacct/
- SVNWeb : git : Homepage
- pkg-plist: as obtained via:
make generate-plist - Dependency lines:
-
- ng_ipacct>0:net-mgmt/ng_ipacct
- To install the port:
- cd /usr/ports/net-mgmt/ng_ipacct/ && make install clean
- To add the package, run one of these commands:
- pkg install net-mgmt/ng_ipacct
- pkg install ng_ipacct
NOTE: If this package has multiple flavors (see below), then use one of them instead of the name specified above.- PKGNAME: ng_ipacct
- Flavors: there is no flavor information for this port.
- distinfo:
- TIMESTAMP = 1615748024
SHA256 (vstakhov-ng_ipacct-20210316_GH0.tar.gz) = 7f9715e59dbda195eb1ec5945fe64be47bfdcc8ea89378d250e82d6d0021765e
SIZE (vstakhov-ng_ipacct-20210316_GH0.tar.gz) = 24719
- Packages (timestamps in pop-ups are UTC):
- There are no ports dependent upon this port
- Configuration Options:
- No options to configure
- Options name:
- net-mgmt_ng_ipacct
- USES:
- kmod uidfix
- pkg-message:
- For install:
- This port contains a prebuilt kernel module. Due to the ever changing
nature of FreeBSD it may be necessary to rebuild the module after a kernel
source update. To do this rebuild and reinstall the port.
===> CONFIGURATION NOTE:
To setup ng_ipacct, you may have to edit /usr/local/etc/ng_ipacct.conf.
To run ng_ipacct from startup, add ng_ipacct_enable="YES"
in your /etc/rc.conf or activate it in /usr/local/etc/ng_ipacct.conf.
- Master Sites:
|
Commit History - (may be incomplete: see SVNWeb link above for full details) |
Date | By | Description |
20 Jul 2022 14:22:42 20210316_1 |
Tobias C. Berner (tcberner)  |
net-mgmt: remove 'Created by' lines
A big Thank You to the original contributors of these ports:
* @BABOLO <.@babolo.ru>
* Alex Samorukov, samm@freebsd.org
* Alexander Kriventsov <avk@vl.ru>
* Alexander Sulfrian <alexander@sulfrian.net>
* Alexander Y. Grigoryev <alexander.4mail@gmail.com>
* Alexandre Biancalana <ale@biancalanas.net>
* Alexandre Snarskii <snar@paranoia.ru>
* Alexandre Snarskii <snar@snar.spb.ru>
* Alexey Bobkov <mr.deadlystorm@gmail.com>
* Alexey Dokuchaev <danfe@FreeBSD.org>
* Alexey V. Degtyarev (Only the first 15 lines of the commit message are shown above ) |
18 Oct 2021 19:20:50 20210316_1 |
Vsevolod Stakhov (vsevolod)  |
net-mgmt/ng_ipacct: VIMAGE is now mandatory option
This option is unconditional since FreeBSD 12, so it is now removed to a
static define.
Reported by: Eugene Kazarinov via private email |
06 Apr 2021 14:31:13 20210316 |
Mathieu Arnold (mat)  |
all: Remove all other $FreeBSD keywords. |
06 Apr 2021 14:31:07 20210316 |
Mathieu Arnold (mat)  |
Remove # $FreeBSD$ from Makefiles. |
14 Mar 2021 18:58:28
20210316 |
vsevolod  |
- Really fix build of the port
Submitted by: Christoph Moench-Tegeder via GitHub |
13 Mar 2021 16:31:43
20201303 |
vsevolod  |
- Unbreak for FreeBSD >= 12 |
22 Dec 2020 02:45:11
20180401 |
linimon  |
Mark as BROKEN on riscv64 similar to on armvX.
Approved by: portmgr (tier-2 blanket) |
14 Aug 2019 08:48:51
20180401 |
mat  |
Convert to UCL & cleanup pkg-message (categories n)
(and missed 3 missed files from previous categories.) |
15 Apr 2019 05:55:24
20180401 |
linimon  |
These ports now build on powerpc64.
Approved by: portmgr (tier-2 blanket) |
01 Apr 2018 13:21:58
20180401 |
vsevolod  |
Update ng_ipacct port to 20180401 tag
- Add VIMAGE option [1]
- Fix build on head [1]
- Incorporate the existing patches
- Improve ipacctctl build [1]
Submitted by: eugen via IRC [1] |
18 Mar 2018 06:04:32
20150304 |
linimon  |
Mark as broken on armvX.
Approved by: portmgr (tier-2 blanket) |
22 May 2017 16:04:19
20150304 |
linimon  |
Mark some ports failing on power64. In cases where the error message
was a stub, provide a real one.
While here, pet portlint.
Approved by: portmgr (tier-2 blanket)
Reported by: swills |
07 May 2015 17:26:06
20150304 |
mat  |
Update ports in the n* categories to not use GH_COMMIT.
With minor cleanups to make things simpler.
With hat: portmgr
Sponsored by: Absolight |
16 Mar 2015 10:52:47
20150304 |
vsevolod  |
- Fix build on 8.4.
- Do not bump portrevision: package is unchanged
Submitted by: Eugene Grossbein via IRC |
04 Mar 2015 10:33:33
20150304 |
vsevolod  |
- Use github for port fetching
- Remove included patches
- Add patch to lock pcbinfo hash [1]
- Update version to 20150304
Submitted by: Eugene Grossbein via IRC [1] |
24 Sep 2014 19:21:01
20061223_3 |
antoine  |
Do not violate stagedir (and allow staging as a regular user) |
23 Sep 2014 10:21:28
20061223_3 |
bapt  |
Simpify plist
Fix license |
24 Jan 2014 22:56:47
20061223_3 |
rene  |
Do not set variables already set by USES=kmod
Approved by: maintainer silence (vsevolod@) |
20 Dec 2013 18:22:32
20061223_3 |
vsevolod  |
- Fix build on systems without /usr/share/mk/bsd.compat.mk |
28 Nov 2013 17:23:15
20061223_2 |
bapt  |
Allow building as a user |
01 Nov 2013 16:55:14
20061223_2 |
vsevolod  |
- Support staging.
- Use kmod. |
20 Sep 2013 22:24:44
20061223_1 |
bapt  |
Add NO_STAGE all over the place in preparation for the staging support (cat:
net-mgmt) |
13 Sep 2013 15:16:52
20061223_1 |
vsevolod  |
* Improve locking for ipacct hash table by converting from a global
mutex to a set of fine-grained rmlocks per hash buckets.
* Increase hash buckets from 256 to 512.
* Remove obsoleted master site and added local one.
* Stylefix for the ignore message.
* Bump portrevision.
* Take ownership. |
24 Apr 2013 17:00:20
20061223 |
eadler  |
For some unmaintained ports:
- fix format for pkg-descr
- convert to OptionsNG
- remove logic for older versions of python which we no longer support
- remove option for old versions of FreeBSD
- unconditionally set PORTDOCS
- etc.
Reviewed by: jgh |
22 Apr 2013 13:27:48
20061223 |
bapt  |
Reassign skv@ ports to the heap
Feature safe: yes |
15 Aug 2012 00:37:55
20061223 |
dougb  |
danfe was kind enough to remind me that:
WRKSRC= ${WRKDIR}/${PORTNAME}-${PORTVERSION}
is already the default, so for those ports where we are doing:
@${MV} ${WRKDIR}/${PORTNAME} ${WRKSRC}
to avoid the problem of conflicts with the rc.d script of the same
name it is not necessary to define WRKSRC separately.
Clean up this mistake of mine, and standardize for the others. |
13 Aug 2012 10:22:57
20061223 |
dougb  |
Fix problem introduced in r302141. The directory for the unpacked source
files is unversioned, so it conflicts with the name of the rc.d script in
WRKDIR after SUB_FILES is applied.
PR: ports/170592
Submitted by: Eugene Grosbein <eugen@eg.sd.rdtc.ru> |
05 Aug 2012 23:19:40
20061223 |
dougb  |
Move the rc.d scripts of the form *.sh.in to *.in
Where necessary add $FreeBSD$ to the file
No PORTREVISION bump necessary because this is a no-op |
25 Feb 2012 22:15:57
20061223 |
eadler  |
Remove quotes from BROKEN and IGNORE as they are not required
Approved by: maintainer timeout |
14 Jan 2012 08:57:23
20061223 |
dougb  |
In the rc.d scripts, change assignments to rcvar to use the
literal name_enable wherever possible, and ${name}_enable
when it's not, to prepare for the demise of set_rcvar().
In cases where I had to hand-edit unusual instances also
modify formatting slightly to be more uniform (and in
some cases, correct). This includes adding some $FreeBSD$
tags, and most importantly moving rcvar= to right after
name= so it's clear that one is derived from the other. |
24 Oct 2011 09:11:38
20061223 |
dougb  |
The vast majority of pkg-descr files had the following format when they
had both lines:
Author: ...
WWW: ....
So standardize on that, and move them to the end of the file when necessary.
Also fix some more whitespace, and remove more "signature tags" of varying
forms, like -- name, etc.
s/AUTHOR/Author/
A few other various formatting issues |
20 Mar 2011 12:54:45
20061223 |
miwi  |
- Get Rid MD5 support |
07 Jun 2010 15:46:28
20061223 |
skv  |
Unbreak build for RELENG_8 and later.
PR: ports/145176
Submitted by: Eugene Grosbein <eugen@grosbein.pp.ru> |
27 Mar 2010 00:15:24
20061223 |
dougb  |
Begin the process of deprecating sysutils/rc_subr by
s#. %%RC_SUBR%%#. /etc/rc.subr# |
15 Jul 2009 16:56:10
20061223 |
dougb  |
Fix a few "bad example" problems in the rc.d scripts that have been
propogated by copy and paste.
1. Primarily the "empty variable" default assignment, which is mostly
${name}_flags="", but fix a few others as well.
2. Where they are not already documented, add the existence of the _flags
(or other deleted empties) option to the comments, and in some cases add
comments from scratch.
3. Replace things that look like:
prefix=%%PREFIX%%
command=${prefix}/sbin/foo
to just use %%PREFIX%%. In many cases the $prefix variable is only used
once, and in some cases it is not used at all.
4. In a few cases remove ${name}_flags from command_args
5. Remove a long-stale comment about putting the port's rc.d script in
/etc/rc.d (which is no longer necessary).
No PORTREVISION bumps because all of these changes are noops. |
28 Sep 2008 17:43:12
20061223 |
skv  |
Unbreak build on 7.1
Submitted by: pluknet <pluknet xxx gmail.com> |
07 Aug 2008 09:49:55
20061223 |
erwin  |
Don't overlook the n in ifndef and restore the original meaning
for NO_PACKAGE, and add a separate IGNORE for pointyhat.
Noticed by: Eugene Kazarinov <kamuzon@milshop.ru> |
05 Aug 2008 07:19:32
20061223 |
erwin  |
To avoid this port building on pointyhat, use IGNORE and not NO_PACKAGE |
03 Jun 2008 10:40:16
20061223 |
skv  |
Fix typo & encoding. |
02 Jun 2008 16:27:40
20061223 |
skv  |
* add new example to ng_ipacct.conf [1]
* skip NO_PACKAGE if PACKAGE_BUILDING is defined [1]
* minor clean
PR: ports/105597
Submitted by: Eugene Grosbein <eugen xx kuzbass.ru> |
29 Jun 2007 09:16:42
20061223 |
linimon  |
Populate the 'kld' virtual category, for ports that install Kernel Loadable
modules.
Hat: portmgr |
25 Dec 2006 10:38:10
20061223 |
skv  |
Update to 20061223 |
14 Sep 2006 16:40:18
20050731_2 |
skv  |
* Add amd64 patches
* Install "etc/ng_ipacct.conf.sample" only. |
03 Sep 2006 19:41:45
20050731_1 |
skv  |
Add support for ng_bpf to example scripts.
PR: ports/102742
Submitted by: Eugene Grosbein <eugen xx grosbein.pp.ru> |
03 Sep 2006 00:36:51
20050731 |
kris  |
BROKEN: Unfetchable |
23 Jan 2006 23:46:06
20050731 |
edwin  |
SHA256ify
Approved by: krion@ |
22 Jan 2006 02:47:22
20050731 |
edwin  |
Replace ugly "@unexec rmdir %D... 2>/dev/null || true" with @dirrmtry
Approved by: krion@
PR: ports/88711 (related) |
01 Aug 2005 07:59:53
20050731 |
skv  |
Update to 20050731:
* fix build for 6.0
* support NGGIF data-link type |
12 Apr 2005 18:17:46
20050228_1 |
skv  |
Minor typo: "divert" => "tee" |
02 Apr 2005 16:34:45
20050228_1 |
skv  |
* fix "missed DLT initialization" issue
* add "ng_ipacct_%%iface%%_checkpoint_script" feature
(and target "checkpoint" for rc.d/ng_ipacct.sh)
* add example "PPTP (via mpd), divert traffic to ng_ksocket" |
28 Feb 2005 12:34:58
20050228 |
skv  |
Add ng_ipacct 20050228, Netgraph IP accounting. |