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

Graeme Connell c340012d34 Merge pull request #689 from gconnell/master 2 weeks ago
afpacket 64ef13805c afpacket: use PACKET_FANOUT_* consts from x/sys/unix 3 months 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 months ago
ip4defrag ee01b228e9 Merge pull request #460 from negbie/master 8 months ago
layers 8a7322b2fd Fix tcp option decoding to stop at end of options. 3 weeks ago
macs bb3736fa43 Update macs. 2 weeks ago
pcap ce2e696dc0 Move pcapBpfProgram to it's own heap allocated structure. 1 month ago
pcapgo 7cc6592eca Added support for writing pcaps with nanosecond timestamp (#684) 3 weeks ago
pfring ed5e228351 Add missing copyright notice 7 months ago
reassembly 8d08f077f6 reassembly: add Late RST packet test for flush/close test 2 months ago
routing 89f72a5253 Fix IPv4 routing 1 year ago
tcpassembly ad05d8a6dc fix doc typo in tcpreader 6 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]) 10 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 3 months ago
.travis.script.sh 09080848f1 Improve ci testing 3 months ago
.travis.yml f251486b94 Use modules in ci testing starting with go 1.11 3 months ago
AUTHORS 0f680daf16 implementing snoop file format with tests and benchmarks (#647) 2 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 b6b5cc9251 Update version requirements 3 months ago
base.go ce4ade58c6 returning nil on error fix 2 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 3 weeks ago
flows.go 414ebfab30 fix typo in LessThan documentation 6 months ago
gc b5b9f8450a Add Support for LCM Defragmentation 1 year ago
gen.go 04f6565bda parser: implement DecodeLayerContainer 1 month ago
go.mod 7983feb478 all: add mod file 4 months ago
go.sum 7983feb478 all: add mod file 4 months ago
layerclass.go 6b62e31b6f Fixed golint on base library. 2 years ago
layers_decoder.go 04f6565bda parser: implement DecodeLayerContainer 1 month 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) 3 months ago
packet_test.go 2f515f11cd Add ability to concat finite packet sources. 2 years ago
parser.go 04f6565bda parser: implement DecodeLayerContainer 1 month ago
time.go 7bc23f016d time: Add tests + fix Micro vs Milli error 7 months ago
time_test.go 7bc23f016d time: Add tests + fix Micro vs Milli error 7 months ago
writer.go c9dbcadb79 fix typo in writer.go's comment 6 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).