1
0
mirror of https://git.kore.io/kore.git synced 2024-11-11 04:39:00 +01:00
kore/examples/ktunnel
2014-09-18 10:30:59 +02:00
..
client Add KTunnel example, an anything-over-HTTPS tunnel using Kore. 2014-09-17 08:53:13 +02:00
conf Disable timeouts for ktunnel 2014-09-18 10:30:59 +02:00
src Fix ktunnel compilation under BSDs 2014-09-18 09:52:48 +02:00
.gitignore Add KTunnel example, an anything-over-HTTPS tunnel using Kore. 2014-09-17 08:53:13 +02:00
README.md Add KTunnel example, an anything-over-HTTPS tunnel using Kore. 2014-09-17 08:53:13 +02:00

KTunnel (anything over HTTPS)

This example demonstrates how we can use Kore to create an anything-over-HTTPS tunnel.

Build:

	# kore build

Run:

	# kore run

Test:

	# openssl s_client -connect 127.0.0.1:8888

	Then enter:

	GET /connect?host=74.125.232.248&port=80 HTTP/1.1
	Host: 127.0.0.1

	GET / HTTP/1.1
	Host: www.google.se

	(And hit enter)

You should see Kore connect to the google server given and return the results back to you.

A client for OSX exists under the client/ directory. It requires you to link with -lssl and -lcrypto.