145 Commits

Author SHA1 Message Date
Jaime Pillora 6fce8e1e6e fix Server.Start error (closes #195) v1.7.0 2020-09-17 22:22:33 +10:00
Jaime Pillora c3aa71bec7 test: disable goroutine leak detection for windows 2020-09-03 07:54:26 +10:00
Jaime Pillora 54029e5859 add go1.15 to test matrix, dont ignore tls common-names 2020-09-03 07:30:19 +10:00
Jaime Pillora 9baf31411d only show LE warning if using a domain 2020-09-03 07:28:55 +10:00
Jaime Pillora 59d78358cc merge mtls (thanks @wxia20) 2020-09-03 07:08:55 +10:00
Jaime Pillora 0edc0e5399 Merge remote-tracking branch 'wxia/mTLS_authentication' 2020-09-01 07:08:18 +10:00
Jaime Pillora 2b0c451123 custom WaitGroup with DoneAll 2020-09-01 07:06:18 +10:00
Will Xia 3542fb8e85 address PR code review feedback 2020-08-30 08:18:26 -04:00
Jaime Pillora 798ec04a6b fix stdio "cannot listen", fix udp goroutine leak 2020-08-29 01:27:08 +10:00
Will Xia 7ca9034c47 mTLS authentication feature.
1. Adding client cert and key to Chisel client.
2. Adding trusted CAs to Chisel server.
3. Adding TLS/mTLS e2e test case and test certs and keys.
4. Adding flag and help comments.
2020-08-24 18:17:38 -04:00
Jaime Pillora 4f33489f62 fix multiple getters panic 2020-08-22 22:29:13 +10:00
Jaime Pillora 7c997d2db8 added client tls skip-verify and ca flags (closes #129 closes #116)
thanks to @mvladev and @alfonso-presa, I couldn't merge your PRs since I've done a massive refactor, though I borrowed snippets from them
2020-07-23 07:12:49 +10:00
Jaime Pillora 878ab0744d revert android release
release failed after 350.17s error=failed to build for android_amd64: go: downloading github.com/jpillora/sizestr v1.0.0
go: downloading golang.org/x/crypto v0.0.0-20200709230013-948cd5f35899
go: downloading golang.org/x/sync v0.0.0-20200625203802-6e8e738ad208
go: downloading github.com/gorilla/websocket v1.4.2
go: downloading golang.org/x/net v0.0.0-20200707034311-ab3426394381
go: downloading github.com/jpillora/backoff v1.0.0
go: downloading github.com/jpillora/ansi v1.0.2
go: downloading golang.org/x/sys v0.0.0-20200625212154-ddb9806d33ae
go: downloading golang.org/x/text v0.3.0
# github.com/jpillora/chisel
/usr/local/go/pkg/tool/linux_amd64/link: running gcc failed: exec: "gcc": executable file not found in $PATH

except I have CGO_ENABLED=0

needs more investigation
2020-07-23 06:13:32 +10:00
Jaime Pillora 31f19e849b release android binaries (closes #147) 2020-07-23 05:56:16 +10:00
Jaime Pillora 0fb4af684f watch config file instead of dir (closes #170) 2020-07-23 05:40:23 +10:00
Jaime Pillora d8b404bd02 add tls (and auto-certificate) support 2020-07-23 05:11:28 +10:00
Jaime Pillora 3ae61e5d5d add ResetUsers server method (closes #175) 2020-07-23 01:29:57 +10:00
Jaime Pillora e3abdc607e udp listener cleanup, add early port listen checks 2020-07-23 01:26:47 +10:00
Jaime Pillora 33fa2010ab refactor 2020-07-20 20:17:24 +10:00
Jaime Pillora 2da7d92721 fix udp reconnects 2020-07-19 05:33:08 +10:00
Jaime Pillora edad853073 improved teardown and logging 2020-07-19 04:46:49 +10:00
Jaime Pillora 9ef78e9818 fix windows build 2020-07-18 11:29:02 +10:00
Jaime Pillora 53e72fe2ba add udp support, massive refactor and more (see below)
* split out share/ package into multiple subpackages
* added share/compat.go to keep backward compatibility(ish)
* moved shared tunnelling logic from client/server packages into share/tunnel/
* added remote protocol "<host>:<port>/<protocol>", currently supporting tcp and udp
* added an end-to-end test suite
* added TODO e2e tests as contribution targets
* added deep context integration for improved cleanup and cancellation
2020-07-18 11:05:53 +10:00
Jaime Pillora 591f95885f merge client stdio support (closes #166 thanks @BoleynSu!) v1.6.0 2020-06-17 21:44:37 +10:00
Boleyn Su a16c592dc8 This commit implements Feature Request #59
Now we can use the following command to connect to an SSH server through a chisel tunnel.
```bash
ssh -o ProxyCommand='/path/to/chisel client https://chisel.boleyn.su stdio:%h:%p' me@boleyn.su
```
2020-06-13 20:20:43 +09:00
Jaime Pillora 5271d7b062 minor doc changes, test docker build v1.5.2 2020-05-21 01:05:24 +10:00
Jaime Pillora 7aa0da95db doc changes, fixed docker auto-build, moved licence to standalone file v1.5.1 2020-05-20 22:08:17 +10:00
Alexandre ZANNI aa729ddcb6 add license (#113) 2020-05-20 21:41:45 +10:00
Jaime Pillora 68050d031a merge client reverse+socks PR by @aus (closes #78)
- @aus's branch also includes PR for
custom headers, thanks @AkeemMcLennon  (closes #90)
- support client connections via socks
- add more architectures to the built releases
- remove vendor (go.sum will enforce correct deps)
v1.5.0
2020-05-20 21:13:48 +10:00
Jaime Pillora d9c45c6b90 dockerfile: no mod vendor 2020-04-07 09:07:20 +10:00
Jaime Pillora 04d4f30dd6 upgrade deps, rename test/ to bench/, add goreleaser v1.4.0 2020-04-02 01:31:42 +11:00
Jaime Pillora 0069168fc8 drop vendor/ 2020-04-02 01:28:18 +11:00
aus f360e46274 Delete main_test.go 2019-10-29 16:18:22 -05:00
aus 4a52b79310 enable real ip logging 2019-10-29 14:30:52 -05:00
aus 3f2899c789 derp 2019-08-28 17:04:35 -05:00
aus 1427263568 merge http header PR 2019-08-28 17:00:57 -05:00
aus fc9f50a1a6 expose NetDialContext 2019-08-28 12:15:23 -05:00
aus c95714667e fix Client struct 2019-08-28 12:01:32 -05:00
aus a8075a0d69 merge PRs 2019-08-28 11:57:47 -05:00
aus 6d83df33d1 Merge branch 'client-socks' of https://github.com/aus/chisel into red 2019-08-28 11:46:40 -05:00
aus c9b6bf910c change import url to aus/chisel 2019-08-28 11:44:25 -05:00
Meteorite fc1a0c0622 say explicitly that only socks5h:// socks proxy variant is supported, and socks:// defaults to socks5h:// 2019-08-27 22:01:56 +03:00
Anthony Lapenna f3a8df20e3 add a the ability to add/delete users dynamically (#107)
* add a the ability to add/delete users dynamically

* update the AddUser function to support multiple authorized addrs
1.3.2
2019-07-25 09:21:13 +10:00
Jaime Pillora 4563eb9219 Merge pull request #96 from deviantony/feat-server-fingerprint-getter
add a GetFingerprint() getter to Server struct
2019-07-19 17:58:05 +10:00
Anthony Lapenna 18d8d6f71f add a GetFingerprint() getter to Server struct 2019-06-07 14:17:56 +12:00
Akeem McLennon 078007ee13 Add support for custom headers 2019-03-27 19:14:59 -05:00
aus 0791425d44 add nil check for c.socksServer 2019-02-24 17:47:24 -06:00
aus cac0114b94 update usage for R:socks info 2019-02-23 22:52:32 -06:00
aus 8607fa10b4 rework to support remote R:socks syntax 2019-02-23 15:09:25 -06:00
Meteorite 622272bf2e format recent changes with go fmt 2019-02-10 12:35:23 +03:00