Up to [NetBSD + pkgsrc-wip] / pkgsrc / net / darkstat
Request diff between arbitrary revisions - Display revisions graphically
Keyword substitution: kv
Default branch: MAIN
Update darkstat to 3.0.715.
per maintainer updater request by PR 46241.
v3.0.715 (January 2012)
- Compatibility fixes for Hurd and Solaris.
- Use link-time optimization and automake-like silent rules.
- Support systems without ifaddrs.h again.
- Continuing fixes for IPv6 support.
- Only update lastseen time for sender, not recipient.
- Implement --local-only: accounting for hosts on the local net.
- Make failure to bind() a socket non-fatal.
- Make failure to get local IP non-fatal.
- Fall back to gethostbyaddr() if getnameinfo() fails.
- Fix detection of IPv4 multicast addresses.
- Fix decoding on OpenBSD DLT_NULL interfaces (e.g. gif(4))
Update to 3.0.714, using patch from Bartosz Kuzma in PR 45095. While here, unset DIST_SUBDIR. Changes since 3.0.713: - IPv6 support! Big ups to Mats Erik Andersson who did most of this work! - Allow sort on last-seen, thanks to Dirk Koopman. - Support multiple bind addresses. - Add --disable-debug configure flag, thanks to Malte S. Stretz. - Make it possible to save the DB without resetting it (SIGUSR2). - Web: Use relative URLs, so darkstat works properly behind mod_proxy, thanks to Malte S. Stretz.
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.
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.
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.
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
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.
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.
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.
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.
Initial revision