66 Commits

Author SHA1 Message Date
Copilot 8ce920a820 Bump Go version to 1.25.1 and update all dependencies (#568)
Co-authored-by: copilot-swe-agent[bot] <198982749+Copilot@users.noreply.github.com>
Co-authored-by: jpillora <633843+jpillora@users.noreply.github.com>
2025-09-11 22:18:57 +10:00
Jaime Pillora 59e5362e6b Bump to Go 1.22. Add .rpm .deb and .akp to releases. Fix bad version comparison. 2024-08-05 15:50:20 +10:00
Jaime Pillora 69093be1d9 Bump to Go 1.21 (#440)
Co-authored-by: cmeng <cmenginnz@gmail.com>
2023-08-19 11:00:41 +10:00
0xflotus 28a5018b8b fix: small typo error in main.go (#334) 2022-10-31 15:52:31 +11:00
codenoid 7167b4b614 README: remove -v from go install command 2022-07-10 19:59:28 +07:00
Jaime Pillora 9e97ddfe60 Merge pull request #329 from NitescuLucian/patch-1
Update README.md
2022-02-04 07:24:19 +11:00
Jaime Pillora bcb6e58dfd fix image size badge 2022-01-31 15:40:31 +11:00
Lucian Nitescu 89cd0c7aaa Update README.md
Update to latest version of go.
2022-01-20 15:23:15 +02:00
Noah Williams 7f064658ae Refactor headings 2021-05-25 10:42:55 -08:00
Noah Williams 8bdadc91fc Capitalize title 2021-05-25 10:37:41 -08:00
Noah Williams d4ce26ae33 Add ToC 2021-05-25 10:34:41 -08:00
Fabian Affolter 468c380736 Add details 2021-01-14 14:32:30 +01:00
Fabian Affolter 8fb01209b2 Add instructions for Fedora 2021-01-10 11:25:35 +01:00
Jaime Pillora 6ddc09d281 document udp, log client connection failures, expose more settings via env-vars 2020-11-17 04:53:43 +11:00
Jaime Pillora f04afd2285 help goes to stdout and exits with 0, remove incorrect versioning from help 2020-11-17 03:13:22 +11:00
Simon Rüegg 2d6c5cba61 Update client to fall-back to MD5 fingerprints
Signed-off-by: Simon Rüegg <simon@rueggs.ch>
2020-11-10 08:44:36 +01:00
Jaime Pillora 59d78358cc merge mtls (thanks @wxia20) 2020-09-03 07:08:55 +10:00
Jaime Pillora d8b404bd02 add tls (and auto-certificate) support 2020-07-23 05:11:28 +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!) 2020-06-17 21:44:37 +10:00
Jaime Pillora 5271d7b062 minor doc changes, test docker build 2020-05-21 01:05:24 +10:00
Jaime Pillora 7aa0da95db doc changes, fixed docker auto-build, moved licence to standalone file 2020-05-20 22:08:17 +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)
2020-05-20 21:13:48 +10:00
Jaime Pillora 04d4f30dd6 upgrade deps, rename test/ to bench/, add goreleaser 2020-04-02 01:31:42 +11:00
aus 1427263568 merge http header PR 2019-08-28 17:00:57 -05:00
Akeem McLennon 078007ee13 Add support for custom headers 2019-03-27 19:14:59 -05:00
Meteorite d6686776b5 add -proxy socks:// to README.md 2019-02-10 11:01:58 +03:00
Jaime Pillora ee6601a6bb update help text 2019-01-28 20:22:58 +11:00
Jaime Pillora 389eab64db update docs 2018-12-29 23:06:40 +11:00
Jaime Pillora d96b66e70b merged #72 which adds reverse tunnelling (thanks @sunshineco!), fixed potential race, USR2 to print go stats, many small cleanups 2018-12-29 22:51:40 +11:00
Eric Sunshine a11a3dd2dd server: add reverse port forwarding restrictions
Although reverse port forwarding (sharing client ports with the server)
should not generally leak any resources from the server to the client,
the facility may nevertheless be abused if the client is able to open a
server port which is otherwise meant for some other purpose on the
server. (This might happen, for instance, if a service on the server has
crashed or becomes somehow disabled, thus freeing the port which would
otherwise be occupied by the service.)

To mitigate such potential abuse, disable reverse port forwarding by
default and introduce server option --reverse to enable it explicitly.
Additionally, subject reverse port forwarding remotes to server-side
--authfile restrictions (for instance, "^R:0.0.0.0:7000$").
2018-12-23 16:25:45 -05:00
Eric Sunshine 8724c90273 support reverse port forwarding
Normal port forwarding shares server ports to the client, allowing the
client to access ports on the server (or ports on other machines
accessible from the server). Sometimes, however, it is necessary to
share ports in the opposite direction, allowing the server to access
ports on the client (or ports on other machines accessible from the
client). Reverse port forwarding is analogous to ssh's -R forwarding
which complements normal -L forwarding.

Reverse port forwarding remotes are specified as
"R:<local-interface>:<local-port>:<remote-host>:<remote-port>", where
<local-interface> and <local-port> refer to the server side, and
<remote-host> and <remote-port> refer to the client side. For instance,
"R:2222:localhost:22" forwards port 2222 on the server to port 22 on the
client.
2018-12-23 16:25:44 -05:00
Eric Sunshine 7cfb8e424c fix documentation, comment, status message typos 2018-12-23 16:25:44 -05:00
Jaime Pillora fa71a688a0 merge max-retry-interval, add max-retry-count 2018-10-20 23:46:42 +11:00
Steven de0e4342eb Update README.md 2017-10-26 22:48:47 +08:00
Jaime Pillora ef4bd3df29 docs 2017-04-15 12:03:18 +10:00
Jaime Pillora d7b9d1c0ef minor docs, add socks guide 2017-04-08 16:40:37 +10:00
Jaime Pillora 26c6b88579 dockerfile fix again, minor logging changes 2017-04-07 23:14:48 +10:00
Jaime Pillora d818741c7d update dockerfile, default socks interface to localhost only 2017-04-07 21:49:44 +10:00
Jaime Pillora 6cb3ab2186 added SOCKS5 server support, added HTTP CONNECT Proxy client support, improved cli, improve docs, added badges 2017-04-07 20:18:15 +10:00
kari fd1d7bea65 Update README.md 2017-04-04 13:20:05 +08:00
Jaime Pillora 6804342b6a grammar 2017-01-13 12:06:04 +11:00
Jaime Pillora e8eba37202 add one-line install, remove beta warning (two years with no issues) 2017-01-13 12:04:02 +11:00
Evan P. Mills cd4a401d45 Fix typo in README 2017-01-12 19:30:43 -05:00
Jaime Pillora 1382a4affc Dockerized (closes #12) 2016-03-25 14:10:41 +11:00
Jaime Pillora f7604a58c5 add docs 2015-04-01 11:50:28 +11:00
Jaime Pillora 74a9a324c4 added optional client keepalives 2015-03-20 16:08:41 +11:00
Jaime Pillora 4f600f65d9 docs, added timeout to client handshake 2015-03-19 13:06:30 +11:00
Jaime Pillora 1871137e32 ssh working, user auth working, addr whitelisting (mostly) working 2015-03-19 02:41:17 +11:00
Jaime Pillora d6b070ed5a added security warning 2015-03-18 03:09:42 +11:00