mirror of
https://github.com/kubeshark/kubeshark.git
synced 2025-09-27 21:38:06 +00:00
* initial tls tapper commit * add tls flag to mizu cli * support ssl_read_ex/ssl_write_ex * use hostproc to find libssl * auto discover tls processes * support libssl1.0 * recompile ebpf with old clang/llvm * Update tap/passive_tapper.go Co-authored-by: M. Mert Yıldıran <mehmet@up9.com> * Update tap/tlstapper/tls_poller.go Co-authored-by: M. Mert Yıldıran <mehmet@up9.com> * Update tap/tlstapper/tls_poller.go Co-authored-by: M. Mert Yıldıran <mehmet@up9.com> * Update tap/tlstapper/tls_poller.go Co-authored-by: M. Mert Yıldıran <mehmet@up9.com> * Update tap/tlstapper/tls_poller.go Co-authored-by: M. Mert Yıldıran <mehmet@up9.com> * Update tap/tlstapper/tls_poller.go Co-authored-by: M. Mert Yıldıran <mehmet@up9.com> * Update tap/tlstapper/tls_poller.go Co-authored-by: M. Mert Yıldıran <mehmet@up9.com> * Update tap/tlstapper/tls_poller.go Co-authored-by: M. Mert Yıldıran <mehmet@up9.com> * upgrade ebpf go lib * handling big tls messages * fixing max buffer size in ebpf * remove unused import * fix linter issues * minor pr fixes * compile with old clang * fix cgroup file format * pr fixes + cgroup extract enhance * fix linter * adding indirect ebpf dep to agent go.mod * adding ebpf docker builder * minor pr fixes * add req resp matcher to dissect * rename ssl hooks to ssl hooks structs * move to alpine, use local copy of mizu instead of git, add readme * use global req resp mather for tls Co-authored-by: M. Mert Yıldıran <mehmet@up9.com> Co-authored-by: gadotroee <55343099+gadotroee@users.noreply.github.com>
18 lines
485 B
Bash
Executable File
18 lines
485 B
Bash
Executable File
#!/bin/bash
|
|
|
|
MIZU_HOME=$(realpath ../../../)
|
|
|
|
docker build -t mizu-ebpf-builder . || exit 1
|
|
|
|
docker run --rm \
|
|
--name mizu-ebpf-builder \
|
|
-v $MIZU_HOME:/mizu \
|
|
-it mizu-ebpf-builder \
|
|
sh -c "
|
|
go generate tap/tlstapper/tls_tapper.go
|
|
chown $(id -u):$(id -g) tap/tlstapper/tlstapper_bpfeb.go
|
|
chown $(id -u):$(id -g) tap/tlstapper/tlstapper_bpfeb.o
|
|
chown $(id -u):$(id -g) tap/tlstapper/tlstapper_bpfel.go
|
|
chown $(id -u):$(id -g) tap/tlstapper/tlstapper_bpfel.o
|
|
" || exit 1
|