341 Commits

Author SHA1 Message Date
Antonio Mika 7ca0808b5d Update golang versions. Supersedes up #282 (#283) 2023-10-11 19:49:44 -04:00
Antonio Mika b89a4638f2 Set conn deadline to both reads and writes (#281) v2.10.1 2023-10-09 14:48:00 -04:00
Antonio Mika 56816e6de7 Updated go deps and general package work (#279)
* Updated go deps and general package work

* Update used go version to 1.21

* feat: wildcard support

* Fixed lint

* feat: auto redirect to https

* Use proper hostname in redirect

* Add wildcards to sni proxy

* Ensure wildcard isn't too greedy and fix sni on https port

* Code cleanup

---------

Co-authored-by: Son Nguyen <sonntuet1997@gmail.com>
v2.10.0
2023-10-07 20:14:32 -04:00
Antonio Mika 62dec83b13 Use original address for forwarded channel. Fix #237 v2.9.2 2022-12-20 13:31:17 -05:00
Antonio Mika c54d681122 Force lower case aliases and subdomains v2.9.1 2022-12-12 12:04:17 -05:00
Antonio Mika 4b5c2db6c8 Update ci/cd and deps (#262)
* Update ci/cd and deps

* Fix build args
v2.9.0
2022-12-12 10:56:14 -05:00
Antonio Mika a8236e5422 Fixed http override port (#256)
* Fixed http override port

* Cleanup references used for establishing tunnels

* Removed short flag from authentication-key-request-url
v2.8.1
2022-10-25 10:20:34 -04:00
Roshan Jobanputra fe2b1c2426 Add authentication-key-request-url option (#247)
* Add authentication-key-request-url option to allow validation of ssh public key auth via an http POST request to a separate application

* Switch to using JSON body in request and include username & remote address of client.
v2.8.0
2022-10-21 12:04:10 -04:00
Sabri Eyuboglu bcd69111e1 Add a check to the gcloud DNS record instructions (#251)
Add commands for checking that the DNS records were set up correctly. Inspired by the issue https://github.com/antoniomika/sish/issues/250
2022-10-21 12:02:58 -04:00
Antonio Mika 9696686880 Added streaming for httpmuxer (#255)
* Added streaming for httpmuxer

* Fix gzip response checking
2022-10-21 11:44:48 -04:00
Antonio Mika 890c9313ff Added full route identifiers 2022-10-17 12:17:52 -04:00
Artem Ivanov 7aecd2d718 fix ondemand cert issuing (#243) v2.7.0 2022-09-11 12:56:59 -04:00
Antonio Mika c49a1cabef Fixed acme tls-alpn challenges (#244)
* Fixed acme tls-alpn challenges

* Return connection to default handler if unable to read hello

* Fix peek check

* Simplify dockerfile and update dependencies

* Cleanup build cache requirements
2022-09-11 12:55:54 -04:00
Antonio Mika b8ab4cff2c Merge pull request #241 from antoniomika/am/upgrade-go-1-19
Updated sish to go 1.19
v2.6.0
2022-08-24 11:41:25 -04:00
Antonio Mika 3768d42632 Update dependencies 2022-08-24 11:26:25 -04:00
Antonio Mika 58df1cd8ff Updated sish to go 1.19 2022-08-24 11:13:16 -04:00
Tim Krins 8f44621350 Expanded debug logging, fix deprecations (#240)
* Add debug messages for aborted requests

* Don't use %s for Println

* Fix deprecated ioutil calls

* Fix incorrect leading spaces for comment

* Add debug-interval option

* Align debug logging syntax with existing error logging

* Fix linting errors, fix status logging

* Ensure debug-interval is not zero
2022-08-24 11:10:36 -04:00
Antonio Mika 4a28b9e0d0 Update gcloud.md
Closes #238
2022-08-05 22:22:38 -04:00
Antonio Mika 9ad6cdc6b0 Update debug information and ensure default to https handler v2.5.0 2022-06-29 17:38:05 -04:00
Antonio Mika 2680effa46 Updated alias handler check code v2.4.1 2022-06-29 08:43:51 -04:00
Antonio Mika f0ed644223 Close temp file before attempting bind v2.4.0 2022-06-24 14:07:50 -04:00
Antonio Mika f7af79ee28 Replace colons in unix sockets with underscores v2.3.2 2022-06-24 13:12:35 -04:00
Antonio Mika 2d16c2dc88 Fix not logging certain errors v2.3.1 2022-06-24 12:54:56 -04:00
Antonio Mika 90f7b8f262 Merge pull request #230 from antoniomika/am/sni-https
Added support for SNI proxying on HTTPS port
v2.3.0
2022-05-23 20:37:01 -04:00
Antonio Mika 8eb708ae96 Fix sni proxying for https with proxy-protocol enabled 2022-05-24 00:21:22 +00:00
Antonio Mika 047ba6378b Fix error message 2022-05-23 23:10:53 +00:00
Antonio Mika 71222f41e4 Simplify TLS handler 2022-05-23 22:48:12 +00:00
Antonio Mika 8152624ecc Update readme and example config 2022-05-22 23:13:37 +00:00
Antonio Mika e80196dd9a Added support for SNI proxying on HTTPS port 2022-05-22 22:56:45 +00:00
Antonio Mika d6ca721fbc Merge pull request #221 from antoniomika/am/no-ssh-key-debug-message
Moves ssh key not found errors to debug. Closes #220
v2.2.1
2022-03-30 10:19:57 -04:00
Antonio Mika d0d31b220c Closes #220 2022-03-30 09:54:43 -04:00
Antonio Mika 86385fc875 Merge pull request #219 from antoniomika/am/fix-docker-cache
Maximize cache hits
v2.2.0
2022-03-24 21:08:59 -04:00
Antonio Mika 53576c7a2a Maximize cache hits 2022-03-24 20:49:41 -04:00
Antonio Mika d9bcc08292 Merge pull request #218 from antoniomika/am/go-generics
Refactored code to use a generic sync.Map implementation. Closes #217
2022-03-24 20:43:45 -04:00
Antonio Mika 0dcd04d8bc Refactored code to use a generic sync.Map implementation. Closes #217 2022-03-24 20:21:43 -04:00
Antonio Mika 84b6d6ad73 Merge pull request #215 from antoniomika/am/fix-pubkey-marshal
Set the outputted pubkey to be the authorized key representation
v2.1.0
2022-02-20 12:41:44 -05:00
Antonio Mika d5502f7d21 Set the outputted pubkey to be the authorized key representation 2022-02-20 17:32:24 +00:00
Antonio Mika 620351a9be Updated flags for private keys directory 2022-01-24 21:13:05 +00:00
Antonio Mika 4f753b430d Merge pull request #207 from antoniomika/am/fix-v2-issues
Close #206 and close #205
v2.0.1
2022-01-13 21:29:15 -05:00
Antonio Mika ac63b3659f Fix auth when multiple tunnels are used 2022-01-07 03:42:43 +00:00
Antonio Mika 018bf7e772 Close #206 and close #205 2022-01-06 21:55:35 +00:00
Antonio Mika b626f966bf Merge pull request #204 from antoniomika/am/v2-work
v2
v2.0.0
2021-12-29 16:48:16 -05:00
Antonio Mika 4219759cc0 Update dependencies 2021-12-29 21:25:09 +00:00
Antonio Mika 68b2b711ad Progress to v2. Closes #174, #199, and #168 2021-12-29 21:12:12 +00:00
Antonio Mika 24e9f3193c Merge pull request #202 from antoniomika/am/fix-loaders
Updated loader functions to support new forward params
2021-12-07 13:16:11 -06:00
Antonio Mika b5dd6b95b7 Updated loader functions to support new forward params 2021-12-07 17:00:32 +00:00
Antonio Mika aee4770197 Removed debug line for sni proxy 2021-11-11 20:02:09 -05:00
Antonio Mika e500dc7db4 Return true for all ws origins 2021-11-11 19:52:24 -05:00
Antonio Mika 8b7fb56631 Merge pull request #198 from antoniomika/am/tcp-and-sni
New Features!
2021-11-11 19:38:35 -05:00
Antonio Mika 3e29407df7 Updated and fixes 2021-11-11 19:29:49 -05:00