https://github.com/luainkernel/ktls
https://github.com/luainkernel/ktls
Last synced: 7 months ago
JSON representation
- Host: GitHub
- URL: https://github.com/luainkernel/ktls
- Owner: luainkernel
- License: gpl-3.0
- Created: 2020-06-19T21:04:34.000Z (over 5 years ago)
- Default Branch: master
- Last Pushed: 2020-08-27T20:03:58.000Z (over 5 years ago)
- Last Synced: 2025-03-02T16:18:21.910Z (12 months ago)
- Language: C
- Size: 323 KB
- Stars: 3
- Watchers: 5
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# ktls
Kernel version: 5.4.44
make
sudo insmod lunatik/lunatik.ko
sudo insmod tls.ko
cd test
# If you want to change server mode, modify KTLS and USERLUA macro in test_server.c
make
./test_server 12345 .
curl -v -k https://localhost:12345/hook.lua --output -
You will receive lua script in http response.
You can also enable `TCP_CORK` with argument `-c`