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

Dan Root 0ad7f2610e Set BaseLayer.Contents correctly in SIP layer. (#702) 5 days ago
afpacket 64ef13805c afpacket: use PACKET_FANOUT_* consts from x/sys/unix 5 months ago
bsdbpf ee033ec8c9 Use errors.New instead of fmt.Errorf when it is possible. 3 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) 4 months ago
ip4defrag ee01b228e9 Merge pull request #460 from negbie/master 9 months ago
layers 0ad7f2610e Set BaseLayer.Contents correctly in SIP layer. (#702) 5 days ago
macs 8c861fbb4d Fix CI-testing 1 month ago
pcap 5d80840360 add descriptive error message on activate (#718) 5 days ago
pcapgo 8c861fbb4d Fix CI-testing 1 month ago
pfring ed5e228351 Add missing copyright notice 9 months ago
reassembly 8d08f077f6 reassembly: add Late RST packet test for flush/close test 4 months ago
routing 89f72a5253 Fix IPv4 routing 2 years ago
tcpassembly ad05d8a6dc fix doc typo in tcpreader 8 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]) 1 year ago
.travis.govet.sh 05f186d6f8 govet checks for includes, we can't vet pfring :( 1 year ago
.travis.install.sh 09080848f1 Improve ci testing 5 months ago
.travis.script.sh 09080848f1 Improve ci testing 5 months ago
.travis.yml cb7362c028 Add go1.13 to ci test 1 month ago
AUTHORS 0f680daf16 implementing snoop file format with tests and benchmarks (#647) 4 months ago
CONTRIBUTING.md 49ce4fa2ca Remove a lot of stuff from CONTRIBUTING. 2 years ago
LICENSE 771575758d Locking down licensing. 6 years ago
README.md 8c861fbb4d Fix CI-testing 1 month ago
base.go ce4ade58c6 returning nil on error fix 4 months ago
benchmark_test.go 1d38413173 gopacket: fix vet errors 1 year ago
decode.go 043692b45a Drop SetConsumed() API 2 years ago
doc.go 0a27d39178 Small documentation fix. This fixes #679 2 months ago
flows.go 414ebfab30 fix typo in LessThan documentation 7 months ago
gc b5b9f8450a Add Support for LCM Defragmentation 1 year ago
gen.go 04f6565bda parser: implement DecodeLayerContainer 3 months ago
go.mod 7983feb478 all: add mod file 6 months ago
go.sum 7983feb478 all: add mod file 6 months ago
layerclass.go 6b62e31b6f Fixed golint on base library. 3 years ago
layers_decoder.go 04f6565bda parser: implement DecodeLayerContainer 3 months 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) 5 months ago
packet_test.go 2f515f11cd Add ability to concat finite packet sources. 2 years ago
parser.go 04f6565bda parser: implement DecodeLayerContainer 3 months ago
time.go 7bc23f016d time: Add tests + fix Micro vs Milli error 9 months ago
time_test.go 7bc23f016d time: Add tests + fix Micro vs Milli error 9 months ago
writer.go c9dbcadb79 fix typo in writer.go's comment 8 months ago
writer_test.go 7167728a3e Add copyrights to files missing them. 6 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.9 due to x/sys/unix dependencies.

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