mirror of
https://github.com/kubeshark/kubeshark.git
synced 2026-05-06 17:27:24 +00:00
* Remove `tcpStreamWrapper` struct * Refactor `tap` module and move some of the code to `tap/api` module * Move `TrafficFilteringOptions` struct to `shared` module * Change the `Dissect` method signature to have `*TcpReader` as an argument * Add `CloseOtherProtocolDissectors` method and use it to synchronously close the other protocol dissectors * Run `go mod tidy` in `cli` module * Rename `SuperIdentifier` struct to `ProtoIdentifier` * Remove `SuperTimer` struct * Bring back `CloseTimedoutTcpStreamChannels` method * Run `go mod tidy` everywhere * Remove `GOGC` environment variable from tapper * Fix the tests * Bring back `debug.FreeOSMemory()` call * Make `CloseOtherProtocolDissectors` method mutexed * Revert "Remove `GOGC` environment variable from tapper" This reverts commitcfc2484bbb. * Bring back the removed `checksum`, `nooptcheck` and `ignorefsmerr` flags * Define a bunch of interfaces and don't export any new structs from `tap/api` * Keep the interfaces in `tap/api` but move the structs to `tap/tcp` * Fix the unit tests by depending on `github.com/up9inc/mizu/tap` * Use the modified `tlsEmitter` * Define `TlsChunk` interface and make `tlsReader` implement `TcpReader` * Remove unused fields in `tlsReader` * Define `ReassemblyStream` interface and separate `gopacket` specififc fields to `tcpReassemblyStream` struct Such that make `tap/api` don't depend on `gopacket` * Remove the unused fields * Make `tlsPoller` implement `TcpStream` interface and remove the call to `NewTcpStreamDummy` method * Remove unused fields from `tlsPoller` * Remove almost all of the setter methods in `TcpReader` and `TcpStream` interface and remove `TlsChunk` interface * Revert "Revert "Remove `GOGC` environment variable from tapper"" This reverts commitab2b9a803b. * Revert "Bring back `debug.FreeOSMemory()` call" This reverts commit1cce863bbb. * Remove excess comment * Fix acceptance tests (`logger` module) #run_acceptance_tests * Bring back `github.com/patrickmn/go-cache` * Fix `NewTcpStream` method signature * Put `tcpReader` and `tcpStream` mocks into protocol dissectors to remove `github.com/up9inc/mizu/tap` dependency * Fix AMQP tests * Revert960ba644cd* Revert `go.mod` and `go.sum` files in protocol dissectors * Fix the comment position * Revert `AppStatsInst` change * Fix indent * Fix CLI build * Fix linter error * Fix error msg * Revert some of the changes in `chunk.go`
43 lines
1.5 KiB
Modula-2
43 lines
1.5 KiB
Modula-2
module github.com/up9inc/mizu/tap
|
|
|
|
go 1.17
|
|
|
|
require (
|
|
github.com/cilium/ebpf v0.8.0
|
|
github.com/go-errors/errors v1.4.2
|
|
github.com/google/gopacket v1.1.19
|
|
github.com/up9inc/mizu/logger v0.0.0
|
|
github.com/up9inc/mizu/tap/api v0.0.0
|
|
github.com/vishvananda/netns v0.0.0-20211101163701-50045581ed74
|
|
k8s.io/api v0.23.3
|
|
)
|
|
|
|
require (
|
|
github.com/go-logr/logr v1.2.2 // indirect
|
|
github.com/gogo/protobuf v1.3.2 // indirect
|
|
github.com/google/go-cmp v0.5.7 // indirect
|
|
github.com/google/gofuzz v1.2.0 // indirect
|
|
github.com/google/martian v2.1.0+incompatible // indirect
|
|
github.com/json-iterator/go v1.1.12 // indirect
|
|
github.com/modern-go/concurrent v0.0.0-20180306012644-bacd9c7ef1dd // indirect
|
|
github.com/modern-go/reflect2 v1.0.2 // indirect
|
|
github.com/op/go-logging v0.0.0-20160315200505-970db520ece7 // indirect
|
|
golang.org/x/net v0.0.0-20220127200216-cd36cc0744dd // indirect
|
|
golang.org/x/sys v0.0.0-20220207234003-57398862261d // indirect
|
|
golang.org/x/text v0.3.7 // indirect
|
|
gopkg.in/inf.v0 v0.9.1 // indirect
|
|
gopkg.in/yaml.v2 v2.4.0 // indirect
|
|
k8s.io/apimachinery v0.23.3 // indirect
|
|
k8s.io/klog/v2 v2.40.1 // indirect
|
|
k8s.io/utils v0.0.0-20220127004650-9b3446523e65 // indirect
|
|
sigs.k8s.io/json v0.0.0-20211208200746-9f7c6b3444d2 // indirect
|
|
sigs.k8s.io/structured-merge-diff/v4 v4.2.1 // indirect
|
|
sigs.k8s.io/yaml v1.3.0 // indirect
|
|
)
|
|
|
|
replace github.com/up9inc/mizu/logger v0.0.0 => ../logger
|
|
|
|
replace github.com/up9inc/mizu/tap/api v0.0.0 => ./api
|
|
|
|
replace github.com/up9inc/mizu/shared v0.0.0 => ../shared
|