darkstat
9 years agoFine tuning for OpenBSD and GNU/kfreebsd.
Mats Erik Andersson [Wed, 29 Sep 2010 14:36:54 +0000 (16:36 +0200)]
Fine tuning for OpenBSD and GNU/kfreebsd.

GNU/Linux and FreeBSD are also fine with these.

9 years agoGet this compiling again on FreeBSD
Emil Mikulic [Tue, 1 Jun 2010 10:48:44 +0000 (20:48 +1000)]
Get this compiling again on FreeBSD

9 years agoFirst graphical accounting of IPv6.
Mats Erik Andersson [Sat, 29 May 2010 10:06:52 +0000 (12:06 +0200)]
First graphical accounting of IPv6.

There are two small changes to "http.c" that corrects
the format string and that reuses the exact length of
the structure in use.

The main changes, however, deal with detection, reporting,
and accounting of IPv6 traffic over the chosen interface.

The present code is only able to match the exact
IPv6 address of the interface to the packet, be it
inbound or outbound. No possibility to set the
netmask length.

The accounting only adds sizes of the packets,
it never goes on to deal with fine grained information.
You will see a conditional in 'acct.c' with a comment
stating that IPv6 proceeds no further.

9 years agoInclude sys/socket.h for AF_UNSPEC on FreeBSD
Emil Mikulic [Thu, 27 May 2010 14:02:49 +0000 (00:02 +1000)]
Include sys/socket.h for AF_UNSPEC on FreeBSD

Suggested by: Mats

9 years agoMaking the webserver IPv6 capable.
Mats Erik Andersson [Wed, 26 May 2010 17:31:34 +0000 (19:31 +0200)]
Making the webserver IPv6 capable.

Options like

   -b 0.0.0.0   -b 127.0.0.1
   -b ::        -b ::1
   -b bug.me.local

are now usable.

10 years agomanpage: display the actual package version 3.0.713
Emil Mikulic [Fri, 5 Mar 2010 06:06:12 +0000 (17:06 +1100)]
manpage: display the actual package version

10 years agoUpdate ChangeLog in preparation for darkstat 3.0.713
Emil Mikulic [Mon, 18 Jan 2010 06:40:04 +0000 (17:40 +1100)]
Update ChangeLog in preparation for darkstat 3.0.713

10 years agoconfigure: give better --with-chroot-dir example
Emil Mikulic [Fri, 5 Mar 2010 05:09:13 +0000 (16:09 +1100)]
configure: give better --with-chroot-dir example

Don't allow "yes" as a chroot directory.

Also, as much as this pains me, be less jerky.
It turns out that not every Unix is as awesome as OpenBSD.

10 years agoImplement --wait
Emil Mikulic [Sun, 17 Jan 2010 14:17:11 +0000 (01:17 +1100)]
Implement --wait

10 years agoRemove dead stores.
Emil Mikulic [Sun, 17 Jan 2010 14:41:52 +0000 (01:41 +1100)]
Remove dead stores.

Found by: Clang Static Analyzer

10 years agoTweak manpage wording and formatting.
Emil Mikulic [Sun, 17 Jan 2010 14:17:51 +0000 (01:17 +1100)]
Tweak manpage wording and formatting.

10 years agoMerge THANKS into AUTHORS.
Emil Mikulic [Sun, 17 Jan 2010 13:52:30 +0000 (00:52 +1100)]
Merge THANKS into AUTHORS.

10 years agoShip the ChangeLog when rolling a release.
Emil Mikulic [Wed, 18 Nov 2009 11:59:01 +0000 (22:59 +1100)]
Ship the ChangeLog when rolling a release.

10 years agoAdd ChangeLog from darkstat website.
Emil Mikulic [Wed, 18 Nov 2009 11:58:10 +0000 (22:58 +1100)]
Add ChangeLog from darkstat website.

11 years agoImprove wording of "network internal"
Emil Mikulic [Wed, 16 Sep 2009 13:15:36 +0000 (23:15 +1000)]
Improve wording of "network internal"

11 years agoImprove --pppoe example and mention nas0 interface.
Emil Mikulic [Wed, 16 Sep 2009 13:11:28 +0000 (23:11 +1000)]
Improve --pppoe example and mention nas0 interface.

Requested by: Prof A Olowofoyeku / routertech.org

11 years agoImplement and document --syslog
Emil Mikulic [Wed, 16 Sep 2009 13:01:52 +0000 (23:01 +1000)]
Implement and document --syslog

11 years agoImprove the "timeout on" diagnostic message.
Emil Mikulic [Wed, 26 Aug 2009 11:59:09 +0000 (21:59 +1000)]
Improve the "timeout on" diagnostic message.

11 years agoHack around snaplen problem in recent Ubuntu.
Emil Mikulic [Mon, 17 Aug 2009 09:09:04 +0000 (19:09 +1000)]
Hack around snaplen problem in recent Ubuntu.

11 years agoImplement --snaplen
Emil Mikulic [Wed, 12 Aug 2009 12:24:29 +0000 (22:24 +1000)]
Implement --snaplen

11 years agoUse pcap_setnonblock() on Linux.
Emil Mikulic [Wed, 12 Aug 2009 12:48:24 +0000 (22:48 +1000)]
Use pcap_setnonblock() on Linux.

11 years agoImplement --no-lastseen
Emil Mikulic [Sat, 25 Apr 2009 13:57:23 +0000 (23:57 +1000)]
Implement --no-lastseen

11 years agoImplement --hexdump
Emil Mikulic [Sat, 25 Apr 2009 11:20:55 +0000 (21:20 +1000)]
Implement --hexdump

11 years agoManpage moved to section 8, adjust usage notice.
Emil Mikulic [Fri, 24 Apr 2009 11:43:44 +0000 (21:43 +1000)]
Manpage moved to section 8, adjust usage notice.

11 years agoAdjust {hosts,ports}-keep when they're not kept under max.
Emil Mikulic [Thu, 1 Jan 2009 12:27:48 +0000 (23:27 +1100)]
Adjust {hosts,ports}-keep when they're not kept under max.

Requested by: The Chief

11 years agoDon't apply ports-{max,keep} to protocols.
Emil Mikulic [Thu, 1 Jan 2009 12:27:11 +0000 (23:27 +1100)]
Don't apply ports-{max,keep} to protocols.

This helps us survive proto accounting when --ports-max is zero.

11 years agoSkip port accounting when --ports-max is zero.
Emil Mikulic [Thu, 1 Jan 2009 12:26:41 +0000 (23:26 +1100)]
Skip port accounting when --ports-max is zero.

11 years agoSkip per-host accounting if --hosts-max is zero.
Emil Mikulic [Thu, 1 Jan 2009 12:17:34 +0000 (23:17 +1100)]
Skip per-host accounting if --hosts-max is zero.

11 years agoBe very specific that max must be greater than keep.
Emil Mikulic [Thu, 1 Jan 2009 12:00:05 +0000 (23:00 +1100)]
Be very specific that max must be greater than keep.

Prompted by: a RouterTech user

11 years agoImplement support for DLT_RAW.
Anton S. Ustyuzhanin [Thu, 1 Jan 2009 11:36:07 +0000 (22:36 +1100)]
Implement support for DLT_RAW.

11 years agoIgnore errors from pcap_dispatch.
Emil Mikulic [Thu, 1 Jan 2009 11:30:37 +0000 (22:30 +1100)]
Ignore errors from pcap_dispatch.

This makes interface going down survivable on Linux.

Prompted by: Chris Franklin

11 years agomanual: Add example for specifying local IP via -l.
Dennis Jansen [Wed, 10 Dec 2008 10:37:31 +0000 (11:37 +0100)]
manual: Add example for specifying local IP via -l.

11 years agoDon't require --verbose for pcap_stats.
Emil Mikulic [Wed, 10 Dec 2008 10:59:50 +0000 (21:59 +1100)]
Don't require --verbose for pcap_stats.

How embarassing.  And it didn't get picked up during testing.

Noticed by: Dennis Jansen

11 years agoImport darkstat 3.0.712 3.0.712
Emil Mikulic [Fri, 24 Apr 2009 11:34:12 +0000 (21:34 +1000)]
Import darkstat 3.0.712