This project is mirrored from https://gitee.com/mirrors/Mizu.git. Pull mirroring failed .
Repository mirroring has been paused due to too many failed attempts. It can be resumed by a project maintainer.
  1. 19 May, 2022 1 commit
  2. 18 May, 2022 3 commits
    • Nimrod Gilboa Markevich's avatar
      Add profiling tools (#1087) · ab38f4c0
      Nimrod Gilboa Markevich authored
      * Add gin-contrib/pprof dependency
      
      * Run pprof server on agent with --profiler flag
      
      * Add --profiler flag to cli
      
      * Fix error message
      
      * Print cpu usage percentage
      
      * measure cpu of current pid instead of globaly on the system
      
      * Add scripts to plot performance
      
      * Plot packetsCount in analysis
      
      * Concat to DataFrame
      
      * Plot in turbo colorscheme
      
      * Make COLORMAP const
      
      * Fix rss units
      
      * Reduce code repetition by adding function for plotting
      
      * Allow grouping based on filenames
      
      * Temporary: Marked with comments where to disable code for experiments
      
      * Add newline at end of file
      
      * Add tap.cpuprofile flag. Change memprofile flag to tap.memprofile
      
      * create tapper modes for debugging using env vars
      
      * Fix rss plot units (MB instead of bytes)
      
      * Remove comment
      
      * Add info to plot script
      
      * Remove tap.cpumemprofile. Rename tap.memprofile to memprofile
      
      * Remove unused import
      
      * Remove whitespaces
      
      Co-authored-by: M. Mert Yıldıran ...
      ab38f4c0
    • David Levanon's avatar
      stop tapping self tapper traffic (#1083) · a9de4f0b
      David Levanon authored
      * stop tapping self tapper traffic
      
      * run go mod tidy
      
      * allow to explicitly ignore ports
      
      * remove unused code
      
      * remove shared from tap + go mod tidy
      
      * move ignroe ports to tapper
      
      * rename TapperPacketsCount to IgnoredPacketsCount
      
      * don't check null - go is smart
      
      * remove nil check
      a9de4f0b
    • lirazyehezkel's avatar
      948af518
  3. 17 May, 2022 3 commits
  4. 16 May, 2022 2 commits
    • M. Mert Yıldıran's avatar
      Spawn only two Goroutines per TCP stream (#1062) · bfa834e8
      M. Mert Yıldıran authored
      
      * Spawn only two Goroutines per TCP stream
      
      * Fix the linter error
      
      * Use `isProtocolIdentified` method instead
      
      * Fix the `Read` method of `tcpReader`
      
      * Remove unnecessary `append`
      
      * Copy to buffer only a message is received
      
      * Remove `exhaustBuffer` field and add `rewind` function
      
      * Rename `buffer` field to `pastData`
      
      * Update tap/tcp_reader.go
      Co-authored-by: default avatarNimrod Gilboa Markevich <59927337+nimrod-up9@users.noreply.github.com>
      
      * Use `copy` instead of assignment
      
      * No lint
      
      * #run_acceptance_tests
      
      * Fix `rewind` #run_acceptance_tests
      
      * Fix the buffering algorithm #run_acceptance_tests
      
      * Add `TODO`
      
      * Fix the problems in AMQP and Kafka #run_acceptance_tests
      
      * Use `*bytes.Buffer` instead of `[]api.TcpReaderDataMsg` #run_acceptance_tests
      
      * Have a single `*bytes.Buffer`
      
      * Revert "Have a single `*bytes.Buffer`"
      
      This reverts commit fad96a28.
      
      * Revert "Use `*bytes.Buffer` instead of `[]api.TcpReaderDataMsg` #run_acceptance_tests"
      
      This reverts commit 0fc70bff
      
      .
      
      * Fix the early timing out issue #run_acceptance_tests
      
      * Remove `NewBytes()` method
      
      * Update the `NewTcpReader` method signature #run_acceptance_tests
      
      * #run_acceptance_tests
      
      * #run_acceptance_tests
      
      * #run_acceptance_tests
      Co-authored-by: default avatarNimrod Gilboa Markevich <59927337+nimrod-up9@users.noreply.github.com>
      bfa834e8
    • David Levanon's avatar
      Feature/limit fd to address map (#1078) · 5c012641
      David Levanon authored
      
      * limit fd to address map
      
      * limit fd to address map
      Co-authored-by: default avatargadotroee <55343099+gadotroee@users.noreply.github.com>
      5c012641
  5. 15 May, 2022 5 commits
  6. 14 May, 2022 2 commits
  7. 11 May, 2022 4 commits
    • leon-up9's avatar
      match selectlist ui (#1077) · 414e5cfe
      leon-up9 authored
      * insert filter and header to selectlist
      
      * handle single select
      
      * rename search var
      
      * font size changed
      414e5cfe
    • RoyUP9's avatar
      Fixed oas query (#1076) · 2fac0009
      RoyUP9 authored
      2fac0009
    • M. Mert Yıldıran's avatar
      Fix acceptance tests failures caused by fetch 50 and a race in the tests (#1074) · 36d59ede
      M. Mert Yıldıran authored
      * #run_acceptance_tests
      
      * Wait 4 seconds after filter submission #run_acceptance_tests
      
      * Revert "Wait 4 seconds after filter submission #run_acceptance_tests"
      
      This reverts commit 3c20ccfc.
      
      * Upgrade Basenine version to `v0.8.2` #run_acceptance_tests
      
      * #run_acceptance_tests
      
      * Revert "Revert "Wait 4 seconds after filter submission #run_acceptance_tests""
      
      This reverts commit f0c59515.
      
      * Reduce the delay to 2 seconds #run_acceptance_tests
      
      * Use `cy.wait()` instead of `setTimeout`
      
      * #run_acceptance_tests
      
      * Increase it to 4 seconds #run_acceptance_tests
      
      * #run_acceptance_tests
      
      * Wait for a second and pause the stream to preserve the DOM #run_acceptance_tests
      
      * Wait in a better place #run_acceptance_tests
      
      * Wait `pause-icon` to disappear #run_acceptance_tests
      
      * Wait one more second #run_acceptance_tests
      
      * Fix `setup.sh`...
      36d59ede
    • AmitUp9's avatar
      TRA-4513_grpc heading overlap request size (#1075) · ac53508a
      AmitUp9 authored
      * screen resolution changes
      
      * fix window width to not overlap between headlines
      ac53508a
  8. 10 May, 2022 2 commits
    • leon-up9's avatar
      UI/servicemap-dynamic-protocol-filters (#1072) · e24c1825
      leon-up9 authored
      * filters visble on click
      
      * servicemap layout
      
      * headers added
      Icon changed
      
      * flex removed , we have max size for filter
      
      * selection only from edges
      
      * caption changed
      
      * removed duplicated code
      
      * changes
      
      Co-authored-by: Leon <>
      e24c1825
    • leon-up9's avatar
      UI/Service-map-GUI-improvements (#1055) · b2830f13
      leon-up9 authored
      * filters visble on click
      
      * servicemap layout
      
      * headers added
      Icon changed
      
      * flex removed , we have max size for filter
      
      * added mixins
      
      * search input caption
      
      * PR commemts
      
      * changed colors to variables
      
      * lint fix
      small buttom style fix
      
      Co-authored-by: Leon <>
      b2830f13
  9. 09 May, 2022 1 commit
  10. 08 May, 2022 4 commits
  11. 04 May, 2022 1 commit
  12. 03 May, 2022 1 commit
  13. 02 May, 2022 6 commits
  14. 01 May, 2022 4 commits
  15. 28 Apr, 2022 1 commit
    • M. Mert Yıldıran's avatar
      Refactor `tap` module to achieve synchronously closing other protocol... · d3e6a69d
      M. Mert Yıldıran authored
      Refactor `tap` module to achieve synchronously closing other protocol dissectors upon identification (#1026)
      
      * 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 commit cfc2484b.
      
      * 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 commit ab2b9a80.
      
      * Revert "Bring back `debug.FreeOSMemory()` call"
      
      This reverts commit 1cce863b.
      
      * 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
      
      * Revert 960ba644
      
      * 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`
      d3e6a69d