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. 01 Nov, 2021 4 commits
    • Rami Berman's avatar
      Update go.sum · 72d2dc3a
      Rami Berman authored
      72d2dc3a
    • Rami Berman's avatar
      WIP · 637ff34f
      Rami Berman authored
      637ff34f
    • Rami Berman's avatar
      f29644ce
    • RamiBerm's avatar
      TRA-3868 move tapped pod watch and tapper updating to shared (#416) · 655626bc
      RamiBerm authored
      * WIP
      
      * WIP
      
      * WIP
      
      * WIP
      
      * WIP
      
      * Update tapRunner.go and k8sTapManager.go
      
      * Update cleanRunner.go, common.go, and 8 more files...
      
      * Update common.go, tapConfig.go, and 2 more files...
      
      * Update config.go, config.go, and 5 more files...
      
      * Update tapRunner.go, config.go, and 7 more files...
      
      * Update cleanRunner.go, logs.go, and 2 more files...
      
      * Update k8sTapManager.go, provider.go, and watch.go
      
      * Update go.sum, go.mod, and go.sum
      
      * Update go.mod and go.sum
      
      * Update go.mod, go.sum, and 2 more files...
      
      * Revert "Update go.mod, go.sum, and 2 more files..."
      
      This reverts commit 81403113.
      
      * Update funcWrappers.go, tapRunner.go, and 4 more files...
      
      * Update main.go, tapRunner.go, and mizuTapperSyncer.go
      655626bc
  2. 31 Oct, 2021 1 commit
    • RamiBerm's avatar
      TRA-3860 create main configmap for agent and tappers (#410) · 35dbd5fd
      RamiBerm authored
      
      * WIP
      
      * Update options.go and serializable_regexp.go
      
      * Update go.sum, go.sum, and 4 more files...
      
      * Update go.sum, go.sum, and 4 more files...
      
      * Update config.go and serializable_regexp.go
      
      * Update config.go, config.json, and test.go
      
      * Update tapRunner.go and provider.go
      
      * Update provider.go
      
      * Update tapRunner.go and provider.go
      
      * Update config.json and test.go
      
      * Update contract_validation.go, config.go, and 2 more files...
      
      * Update main.go
      
      * Update rulesHTTP.go
      
      * Update config.go, size_enforcer.go, and 5 more files...
      
      * Update config.go and config.go
      Co-authored-by: default avatarRami Berman <rami.berman@up9.com>
      35dbd5fd
  3. 28 Oct, 2021 7 commits
  4. 27 Oct, 2021 2 commits
  5. 26 Oct, 2021 2 commits
  6. 25 Oct, 2021 1 commit
    • David Levanon's avatar
      Tapper Refactor (#396) · e6968512
      David Levanon authored
      
      * introduce tcp_assembler and tcp_packet_source - the motivation is to … (#380)
      
      * add passive-tapper main tester (#353)
      
      * add passive-tapper main tester
      
      * add errors to go.sum of mizu agent
      
      * disable host mode for tester - to avoid filterAuthorities
      
      * rename main to tester
      
      * build extenssions as part of the tester launch
      
      * add a README to the tester
      
      * solving go.mod and .sum conflicts with addition of go-errors
      
      * trivial warning fixes (#354)
      
      * add passive-tapper main tester
      
      * trivial warning fixes
      
      * add errors to go.sum of mizu agent
      
      * disable host mode for tester - to avoid filterAuthorities
      
      * tcp streams map (#355)
      
      * add passive-tapper main tester
      
      * trivial warning fixes
      
      * add errors to go.sum of mizu agent
      
      * tcp streams map
      
      * disable host mode for tester - to avoid filterAuthorities
      
      * set tcp streams map for tcp stream factory
      
      * change rlog to mizu logger
      
      * errors map (#356)
      
      * add passive-tapper main tester
      
      * trivial warning fixes
      
      * add errors to go.sum of mizu agent
      
      * tcp streams map
      
      * disable host mode for tester - to avoid filterAuthorities
      
      * set tcp streams map for tcp stream factory
      
      * errors map
      
      * change int to uint - errorsmap
      
      * change from int to uint
      
      * Change errorsMap.nErrors to uint.
      
      * change errors map to mizu logger instead of rlog
      
      * init mizu logger in tester + fix errormap declaration
      Co-authored-by: default avatarNimrod Gilboa Markevich <nimrod@up9.com>
      
      * move own ips to tcp stream factory (#358)
      
      * add passive-tapper main tester
      
      * trivial warning fixes
      
      * add errors to go.sum of mizu agent
      
      * tcp streams map
      
      * disable host mode for tester - to avoid filterAuthorities
      
      * set tcp streams map for tcp stream factory
      
      * errors map
      
      * move own ips to tcp stream factory
      
      * Feature/tapper refactor i/move own ips to tcp stream factory (#379)
      
      * add passive-tapper main tester
      
      * trivial warning fixes
      
      * add errors to go.sum of mizu agent
      
      * tcp streams map
      
      * disable host mode for tester - to avoid filterAuthorities
      
      * set tcp streams map for tcp stream factory
      
      * errors map
      
      * move own ips to tcp stream factory
      
      * fix ownips compilation issue
      
      * introduce tcp_assembler and tcp_packet_source - the motivation is to split the actual packet sources from the assembler, so we can have a single thread for the assembly which is separated from packet source threads
      
      * make struts private at this point - planning to move some packages to their own package so we can utilize encapsulation
      
      * move context to tcp_assembly + fix error check of tcp source packet
      
      * use param instead of gloab flag for ipdefrag
      
      * fix a typo
      
      * remove unused pid param
      Co-authored-by: default avatarNimrod Gilboa Markevich <nimrod@up9.com>
      
      * extract stats functions out of the main tapping function (#381)
      
      * add passive-tapper main tester (#353)
      
      * add passive-tapper main tester
      
      * add errors to go.sum of mizu agent
      
      * disable host mode for tester - to avoid filterAuthorities
      
      * rename main to tester
      
      * build extenssions as part of the tester launch
      
      * add a README to the tester
      
      * solving go.mod and .sum conflicts with addition of go-errors
      
      * trivial warning fixes (#354)
      
      * add passive-tapper main tester
      
      * trivial warning fixes
      
      * add errors to go.sum of mizu agent
      
      * disable host mode for tester - to avoid filterAuthorities
      
      * tcp streams map (#355)
      
      * add passive-tapper main tester
      
      * trivial warning fixes
      
      * add errors to go.sum of mizu agent
      
      * tcp streams map
      
      * disable host mode for tester - to avoid filterAuthorities
      
      * set tcp streams map for tcp stream factory
      
      * change rlog to mizu logger
      
      * errors map (#356)
      
      * add passive-tapper main tester
      
      * trivial warning fixes
      
      * add errors to go.sum of mizu agent
      
      * tcp streams map
      
      * disable host mode for tester - to avoid filterAuthorities
      
      * set tcp streams map for tcp stream factory
      
      * errors map
      
      * change int to uint - errorsmap
      
      * change from int to uint
      
      * Change errorsMap.nErrors to uint.
      
      * change errors map to mizu logger instead of rlog
      
      * init mizu logger in tester + fix errormap declaration
      Co-authored-by: default avatarNimrod Gilboa Markevich <nimrod@up9.com>
      
      * move own ips to tcp stream factory (#358)
      
      * add passive-tapper main tester
      
      * trivial warning fixes
      
      * add errors to go.sum of mizu agent
      
      * tcp streams map
      
      * disable host mode for tester - to avoid filterAuthorities
      
      * set tcp streams map for tcp stream factory
      
      * errors map
      
      * move own ips to tcp stream factory
      
      * Feature/tapper refactor i/move own ips to tcp stream factory (#379)
      
      * add passive-tapper main tester
      
      * trivial warning fixes
      
      * add errors to go.sum of mizu agent
      
      * tcp streams map
      
      * disable host mode for tester - to avoid filterAuthorities
      
      * set tcp streams map for tcp stream factory
      
      * errors map
      
      * move own ips to tcp stream factory
      
      * fix ownips compilation issue
      
      * introduce tcp_assembler and tcp_packet_source - the motivation is to split the actual packet sources from the assembler, so we can have a single thread for the assembly which is separated from packet source threads
      
      * make struts private at this point - planning to move some packages to their own package so we can utilize encapsulation
      
      * extract stats functions out of the main tapping function
      
      * move context to tcp_assembly + fix error check of tcp source packet
      
      * use param instead of gloab flag for ipdefrag
      Co-authored-by: default avatarNimrod Gilboa Markevich <nimrod@up9.com>
      
      * Feature/tapper refactor i/internal tapper stats (#384)
      
      * add passive-tapper main tester (#353)
      
      * add passive-tapper main tester
      
      * add errors to go.sum of mizu agent
      
      * disable host mode for tester - to avoid filterAuthorities
      
      * rename main to tester
      
      * build extenssions as part of the tester launch
      
      * add a README to the tester
      
      * solving go.mod and .sum conflicts with addition of go-errors
      
      * trivial warning fixes (#354)
      
      * add passive-tapper main tester
      
      * trivial warning fixes
      
      * add errors to go.sum of mizu agent
      
      * disable host mode for tester - to avoid filterAuthorities
      
      * tcp streams map (#355)
      
      * add passive-tapper main tester
      
      * trivial warning fixes
      
      * add errors to go.sum of mizu agent
      
      * tcp streams map
      
      * disable host mode for tester - to avoid filterAuthorities
      
      * set tcp streams map for tcp stream factory
      
      * change rlog to mizu logger
      
      * errors map (#356)
      
      * add passive-tapper main tester
      
      * trivial warning fixes
      
      * add errors to go.sum of mizu agent
      
      * tcp streams map
      
      * disable host mode for tester - to avoid filterAuthorities
      
      * set tcp streams map for tcp stream factory
      
      * errors map
      
      * change int to uint - errorsmap
      
      * change from int to uint
      
      * Change errorsMap.nErrors to uint.
      
      * change errors map to mizu logger instead of rlog
      
      * init mizu logger in tester + fix errormap declaration
      Co-authored-by: default avatarNimrod Gilboa Markevich <nimrod@up9.com>
      
      * move own ips to tcp stream factory (#358)
      
      * add passive-tapper main tester
      
      * trivial warning fixes
      
      * add errors to go.sum of mizu agent
      
      * tcp streams map
      
      * disable host mode for tester - to avoid filterAuthorities
      
      * set tcp streams map for tcp stream factory
      
      * errors map
      
      * move own ips to tcp stream factory
      
      * Feature/tapper refactor i/move own ips to tcp stream factory (#379)
      
      * add passive-tapper main tester
      
      * trivial warning fixes
      
      * add errors to go.sum of mizu agent
      
      * tcp streams map
      
      * disable host mode for tester - to avoid filterAuthorities
      
      * set tcp streams map for tcp stream factory
      
      * errors map
      
      * move own ips to tcp stream factory
      
      * fix ownips compilation issue
      
      * introduce tcp_assembler and tcp_packet_source - the motivation is to split the actual packet sources from the assembler, so we can have a single thread for the assembly which is separated from packet source threads
      
      * make struts private at this point - planning to move some packages to their own package so we can utilize encapsulation
      
      * extract stats functions out of the main tapping function
      
      * move context to tcp_assembly + fix error check of tcp source packet
      
      * use param instead of gloab flag for ipdefrag
      
      * introduce internal tapper stats
      
      * minor fixes for errors map and internal stats
      Co-authored-by: default avatarNimrod Gilboa Markevich <nimrod@up9.com>
      
      * Feature/tapper refactor i/diagnose package (#386)
      
      * add passive-tapper main tester (#353)
      
      * add passive-tapper main tester
      
      * add errors to go.sum of mizu agent
      
      * disable host mode for tester - to avoid filterAuthorities
      
      * rename main to tester
      
      * build extenssions as part of the tester launch
      
      * add a README to the tester
      
      * solving go.mod and .sum conflicts with addition of go-errors
      
      * trivial warning fixes (#354)
      
      * add passive-tapper main tester
      
      * trivial warning fixes
      
      * add errors to go.sum of mizu agent
      
      * disable host mode for tester - to avoid filterAuthorities
      
      * tcp streams map (#355)
      
      * add passive-tapper main tester
      
      * trivial warning fixes
      
      * add errors to go.sum of mizu agent
      
      * tcp streams map
      
      * disable host mode for tester - to avoid filterAuthorities
      
      * set tcp streams map for tcp stream factory
      
      * change rlog to mizu logger
      
      * errors map (#356)
      
      * add passive-tapper main tester
      
      * trivial warning fixes
      
      * add errors to go.sum of mizu agent
      
      * tcp streams map
      
      * disable host mode for tester - to avoid filterAuthorities
      
      * set tcp streams map for tcp stream factory
      
      * errors map
      
      * change int to uint - errorsmap
      
      * change from int to uint
      
      * Change errorsMap.nErrors to uint.
      
      * change errors map to mizu logger instead of rlog
      
      * init mizu logger in tester + fix errormap declaration
      Co-authored-by: default avatarNimrod Gilboa Markevich <nimrod@up9.com>
      
      * move own ips to tcp stream factory (#358)
      
      * add passive-tapper main tester
      
      * trivial warning fixes
      
      * add errors to go.sum of mizu agent
      
      * tcp streams map
      
      * disable host mode for tester - to avoid filterAuthorities
      
      * set tcp streams map for tcp stream factory
      
      * errors map
      
      * move own ips to tcp stream factory
      
      * Feature/tapper refactor i/move own ips to tcp stream factory (#379)
      
      * add passive-tapper main tester
      
      * trivial warning fixes
      
      * add errors to go.sum of mizu agent
      
      * tcp streams map
      
      * disable host mode for tester - to avoid filterAuthorities
      
      * set tcp streams map for tcp stream factory
      
      * errors map
      
      * move own ips to tcp stream factory
      
      * fix ownips compilation issue
      
      * introduce tcp_assembler and tcp_packet_source - the motivation is to split the actual packet sources from the assembler, so we can have a single thread for the assembly which is separated from packet source threads
      
      * make struts private at this point - planning to move some packages to their own package so we can utilize encapsulation
      
      * extract stats functions out of the main tapping function
      
      * move context to tcp_assembly + fix error check of tcp source packet
      
      * use param instead of gloab flag for ipdefrag
      
      * introduce internal tapper stats
      
      * minor fixes for errors map and internal stats
      
      * move errors map + app stats + internal stats + periodic tasks to diagnose package
      
      * initialize tapper internal stats
      Co-authored-by: default avatarNimrod Gilboa Markevich <nimrod@up9.com>
      
      * move tcp packet source to its packet (#387)
      
      * add passive-tapper main tester (#353)
      
      * add passive-tapper main tester
      
      * add errors to go.sum of mizu agent
      
      * disable host mode for tester - to avoid filterAuthorities
      
      * rename main to tester
      
      * build extenssions as part of the tester launch
      
      * add a README to the tester
      
      * solving go.mod and .sum conflicts with addition of go-errors
      
      * trivial warning fixes (#354)
      
      * add passive-tapper main tester
      
      * trivial warning fixes
      
      * add errors to go.sum of mizu agent
      
      * disable host mode for tester - to avoid filterAuthorities
      
      * tcp streams map (#355)
      
      * add passive-tapper main tester
      
      * trivial warning fixes
      
      * add errors to go.sum of mizu agent
      
      * tcp streams map
      
      * disable host mode for tester - to avoid filterAuthorities
      
      * set tcp streams map for tcp stream factory
      
      * change rlog to mizu logger
      
      * errors map (#356)
      
      * add passive-tapper main tester
      
      * trivial warning fixes
      
      * add errors to go.sum of mizu agent
      
      * tcp streams map
      
      * disable host mode for tester - to avoid filterAuthorities
      
      * set tcp streams map for tcp stream factory
      
      * errors map
      
      * change int to uint - errorsmap
      
      * change from int to uint
      
      * Change errorsMap.nErrors to uint.
      
      * change errors map to mizu logger instead of rlog
      
      * init mizu logger in tester + fix errormap declaration
      Co-authored-by: default avatarNimrod Gilboa Markevich <nimrod@up9.com>
      
      * move own ips to tcp stream factory (#358)
      
      * add passive-tapper main tester
      
      * trivial warning fixes
      
      * add errors to go.sum of mizu agent
      
      * tcp streams map
      
      * disable host mode for tester - to avoid filterAuthorities
      
      * set tcp streams map for tcp stream factory
      
      * errors map
      
      * move own ips to tcp stream factory
      
      * Feature/tapper refactor i/move own ips to tcp stream factory (#379)
      
      * add passive-tapper main tester
      
      * trivial warning fixes
      
      * add errors to go.sum of mizu agent
      
      * tcp streams map
      
      * disable host mode for tester - to avoid filterAuthorities
      
      * set tcp streams map for tcp stream factory
      
      * errors map
      
      * move own ips to tcp stream factory
      
      * fix ownips compilation issue
      
      * introduce tcp_assembler and tcp_packet_source - the motivation is to split the actual packet sources from the assembler, so we can have a single thread for the assembly which is separated from packet source threads
      
      * make struts private at this point - planning to move some packages to their own package so we can utilize encapsulation
      
      * extract stats functions out of the main tapping function
      
      * move context to tcp_assembly + fix error check of tcp source packet
      
      * use param instead of gloab flag for ipdefrag
      
      * introduce internal tapper stats
      
      * minor fixes for errors map and internal stats
      
      * move errors map + app stats + internal stats + periodic tasks to diagnose package
      
      * move tcp packet source to its packet
      
      * initialize tapper internal stats
      Co-authored-by: default avatarNimrod Gilboa Markevich <nimrod@up9.com>
      
      * Fix coding style
      
      * Remove `tap/internal_stats.go`
      
      * make channel between input and assembler blocking - to preserve the same behaviour we have before the refactor
      Co-authored-by: default avatarNimrod Gilboa Markevich <nimrod@up9.com>
      Co-authored-by: default avatarM. Mert Yildiran <mehmet@up9.com>
      e6968512
  7. 24 Oct, 2021 3 commits
  8. 21 Oct, 2021 2 commits
  9. 20 Oct, 2021 5 commits
    • David Levanon's avatar
      remove main dir (#385) · e2e69a3d
      David Levanon authored
      e2e69a3d
    • RoyUP9's avatar
      fixed sync entries text (#383) · b6db64d8
      RoyUP9 authored
      b6db64d8
    • RamiBerm's avatar
      TRA-3811 fix service resolving (#382) · 160ae771
      RamiBerm authored
      Co-authored-by: default avatarRami Berman <rami.berman@up9.com>
      160ae771
    • David Levanon's avatar
      passive-tapper refactor - first phase · 2944493e
      David Levanon authored
      
      * add passive-tapper main tester (#353)
      
      * add passive-tapper main tester
      
      * add errors to go.sum of mizu agent
      
      * disable host mode for tester - to avoid filterAuthorities
      
      * rename main to tester
      
      * build extenssions as part of the tester launch
      
      * add a README to the tester
      
      * solving go.mod and .sum conflicts with addition of go-errors
      
      * trivial warning fixes (#354)
      
      * add passive-tapper main tester
      
      * trivial warning fixes
      
      * add errors to go.sum of mizu agent
      
      * disable host mode for tester - to avoid filterAuthorities
      
      * tcp streams map (#355)
      
      * add passive-tapper main tester
      
      * trivial warning fixes
      
      * add errors to go.sum of mizu agent
      
      * tcp streams map
      
      * disable host mode for tester - to avoid filterAuthorities
      
      * set tcp streams map for tcp stream factory
      
      * change rlog to mizu logger
      
      * errors map (#356)
      
      * add passive-tapper main tester
      
      * trivial warning fixes
      
      * add errors to go.sum of mizu agent
      
      * tcp streams map
      
      * disable host mode for tester - to avoid filterAuthorities
      
      * set tcp streams map for tcp stream factory
      
      * errors map
      
      * change int to uint - errorsmap
      
      * change from int to uint
      
      * Change errorsMap.nErrors to uint.
      
      * change errors map to mizu logger instead of rlog
      
      * init mizu logger in tester + fix errormap declaration
      Co-authored-by: default avatarNimrod Gilboa Markevich <nimrod@up9.com>
      
      * move own ips to tcp stream factory (#358)
      
      * add passive-tapper main tester
      
      * trivial warning fixes
      
      * add errors to go.sum of mizu agent
      
      * tcp streams map
      
      * disable host mode for tester - to avoid filterAuthorities
      
      * set tcp streams map for tcp stream factory
      
      * errors map
      
      * move own ips to tcp stream factory
      
      * Feature/tapper refactor i/move own ips to tcp stream factory (#379)
      
      * add passive-tapper main tester
      
      * trivial warning fixes
      
      * add errors to go.sum of mizu agent
      
      * tcp streams map
      
      * disable host mode for tester - to avoid filterAuthorities
      
      * set tcp streams map for tcp stream factory
      
      * errors map
      
      * move own ips to tcp stream factory
      
      * fix ownips compilation issue
      Co-authored-by: default avatarNimrod Gilboa Markevich <nimrod@up9.com>
      2944493e
    • RoyUP9's avatar
      3a9c113f
  10. 19 Oct, 2021 7 commits
    • RoyUP9's avatar
      47f2e69b
    • M. Mert Yıldıran's avatar
    • M. Mert Yıldıran's avatar
      Remove `github.com/romana/rlog` dependency completely (#374) · 29ba963c
      M. Mert Yıldıran authored
      * Remove `github.com/romana/rlog` dependency completely
      
      * Comment out all the unnecessary logging in the protocol extensions
      
      * Remove commented out all the unnecessary logging lines
      
      * Remove two more lines related to logging
      29ba963c
    • RamiBerm's avatar
      TRA-3803 handle k8s watch timeouts (#372) · 0473181f
      RamiBerm authored
      
      * Update watch.go and debounce.go
      
      * Update debounce.go
      
      * Update watch.go
      
      * Update watch.go
      
      * Update watch.go
      
      * Update watch.go
      
      * Update watch.go
      Co-authored-by: default avatarRami <rami@rami-work>
      0473181f
    • M. Mert Yıldıran's avatar
      Add OAS contract monitoring support (#325) · 145e7cda
      M. Mert Yıldıran authored
      * Add OAS contract monitoring support
      
      * Pass the contract failure reason to UI
      
      * Fix the issues related to contract validation
      
      * Fix rest of the issues in the UI
      
      * Add documentation related to contract monitoring feature
      
      * Fix a typo in the docs
      
      * Unmarshal to `HTTPRequestResponsePair` only if the OAS validation is enabled
      
      * Fix an issue caused by the merge commit
      
      * Slightly change the logic in the `validateOAS` method
      
      Change the `contractText` value to `No Breaches` or `Breach` and make the text `white-space: nowrap`.
      
      * Retrieve and display the failure reason for both request and response
      
      Also display the content of the contract/OAS file in the UI.
      
      * Display the OAS under `CONTRACT` tab with syntax highlighting
      
      Also fix the styling in the entry feed.
      
      * Remove `EnforcePolicyFileDeprecated` constant
      
      * Log the other errors as well
      
      * Get context from caller instead
      
      * Define a type for the contract status and make its values enum-like
      
      * Remove an unnecessary `if` statement
      
      * Validate OAS in the CLI before passing it to Agent
      
      * Get rid of the `github.com/ghodss/yaml` dependency in `loadOAS` by using `LoadFromData`
      
      * Fix an artifact from the merge conflict
      145e7cda
    • M. Mert Yıldıran's avatar
      Set the default log level for Agent to `INFO` and raise it to `DEBUG` if... · b7ff0765
      M. Mert Yıldıran authored
      Set the default log level for Agent to `INFO` and raise it to `DEBUG` if `dump-logs=true` is provided (#373)
      
      * Set the default log level for Agent to `INFO` and change it to `DEBUG` if `dump-logs=true` is provided
      
      * Remove `Trace` method and replace its calls with `Debug`
      
      * Export logging levels from `logger` by defining functions
      
      * Revert "Export logging levels from `logger` by defining functions"
      
      This reverts commit e554e40f4a16f07bf7b1f2ee4a7d2544a5a5a19d.
      
      * Run `go mod tidy` on agent
      
      * Define a method named `determineLogLevel`
      b7ff0765
    • RoyUP9's avatar
      3aafbd7e
  11. 18 Oct, 2021 2 commits
  12. 17 Oct, 2021 4 commits