netsniff-ng, trafgen: drop privileges if wished

Signed-off-by: Daniel Borkmann <dborkman@redhat.com>
examples: move them to contrib, since they don't belong here

Signed-off-by: Daniel Borkmann <dborkman@redhat.com>
conf: rename folder

Signed-off-by: Daniel Borkmann <dborkman@redhat.com>
Merge branch 'master' of github.com:borkmann/netsniff-ng
move scripts into contrib as well, since they are only helpers, not core

Signed-off-by: Daniel Borkmann <dborkman@redhat.com>
netsniff-ng, trafgen: enorce policy if uid/gid set

Signed-off-by: Daniel Borkmann <dborkman@redhat.com>
make: Remove warning about unavailable Makefile

Signed-off-by: Daniel Borkmann <dborkman@redhat.com>
trafgen: different seeds for forks, drop privs later

Signed-off-by: Daniel Borkmann <dborkman@redhat.com>
tprintf: do not buffer internally

Signed-off-by: Daniel Borkmann <dborkman@redhat.com>
netsniff-ng: drop privs later

Signed-off-by: Daniel Borkmann <dborkman@redhat.com>
docs: remove todo bullet

Signed-off-by: Daniel Borkmann <dborkman@redhat.com>
trafgen: do not reseed when manually set

Signed-off-by: Daniel Borkmann <dborkman@redhat.com>
trafgen: if read from stdin, only use 1 cpu

Signed-off-by: Daniel Borkmann <dborkman@redhat.com>
mtrand: Simplify mt_init_by_seed_time()

Just call mt_init_by_seed_rand() instead of re-implementing it.

Signed-off-by: Tobias Klauser <tklauser@distanz.ch>
trafgen: mlock pages during runtime

Signed-off-by: Daniel Borkmann <dborkman@redhat.com>
Merge branch 'master' of github.com:borkmann/netsniff-ng
netsniff-ng: mlock pages during runtime as well

Signed-off-by: Daniel Borkmann <dborkman@redhat.com>
xutils: minor: fix whitespace

Signed-off-by: Daniel Borkmann <dborkman@redhat.com>
ifpps: give note in help about 10g cards

Signed-off-by: Daniel Borkmann <dborkman@redhat.com>
netsniff-ng: pcap: fix multi-file dump with dropped privs

Reported-by: Doug Burks <doug.burks@gmail.com>
Signed-off-by: Daniel Borkmann <dborkman@redhat.com>