Commit Graph

251 Commits

Author SHA1 Message Date
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
gadotroee
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
gadotroee
8774639cbe
Mizu Image variable (#52) 2021-05-23 11:51:16 +03:00
nimrod-up9
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
nimrod-up9
1ddc7f2f6b
Decode gRPC body (#48)
* Decode grpc.

* Better variable names.

* Added protobuf-decoder dependency.

* Updated protobuf-decoder's version.
2021-05-12 18:42:42 +03:00
lirazyehezkel
d975e76555
Handle nullable vars (#47) 2021-05-12 12:00:35 +03:00
RamiBerm
132b158dbb
TRA-3241 fix mizu rbac bug
TRA-3241 fix mizu rbac bug
2021-05-12 10:25:04 +03:00
RamiBerm
5cb58ec25b Update mizuRunner.go 2021-05-12 10:16:40 +03:00
lirazyehezkel
129acae58e
Feature/UI/light theme (#44)
* light theme

* css polish

* unused code

* css

* text shadow

* footer style
2021-05-11 17:35:21 +03:00
RamiBerm
06a25876b9
TRA-3188 name resolving integration improvements
TRA-3188 name resolving integration improvements
2021-05-11 16:30:04 +03:00
RamiBerm
9bd4fb0619 Update provider.go 2021-05-11 15:35:31 +03:00
RamiBerm
3001abeff6 Update README.md, resolver.go, and 2 more files... 2021-05-11 15:30:47 +03:00
RamiBerm
d36d1460b6 Update mizuRunner.go 2021-05-11 10:52:39 +03:00
RamiBerm
bc165dbbaf Update Makefile, version.go, and 3 more files... 2021-05-11 10:26:24 +03:00
RamiBerm
cc60ad064c Provide cli version as git hash from makefile 2021-05-11 09:33:11 +03:00
RamiBerm
ff937e8160
TRA-3188 integrate resolver
TRA-3188 integrate resolver
2021-05-10 17:24:20 +03:00
RamiBerm
d817f5b3d3 Update provider.go, consts.go, and mizuRunner.go 2021-05-10 16:03:01 +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
9344c18fe0 Update consts.go and mizuRunner.go 2021-05-10 15:46:56 +03:00
RamiBerm
4429de93b6 Update go.mod, main.go, and 4 more files... 2021-05-10 15:44:38 +03:00
gadotroee
a960022601
Add cli publish and rename publish docker flow name (#40)
* new makefiles, build automation
* Update main.yml
* add git branch to the bucket path
* Update main.yml
* no message
* no message
* fix yaml
* fix naming
* run only on main and develop

Co-authored-by: Alex Haiut <alex@up9.com>
2021-05-10 15:44:37 +03:00
gadotroee
2ea8b0dbde
Add requestSenderIP (#39) 2021-05-10 15:14:29 +03:00
RamiBerm
c4d44ba9d3 Update Dockerfile 2021-05-10 13:56:51 +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
nimrod-up9
ee63247888
Removed flags without implementation (#38) 2021-05-09 14:09:39 +03:00
gadotroee
c3d0941d9c
Build push image to the right place and adjust makefile to use script (#35)
* build push docker image

* Update build-push-featurebranch.sh
2021-05-09 12:05:05 +03:00
gadotroee
3f0ce35de0
Leftovers from PR #30 (#36) 2021-05-09 11:26:28 +03:00
nimrod-up9
506e36fbdc
CLI cleanup 2 (#34)
* Renamed dashboard -> GUI/web interface.

* Commented out --quiet, removed unused config variables.

* Quiter output when calling unimplemented subcommands.
2021-05-06 18:30:01 +03:00
nimrod-up9
6ceaa56474
CLI cleanup (#33)
* Moved cli root command to tap subcommand.

* tap subcommand works.

* Added view and fetch placeholders.

* Updated descriptions.

* Fixed indentation.

* Added versio subcommand.

* Removed version flag.

* gofmt.

* Changed pod from flag to arg.

* Commented out "all namespaces" flag.
2021-05-06 17:43:22 +03:00
lirazyehezkel
c7a20ed9c0
Feature/UI/filters (#32)
* UI filters

* refactor

* Revert "refactor"

This reverts commit 70e7d4b6ac.

* remove recursive func
2021-05-06 17:40:35 +03:00
gadotroee
b9d0e0ee87
Better code in entries fetch endpoint (#30)
* no message
* no message
2021-05-06 11:08:02 +03:00
nimrod-up9
938ca26cd4
Show gRPC as ASCII (#31)
* Moved try-catch up one block.

* Display grpc as ASCII.
2021-05-05 17:23:10 +03:00
gadotroee
ed0d7ef8db
General stats api fix (#29)
* refactor and validation
2021-05-05 12:33:53 +03:00
nimrod-up9
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
lirazyehezkel
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-up9
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
gadotroee
5727630846
CLI make --pod required flag and faster api image build (#25)
* makefile fixes - docker build

* readme update, CLI usage fix

* added chmod

* typo

* run example incorreect in makefile

* no message

* no message

* no message

Co-authored-by: Alex Haiut <alex@up9.com>
2021-05-03 11:25:15 +03:00
gadotroee
0d277faaf8
API and TAP in single process (#24)
* no message
* no message
2021-05-02 15:00:53 +03:00
Alex Haiut
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
lirazyehezkel
ef02403237
Merge pull request #20 from up9inc/feature/ui/Meta_information
UI meta information
2021-04-29 18:21:10 +03:00
nimrod-up9
e932a340e3
Only record traffic of the requested pod. Filtered by pod IP. (#21) 2021-04-29 18:19:59 +03:00
Liraz Yehezkel
f23f50373b meta information 2021-04-29 18:01:30 +03:00