Commit Graph

380 Commits

Author SHA1 Message Date
M. Mert Yildiran
061cb098e9 Introduce HTTPPayload struct and HTTPPayloader interface to MarshalJSON() all the data structures that are returned by the HTTP protocol 2021-08-19 21:38:18 +03:00
M. Mert Yildiran
a7cd840522 Migrate back from gopacket/tcpassembly to gopacket/reassembly 2021-08-19 19:59:06 +03:00
M. Mert Yildiran
4a8629c63e Re-enable getStreamProps function 2021-08-19 12:12:52 +03:00
Roee Gadot
58deed9eab no message 2021-08-19 09:14:33 +03:00
Roee Gadot
f078aa6c36 remove some unwanted code 2021-08-19 09:12:59 +03:00
M. Mert Yildiran
54f5a3432b Fix the Dockerfile to build the extensions 2021-08-18 11:49:23 +03:00
M. Mert Yildiran
d7c3b04bcc Set ConnectionInfo in HTTP handlers 2021-08-18 11:14:29 +03:00
M. Mert Yildiran
902b6bff87 Fix the HTTP1 handlers 2021-08-18 10:45:31 +03:00
M. Mert Yildiran
9fd069a4ff Add Emitter interface to the API and send OutputChannelItem(s) to OutputChannel 2021-08-18 10:30:55 +03:00
M. Mert Yildiran
2d188c2dc9 Fix the issues that are introduced by the merge conflict 2021-08-18 09:21:38 +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
e1267b6c44 Call a function pointer to emit dissected data back to the tap package 2021-08-18 08:11:32 +03:00
M. Mert Yildiran
b1f20fea1e Fix the issues in handleHTTP1ClientStream and handleHTTP1ServerStream 2021-08-18 07:18: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
6b584c4c3f Return a *api.RequestResponsePair from the dissection 2021-08-17 15:06:27 +03:00
M. Mert Yildiran
9a2edbac56 Bring back the HTTP request-response pair matcher 2021-08-17 14:53:32 +03:00
M. Mert Yildiran
90278bb754 Dissect HTTP response from inside the HTTP extension 2021-08-17 13:49:11 +03:00
M. Mert Yildiran
611c92a6d4 Make the distinction of outbound and inbound ports 2021-08-17 13:40:15 +03:00
M. Mert Yildiran
b384b62ac5 Dissect HTTP request from inside the HTTP extension 2021-08-17 13:24:42 +03:00
M. Mert Yildiran
4e4644d3ce Declare the Dissect function in the extension API 2021-08-17 09:23:19 +03:00
M. Mert Yildiran
5ce85f4162 Set the extension name inside the extension 2021-08-17 09:10:50 +03:00
M. Mert Yildiran
5c0a7d907a Add support of defining multiple ports to the extension API 2021-08-17 08:47:59 +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
95a9ee7571 Add a build script to automatically build extensions from a known path and load them 2021-08-17 05:56:56 +03:00
M. Mert Yildiran
e1167c4065 Remove github.com/up9inc/mizu/tap/extensions/http/lib 2021-08-17 05:34:59 +03:00
M. Mert Yildiran
2166801910 Remove grpc_assembler.go 2021-08-17 05:19:12 +03:00
M. Mert Yildiran
790ba30654 Replace orcaman/concurrent-map with sync.Map 2021-08-17 05:12:44 +03:00
M. Mert Yildiran
2c7e857075 Move HTTP files into tap/extensions/lib for now 2021-08-17 04:02:48 +03:00
M. Mert Yildiran
648a4d21f3 Move extensions folder into tap folder 2021-08-17 02:34:54 +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
7f2021c312 Several fixes for the release (#175) 0.7.41 2021-08-08 10:32:21 +03:00
RoyUP9
824945141a fixed config parsing of int and uint (#172) 0.7.40 2021-08-05 21:45:18 +03:00
Igor Gov
0244f12167 Fixes (#171) 0.7.39 2021-08-05 19:29:06 +03:00
RoyUP9
60533a9591 added allowed set flag (#169) 0.7.38 2021-08-05 14:23:16 +03:00
Igor Gov
90f0f603c7 Support getting logs in ns restricted mode (#168) 0.7.37 2021-08-05 12:12:01 +03:00
RoyUP9
683d199774 added support of multiple namespaces (#167) 0.7.36 2021-08-05 11:19:29 +03:00
Igor Gov
fa632b49a7 Introducing mizu logs dump & Log prints alignment in API server using rlog (#165) 0.7.35 2021-08-05 11:01:08 +03:00
Nimrod Gilboa Markevich
04579eb03c Namespace restricted mode (#147) 0.7.34 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>
0.7.33
2021-08-04 09:21:36 -03:00
gadotroee
06c8056443 Tapper stats in stats tracker (#166) 0.7.32 2021-08-04 12:51:51 +03:00
Igor Gov
d18f1f8316 Tapped pods report via endpoint instead of web socket (#164) 0.7.31 2021-08-04 10:41:33 +03:00
Igor Gov
f9202900ee No warning when mizu rbac exists (#163) 0.7.30 2021-08-04 08:41:00 +03:00
Igor Gov
9e34662511 Adding logs and fixing several issues (#162)
* Config grooming and several general fixes
0.7.29
2021-08-04 08:18:07 +03:00
gadotroee
1e726e381b Add option to memory profiling and limit page cache (#158) 0.7.28 2021-08-03 17:30:13 +03:00
RoyUP9
69a9deab4b Feature/tra 3474 config refactor (#155) 0.7.27 2021-08-03 17:23:52 +03:00
RamiBerm
f9396e01ca TRA-3415 ignore unready pods (#160)
* Update tapRunner.go and provider.go

* Update tapRunner.go

* Update tapRunner.go

* Update tapRunner.go

* Update tapRunner.go and provider.go

Co-authored-by: RamiBerm <rami.berman@up9.com>
0.7.26
2021-08-03 15:02:31 +03:00
Nimrod Gilboa Markevich
2d5b170406 Added a default SEM_VER (#159)
* Set default SEM_VER to 0.0.0.

* Build docker with both latest and semver tags.

* Use docker tag instead of building twice.

* Build and tag in one command.
0.7.25
2021-08-03 14:35:02 +03:00
Nimrod Gilboa Markevich
dc59fb6931 Added/edited description to Makefile commands. (#157)
* Added missing description to Makefile commands.

* Uppercase.
0.7.24
2021-08-03 11:41:02 +03:00