Package Details: netsniff-ng 0.6.1-1

Git Clone URL: https://aur.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: 8
Popularity: 0.000395
First Submitted: 2010-04-09 16:06
Last Updated: 2016-03-23 06:45

Latest Comments

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

Hello,

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:

https://aur.archlinux.org/packages/libcli/

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>
pkgname=netsniff-ng
pkgver=0.5.9
_pkgver=${pkgver}
pkgrel=1
pkgdesc='A high performance Linux network sniffer for packet inspection (without curvetun tool).'
arch=('i686' 'x86_64')
url='http://netsniff-ng.org/'
license=('GPL2')
md5sums=('f62d7d9f1567c8ef80e2650428baee9d')
makedepends=('cmake' 'flex' 'bison')
depends=('ncurses' 'geoip' 'zlib' 'libnetfilter_conntrack' 'libpcap' 'liburcu' 'libnl' 'libcli' 'libnet')
optdepends=('libnacl: Needed for curvetun')
source=(http://pub.netsniff-ng.org/netsniff-ng/netsniff-ng-${_pkgver}.tar.gz)

build() {
cd "${srcdir}"/${pkgname}-${_pkgver}
./configure
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.

All comments