Commit graph

13 commits

Author SHA1 Message Date
morr
d74a02291d Update to 3.0.713 from maintainer.
Changes:
 - Don't require --verbose for pcap_stats.
 - Survive interface going down on Linux.
 - Support DLT_RAW, implemented by Anton S. Ustyuzhanin.
 - Skip accounting for hosts or ports if their max is set to zero.
 - Implement --hexdump for troubleshooting.
 - Web: Implement --no-lastseen
 - Implement --snaplen manual override.
 - Fix snaplen problem on recent (1-2 years?) Linux kernels.
 - Implement --syslog
 - Implement --wait as a NetworkManager workaround.
2010-04-13 21:02:00 +00:00
joerg
3900f91ff1 Convert @exec/@unexec to @pkgdir or drop it. 2009-06-14 21:00:03 +00:00
joerg
62d1ba2bac Remove @dirrm entries from PLISTs 2009-06-14 18:03:28 +00:00
obache
926d2ecf0a Update darkstat to 3.0.712.
Requested by maintainer in PR 40128.

Changes since 3.0.711:
- Web: Add --no-macs option to hide mac addresses.
  Thanks Dennis!
- Web: Make tables prettier.
- Host detail view now triggers a DNS lookup.
- Manpage tweaks, also move from section 1 to section 8.
- Track and show how long ago a host was last seen.
  Suggested by: Prof A Olowofoyeku (The African Chief)
- Show pcap_stats (like number of packets dropped) in the web
  interface and also upon exit.
2008-12-07 11:16:50 +00:00
obache
b52c43bc73 Update darkstat to 3.0.711 by mainteiner update request via PR 39401.
Changes since 3.0.708:
 - Split --debug into --verbose and --no-daemon
 - Include launchd config and instructions for running darkstat
   on Mac OS X.  Contributed by Damien Clauzel.
 - Implement PPPoE decoding on ethernet iface. (--pppoe)
 - Web: Add automatic reload button.  Thanks Dennis!
 - Web: Add a graph legend with min/avg/max.
 - Web: Remove hashtable stats pages.
2008-08-24 21:52:29 +00:00
obache
5c42194cd1 Add missing rc.d script. 2008-06-11 13:30:06 +00:00
obache
ffa7140bcc Update darkstat to 3.0.708.
Based on MAINTAINER update request in  PR 38930.
While here, add DESTDIR support.

Changes since 3.0.707:
 - Implement limiting of number of ports tracked per host,
   configurable on the commandline (--ports-max)
 - Optionally don't track high ports (--highest-port)
   Thanks Dennis!
 - Fix rare use-after-free resulting from hosts table reduction.
 - Make hosts limit configurable (--hosts-max)
 - Option to read from capfile as alternative to live capture
   (really only useful for development, benchmarking)
 - Add the sniffed interface name to HTML reports.
   Thanks Chris!

 - pkgsrc - add rc.d script
2008-06-11 13:27:31 +00:00
obache
ddc8531d19 Update darkstat to 3.0.707.
Patch provided by MAINTAINER, Bartosz Kuzma in PR 37052.

Changes since 3.0.619:

- Fix silly bug in formatting hex.
- Check for pcap.h in include/pcap/ for old RedHat-a-likes.
- New commandline parser.
- To stay in foreground, pass --debug instead of -d.
- We can now reset all statistics at runtime (send SIGUSR1)
- Make chroot dir configurable on cmdline (--chroot)
- Make privdrop user configurable on cmdline (--user)
- Implement daylog (brings back a v2 feature)
- Import and export hosts and graphs, this brings back a fairly
  major v2 feature.  Big ups to Ben for doing a lot of the
  design and implementation of this feature!
  Note that the v3 database format is, by design, incompatible
  with the v2 format.
- Report average KB/s in and out on graphs.
  Thanks to Damian Lozinski for suggestion and first cut at the
  implementation.
- Fix graph rotation when the delay between rotations is big
  enough to clear an entire graph.
- Make ip_proto 8 bits wide, to match the IP header.
- Implement pidfile functionality for people who prefer to
  handle daemons in this manner.
2007-10-14 02:17:41 +00:00
obache
f5133279d1 Fix depending version of libpcap, need newer prototype for pcap_freenode.
Bump PKGREVISION.
2007-06-11 15:23:12 +00:00
obache
a3c370d457 Update darkstat to 3.0.619.
Patch provided by MAINTAINER, Bartosz Kuzma in PR 36250.

Changes from 3.0.540 to 3.0.619:
 - Decode DLT_PPP and DLT_PPP_SERIAL on NetBSD,
   patch courtesy of Bartosz Kuzma.
 - Don't use pcap_setnonblock(), with help from Colin Phipps.
 - Reduce the number of syscalls made.
 - Answer FAQ about graph axes / labels / scale.
 - Fix build on OpenBSD (thanks Chris!) and Solaris.
 - Commandline arg (-n) to disable promiscuous mode when
   sniffing, thanks to Chris Kuethe for the implementation.
 - Commandline arg (-r) to disable DNS resolver.
 - Track and report per-host last seen MAC address.
 - Move FAQ into manpage.
 - Implement display of start time and running time.
 - Web: implement sorting the hosts table by in/out/total.
 - Web: implement paging through the hosts table.
 - Web: implement full view of hosts table.
 - Don't die if the capture interface loses its IP address.
 - Make daemonize (previously -d) the default, and make -D the
   argument to suppress it.
 - Commandline arg (-l) to graph traffic entering/leaving the
   local network as opposed to just the local IP.  v2 had this.
 - Allow configure-time override of CHROOT_DIR and PRIVDROP_USER.
 - Web: new color scheme.
2007-05-09 13:39:11 +00:00
obache
517dac9aa2 Update darkstat to 3.0.540.
Patch provided by MAINTAINER, Bartosz Kuzma via PR 34158.

Changes from 3.0.524 to 3.0.540
 - Fix build against old libpcap (thanks Claudio)
 - Fix build on AIX (thanks Andreas)
 - Fix build warnings on NetBSD (thanks Bartosz)
 - Deny writes to BPF socket (thanks Can)
 - Reverse-resolve IPs less aggressively.
 - Free up the DNS queue as we process it.
 - Fix dns_reply silliness.
 - Web: tweak the look of the top bar.
 - Web: update total packets and bytes as part of graph update.
 - Decode DLT_LINUX_SLL (ippp0 on Linux),
   patch courtesy of Ingo Bressler

pkgsrc specific changes:
 - /var/empty has marked obsolete by etcupdate so I've changed
   chroot dir for darkstat to ${PREFIX}/share/darkstat/chroot.
 - patch-aa add support for DLT_PPP_SERIAL (for NetBSD only)
   and DLT_PPP devices.
2006-10-07 07:49:01 +00:00
minskim
fe7fd89fe3 This package needs zlib. 2006-07-20 16:32:46 +00:00
minskim
b77e2fdd37 Import darkstat from pkgsrc-wip. Packaged by Bartosz Kuzma.
Effectively, it's a packet sniffer which runs as a background process
on a cable/DSL router, gathers all sorts of useless but interesting
statistics, and serves them over HTTP.

Features:
 * Traffic graphs.
 * Tracks traffic per host.
 * Tracks traffic per TCP and UDP port for each host.
 * Embedded web-server with deflate compression.
 * Asynchronous reverse DNS resolution using a child process.
 * Small. Portable. Single-threaded. Efficient.
2006-07-19 04:41:47 +00:00