* Only use one channel for filtering HARs.
* Only check if dest is service ip if message is outgoing.
* Parse direction flag on input.
* Renamed filterHarHeaders -> filterHarItems.
* Fixed compilation bugs.
* Tap outgoing: If --anydirection flag is passed with HOST_MODE, tap by source IP.
* Moved ConnectionInfo from http_matcher to http_reader.
* Generalized shouldTap in stream factory to get more properties.
* tap reports IsOutgoing property of tcp connection.
* gofmt.
* CLI instructs tapper to tap outgoing connections.
* API saves IsOutgoing to DB and passes it to UI.
* Add a visual marker in the HAR list for outgoing messages.
* Fixed: Swapped src and dst.
* Resolver keeps a list of all ClusterIP services.
* Do not save HARs with destination ClusterIP services.
* CLI accepts flag that controls traffic direction.
* Indicate incoming/outgoing with icon instead of with border color.
* Fixed: Didn't filter messages to services in aggregator.
* Clearer syntax around the direction icon. Added title text.
* Fixed width around direction icon.
* Less repetition.
* Removed TODO.
* Renamed incoming -> ingoing.
* More verbose title text to image.
* Switched routine order for readability.
* 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).
* 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.
* 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>
* 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.