Warning: file_exists(): open_basedir restriction in effect. File(/srv/http/vhosts/aur.archlinux.org/public/web/locale//en/LC_MESSAGES/aurweb.mo) is not within the allowed path(s): (/srv/http/vhosts/aur-dev.archlinux.org/:/etc/aurweb/) in /srv/http/vhosts/aur-dev.archlinux.org/public/web/lib/streams.php on line 90
AUR (en) - netsniff-ng

Notice: Undefined variable: name in /srv/http/vhosts/aur-dev.archlinux.org/public/web/lib/pkgfuncs.inc.php on line 248

Package Details: netsniff-ng 0.6.2-1

Git Clone URL: https://aur-dev.archlinux.org/netsniff-ng.git (read-only)
Package Base: netsniff-ng
Description: A high performance Linux network sniffer for packet inspection.
Upstream URL: http://netsniff-ng.org/
Licenses: GPL2
Submitter: dcelasun
Maintainer: dcelasun
Last Packager: dcelasun
Votes: 9
Popularity: 0.977681
First Submitted: 2010-04-09 16:06
Last Updated: 2017-02-03 20:22

Latest Comments

1 2 3 Next › Last »

rudy.matela commented on 2016-10-10 11:28

Hello dcelasun,

I was the maintainer for libcli AUR package for a few years now. I do not intend to maintain it anymore. Since your netsniff-ng package depends on it, being the only one that does so on AUR, I have transfered libcli's ownership to you (sorry for not asking beforehand). If you do not wish to maintain it, feel free to disown.

dcelasun commented on 2015-11-17 13:01

0.6.0-2 uses libsodium instead of libnacl (which nobody ported to AUR4), so curvetun is now enabled.

dcelasun commented on 2015-08-12 03:26

@Thermi: OK, I'll try to find some time this weekend to see if I can build with mausezahn.

Thermi commented on 2015-08-12 01:05


It would be quite nice to build mausezahn in the package, too, because
the PKGBUILD for it wasn't ported to the AUR 4.0 and development is done in netsniff-ng since the death of the developer 4 years ago.

dcelasun commented on 2015-06-02 06:33

Hey guys, apologies for the delays. I'll update the package on aur4 in a few days when I get back home.

eniac commented on 2015-06-02 05:47

Thanks dtzWill, I'm still a noob :) I was able to compile netsniff-ng and libcli using your PKGBUILDs.

dtzWill commented on 2015-05-31 19:02

To be clear, it seems libcli doesn't build as of late but that's not a problem with netsniff-ng itself.

FWIW, libcli issues should be reported on the libcli page:


I reproduced the issue you ran into, enciac, and posted a PKGBUILD there that addresses it. Take a look and report back on that page if you would :).

eniac commented on 2015-05-28 14:54

Same problem here. Using dtzWill's pkgbuild worked (without mausezahn) but then installation aborted because libcli compilation failed (clitest.c:75:45: error: ISO C does not support ‘__FUNCTION__’ predefined identifier).

dtzWill commented on 2015-05-27 19:42

I had the same issues with "permission denied" on /etc path, as well a problem with the installation attempting to put files into /sbin.

I also changed the 'make' rule to only build the components we plan on installing--don't build mausezahn if not going to install it.

Here's the PKGBUILD I ended up using, hope this helps:

# Maintainer: Can Celasun <dcelasun[at]gmail[dot]com>
pkgdesc='A high performance Linux network sniffer for packet inspection (without curvetun tool).'
arch=('i686' 'x86_64')
makedepends=('cmake' 'flex' 'bison')
depends=('ncurses' 'geoip' 'zlib' 'libnetfilter_conntrack' 'libpcap' 'liburcu' 'libnl' 'libcli' 'libnet')
optdepends=('libnacl: Needed for curvetun')

build() {
cd "${srcdir}"/${pkgname}-${_pkgver}
make DISTRO=1 allbutmausezahn

package() {
cd "${srcdir}"/${pkgname}-${_pkgver}
make PREFIX="/usr" DESTDIR="${pkgdir}" SBINDIR="/usr/bin" install_allbutmausezahn

dcelasun commented on 2015-02-13 06:00

Please don't use the out-of-date flag for a feature request.

In the past I've tried to build this with libnacl support, but getting nacl to compile was a massive pain so I left it out. Now that libsodium is in the official repositories, maybe we can change that.

I'll take a look and if it sounds feasible, update the package.