forked from mirrors/nixpkgs
Adding TCPFlow: a tool to separate tcp streams when capturing
This commit is contained in:
parent
07dc578572
commit
31f3755327
29
pkgs/tools/networking/tcpflow/default.nix
Normal file
29
pkgs/tools/networking/tcpflow/default.nix
Normal file
|
@ -0,0 +1,29 @@
|
||||||
|
{stdenv, fetchurl, openssl, zlib, libpcap, boost, cairo}:
|
||||||
|
let
|
||||||
|
s = # Generated upstream information
|
||||||
|
rec {
|
||||||
|
baseName="tcpflow";
|
||||||
|
version="1.4.4";
|
||||||
|
name="${baseName}-${version}";
|
||||||
|
hash="0k2lxlvn1x8avkrijc22scrj4p2g5agfskbgfc2d0w9zgrg61xdn";
|
||||||
|
url="http://www.digitalcorpora.org/downloads/tcpflow/tcpflow-1.4.4.tar.gz";
|
||||||
|
sha256="0k2lxlvn1x8avkrijc22scrj4p2g5agfskbgfc2d0w9zgrg61xdn";
|
||||||
|
};
|
||||||
|
buildInputs = [
|
||||||
|
openssl zlib libpcap boost cairo
|
||||||
|
];
|
||||||
|
in
|
||||||
|
stdenv.mkDerivation {
|
||||||
|
inherit (s) name version;
|
||||||
|
inherit buildInputs;
|
||||||
|
src = fetchurl {
|
||||||
|
inherit (s) url sha256;
|
||||||
|
};
|
||||||
|
meta = {
|
||||||
|
inherit (s) version;
|
||||||
|
description = ''TCP stream extractor'';
|
||||||
|
license = stdenv.lib.licenses.gpl3 ;
|
||||||
|
maintainers = [stdenv.lib.maintainers.raskin];
|
||||||
|
platforms = stdenv.lib.platforms.linux;
|
||||||
|
};
|
||||||
|
}
|
1
pkgs/tools/networking/tcpflow/default.upstream
Normal file
1
pkgs/tools/networking/tcpflow/default.upstream
Normal file
|
@ -0,0 +1 @@
|
||||||
|
url http://www.digitalcorpora.org/downloads/tcpflow/
|
|
@ -2036,6 +2036,8 @@ let
|
||||||
|
|
||||||
tcpdump = callPackage ../tools/networking/tcpdump { };
|
tcpdump = callPackage ../tools/networking/tcpdump { };
|
||||||
|
|
||||||
|
tcpflow = callPackage ../tools/networking/tcpflow { };
|
||||||
|
|
||||||
teamviewer = callPackage_i686 ../applications/networking/remote/teamviewer { };
|
teamviewer = callPackage_i686 ../applications/networking/remote/teamviewer { };
|
||||||
|
|
||||||
# Work In Progress: it doesn't start unless running a daemon as root
|
# Work In Progress: it doesn't start unless running a daemon as root
|
||||||
|
|
Loading…
Reference in a new issue