Commit Graph
222 Commits
Author SHA1 Message Date
M. Mert Yildiran 775c833c06 Revert "Revert "Revert "Revert "Revert "Revert "Temporarily disable OpenSSL""""""
This reverts commit 46f3d290b0.
2022-06-03 02:10:39 +03:00
M. Mert Yildiran e99749d75a Use findLibraryByPid 2022-06-03 00:07:30 +03:00
M. Mert Yildiran 46f3d290b0 Revert "Revert "Revert "Revert "Revert "Temporarily disable OpenSSL"""""
This reverts commit 57d0584655.
2022-06-02 23:45:13 +03:00
M. Mert Yildiran 173ef83064 Fix panic: send on closed channel 2022-06-02 23:40:05 +03:00
M. Mert Yildiran 57d0584655 Revert "Revert "Revert "Revert "Temporarily disable OpenSSL""""
This reverts commit 6e1bd5d4f3.
2022-06-02 23:07:30 +03:00
M. Mert Yildiran 75584ea197 Fix pollGolang 2022-06-02 23:01:57 +03:00
M. Mert Yildiran 6e1bd5d4f3 Revert "Revert "Revert "Temporarily disable OpenSSL"""
This reverts commit e5a1de9c71.
2022-06-02 22:54:36 +03:00
M. Mert Yildiran d760a45dab Add comments 2022-06-02 22:54:19 +03:00
M. Mert Yildiran 284c52365b Define an error 2022-06-02 22:51:48 +03:00
M. Mert Yildiran 2492ae1c3b Rename golang_read_write to golang_event 2022-06-02 22:43:51 +03:00
M. Mert Yildiran 32c566705a Change golang_read_writes map type from BPF_RINGBUF to BPF_PERF_OUTPUT 2022-06-02 22:22:10 +03:00
M. Mert Yildiran e5a1de9c71 Revert "Revert "Temporarily disable OpenSSL""
This reverts commit 2433d867af.
2022-06-02 09:29:51 +03:00
M. Mert Yildiran 5061e97018 Fix linter 2022-06-02 09:21:34 +03:00
M. Mert Yildiran 2433d867af Revert "Temporarily disable OpenSSL"
This reverts commit f54d9a453f.
2022-06-02 09:18:21 +03:00
M. Mert Yildiran a69eb38663 Add log_error calls 2022-06-02 08:58:56 +03:00
M. Mert Yildiran f0f357af8c Call should_tap in Golang uprobes 2022-06-02 08:24:50 +03:00
M. Mert Yildiran 6e88922f14 Rename socket struct to golang_socket 2022-06-02 08:17:53 +03:00
M. Mert Yildiran 14107d7169 Add a tracepoint for sys_enter_close to detect socket closes 2022-06-02 08:14:49 +03:00
M. Mert Yildiran b27080d448 Close the reader when we drop the connection 2022-06-02 06:32:51 +03:00
M. Mert Yildiran 97ce9d71c1 Don't export any fields of golangConnection 2022-06-02 06:23:12 +03:00
M. Mert Yildiran f26511df14 Set the reader field of tlsStream to fix a nil pointer dereference error 2022-06-02 06:21:23 +03:00
M. Mert Yildiran 8574af7fa8 Update golang_crypto_tls_read_uprobe 2022-06-02 06:15:59 +03:00
M. Mert Yildiran 56c051aac8 Revert "Temporarily disable the PCAP capture"
This reverts commit a2da15ef2d.
2022-06-02 06:10:58 +03:00
M. Mert Yildiran 63e3d16d21 Remove a TODO 2022-06-02 06:09:32 +03:00
M. Mert Yildiran 3f4e03d381 Set all buffer sizes to CHUNK_SIZE 2022-06-02 05:19:36 +03:00
M. Mert Yildiran 3e7d08bf2c Get the correct len of bytes (saw the second entry) 2022-06-02 04:34:36 +03:00
M. Mert Yildiran a27d235e5a Use constant read length 2022-06-02 04:31:49 +03:00
M. Mert Yildiran fa0e9f8fa9 Read constant 4KiB 2022-06-02 04:18:54 +03:00
M. Mert Yildiran ed15332a0b Remove golang_net_http_gzipreader_read_uprobe 2022-06-02 03:23:11 +03:00
M. Mert Yildiran c55f43bbd1 Revert "Compress if it's gzip chunk (probably wrong!)"
This reverts commit 094a7c3da4.
2022-06-02 03:12:04 +03:00
M. Mert Yildiran 094a7c3da4 Compress if it's gzip chunk (probably wrong!) 2022-06-02 03:11:42 +03:00
M. Mert Yildiran 308d3cfd87 Fix the key_gzip offsets 2022-06-02 01:48:09 +03:00
M. Mert Yildiran 9868a7723a Remove two TODOs 2022-06-02 01:23:45 +03:00
M. Mert Yildiran 9f6188a4cb Set len and cap in golang_net_http_gzipreader_read_uprobe as well 2022-06-02 01:10:02 +03:00
M. Mert Yildiran f80556d21c Bring back len and cap fields 2022-06-02 00:28:42 +03:00
M. Mert Yildiran 04935b21aa Revert "NULL terminate the bytes with unix.ByteSliceToString"
This reverts commit 7ee7ef7e44.
2022-06-02 00:15:28 +03:00
M. Mert Yildiran 5256902e9d Add malformed TODOs 2022-06-01 17:40:21 +03:00
M. Mert Yildiran 94dba8bc64 Temporarily reject the gzip chunks 2022-06-01 17:40:10 +03:00
M. Mert Yildiran 7ee7ef7e44 NULL terminate the bytes with unix.ByteSliceToString 2022-06-01 17:39:37 +03:00
M. Mert Yildiran 4e8d760a12 Add MIZU_GLOBAL_GOLANG_PATH environment variable 2022-06-01 17:30:29 +03:00
M. Mert Yildiran b6b269eb19 Have a single counter pair and request response matcher per Golang connection 2022-06-01 17:16:21 +03:00
M. Mert Yildiran 52c4b18a9d Add golangReader struct and implement its Read method 2022-06-01 15:27:54 +03:00
M. Mert Yildiran 68dec6cbbc Fix the probed line number links 2022-06-01 14:58:39 +03:00
M. Mert Yildiran c7d40d1caf Pass the connection address from write to gzip through a common address between gzip and dial 2022-06-01 14:57:16 +03:00
M. Mert Yildiran 76bee7a9df Make hash map names more meaningful 2022-06-01 14:36:03 +03:00
M. Mert Yildiran 3b332d2a9a Cancel golang_crypto_tls_read_uprobe if it's a gzip read 2022-06-01 14:34:25 +03:00
M. Mert Yildiran 9fc8e0eb50 Add a uprobe for net/http.(*gzipReader).Read to read chunked HTTP response body 2022-06-01 14:32:24 +03:00
M. Mert Yildiran a2da15ef2d Temporarily disable the PCAP capture 2022-06-01 14:25:23 +03:00
M. Mert Yildiran e453947b12 Fix the read data address one more time 2022-05-31 15:23:11 +03:00
M. Mert Yildiran 9314126fb6 Make golang_dial_writes key __u64 and include the PID 2022-05-31 15:20:38 +03:00