Provides packet processing capabilities for Go (http://www.devdungeon.com/content/packet-capture-injection-and-analysis-gopacket)

Gernot Vormayr 836b571ec9 Merge pull request #660 from yerden/decoding-layer-container 5 days ago
afpacket 64ef13805c afpacket: use PACKET_FANOUT_* consts from x/sys/unix 1 month ago
bsdbpf ee033ec8c9 Use errors.New instead of fmt.Errorf when it is possible. 2 years ago
bytediff 56f03efc9a Minor comments/fixes, expose bytediff. 5 years ago
defrag 055652d5ce Moved Defragmenter to New Folder Structure 1 year ago
dumpcommand fa035f329e Third round of review changes from Graeme 2 years ago
examples 0f680daf16 implementing snoop file format with tests and benchmarks (#647) 2 weeks ago
ip4defrag ee01b228e9 Merge pull request #460 from negbie/master 6 months ago
layers 6caa7d08c2 layers: add DecodingLayerContainer tests 5 days ago
macs cce0499332 macs: parse flags at startup 7 months ago
pcap 3e0e9dc85c pcap: correct NewBPF godoc to display code as codeblock 2 months ago
pcapgo 0f680daf16 implementing snoop file format with tests and benchmarks (#647) 2 weeks ago
pfring ed5e228351 Add missing copyright notice 5 months ago
reassembly 8d08f077f6 reassembly: add Late RST packet test for flush/close test 3 weeks ago
routing 89f72a5253 Fix IPv4 routing 1 year ago
tcpassembly ad05d8a6dc fix doc typo in tcpreader 4 months ago
.gitignore cb42ef4a2e [RFC] Add reassembly package and accompanying reassemblydump example 2 years ago
.travis.gofmt.sh 0c13a01c15 Add travis test for go fmt. 3 years ago
.travis.golint.sh d83d96bc69 Fix golint repo location (see golang/[email protected]) 8 months ago
.travis.govet.sh 05f186d6f8 govet checks for includes, we can't vet pfring :( 1 year ago
.travis.install.sh 09080848f1 Improve ci testing 1 month ago
.travis.script.sh 09080848f1 Improve ci testing 1 month ago
.travis.yml f251486b94 Use modules in ci testing starting with go 1.11 1 month ago
AUTHORS 0f680daf16 implementing snoop file format with tests and benchmarks (#647) 2 weeks ago
CONTRIBUTING.md 49ce4fa2ca Remove a lot of stuff from CONTRIBUTING. 2 years ago
LICENSE 771575758d Locking down licensing. 6 years ago
README.md b6b5cc9251 Update version requirements 1 month ago
base.go ce4ade58c6 returning nil on error fix 2 weeks ago
benchmark_test.go 1d38413173 gopacket: fix vet errors 1 year ago
decode.go 043692b45a Drop SetConsumed() API 2 years ago
doc.go b6b5cc9251 Update version requirements 1 month ago
flows.go 414ebfab30 fix typo in LessThan documentation 4 months ago
gc b5b9f8450a Add Support for LCM Defragmentation 1 year ago
gen.go 04f6565bda parser: implement DecodeLayerContainer 5 days ago
go.mod 7983feb478 all: add mod file 2 months ago
go.sum 7983feb478 all: add mod file 2 months ago
layerclass.go 6b62e31b6f Fixed golint on base library. 2 years ago
layers_decoder.go 04f6565bda parser: implement DecodeLayerContainer 5 days ago
layertype.go e1ff2c5f5c Add ability to override layer type, and fix DNS issue. 2 years ago
packet.go 1cc67674b1 Handle ErrFileClosing in packetsToChannel() (#625) 1 month ago
packet_test.go 2f515f11cd Add ability to concat finite packet sources. 2 years ago
parser.go 04f6565bda parser: implement DecodeLayerContainer 5 days ago
time.go 7bc23f016d time: Add tests + fix Micro vs Milli error 5 months ago
time_test.go 7bc23f016d time: Add tests + fix Micro vs Milli error 5 months ago
writer.go c9dbcadb79 fix typo in writer.go's comment 4 months ago
writer_test.go 7167728a3e Add copyrights to files missing them. 5 years ago

README.md

GoPacket

This library provides packet decoding capabilities for Go. See godoc for more details.

Build Status GoDoc

Minimum Go version required is 1.5 except for pcapgo/EthernetHandle, afpacket, and bsdbpf which need at least 1.7 due to x/sys/unix dependencies.

Originally forked from the gopcap project written by Andreas Krennmair [email protected] (http://github.com/akrennmair/gopcap).