You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Chisel is an HTTP client and server which acts as a TCP proxy. Chisel useful in situations where you only have access to HTTP, for example – behind a corporate firewall. Chisel is very similar to [crowbar](https://github.com/q3k/crowbar) though achieves **much** higher [performance](#performance). **Warning** This is beta software.
* local-host defaults to 0.0.0.0 (all interfaces).
96
103
* remote-host defaults to 0.0.0.0 (server localhost).
@@ -102,11 +109,20 @@ $ chisel-forward --help
102
109
3000:google.com:80
103
110
192.168.0.5:3000:google.com:80
104
111
112
+
Options:
113
+
114
+
--auth AUTH, Specifies the optional authentication string used by
115
+
the server.
116
+
117
+
-v, Enable verbose logging
118
+
119
+
--version, Display version
120
+
105
121
Read more:
106
122
https://github.com/jpillora/chisel
107
123
```
108
124
109
-
Eventually, a programmatic API will be documented and available, if you're keen see the `main.go` files in each sub-package.
125
+
See also: [programmatic API](https://github.com/jpillora/chisel/wiki/Programmatic-Usage).
110
126
111
127
### Security
112
128
@@ -116,71 +132,63 @@ Currently, you can secure your traffic by using HTTPS, which can only be done by
116
132
117
133
With [crowbar](https://github.com/q3k/crowbar), a connection is tunnelled by repeatedly querying the server with updates. This results in a large amount of HTTP and TCP connection overhead. Chisel overcomes this using WebSockets combined with [Yamux](https://github.com/hashicorp/yamux) to create hundreds of SDPY/HTTP2 like logical connections, resulting in **one** TCP connection per client.
118
134
119
-
In this unscientific test, we have:
120
-
121
-
```
122
-
curl -> http tunnel client -> http tunnel server -> file server
0 commit comments