Skip to content

v1.0.0

Compare
Choose a tag to compare
@github-actions github-actions released this 08 Sep 15:36
· 40 commits to main since this release
058b546

What's Changed

  • Make capture.Packet a struct instead of an interface by @fako1024 in #2
  • Replace all logrus references with zap by @fako1024 in #5
  • Add NextIPPacket method for capture.Source interface by @fako1024 in #9
  • 4 implement unblock stop logic for non ring source by @fako1024 in #10
  • 7 implement mock capture source by @fako1024 in #14
  • Provide enum for packet type / direction and fix direction logic by @fako1024 in #13
  • 11 provide automatic snaplen values by @fako1024 in #19
  • 15 16 pcap reader zero overhead mock by @fako1024 in #17
  • [feature] Unify capture.Source interface(s) and add zero copy mode for ring buffer source by @fako1024 in #20
  • [bugfix] Add missing interface wrap for SourceZeroCopy by @fako1024 in #21
  • [bugfix] Fix race conditions in mock capture handlers by @fako1024 in #23
  • [feature] Mock source extensions to simplify testing by @fako1024 in #27
  • [bugfix] Fix incorrect handling of mock ring buffer wrap around by @fako1024 in #25
  • [feature] Support for gzip compressed files in pcap source by @fako1024 in #31
  • [bugfix] Fix warning about false remaining packets in ring buffer when piping mock sources by @fako1024 in #29
  • [bugfix] Ring buffer block not automatically released without call to nextPacket() by @fako1024 in #34
  • [bugfix] Make mock socket packet counter interaction atomic by @fako1024 in #36
  • [feature] Support notification after data consumption during Pipe() by @fako1024 in #38
  • [feature] Add new race detection step for GitHub CI action by @fako1024 in #40
  • [bugfix] Refactor afring mock sources to simplify use and avoid race conditions by @fako1024 in #42
  • [feature] Remove unnecessary allocation in ring buffer block retrieval by @fako1024 in #44
  • [trivial] Refactor / cleanup some code parts by @fako1024 in #46
  • [feature][bugfix] Remove Free() method and merge into Close() by @fako1024 in #49
  • [feature] Remove expensive net.Interface lookups upon link initialization by @fako1024 in #51
  • [bugfix] Switch all packet stats / counters to uint64 by @fako1024 in #53
  • [feature] Optimize path traversal sanitization for link / interface access by @fako1024 in #57
  • [feature] Add support for IPv6 GRE tunnel link types 769 & 823 by @fako1024 in #59
  • [bugfix] Prevent access to blocks potentially still being in the buffer after closing mock source by @fako1024 in #63
  • [feature] Support build tag to disable mocks and refactor code by @fako1024 in #61
  • [feature] Remove debugging statements in ring buffer source by @fako1024 in #54
  • [bugfix][feature] Provide packet type filtering capabilities for links / interfaces and drop loopback duplicates by @fako1024 in #67
  • [feature] Remove zap logging dependency in favor of log/slog by @fako1024 in #65
  • [feature][doc] Add proper documentation & examples by @fako1024 in #68
  • [bugfix] Fix memory alignment panic on ARM devices (mock socket atomic counter) by @fako1024 in #70

New Contributors

Full Changelog: https://github.com/fako1024/slimcap/commits/v1.0.0