Commit Graph

115 Commits

Author SHA1 Message Date
M. Mert Yildiran
efe8e849e4 Fix the memory leaks in AMQP and Kafka dissectors 2021-08-25 19:46:46 +03:00
M. Mert Yildiran
10b08317f7 Learn isClient from the TCP stream 2021-08-25 17:59:08 +03:00
Roee Gadot
fc7d219941 typo 2021-08-25 17:41:16 +03:00
Roee Gadot
4d993293ba Merge branch 'feat/extension-api' of github.com:up9inc/mizu into feat/extension-api 2021-08-25 17:37:52 +03:00
M. Mert Yildiran
ea7f529423 Turn TCP reader back into two Goroutines (client and server) 2021-08-25 17:31:52 +03:00
Roee Gadot
be7c65eb6d fix getStreamProps function.
(it should be passed from CLI as it was before).
2021-08-25 17:28:14 +03:00
M. Mert Yildiran
becb8d1618 Try to dissect with looping through all the extensions 2021-08-25 16:38:39 +03:00
M. Mert Yildiran
b2a07f37a4 Sort extension by priority 2021-08-25 16:13:57 +03:00
M. Mert Yildiran
3ca6437320 Swap TcpID without overwriting it 2021-08-25 16:05:01 +03:00
M. Mert Yildiran
d0f0e187cb Make the TCP reader consists of a single Go routine (instead of two) and try to dissect in both client and server mode by rewinding 2021-08-25 15:39:03 +03:00
M. Mert Yildiran
942e7ff19a Open the API server URL in the web browser as soon as Mizu is ready 2021-08-25 00:25:03 +03:00
M. Mert Yildiran
d4425e34ce Adapt APP_PORTS environment variable to the new extension system and change its format to APP_PORTS='{"http": ["8001"]}' 2021-08-24 15:39:36 +03:00
M. Mert Yildiran
cc5620e367 Fix a log message in the passive tapper 2021-08-23 17:11:07 +03:00
M. Mert Yildiran
842122b5a1 Refactor the protocol payload structs 2021-08-23 17:06:35 +03:00
Roee Gadot
20a2caf3d9 adding the cleaner again (why we removed it?).
add TODO: on the extension loop .
2021-08-23 11:48:00 +03:00
M. Mert Yildiran
be689295e3 Merge branch 'develop2' into feat/extension-api-merge2 2021-08-23 01:58:02 +03:00
M. Mert Yildiran
3fa7541c00 Fix another freezing issue in Kafka 2021-08-23 01:15:18 +03:00
M. Mert Yildiran
c1dee83833 Fix an infinite loop in Kafka 2021-08-23 00:50:45 +03:00
M. Mert Yildiran
674041f014 Fix one more issue in HTTP POST data 2021-08-23 00:21:12 +03:00
M. Mert Yildiran
4cd5fc25fd Fix the issues in HTTP POST data 2021-08-22 23:50:48 +03:00
M. Mert Yildiran
60a6be677f Fix the read errors that freezes the sniffer in HTTP and Kafka 2021-08-22 22:44:11 +03:00
M. Mert Yildiran
6f84138eb7 Fix the issues in summary section of details layout for HTTP/2 (gRPC) protocol 2021-08-22 20:46:17 +03:00
M. Mert Yildiran
e90fd58d5e Fix the issues in analysis and representation of HTTP/2 (gRPC) protocol 2021-08-22 19:50:27 +03:00
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
2c827fc524 Remove the unnecessary logging 2021-08-22 17:24:19 +03:00
M. Mert Yildiran
8f9e584025 Fix the encoding of AMQP BasicPublish and BasicDeliver body 2021-08-22 17:18:29 +03:00
M. Mert Yildiran
58b744bc6c Implement the representations for Kafka ListOffsets, CreateTopics and DeleteTopics 2021-08-22 17:05:36 +03:00
M. Mert Yildiran
26ad50f379 Implement the representations for Kafka Fetch 2021-08-22 16:35:45 +03:00
M. Mert Yildiran
3d16ccf055 Implement the representations for Kafka Produce 2021-08-22 16:14:13 +03:00
M. Mert Yildiran
89eb0e0f9a Implement the representations for Kafka ApiVersions 2021-08-22 16:05:14 +03:00
M. Mert Yildiran
2d0d583a93 Refactor the AMQP and Kafka implementations to create the summary string only inside the Analyze method 2021-08-22 15:52:56 +03:00
M. Mert Yildiran
983c583f1b Implement the representations for Kafka Metadata, RequestHeader and ResponseHeader 2021-08-22 14:59:10 +03:00
M. Mert Yildiran
381502cea5 Implement Analyze, Summarize methods of Kafka 2021-08-22 13:58:09 +03:00
M. Mert Yildiran
f6a260a8c9 Do the "Is reversed?" checked inside getStreamProps and fix an issue in Kafka Dissect method 2021-08-22 12:21:29 +03:00
M. Mert Yildiran
f6a532a5b5 Implement Dissect method of Kafka and adapt request-response pair matcher to asynchronous client-server stream 2021-08-22 10:44:53 +03:00
M. Mert Yildiran
6d69bdbc13 Fix the build errors in Kafka Go files 2021-08-22 09:03:36 +03:00
M. Mert Yildiran
a598256576 Bring in the files related Kafka into kafka directory 2021-08-22 08:45:43 +03:00
M. Mert Yildiran
172683fe21 Fix an issue in ConnectionStart 2021-08-21 17:10:38 +03:00
M. Mert Yildiran
2a68271238 Implement the AMQP BasicConsume 2021-08-21 16:47:47 +03:00
M. Mert Yildiran
1a89e3219c Implement the AMQP QueueBind 2021-08-21 16:38:05 +03:00
M. Mert Yildiran
21cac50ccb Implement the AMQP ConnectionClose 2021-08-21 16:28:44 +03:00
M. Mert Yildiran
8fa1506969 Implement the AMQP ConnectionStart 2021-08-21 16:16:55 +03:00
M. Mert Yildiran
448f9d0836 Implement the AMQP ExchangeDeclare 2021-08-21 15:59:44 +03:00
M. Mert Yildiran
81eb36e21e Implement the AMQP QueueDeclare 2021-08-21 15:50:22 +03:00
M. Mert Yildiran
5effd97c27 Implement the AMQP BasicDeliver 2021-08-21 15:37:20 +03:00
M. Mert Yildiran
75899a9868 Fix several minor issues 2021-08-21 14:07:49 +03:00
M. Mert Yildiran
5cf0fe952c Implement representBasicPublish method 2021-08-21 13:15:17 +03:00
M. Mert Yildiran
d4adc04c38 Implement the AMQP BasicPublish and fix some issues in the UI when the response payload is missing 2021-08-21 12:02:28 +03:00
M. Mert Yildiran
0c2140e11b Add --nodefrag flag to the tapper and bring in the main AMQP code 2021-08-21 10:44:08 +03:00
M. Mert Yildiran
5b3f63dd28 Bring in the files related AMQP into amqp directory 2021-08-21 10:15:21 +03:00