| 1 | Kore as a TLS-proxy. |
| 2 | |
| 3 | Edit src/proxy.c and add your backends to the backends[] data structure. |
| 4 | |
| 5 | If you want to reduce attack surface you can build Kore with NOHTTP=1 to |
| 6 | completely remove the HTTP component and only run the net code. |
| 7 | |
| 8 | Run: |
| 9 | ``` |
| 10 | $ kodev run |
| 11 | ``` |
| 12 | |
| 13 | Test: |
| 14 | ``` |
| 15 | Connect to the server and notice that it proxies data between you |
| 16 | and your destination. |
| 17 | |
| 18 | $ openssl s_client -connect 127.0.0.1:8888 |
| 19 | ``` |