Commit Graph

33 Commits

Author SHA1 Message Date
M. Mert Yildiran
820dc09976 Introduce Version field to Protocol struct for dynamically switching the HTTP protocol to HTTP/2 2021-08-22 18:35:17 +03:00
M. Mert Yildiran
5900d59567 Remove more logging 2021-08-22 17:27:36 +03:00
M. Mert Yildiran
2c827fc524 Remove the unnecessary logging 2021-08-22 17:24:19 +03:00
M. Mert Yildiran
494af0c8c7 Remove everything HTTP related from the tap package and make the extension system fully functional 2021-08-21 10:00:02 +03:00
M. Mert Yildiran
c5969c267e Add Represent method to the Dissector interface and manipulate the UI through this method 2021-08-21 08:19:09 +03:00
M. Mert Yildiran
03099edfc1 Display the protocol name inside the details layout 2021-08-21 03:55:42 +03:00
M. Mert Yildiran
3dff8b48f7 Refactor BaseEntryDetails struct and display the source and destination ports in the UI 2021-08-21 02:47:08 +03:00
M. Mert Yildiran
ccb924f507 Add Protocol struct and make it effect the UI 2021-08-21 00:47:47 +03:00
M. Mert Yildiran
c668680f54 Add Analyze method to the Dissector interface and MizuEntry to the extension API 2021-08-20 21:34:44 +03:00
M. Mert Yildiran
3b0502180f Add Summarize() method to the Dissector interface 2021-08-20 19:19:32 +03:00
M. Mert Yildiran
f97e7c4793 Move loadExtensions into main.go and map extensions into extensionsMap 2021-08-20 18:30:21 +03:00
M. Mert Yildiran
461bcf9f24 Marshal and unmarshal *http.Request, *http.Response pairs 2021-08-20 03:00:55 +03:00
M. Mert Yildiran
fb56106741 Connect OutputChannelItem to the last WebSocket means that finally the web UI started to work again 2021-08-20 01:28:12 +03:00
M. Mert Yildiran
163fc7c4ae Read socketHarOutChannel instead of filteredHarChannel 2021-08-20 00:56:19 +03:00
M. Mert Yildiran
a7cd840522 Migrate back from gopacket/tcpassembly to gopacket/reassembly 2021-08-19 19:59:06 +03:00
Roee Gadot
5bd8b1215a small mistake in the conflicts 2021-08-18 08:41:27 +03:00
Roee Gadot
77783a58e9 roee changes -
trying to fix agent to work with the "api" object) - ***still not working***
2021-08-18 08:28:22 +03:00
M. Mert Yildiran
c3357aa9ed Bring back the gRPC-HTTP/2 parser 2021-08-18 06:15:16 +03:00
M. Mert Yildiran
3410a6067c Implement the run() function for the TCP stream 2021-08-17 08:43:16 +03:00
M. Mert Yildiran
bfa9d9960f Start to define the extension API 2021-08-17 07:48:25 +03:00
M. Mert Yildiran
32a2b8b823 Separate HTTP related code into extensions/http as a Go plugin 2021-08-17 02:33:56 +03:00
Igor Gov
0244f12167 Fixes (#171) 2021-08-05 19:29:06 +03:00
Igor Gov
fa632b49a7 Introducing mizu logs dump & Log prints alignment in API server using rlog (#165) 2021-08-05 11:01:08 +03:00
Nimrod Gilboa Markevich
04579eb03c Namespace restricted mode (#147) 2021-08-05 10:28:31 +03:00
Selton Fiuza
dea223bfe1 Feature/tra 3349 validation rules merged with develop (#148)
* Implemented validation rules, based on: https://up9.atlassian.net/browse/TRA-3349

* Color on Entry based on rules

* Background red/green based on rules

* Change flag --validation-rules to --test-rules

* rules tab UI updated

* rules tab font and background-color is changed for objects

* Merged with develop

* Fixed compilation issues.

* Renamed fullEntry -> harEntry where appropriate.

* Change green/red logic

* Update models.go

* Fix latency bug and alignment

* Merge Conflicts fix

* Working after merge

* Working on Nimrod comments

* Resolving conflicts

* Resolving conflicts

* Resolving conflicts

* Nimrod Comments pt.3

* Log Error on configmap creation if the user doesn't have permission.

* Checking configmap permission to ignore --test-rules

* Revert time for mizu to get ready

* Nimrod comments pt 4 && merge develop pt3

* Nimrod comments pt 4 && merge develop pt3

* Const rulePolicyPath and filename

Co-authored-by: Neim <elezin9@gmail.com>
Co-authored-by: nimrod-up9 <nimrod@up9.com>
2021-08-04 09:21:36 -03:00
Igor Gov
d18f1f8316 Tapped pods report via endpoint instead of web socket (#164) 2021-08-04 10:41:33 +03:00
Igor Gov
9e34662511 Adding logs and fixing several issues (#162)
* Config grooming and several general fixes
2021-08-04 08:18:07 +03:00
RamiBerm
ceb8d714e3 TRA-3420 inform user of tls traffic (#149)
* Update passive_tapper.go and tls_utils.go

* Update go.mod, go.sum, and 18 more files...

* go fmt

* Update http_reader.go, passive_tapper.go, and 3 more files...

* Update status_controller.go and status_provider.go

Co-authored-by: RamiBerm <rami.berman@up9.com>
2021-08-01 14:57:43 +03:00
gadotroee
8d8310ee02 Revert "feature/TRA_3427_demo_mode (#150)" (#151)
This reverts commit 71eff5ea04.
2021-07-29 21:06:41 +03:00
Selton Fiuza
71eff5ea04 feature/TRA_3427_demo_mode (#150)
* Demo Mode MVP

* messages improve

* downloading based on the OS

* downloading based on the OS

* downloading based on the OS

* Modeler keep running

* A lot of revisions comes now

* Fix color
2021-07-28 14:50:15 -03:00
nimrod-up9
1ef17542dd Format socket ID as int in logs. (#143) 2021-07-27 14:49:08 +03:00
RamiBerm
6dd2bf705b TRA-3437 switch fiber and ikisocket with gin-gonic and gorilla websocket (#136)
* WIP

* WIP

* WIP

* Update socket_server_handlers.go and socket_routes.go

* Fix stuck sockets

* Update go.mod, go.sum, and 5 more files...

* Update socket_routes.go

* Update Dockerfile, go.sum, and fiber_middleware.go

* fix analyze

Co-authored-by: RamiBerm <rami.berman@up9.com>
2021-07-25 13:08:29 +03:00
nimrod-up9
803681a239 Renamed collector, aggregator to api server, api folder to agent (#133)
* Renamed aggregator -> apiServer.

* Format errors with container names.

* Renamed collector -> apiServer.

* Rephrased help messages.

* Moved api -> agent.

* Continue renameing api -> agent in Makefile and Dockerfiles.
2021-07-22 17:17:17 +03:00