Commit Graph
53 Commits
Author SHA1 Message Date
d3c023b3ba mizu release 2021-06-21 (#79)
* Show pod name and namespace (#61)

* WIP

* Update main.go, consts.go, and 2 more files...

* Update messageSensitiveDataCleaner.go

* Update consts.go and messageSensitiveDataCleaner.go

* Update messageSensitiveDataCleaner.go

* Update main.go, consts.go, and 3 more files...

* WIP

* Update main.go, messageSensitiveDataCleaner.go, and 6 more files...

* Update main.go, messageSensitiveDataCleaner.go, and 3 more files...

* Update consts.go, messageSensitiveDataCleaner.go, and tap.go

* Update provider.go

* Update serializableRegexp.go

* Update tap.go

* TRA-3234 fetch with _source + no hard limit (#64)

* remove the HARD limit of 5000

* TRA-3299 Reduce footprint and Add Tolerances(#65)

* Use lib const for DNSClusterFirstWithHostNet.

* Whitespace.

* Break lines.

* Added affinity to pod names.

* Added tolerations to NoExecute and NoSchedule taints.

* Implementation of Mizu view command

* .

* .

* Update main.go and messageSensitiveDataCleaner.go

* Update main.go

* String and not pointers (#68)

* TRA-3318 - Cookies not null and fix har file names  (#69)

* no message

* TRA-3212 Passive-Tapper and Mizu share code (#70)

* Use log in tap package instead of fmt.

* Moved api/pkg/tap to root.

* Added go.mod and go.sum for tap.

* Added replace for shared.

* api uses tap module instead of tap package.

* Removed dependency of tap in shared by moving env var out of tap.

* Fixed compilation bugs.

* Fixed: Forgot to export struct field HostMode.

* Removed unused flag.

* Close har output channel when done.

* Moved websocket out of mizu and into passive-tapper.

* Send connection details over har output channel.

* Fixed compilation errors.

* Removed unused info from request response cache.

* Renamed connection -> connectionID.

* Fixed rename bug.

* Export setters and getters for filter ips and ports.

* Added tap dependency to Dockerfile.

* Uncomment error messages.

* Renamed `filterIpAddresses` -> `filterAuthorities`.

* Renamed ConnectionID -> ConnectionInfo.

* Fixed: Missed one replace.

* TRA-3342 Mizu/tap dump to har directory fails on Linux (#71)

* Instead of saving incomplete temp har files in a temp dir, save them in the output dir with a *.har.tmp suffix.

* API only loads har from *.har files (by extension).

* Add export entries endpoint for better up9 connect funcionality  (#72)

* no message
* no message
* no message

* Filter 'cookie' header

* Release action  (#73)

* Create main.yml

* Update main.yml

* Update main.yml

* Update main.yml

* Update main.yml

* trying new approach

* no message

* yaml error

* no message

* no message

* no message

* missing )

* no message

* no message

* remove main.yml and fix branches

* Create tag-temp.yaml

* Update tag-temp.yaml

* Update tag-temp.yaml

* no message

* no message

* no message

* no message

* no message

* no message

* no message

* #minor

* no message

* no message

* added checksum calc to CLI makefile

* fixed build error - created bin directory upfront

* using markdown for release text

* use separate checksum files

* fixed release readme

* #minor

* readme updated

Co-authored-by: Alex Haiut <alex@up9.com>

* TRA-3360 Fix: Mizu ignores -n namespace flag and records traffic from all pods (#75)

Do not tap pods in namespaces which were not requested.

* added apple/m1 binary, updated readme (#77)

Co-authored-by: Alex Haiut <alex@up9.com>

* Update README.md (#78)

Co-authored-by: lirazyehezkel <61656597+lirazyehezkel@users.noreply.github.com>
Co-authored-by: RamiBerm <rami.berman@up9.com>
Co-authored-by: RamiBerm <54766858+RamiBerm@users.noreply.github.com>
Co-authored-by: gadotroee <55343099+gadotroee@users.noreply.github.com>
Co-authored-by: nimrod-up9 <59927337+nimrod-up9@users.noreply.github.com>
Co-authored-by: Igor Gov <igor.govorov1@gmail.com>
Co-authored-by: Alex Haiut <alex@up9.com>
2021-06-21 15:17:31 +03:00
RamiBerm d8e840f277 Update socket_server_handlers.go 2021-05-25 10:58:01 +03:00
RamiBerm 6155f12015 Update main.go, main.go, and 2 more files... 2021-05-25 10:34:33 +03:00
RamiBerm 1f09a140a4 Merge branch 'develop'
Conflicts:
	api/pkg/models/models.go
	cli/cmd/tapRunner.go
	cli/mizu/mizuRunner.go
2021-05-25 09:47:16 +03:00
gadotroeeandGitHub 2f33f9229a TRA-3234 Fetch command (#54)
* preparation to fetch command

* get har as zip from server

* no message

* no message
2021-05-24 19:29:46 +03:00
RamiBerm 22576a35a3 Update socket_server_handlers.go, consts.go, and HarPage.tsx 2021-05-24 17:13:40 +03:00
RamiBerm 408bd49f87 Update go.mod, go.sum, and 2 more files... 2021-05-24 17:08:56 +03:00
RamiBerm fbeb7fe9cd Update main.go, socket_server_handlers.go, and 4 more files... 2021-05-24 17:06:03 +03:00
RamiBerm 2f8f253743 WIP 2021-05-24 12:17:26 +03:00
RamiBerm c1409251e2 Update main.go, controlSocket.go, and 2 more files... 2021-05-24 10:45:22 +03:00
RamiBerm 24dba9e851 WIP 2021-05-24 10:22:20 +03:00
RamiBerm c3e993bbc3 WIP 2021-05-23 17:48:33 +03:00
gadotroeeandGitHub 5cbb5a011e More complex message (preparation for knowing status of tapped items in UI) (#49)
* no message
* no message
2021-05-23 13:11:59 +03:00
da24608bec Tap multiple pods statically (#51)
* WIP

* Update tap.go, provider.go, and 2 more files...

* WIP

* WIP

* Solved routine hanging forever: Added missing flag when calling mizuagent.

* Iterate channel with range.

* Panic if har channel is nil or if websocket connection is nil.

* StartPassiveTapper returns read only channel.

* Solved program exiting immediately: Wait for interrupt signal instead of exiting.

* Solve connecting issue - Retry a few times.

* Use lib const instead of magic.

* Nicer error prints.

* Don't coninue piping message if there is an error.

* Comment.

* Dependency injection.

* no message

* Fixed comment.

* Print tapped addresses when they are updated.

* Print errors in cleanup if there are any.

Co-authored-by: RamiBerm <rami.berman@up9.com>
Co-authored-by: Roee Gadot <roee.gadot@up9.com>
2021-05-20 12:22:23 +03:00
RamiBerm 3001abeff6 Update README.md, resolver.go, and 2 more files... 2021-05-11 15:30:47 +03:00
RamiBerm 84a647a49d Update main.go 2021-05-10 15:57:57 +03:00
RamiBerm d1921d61c9 Merge branch 'develop'
Conflicts:
	api/pkg/controllers/entries_controller.go
	api/pkg/inserter/main.go
	api/pkg/models/models.go
	cli/Makefile
2021-05-10 15:50:45 +03:00
RamiBerm 4429de93b6 Update go.mod, main.go, and 4 more files... 2021-05-10 15:44:38 +03:00
gadotroeeandGitHub 2ea8b0dbde Add requestSenderIP (#39) 2021-05-10 15:14:29 +03:00
RamiBerm 40dc62c3bd Update Dockerfile and go.sum 2021-05-10 11:49:54 +03:00
RamiBerm 204aad60c4 Update go.mod, main.go, and 9 more files... 2021-05-10 11:39:43 +03:00
RamiBerm 18e111beb8 WIP 2021-05-10 11:03:53 +03:00
RamiBerm 21694d0ff9 WIP 2021-05-09 16:34:47 +03:00
gadotroeeandGitHub 3f0ce35de0 Leftovers from PR #30 (#36) 2021-05-09 11:26:28 +03:00
gadotroeeandGitHub b9d0e0ee87 Better code in entries fetch endpoint (#30)
* no message
* no message
2021-05-06 11:08:02 +03:00
gadotroeeandGitHub ed0d7ef8db General stats api fix (#29)
* refactor and validation
2021-05-05 12:33:53 +03:00
nimrod-up9andGitHub 4d6528771a Fix gRPC crash, display gRPC as base64, display gRPC URL and status code (#27)
* Added Method (POST) and URL (emtpy) to gRPC requests.

* Removed quickfix that skips writing HTTP/2 to HAR.

* Use HTTP/2 body to fill out http.Request and htt.Response.

* Make sure that in HARs request.postData.mimeType and response.content.mimeType are application/grpc in case of grpc.

* Comment.

* Add URL and status code for gRPC.

* Don't assume http scheme.

* Use http.Header.Set instead of manually acccessing the underlaying map.
2021-05-05 09:23:17 +03:00
377fc79315 Infinite scroll (#28)
* no message

* infinite scroll + new ws implementation

* no message

* scrolling top

* fetch button

* more Backend changes

* fix go mod and sum

* mire fixes against develop

* unused code

* small ui refactor

Co-authored-by: Roee Gadot <roee.gadot@up9.com>
2021-05-04 18:23:58 +03:00
nimrod-up9andGitHub b03134919e Reduce delay between tap and UI - Skip dump to file (#26)
* Pass HARs between tap and api via channel.

* Fixed make docker commad.

* Various fixes.

* Added .DS_Store to .gitignore.

* Parse flags in Mizu main instead of in tap_output.go.

* Use channel to pass HAR by default instead of files.
2021-05-03 14:50:28 +03:00
gadotroeeandGitHub 0d277faaf8 API and TAP in single process (#24)
* no message
* no message
2021-05-02 15:00:53 +03:00
29407729cf fixed readme and reduced batch size to 5 (#22)
Co-authored-by: Alex Haiut <alex@up9.com>
2021-04-29 18:44:21 +03:00
nimrod-up9andGitHub e932a340e3 Only record traffic of the requested pod. Filtered by pod IP. (#21) 2021-04-29 18:19:59 +03:00
gadotroeeandGitHub 96a6ac3251 Small fixes - permission + har writing exception (#17) 2021-04-29 15:05:03 +03:00
Roee Gadot 43d82cdf7b missing flag.parse 2021-04-29 08:44:24 +03:00
Roee Gadot 930f5178a7 default value in api is input
fix description and pass the parameter in the multi runner script
2021-04-29 08:27:05 +03:00
Roee Gadot 81c6b66999 fix multi runner passive tapper command 2021-04-29 08:21:30 +03:00
gadotroeeandGitHub e2df769ebd Merge branch 'develop' into feature/workin_first_and_ugly 2021-04-29 08:17:40 +03:00
RamiBerm 2c77267250 Update .dockerignore, Dockerfile, and 30 more files... 2021-04-28 18:03:18 +03:00
Roee Gadot b01fe9c918 no message 2021-04-28 17:54:32 +03:00
RamiBerm 175175e5ee Merge branch 'develop'
Conflicts:
	api/Dockerfile
2021-04-28 17:50:52 +03:00
RamiBerm 652df03351 Update multi-runner.sh 2021-04-28 17:33:01 +03:00
RamiBerm 9531f7a14b Update Dockerfile, multi-runner.sh, and 31 more files... 2021-04-28 17:32:06 +03:00
gadotroeeandGitHub 37a169b371 Improvements (#12)
* no message

* no message
2021-04-28 14:47:28 +03:00
gadotroeeandGitHub 0061f7d14a Add api build and clean to makefile (files restructure) (#9)
* no message
* add clean api command
2021-04-28 08:08:58 +03:00
Roee Gadot 6c698d15c7 no message 2021-04-27 16:29:28 +03:00
Roee Gadot 1666d578f1 return data directly 2021-04-27 10:33:11 +03:00
Roee Gadot b886af2242 status to statusCode 2021-04-27 10:25:02 +03:00
Roee Gadot d715473088 no message 2021-04-27 09:45:40 +03:00
Roee Gadot 3728ee08d6 some refactor 2021-04-25 14:49:47 +03:00
Roee Gadot d0119d6046 no message 2021-04-25 14:23:08 +03:00