
--- Known issues ---

Under Linux, darkstat will sometimes run without capturing packets.
This sort of problem has always come down to the libpcap installation.
(I get complaints about this from a lot of people running a RH7.1 default
install)  Grab the latest stable sources from http://www.tcpdump.org/ and
install libpcap yourself.

If you're rebuilding any of the autoconf/automake stuff you should
have pretty recent versions of automake, autoconf, gettext, etc.

For libpcap (and hence darkstat) to be useful under FreeBSD, you have to
have Berkeley Packet Filter (bpf) compiled into your kernel.  It's in
GENERIC (i.e. it's a default) but some people manage to break things when
you let them roll their own kernels...

I can't get darkstat to work on NetBSD.  If you install mit-pthreads from
pkgsrc and configure with CC=/usr/pkg/pthreads/bin/pgcc it will compile
and get as far as firing up all its threads when you run it, but the
accounting thread will die with:
	Error: pcap_open_live(ne2): /dev/bpf0: Undefined error: 0
If anyone can resolve this for me, please drop me a line.

I've had darkstat compile fine under OpenBSD but the accounting thread
always blocks the other threads from running.  I discovered (by accident)
that this can be worked around by turning on verbose mode, or shooting a
lot of data off into stdout inside the main accounting loop.  If anyone
can clear this up for me, drop me a line.

If traffic is low, the acct thread won't die until it gets a packet.
This is a problem with libpcap - some platforms simply don't honor read
timeouts so pcap_dispatch() blocks.



--- I've seen it work on ---

FreeBSD 4-STABLE
Gentoo Linux



--- Reported to work on ---

I've been using it on Linux 2.4 and Mac OS X 10.2 without any problems.
  -- Stephane Boisson

