Commit Graph

90 Commits

Author SHA1 Message Date
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
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
gadotroee
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
gadotroee
3f0ce35de0 Leftovers from PR #30 (#36) 2021-05-09 11:26:28 +03:00
gadotroee
b9d0e0ee87 Better code in entries fetch endpoint (#30)
* no message
* no message
2021-05-06 11:08:02 +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
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
nimrod-up9
e932a340e3 Only record traffic of the requested pod. Filtered by pod IP. (#21) 2021-04-29 18:19:59 +03:00
gadotroee
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
gadotroee
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
gadotroee
37a169b371 Improvements (#12)
* no message

* no message
2021-04-28 14:47:28 +03:00
gadotroee
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
Roee Gadot
f5d27fec2e no message 2021-04-25 09:02:07 +03:00
Roee Gadot
4ecccba4a1 no message 2021-04-22 17:29:07 +03:00
Alex Haiut
f0859b9277 folder structure 2021-04-19 13:53:48 +03:00