Package Details: netsniff-ng 0.6.1-1

Git Clone URL: (read-only)
Package Base: netsniff-ng
Description: A high performance Linux network sniffer for packet inspection.
Upstream URL:
Licenses: GPL2
Submitter: dcelasun
Maintainer: dcelasun
Last Packager: dcelasun
Votes: 8
Popularity: 0.021469
First Submitted: 2010-04-09 16:06
Last Updated: 2016-03-23 06:45

Latest Comments

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.

mmlb commented on 2015-02-13 05:22

can you enable flowtop building by using libsodium. netsniff-ng mentions that libsodium can be used as a replacement for libnacl, considering libsodium is api compatible with libnacl. All that you would have to do is override some shell variables when calling configure, like so:

NACL_INC_DIR=/usr/include/sodium NACL_LIB=sodium ./configure

All comments