tcp-stream-capture 0.2.0

Capture TCP packets from libpcap and reassemble them into TCP streams.
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
{ pkgs ? import <nixpkgs> {} }:

pkgs.mkShell {
  buildInputs = [
    pkgs.cmake
    pkgs.libpcap
  ];

  hardeningDisable = [ "fortify" ];

  shellHook = ''
    export CC="clang"
    export CXX="clang++"
    export CXXFLAGS="-isystem ${pkgs.libpcap}/include/"$CXXFLAGS
  '';

  LIBCLANG_PATH = "${pkgs.llvmPackages.libclang.lib}/lib";
}