nixpkgs/pkgs/tools/networking/darkstat/default.nix
Tobias Geerinckx-Rice c4a2f4f4b1 darkstat 3.0.718 -> 3.0.719
- Implement tracking of remote ports: shows which ports the host
  is making outgoing connections to. Long time feature request.
- Bugfix: when the capture interface goes down, exit instead of
  busy-looping forever.
- Fix "clock error" due to machine reboot.
- SIGUSR1 now resets the time and bytes reported on the graphs
  page.
- Account for all IP protocols.
- Change the default ports_max to only twice the default
  ports_keep.
2015-05-25 13:35:54 +02:00

32 lines
957 B
Nix

{ stdenv, fetchurl, libpcap, zlib }:
stdenv.mkDerivation rec {
version = "3.0.719";
name = "darkstat-${version}";
src = fetchurl {
url = "${meta.homepage}/${name}.tar.bz2";
sha256 = "1mzddlim6dhd7jhr4smh0n2fa511nvyjhlx76b03vx7phnar1bxf";
};
buildInputs = [ libpcap zlib ];
enableParallelBuilding = true;
meta = with stdenv.lib; {
description = "Network statistics web interface";
longDescription = ''
Captures network traffic, calculates statistics about usage, and serves
reports over HTTP. Features:
- Traffic graphs, reports per host, shows ports for each host.
- Embedded web-server with deflate compression.
- Asynchronous reverse DNS resolution using a child process.
- Small. Portable. Single-threaded. Efficient.
- Supports IPv6.
'';
homepage = http://unix4lyfe.org/darkstat;
license = with licenses; gpl2;
maintainers = with maintainers; [ nckx ];
};
}