• M. Mert Yıldıran's avatar
    Add Go `crypto/tls` eBPF tracer for TLS connections (#1120) · 2ad4838c
    M. Mert Yıldıran authored
    * Run `go generate tls_tapper.go`
    
    * Add `golang_uprobes.c`
    
    * Add Golang hooks and offsets
    
    * Add `golangConnection` struct and implement `pollGolangReadWrite` method
    
    * Upgrade `github.com/cilium/ebpf` version to `v0.8.1`
    
    * Fix the linter error
    
    * Move map related stuff to `maps.h` and run `go generate tls_tapper.go`
    
    * Remove unused parameter
    
    * Add an environment variable to test Golang locally
    
    * Replace `Libssl` occurrences with `Ssllib` for consistency
    
    * Fix exe path finding
    
    * Temporarily disable OpenSSL
    
    * Fix the mixed offsets and dissection preparation
    
    * Change the read symbol from `net/http.(*persistConn).Read` to `crypto/tls.(*Conn).Read`
    
    * Remove `len` and `cap` fields
    
    * Fix the indent
    
    * Fix the read data address
    
    * Make `golang_dial_writes` key `__u64` and include the PID
    
    * Fix the read data address one more time
    
    * Temporarily disable the PCAP capture
    
    * Add a uprobe for `net/http.(*g...
    2ad4838c