16 Commits

Author SHA1 Message Date
Igor Gov
b84c698c1a Mizu tap analyze 2021-06-29 17:05:44 +03:00
nimrod-up9
135b1a5e1e 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.
2021-06-14 13:22:44 +03:00
RamiBerm
47237f05a5 WIP 2021-05-31 17:53:21 +03:00
RamiBerm
408bd49f87 Update go.mod, go.sum, and 2 more files... 2021-05-24 17:08:56 +03:00
RamiBerm
24dba9e851 WIP 2021-05-24 10:22:20 +03:00
RamiBerm
c3e993bbc3 WIP 2021-05-23 17:48:33 +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
RamiBerm
4429de93b6 Update go.mod, main.go, and 4 more files... 2021-05-10 15:44:38 +03:00
RamiBerm
204aad60c4 Update go.mod, main.go, and 9 more files... 2021-05-10 11:39:43 +03:00
RamiBerm
21694d0ff9 WIP 2021-05-09 16:34:47 +03:00
gadotroee
b9d0e0ee87 Better code in entries fetch endpoint (#30)
* no message
* no message
2021-05-06 11:08:02 +03:00
gadotroee
0d277faaf8 API and TAP in single process (#24)
* no message
* no message
2021-05-02 15:00:53 +03:00
gadotroee
37a169b371 Improvements (#12)
* no message

* no message
2021-04-28 14:47:28 +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