Provides packet processing capabilities for Go
  • Go 99.7%
  • Shell 0.2%
Find a file
George Powers b7d9dbd15a
Merge pull request #1203 from tengyiG/update_layer_types
Synced updates from internal repo: updated layer types for AGUEVar0, AGUEVar1, and APSP; implemented related tests; ran go mod tidy to update dependencies.
2025-03-19 16:47:36 -07:00
afpacket add af-packet support ebpf filter 2022-08-10 08:45:06 -06:00
bsdbpf Use errors.New instead of fmt.Errorf when it is possible. 2016-10-17 10:13:33 -06:00
bytediff Remove unused functions and consts 2020-09-30 14:11:50 -06:00
defrag/lcmdefrag Moved Defragmenter to New Folder Structure 2018-06-04 09:42:03 -06:00
dumpcommand Third round of review changes from Graeme 2017-02-09 10:08:18 -07:00
examples remove uneccesary example 2021-04-29 09:38:27 -06:00
ip4defrag Merge pull request #460 from negbie/master 2018-12-21 22:03:25 +01:00
layers Synced updates from internal repo: updated layer types for AGUEVar0, AGUEVar1, and APSP; implemented related tests; ran go mod tidy to update dependencies. 2025-03-05 00:44:00 +00:00
macs New valid MAC prefixes. 2020-07-21 18:21:22 -06:00
pcap fix pcap panic if more than 1024 fd open 2020-07-20 09:36:32 -06:00
pcapgo Don't ignore error cases 2020-09-30 14:12:11 -06:00
pfring Add missing copyright notice 2019-01-03 18:53:26 +01:00
reassembly reassembly: fix tests - set internal ports 2021-03-04 09:52:59 -07:00
routing Fix pointer error in for loop 2021-02-08 09:49:32 -07:00
tcpassembly Update example to compile. 2020-09-02 14:41:25 -06:00
.gitignore [RFC] Add reassembly package and accompanying reassemblydump example 2017-02-09 10:08:18 -07:00
.travis.gofmt.sh Add travis test for go fmt. 2016-03-04 09:56:11 -07:00
.travis.golint.sh Fix golint repo location (see golang/lint@ead987a) 2018-10-18 09:54:14 -06:00
.travis.govet.sh govet checks for includes, we can't vet pfring :( 2018-06-20 09:56:11 -06:00
.travis.install.sh Improve ci testing 2019-05-05 18:20:56 +02:00
.travis.script.sh update travis script 2021-01-06 19:49:46 +09:00
.travis.yml Disable windows on travis 2020-02-10 22:34:42 +01:00
AUTHORS Add TLS layer serialization; bugfixes for layer memory reuse 2020-08-25 09:23:50 -06:00
base.go returning nil on error fix 2019-06-07 10:59:30 +03:00
benchmark_test.go gopacket: fix vet errors 2018-03-20 15:04:23 -06:00
CONTRIBUTING.md Remove a lot of stuff from CONTRIBUTING. 2017-03-06 17:28:25 -07:00
decode.go Drop SetConsumed() API 2017-02-09 10:08:18 -07:00
doc.go Small documentation fix. This fixes #679 2019-07-22 07:42:13 +02:00
flows.go fix typo in LessThan documentation 2019-02-18 11:30:48 +01:00
gc Add Support for LCM Defragmentation 2018-06-04 09:42:03 -06:00
gen.go parser: implement DecodeLayerContainer 2019-06-20 10:03:15 +06:00
go.mod Synced updates from internal repo: updated layer types for AGUEVar0, AGUEVar1, and APSP; implemented related tests; ran go mod tidy to update dependencies. 2025-03-05 00:44:00 +00:00
go.sum Synced updates from internal repo: updated layer types for AGUEVar0, AGUEVar1, and APSP; implemented related tests; ran go mod tidy to update dependencies. 2025-03-05 00:44:00 +00:00
layerclass.go Fixed golint on base library. 2016-09-23 10:20:55 -06:00
layers_decoder.go parser: implement DecodeLayerContainer 2019-06-20 10:03:15 +06:00
layertype.go Add ability to override layer type, and fix DNS issue. 2016-12-14 10:43:04 -07:00
LICENSE Locking down licensing. 2013-01-07 12:00:46 -07:00
packet.go Handle ErrFileClosing in packetsToChannel() (#625) 2019-05-09 18:18:06 +02:00
packet_test.go Add ability to concat finite packet sources. 2016-12-09 10:08:49 -07:00
parser.go parser: implement DecodeLayerContainer 2019-06-20 10:03:15 +06:00
README.md Fix CI-testing 2019-09-12 09:57:06 +02:00
time.go time: Add tests + fix Micro vs Milli error 2019-01-05 12:07:59 +01:00
time_test.go time: Add tests + fix Micro vs Milli error 2019-01-05 12:07:59 +01:00
writer.go fix typo in writer.go's comment 2019-02-10 17:55:12 +09:00
writer_test.go Add copyrights to files missing them. 2013-10-04 13:53:51 -06:00

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 ak@synflood.at (http://github.com/akrennmair/gopcap).