Skip to content

libpeafowl/go-peafowl

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

22 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

go-peafowl

About

Peafowl is a flexible and extensible DPI framework which can be used to identify the application protocols carried by IP (IPv4 and IPv6) packets and to extract and process data and metadata carried by those protocols. This module allows golang projects to leverage the power of Peafowl for Deep-Packet Inspection of live and recorded network traffic.

Usage Example

make
example/go-peafowl -rf example/pcap/http.pcap

Benchmark on a i3

go test -bench=. -benchmem
goos: linux
goarch: amd64
BenchmarkGetProtocol-4    10000000    163 ns/op    32 B/op    1 allocs/op

Credits & Acknowledgements

All wrapped C functions at top of main.go are from M. Campus

Check out node-peafowl by L. Mangani, M. Campus

Packages

No packages published

Languages

  • C 83.2%
  • Go 13.5%
  • C++ 2.9%
  • Makefile 0.4%