Skip to content

Commit b87d423

Browse files
committed
more docs
1 parent a5b564e commit b87d423

File tree

2 files changed

+12
-7
lines changed

2 files changed

+12
-7
lines changed

README.md

Lines changed: 10 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
# chisel
22

3-
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.
3+
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** Chisel is currently beta software.
44

55
![overview](https://docs.google.com/drawings/d/1p53VWxzGNfy8rjr-mW8pvisJmhkoLl82vAgctO_6f1w/pub?w=960&h=720)
66

@@ -36,19 +36,18 @@ $ chiseld --auth foobar --port $PORT --proxy http://example.com
3636
# listens on $PORT, requires password 'foobar', proxy web requests to 'http://example.com'
3737
```
3838

39-
This demo app is also running a file server on 0.0.0.0:3000 (which is normally inaccessible
40-
due to Heroku's firewall). However, if we tunnel in with:
39+
This demo app is also running a [simple file server](https://www.npmjs.com/package/serve) on `:3000`, which is normally inaccessible due to Heroku's firewall. However, if we tunnel in with:
4140

4241
``` sh
4342
$ chisel-forward --auth foobar https://chisel-demo.herokuapp.com 3000
4443
# connects to 'https://chisel-demo.herokuapp.com', using password 'foobar',
4544
# tunnels your localhost:3000 to the server's localhost:3000
4645
```
4746

48-
Then open [localhost:3000/](http://localhost:3000/), we should
47+
and then visit [localhost:3000](http://localhost:3000/), we should
4948
see a directory listing of the demo app's root. Also, if we visit
50-
[the demo](https://chisel-demo.herokuapp.com) in the browser we should see that the server's
51-
default proxy is pointing at [example.com](http://example.com).
49+
[the demo app](https://chisel-demo.herokuapp.com) itself in the browser we should hit the server's
50+
default proxy and see a copy of [example.com](http://example.com).
5251

5352
### Usage
5453

@@ -170,6 +169,8 @@ Note, we're using an in-memory "file" server on localhost for these tests
170169
:2001 => 100000000 bytes in 255.410448ms
171170
```
172171

172+
~100MB in **a quarter of a second**
173+
173174
`crowbar`
174175

175176
```
@@ -184,7 +185,9 @@ Note, we're using an in-memory "file" server on localhost for these tests
184185
:4001 => 100000000 bytes in 36.332395213s
185186
```
186187

187-
See [test/](test/)
188+
~100MB in **36 seconds**
189+
190+
See more [test/](test/)
188191

189192
### Known Issues
190193

test/chisel_test.go

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -13,6 +13,8 @@
1313
//
1414
// tests use
1515
// go test -test.run=Request
16+
//
17+
// crowbar and chisel binaries should be in your PATH
1618

1719
package test
1820

0 commit comments

Comments
 (0)