-
Refactor `tap` module to achieve synchronously closing other protocol dissectors upon identification (#1026)
发布于
2022-04-28 14:19:14 +00:00 -
Remove
tcpStreamWrapperstruct -
Refactor
tapmodule and move some of the code totap/apimodule -
Move
TrafficFilteringOptionsstruct tosharedmodule -
Change the
Dissectmethod signature to have*TcpReaderas an argument -
Add
CloseOtherProtocolDissectorsmethod and use it to synchronously close the other protocol dissectors -
Run
go mod tidyinclimodule -
Rename
SuperIdentifierstruct toProtoIdentifier -
Remove
SuperTimerstruct -
Bring back
CloseTimedoutTcpStreamChannelsmethod -
Run
go mod tidyeverywhere -
Remove
GOGCenvironment variable from tapper -
Fix the tests
-
Bring back
debug.FreeOSMemory()call -
Make
CloseOtherProtocolDissectorsmethod mutexed -
Revert "Remove
GOGCenvironment variable from tapper"
This reverts commit cfc2484bbb9a9d7f7a423be387d327e40f5802a3.
-
Bring back the removed
checksum,nooptcheckandignorefsmerrflags -
Define a bunch of interfaces and don't export any new structs from
tap/api -
Keep the interfaces in
tap/apibut move the structs totap/tcp -
Fix the unit tests by depending on
github.com/up9inc/mizu/tap -
Use the modified
tlsEmitter -
Define
TlsChunkinterface and maketlsReaderimplementTcpReader -
Remove unused fields in
tlsReader -
Define
ReassemblyStreaminterface and separategopacketspecififc fields totcpReassemblyStreamstruct
Such that make
tap/apidon't depend ongopacket-
Remove the unused fields
-
Make
tlsPollerimplementTcpStreaminterface and remove the call toNewTcpStreamDummymethod -
Remove unused fields from
tlsPoller -
Remove almost all of the setter methods in
TcpReaderandTcpStreaminterface and removeTlsChunkinterface -
Revert "Revert "Remove
GOGCenvironment variable from tapper""
This reverts commit ab2b9a803b58fd31ffbf0b9d87eb074fae9207ae.
- Revert "Bring back
debug.FreeOSMemory()call"
This reverts commit 1cce863bbbf208b2516ca2a58946d3cebe72c55e.
-
Remove excess comment
-
Fix acceptance tests (
loggermodule) #run_acceptance_tests -
Bring back
github.com/patrickmn/go-cache -
Fix
NewTcpStreammethod signature -
Put
tcpReaderandtcpStreammocks into protocol dissectors to removegithub.com/up9inc/mizu/tapdependency -
Fix AMQP tests
-
Revert 960ba644cd414c79b4a6caae41c485be08f99f0a
-
Revert
go.modandgo.sumfiles in protocol dissectors -
Fix the comment position
-
Revert
AppStatsInstchange -
Fix indent
-
Fix CLI build
-
Fix linter error
-
Fix error msg
-
Revert some of the changes in
chunk.go
下载附件
-