notbugAs an Amazon Associate I earn from qualifying purchases.
Want a good read? Try FreeBSD Mastery: Jails (IT Mastery Book 15)
Want a good monitor light? See my photosAll times are UTC
Ukraine
This referral link gives you 10% off a Fastmail.com account and gives me a discount on my Fastmail account.

Get notified when packages are built

A new feature has been added. FreshPorts already tracks package built by the FreeBSD project. This information is displayed on each port page. You can now get an email when FreshPorts notices a new package is available for something on one of your watch lists. However, you must opt into that. Click on Report Subscriptions on the right, and New Package Notification box, and click on Update.

FInally, under Watch Lists, click on ABI Package Subscriptions to select your ABI (e.g. FreeBSD:14:amd64) & package set (latest/quarterly) combinatio for a given watch list. This is what FreshPorts will look for.

Port details
ng_ipacct Netgraph IP accounting
20210316_1 net-mgmt on this many watch lists=4 search for ports that depend on this port Find issues related to this port Report an issue related to this port View this port on Repology. pkg-fallout 20210316_1Version of this port present on the latest quarterly branch.
Maintainer: vsevolod@FreeBSD.org search for ports maintained by this maintainer
Port Added: 2005-02-28 12:35:53
Last Update: 2022-10-20 20:23:12
Commit Hash: a8fb74e
People watching this port, also watch:: squid, mrtg, openvpn, tcpdump, python
Also Listed In: kld
License: BSD2CLAUSE
WWW:
https://github.com/vstakhov/ng_ipacct/
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.
Homepage    cgit ¦ Codeberg ¦ GitHub ¦ GitLab ¦ SVNWeb

Manual pages:
FreshPorts has no man page information for this port.
pkg-plist: as obtained via: make generate-plist
Expand this list (12 items)
Collapse this list.
  1. @kld /boot/modules
  2. /usr/local/share/licenses/ng_ipacct-20210316_1/catalog.mk
  3. /usr/local/share/licenses/ng_ipacct-20210316_1/LICENSE
  4. /usr/local/share/licenses/ng_ipacct-20210316_1/BSD2CLAUSE
  5. man/ru.KOI8-R/man8/ipacctctl.8.gz
  6. include/netgraph/ng_ipacct.h
  7. etc/ng_ipacct.conf.sample
  8. sbin/ipacctctl
  9. /boot/modules/ng_ipacct.ko
  10. @owner
  11. @group
  12. @mode
Collapse this list.
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):
ng_ipacct
ABIaarch64amd64armv6armv7i386powerpcpowerpc64powerpc64le
FreeBSD:13:latest20210316_120210316_1--20210316_1---
FreeBSD:13:quarterly20210316_120210316_1--20210316_120210316_120210316_120210316_1
FreeBSD:14:latest20210316_120210316_1--20210316_120210316_1-20210316_1
FreeBSD:14:quarterly20210316_120210316_1--20210316_120210316_120210316_120210316_1
FreeBSD:15:latest20210316_120210316_1n/a-n/a20210316_120210316_120210316_1
FreeBSD:15:quarterly--n/a-n/a---
This port has no dependencies.
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:
Expand this list (1 items)
Collapse this list.
  1. https://codeload.github.com/vstakhov/ng_ipacct/tar.gz/20210316?dummy=/
Collapse this list.

Number of commits found: 55

Commit History - (may be incomplete: for full details, see links to repositories near top of page)
CommitCreditsLog message
20210316_1
20 Oct 2022 20:23:12
commit hash: a8fb74ec973ebe38b110bf232f8b1b9de219e65dcommit hash: a8fb74ec973ebe38b110bf232f8b1b9de219e65dcommit hash: a8fb74ec973ebe38b110bf232f8b1b9de219e65dcommit hash: a8fb74ec973ebe38b110bf232f8b1b9de219e65d files touched by this commit
John Baldwin (jhb) search for other commits by this committer
net-mgmt/ng_ipacct: Fix build on 14.0.

src commit 0f617ae48a911caab3130d0e80cfb425bc3b653b moved the
prototype of in_pcblookup_local to a new header.

src commit 28d0a740dd9a6 added "opt_kern_tls.h" #include to
<netinet/tcp_var.h>.

PR:		266556
Differential Revision:	https://reviews.freebsd.org/D36546
07 Sep 2022 21:58:51
commit hash: fb16dfecae4a6efac9f3a78e0b759fb7a3c53de4commit hash: fb16dfecae4a6efac9f3a78e0b759fb7a3c53de4commit hash: fb16dfecae4a6efac9f3a78e0b759fb7a3c53de4commit hash: fb16dfecae4a6efac9f3a78e0b759fb7a3c53de4 files touched by this commit
Stefan Eßer (se) search for other commits by this committer
Remove WWW entries moved into port Makefiles

Commit b7f05445c00f has added WWW entries to port Makefiles based on
WWW: lines in pkg-descr files.

This commit removes the WWW: lines of moved-over URLs from these
pkg-descr files.

Approved by:		portmgr (tcberner)
20210316_1
07 Sep 2022 21:10:59
commit hash: b7f05445c00f2625aa19b4154ebcbce5ed2daa52commit hash: b7f05445c00f2625aa19b4154ebcbce5ed2daa52commit hash: b7f05445c00f2625aa19b4154ebcbce5ed2daa52commit hash: b7f05445c00f2625aa19b4154ebcbce5ed2daa52 files touched by this commit
Stefan Eßer (se) search for other commits by this committer
Add WWW entries to port Makefiles

It has been common practice to have one or more URLs at the end of the
ports' pkg-descr files, one per line and prefixed with "WWW:". These
URLs should point at a project website or other relevant resources.

Access to these URLs required processing of the pkg-descr files, and
they have often become stale over time. If more than one such URL was
present in a pkg-descr file, only the first one was tarnsfered into
the port INDEX, but for many ports only the last line did contain the
port specific URL to further information.

There have been several proposals to make a project URL available as
a macro in the ports' Makefiles, over time.
(Only the first 15 lines of the commit message are shown above View all of this commit message)
20210316_1
07 Sep 2022 07:46:21
commit hash: cf2fd0b9e1f33bd52361ee3e1802d2dbe76cfaf9commit hash: cf2fd0b9e1f33bd52361ee3e1802d2dbe76cfaf9commit hash: cf2fd0b9e1f33bd52361ee3e1802d2dbe76cfaf9commit hash: cf2fd0b9e1f33bd52361ee3e1802d2dbe76cfaf9 files touched by this commit
Stefan Eßer (se) search for other commits by this committer
Use HTTP URLs instead of FTP URLs in pkg-descr files

The use of FTP URLs in pkg-descr files has been deprecated and some of
the FTP URLs in those files have already become stale.

Replace FTP URLs with HTTP URLs where possible.

There does not appear to be any mirror that preserves the contents of
the defunct ftp.cac.washington.edu host.

Approved by:	portmgr (implicit)
20210316_1
20 Jul 2022 14:22:42
commit hash: 43ac3e28ab940adda213d535ac0b1f0792d456dacommit hash: 43ac3e28ab940adda213d535ac0b1f0792d456dacommit hash: 43ac3e28ab940adda213d535ac0b1f0792d456dacommit hash: 43ac3e28ab940adda213d535ac0b1f0792d456da files touched by this commit
Tobias C. Berner (tcberner) search for other commits by this committer
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 View all of this commit message)
20210316_1
18 Oct 2021 19:20:50
commit hash: e35747787473bd1b4abd82cfe6a33404a7ed93accommit hash: e35747787473bd1b4abd82cfe6a33404a7ed93accommit hash: e35747787473bd1b4abd82cfe6a33404a7ed93accommit hash: e35747787473bd1b4abd82cfe6a33404a7ed93ac files touched by this commit
Vsevolod Stakhov (vsevolod) search for other commits by this committer
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
20210316
06 Apr 2021 14:31:13
commit hash: 135fdeebb99c3569e42d8162b265e15d29bd937dcommit hash: 135fdeebb99c3569e42d8162b265e15d29bd937dcommit hash: 135fdeebb99c3569e42d8162b265e15d29bd937dcommit hash: 135fdeebb99c3569e42d8162b265e15d29bd937d files touched by this commit
Mathieu Arnold (mat) search for other commits by this committer
all: Remove all other $FreeBSD keywords.
20210316
06 Apr 2021 14:31:07
commit hash: 305f148f482daf30dcf728039d03d019f88344ebcommit hash: 305f148f482daf30dcf728039d03d019f88344ebcommit hash: 305f148f482daf30dcf728039d03d019f88344ebcommit hash: 305f148f482daf30dcf728039d03d019f88344eb files touched by this commit
Mathieu Arnold (mat) search for other commits by this committer
Remove # $FreeBSD$ from Makefiles.
20210316
14 Mar 2021 18:58:28
Revision:568407Original commit files touched by this commit
vsevolod search for other commits by this committer
- Really fix build of the port

Submitted by:	Christoph Moench-Tegeder via GitHub
20201303
13 Mar 2021 16:31:43
Revision:568260Original commit files touched by this commit
vsevolod search for other commits by this committer
- Unbreak for FreeBSD >= 12
20180401
22 Dec 2020 02:45:11
Revision:558879Original commit files touched by this commit
linimon search for other commits by this committer
Mark as BROKEN on riscv64 similar to on armvX.

Approved by:	portmgr (tier-2 blanket)
20180401
14 Aug 2019 08:48:51
Revision:508903Original commit files touched by this commit
mat search for other commits by this committer
Convert to UCL & cleanup pkg-message (categories n)

(and missed 3 missed files from previous categories.)
20180401
15 Apr 2019 05:55:24
Revision:498995Original commit files touched by this commit
linimon search for other commits by this committer
These ports now build on powerpc64.

Approved by:	portmgr (tier-2 blanket)
20180401
01 Apr 2018 13:21:58
Revision:466151Original commit files touched by this commit
vsevolod search for other commits by this committer
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]
20150304
18 Mar 2018 06:04:32
Revision:464877Original commit files touched by this commit
linimon search for other commits by this committer
Mark as broken on armvX.

Approved by:	portmgr (tier-2 blanket)
20150304
22 May 2017 16:04:19
Revision:441468Original commit files touched by this commit
linimon search for other commits by this committer
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
20150304
07 May 2015 17:26:06
Revision:385640Original commit files touched by this commit
mat search for other commits by this committer
Update ports in the n* categories to not use GH_COMMIT.

With minor cleanups to make things simpler.

With hat:	portmgr
Sponsored by:	Absolight
20150304
16 Mar 2015 10:52:47
Revision:381380Original commit files touched by this commit
vsevolod search for other commits by this committer
- Fix build on 8.4.
- Do not bump portrevision: package is unchanged

Submitted by:	Eugene Grossbein via IRC
20150304
04 Mar 2015 10:33:33
Revision:380427Original commit files touched by this commit
vsevolod search for other commits by this committer
- 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]
20061223_3
24 Sep 2014 19:21:01
Revision:369199Original commit files touched by this commit
antoine search for other commits by this committer
Do not violate stagedir (and allow staging as a regular user)
20061223_3
23 Sep 2014 10:21:28
Revision:369024Original commit files touched by this commit
bapt search for other commits by this committer
Simpify plist
Fix license
20061223_3
24 Jan 2014 22:56:47
Revision:340940Original commit files touched by this commit
rene search for other commits by this committer
Do not set variables already set by USES=kmod

Approved by:	maintainer silence (vsevolod@)
20061223_3
20 Dec 2013 18:22:32
Revision:337061Original commit files touched by this commit
vsevolod search for other commits by this committer
- Fix build on systems without /usr/share/mk/bsd.compat.mk
20061223_2
28 Nov 2013 17:23:15
Revision:335110Original commit files touched by this commit
bapt search for other commits by this committer
Allow building as a user
20061223_2
01 Nov 2013 16:55:14
Revision:332396Original commit files touched by this commit
vsevolod search for other commits by this committer
- Support staging.
- Use kmod.
20061223_1
20 Sep 2013 22:24:44
Revision:327757Original commit files touched by this commit
bapt search for other commits by this committer
Add NO_STAGE all over the place in preparation for the staging support (cat:
net-mgmt)
20061223_1
13 Sep 2013 15:16:52
Revision:327158Original commit files touched by this commit
vsevolod search for other commits by this committer
* 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.
20061223
24 Apr 2013 17:00:20
Revision:316454Original commit files touched by this commit
eadler search for other commits by this committer
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
20061223
22 Apr 2013 13:27:48
Revision:316230Original commit files touched by this commit
bapt search for other commits by this committer
Reassign skv@ ports to the heap

Feature safe:	yes
20061223
15 Aug 2012 00:37:55
Original commit files touched by this commit
dougb search for other commits by this committer
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.
20061223
13 Aug 2012 10:22:57
Original commit files touched by this commit
dougb search for other commits by this committer
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>
20061223
05 Aug 2012 23:19:40
Original commit files touched by this commit
dougb search for other commits by this committer
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
20061223
25 Feb 2012 22:15:57
Original commit files touched by this commit
eadler search for other commits by this committer
Remove quotes from BROKEN and IGNORE as they are not required

Approved by:    maintainer timeout
20061223
14 Jan 2012 08:57:23
Original commit files touched by this commit
dougb search for other commits by this committer
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.
20061223
24 Oct 2011 09:11:38
Original commit files touched by this commit
dougb search for other commits by this committer
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
20061223
20 Mar 2011 12:54:45
Original commit files touched by this commit
miwi search for other commits by this committer
- Get Rid MD5 support
20061223
07 Jun 2010 15:46:28
Original commit files touched by this commit
skv search for other commits by this committer
Unbreak build for RELENG_8 and later.

PR:             ports/145176
Submitted by:   Eugene Grosbein <eugen@grosbein.pp.ru>
20061223
27 Mar 2010 00:15:24
Original commit files touched by this commit
dougb search for other commits by this committer
Begin the process of deprecating sysutils/rc_subr by
s#. %%RC_SUBR%%#. /etc/rc.subr#
20061223
15 Jul 2009 16:56:10
Original commit files touched by this commit
dougb search for other commits by this committer
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.
20061223
28 Sep 2008 17:43:12
Original commit files touched by this commit
skv search for other commits by this committer
Unbreak build on 7.1

Submitted by:   pluknet <pluknet xxx gmail.com>
20061223
07 Aug 2008 09:49:55
Original commit files touched by this commit
erwin search for other commits by this committer
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>
20061223
05 Aug 2008 07:19:32
Original commit files touched by this commit
erwin search for other commits by this committer
To avoid this port building on pointyhat, use IGNORE and not NO_PACKAGE
20061223
03 Jun 2008 10:40:16
Original commit files touched by this commit
skv search for other commits by this committer
Fix typo & encoding.
20061223
02 Jun 2008 16:27:40
Original commit files touched by this commit
skv search for other commits by this committer
* 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>
20061223
29 Jun 2007 09:16:42
Original commit files touched by this commit
linimon search for other commits by this committer
Populate the 'kld' virtual category, for ports that install Kernel Loadable
modules.

Hat:            portmgr
20061223
25 Dec 2006 10:38:10
Original commit files touched by this commit
skv search for other commits by this committer
Update to 20061223
20050731_2
14 Sep 2006 16:40:18
Original commit files touched by this commit
skv search for other commits by this committer
* Add amd64 patches
* Install "etc/ng_ipacct.conf.sample" only.
20050731_1
03 Sep 2006 19:41:45
Original commit files touched by this commit
skv search for other commits by this committer
Add support for ng_bpf to example scripts.

PR:             ports/102742
Submitted by:   Eugene Grosbein <eugen xx grosbein.pp.ru>
20050731
03 Sep 2006 00:36:51
Original commit files touched by this commit
kris search for other commits by this committer
BROKEN: Unfetchable
20050731
23 Jan 2006 23:46:06
Original commit files touched by this commit
edwin search for other commits by this committer
SHA256ify

Approved by: krion@
20050731
22 Jan 2006 02:47:22
Original commit files touched by this commit
edwin search for other commits by this committer
Replace ugly "@unexec rmdir %D... 2>/dev/null || true" with @dirrmtry

Approved by:    krion@
PR:             ports/88711 (related)
20050731
01 Aug 2005 07:59:53
Original commit files touched by this commit
skv search for other commits by this committer
Update to 20050731:

* fix build for 6.0
* support NGGIF data-link type
20050228_1
12 Apr 2005 18:17:46
Original commit files touched by this commit
skv search for other commits by this committer
Minor typo: "divert" => "tee"
20050228_1
02 Apr 2005 16:34:45
Original commit files touched by this commit
skv search for other commits by this committer
* 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"
20050228
28 Feb 2005 12:34:58
Original commit files touched by this commit
skv search for other commits by this committer
Add ng_ipacct 20050228, Netgraph IP accounting.

Number of commits found: 55