juliens / ktls-bpf_redirect-example

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

ktls-bpf_redirect-example

How to test

In the first terminal, launch the program

sudo go run .

In the second terminal, launch a listening nc

nc -lp 8080

In the last terminal, launch an openssl client

openssl s_client -connect 127.0.0.1:8081

You should see decrypted data on the nc terminal.

About


Languages

Language:Go 94.2%Language:C 5.8%