Skip to content

Latest commit

 

History

History
28 lines (19 loc) · 995 Bytes

README.md

File metadata and controls

28 lines (19 loc) · 995 Bytes

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