mirror of
https://git.kore.io/kore.git
synced 2024-11-11 04:39:00 +01:00
b95b623e72
Before params get would mean querystring and anything else would just count toward a www-encoded body. Now you can prefix the params block with "qs" indicating that those configured parameters are allowed to occur in the query string regardless of the method used. This means you can do something like: params qs:post /uri { ... } to specify what the allowed parameters are in the querystring for a POST request towards /uri. inspired by and properly fixes #205. |
||
---|---|---|
.. | ||
client | ||
conf | ||
src | ||
.gitignore | ||
README.md |
KTunnel (anything over HTTPS)
This example demonstrates how we can use Kore to create an anything-over-HTTPS tunnel.
Build:
# kodev build
Run:
# kodev 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.