Skip to content

Commit

Permalink
feat(output/tcp): support SACK and TFO (#159)
Browse files Browse the repository at this point in the history
closes #155
  • Loading branch information
mozillazg authored Oct 4, 2024
1 parent c6fbd56 commit 52782fc
Show file tree
Hide file tree
Showing 7 changed files with 64 additions and 5 deletions.
2 changes: 1 addition & 1 deletion go.mod
Original file line number Diff line number Diff line change
Expand Up @@ -105,7 +105,7 @@ replace (
github.com/docker/docker => github.com/docker/docker v24.0.9+incompatible
github.com/gopacket/gopacket => github.com/mozillazg/gopacket v0.0.0-20241002125412-112c3fb39360
// github.com/gopacket/gopacket => ../../gopacket/gopacket
github.com/x-way/pktdump => github.com/mozillazg/pktdump v0.0.9-0.20241002124615-e03da3440378
github.com/x-way/pktdump => github.com/mozillazg/pktdump v0.0.9-0.20241003022253-cbafa8b6312d
// github.com/x-way/pktdump => ../../x-way/pktdump

// https://github.com/kubernetes/kubernetes/blob/release-1.24/go.mod
Expand Down
4 changes: 2 additions & 2 deletions go.sum
Original file line number Diff line number Diff line change
Expand Up @@ -242,8 +242,8 @@ github.com/morikuni/aec v1.0.0 h1:nP9CBfwrvYnBRgY6qfDQkygYDmYwOilePFkwzv4dU8A=
github.com/morikuni/aec v1.0.0/go.mod h1:BbKIizmSmc5MMPqRYbxO4ZU0S0+P200+tUnFx7PXmsc=
github.com/mozillazg/gopacket v0.0.0-20241002125412-112c3fb39360 h1:2PG5+BKZ2bqfILNlqA8fahl6lvo/18+Q3mBJBEeLmxI=
github.com/mozillazg/gopacket v0.0.0-20241002125412-112c3fb39360/go.mod h1:lnXM4VDqJTe4d2NoZr8DZMtidkhss2Y82QFlamXWfXo=
github.com/mozillazg/pktdump v0.0.9-0.20241002124615-e03da3440378 h1:gySTfYsqs25cWiem+E4S51TCRSoF3bzhydPzRq1MHZ8=
github.com/mozillazg/pktdump v0.0.9-0.20241002124615-e03da3440378/go.mod h1:Vh2MvrLyL23PaYh0Dp2Ihg6qTmNydO2su6ngpJEp/hM=
github.com/mozillazg/pktdump v0.0.9-0.20241003022253-cbafa8b6312d h1:3K1bsX3osp69xQnbvrXHokKRebpiENUUgGLA6OC5Jd8=
github.com/mozillazg/pktdump v0.0.9-0.20241003022253-cbafa8b6312d/go.mod h1:Vh2MvrLyL23PaYh0Dp2Ihg6qTmNydO2su6ngpJEp/hM=
github.com/mwitkow/go-conntrack v0.0.0-20161129095857-cc309e4a2223/go.mod h1:qRWi+5nqEBWmkhHvq77mSJWrCKwh8bxhgT7d/eI7P4U=
github.com/niemeyer/pretty v0.0.0-20200227124842-a10e7caefd8e h1:fD57ERR4JtEqsWbfPhv4DMiApHyliiK5xCTNVSPiaAs=
github.com/niemeyer/pretty v0.0.0-20200227124842-a10e7caefd8e/go.mod h1:zD1mROLANZcx1PVRCS0qkT7pwLkGfwJo4zjcN/Tysno=
Expand Down
4 changes: 4 additions & 0 deletions vendor/github.com/x-way/pktdump/format.go

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

1 change: 1 addition & 0 deletions vendor/github.com/x-way/pktdump/tcp.go

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

30 changes: 30 additions & 0 deletions vendor/github.com/x-way/pktdump/tcp_fastopen.go

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

24 changes: 24 additions & 0 deletions vendor/github.com/x-way/pktdump/tcp_sack.go

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

4 changes: 2 additions & 2 deletions vendor/modules.txt
Original file line number Diff line number Diff line change
Expand Up @@ -320,7 +320,7 @@ github.com/tklauser/go-sysconf
# github.com/tklauser/numcpus v0.6.1
## explicit; go 1.13
github.com/tklauser/numcpus
# github.com/x-way/pktdump v0.0.5 => github.com/mozillazg/pktdump v0.0.9-0.20241002124615-e03da3440378
# github.com/x-way/pktdump v0.0.5 => github.com/mozillazg/pktdump v0.0.9-0.20241003022253-cbafa8b6312d
## explicit; go 1.19
github.com/x-way/pktdump
# github.com/yusufpapurcu/wmi v1.2.4
Expand Down Expand Up @@ -511,7 +511,7 @@ rsc.io/binaryregexp/syntax
# github.com/containerd/containerd => github.com/containerd/containerd v1.4.13
# github.com/docker/docker => github.com/docker/docker v24.0.9+incompatible
# github.com/gopacket/gopacket => github.com/mozillazg/gopacket v0.0.0-20241002125412-112c3fb39360
# github.com/x-way/pktdump => github.com/mozillazg/pktdump v0.0.9-0.20241002124615-e03da3440378
# github.com/x-way/pktdump => github.com/mozillazg/pktdump v0.0.9-0.20241003022253-cbafa8b6312d
# go.opencensus.io => go.opencensus.io v0.23.0
# go.opentelemetry.io/contrib => go.opentelemetry.io/contrib v0.20.0
# go.opentelemetry.io/contrib/instrumentation/google.golang.org/grpc/otelgrpc => go.opentelemetry.io/contrib/instrumentation/google.golang.org/grpc/otelgrpc v0.20.0
Expand Down

0 comments on commit 52782fc

Please sign in to comment.