Commit Graph
1221 Commits
Author SHA1 Message Date
M. Mert Yildiran 93bbf9dedc Fix indentation 2022-06-08 04:32:18 +03:00
M. Mert Yildiran 49d95d03d3 Update the object files 2022-06-08 04:30:54 +03:00
M. Mert Yildiran b0340db8bc Remove MIZU_GLOBAL_GOLANG_PATH environment variable 2022-06-08 04:29:55 +03:00
M. Mert Yildiran 2293e4346f Add comments and TODOs 2022-06-08 03:59:09 +03:00
M. Mert Yildiran 4581b79f3e Fix linter 2022-06-08 02:03:05 +03:00
M. Mert Yildiran b8e0de3a9f Declare lookup_ssl_info function to reduce duplication 2022-06-08 01:56:59 +03:00
M. Mert Yildiran 694e4c555e Move common functions into common.c 2022-06-08 01:47:04 +03:00
M. Mert Yildiran 21a560d56b Remove the unnecessary changes 2022-06-08 01:22:34 +03:00
M. Mert Yildiran 057709c49d Rely on tracepoints for file descriptor retrieval in Golang implementation 2022-06-08 01:05:07 +03:00
M. Mert Yildiran 6687a15587 Fix MIZU_GLOBAL_GOLANG_PID environment variable's functionality 2022-06-08 00:34:08 +03:00
M. Mert Yildiran 503ff0fdfd Fix the linter error 2022-06-07 21:36:47 +03:00
M. Mert Yildiran 4f84194362 Use kernel page size for the sys_closes perf buffer 2022-06-07 17:25:52 +03:00
M. Mert Yildiran c94821b9d2 Generate tlsTapperChunkType type (enum) as well 2022-06-07 17:19:10 +03:00
M. Mert Yildiran 71c4b592e8 Unify Golang and OpenSSL under a single perf event buffer and tls_chunk struct 2022-06-07 16:35:16 +03:00
M. Mert Yildiran bab23303ae Fix can only use path@version syntax with 'go get' and 'go install' in module-aware mode error in tap/tlstapper/bpf-builder/build.sh 2022-06-06 14:24:21 +03:00
M. Mert Yildiran d212ebadee Remove an excess error check 2022-06-06 13:32:38 +03:00
M. Mert Yildiran 153e699695 Refactor golang_net_http_dialconn_uprobe 2022-06-03 18:39:16 +03:00
M. Mert Yildiran ef0a059877 Fix Poll 2022-06-03 04:00:13 +03:00
M. Mert Yildiran e52a08223a Log tapping Golang 2022-06-03 03:02:38 +03:00
M. Mert Yildiran d07a94fcc6 Revert "Revert "Revert "Revert "Revert "Revert "Revert "Temporarily disable OpenSSL"""""""
This reverts commit 775c833c06.
2022-06-03 02:13:59 +03:00
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