Nick Vollmar
b499c0fdba
TUN-2608: h2mux.Muxer.Shutdown always returns a non-nil channel
2019-12-04 17:21:30 +00:00
Nick Vollmar
bbf31377c2
TUN-2607: add RPC stream helpers
2019-12-03 15:38:16 -06:00
Nick Vollmar
8f4fd70783
TUN-2606: add DialEdge helpers
2019-12-03 14:52:33 -06:00
Tim Bart
92736b2677
bug(cloudflared): nil pointer deference on h2DictWriter Close() ( #154 )
...
Unlike other h2DictWriter methods, the Close() method does check whether
w.comp is nil.
This PR adds a check for non nil compressor before attempting to close
Bug: #141
2019-12-03 16:29:40 +04:00
Adam Chalmers
379cb16efe
TUN-2591: ReconnectTunnel now sends EventDigest
2019-11-25 18:11:50 +00:00
Ashcon Partovi
43babbc2f9
Fix "happy eyeballs" not being disabled since Golang 1.12 upgrade
...
* The Dialer.DualStack setting is now ignored and deprecated; RFC 6555 Fast Fallback ("Happy Eyeballs") is now enabled by default. To disable, set Dialer.FallbackDelay to a negative value.
2019-11-25 17:54:20 +00:00
Nick Vollmar
dfd1ca5fb5
Merge remote-tracking branch 'github/master'
2019-11-22 13:07:40 -06:00
Adam Chalmers
f51712bef9
TUN-2582: EventDigest field in tunnelrpc
2019-11-22 12:04:14 -06:00
Chung-Ting Huang
b0d31a0ef3
TUN-2573: Refactor TunnelRegistration into PermanentRegistrationError, RetryableRegistrationError and SuccessfulTunnelRegistration
2019-11-22 17:30:41 +00:00
Khaled Elkhawaga
dd614881b6
Fix Docker build failure ( #149 )
...
* Enables module-mode in Docker to fix build
* Statically compile binary in Docker to fix missing dependency errors
* Ensure target OS is set to Linux for Docker builds
2019-11-22 20:27:28 +04:00
Adam Chalmers
23e12cf5a3
TUN-2575: Constructors + simpler conversions for AuthOutcome
2019-11-22 02:08:57 +00:00
Chung-Ting Huang
9605f00c77
Release 2019.11.3
2019-11-20 16:33:38 -06:00
Chung-Ting Huang
871c3a194f
TUN-2562: Update Cloudflare Origin CA RSA root
2019-11-20 15:37:16 -06:00
Chung-Ting Huang
8ee1faf317
Release 2019.11.2
2019-11-19 15:16:15 -06:00
Chung-Ting Huang
c5bacf4d95
TUN-2563: Exposes config_version metrics
2019-11-19 20:42:41 +00:00
Nick Vollmar
1ba5abfdb3
Release 2019.11.1
2019-11-19 19:56:25 +00:00
Adam Chalmers
7173da9359
TUN-2567: AuthOutcome can be turned back into AuthResponse
2019-11-19 04:34:00 +00:00
Nick Vollmar
0676923d24
TUN-2551: TunnelRPC definitions for ReconnectTunnel flow
2019-11-18 14:26:58 -06:00
Adam Chalmers
ca7fbf43da
TUN-2547: TunnelRPC definitions for Authenticate flow
2019-11-18 16:39:01 +00:00
Nick Vollmar
6ea9b5c3ff
TUN-2490: respect original representation of HTTP request path
2019-11-14 22:56:07 -06:00
Nick Vollmar
1d96bccc04
TUN-2178: public API to create new h2mux.MuxedStreamRequest
2019-11-13 14:04:19 -06:00
Adam Chalmers
c5af83af66
TUN-2053: Add a /healthcheck endpoint to the metrics server
2019-11-12 16:55:40 -06:00
Ashcon Partovi
759cd019be
Add db-connect, a SQL over HTTPS server
2019-11-12 20:34:39 +00:00
Chung-Ting Huang
13bf65ce4e
TUN-2506: Expose active streams metrics
2019-11-07 14:09:31 -06:00
Chung-Ting Huang
3a2e12818f
Release 2019.11.0
2019-11-07 10:11:56 -06:00
Nick Vollmar
e14ec1a1fb
TUN-2505: Terminate stream on receipt of RST_STREAM; MuxedStream.CloseWrite() should terminate the MuxedStream.Write() loop
2019-11-06 21:24:18 +00:00
Chung-Ting Huang
3a9a0a0d75
TUN-2489: Delete stream from activestreammap when read and write are both closed
2019-11-05 11:06:11 -06:00
Areg Harutyunyan
068b148e05
TUN-2500: Don't send client registration errors to Sentry
2019-11-05 12:29:11 +00:00
Nick Vollmar
e5335b6c1b
TUN-2502: Switch to go modules
2019-11-04 15:05:02 -06:00
Chung-Ting Huang
fa841fc89a
TUN-2451: Log inavlid path
2019-10-30 14:07:28 -05:00
Michael Borkenstein
e9a8c9850f
AUTH-2177: Reads and writes error streams
2019-10-25 19:44:14 +00:00
Chung-Ting Huang
a52f47c9a9
TUN-2460: Configure according to the ClientConfig recevied from a successful Connect
2019-10-24 14:53:14 +00:00
Michael Borkenstein
ad9559c66a
AUTH-2173: Prepends access login url with scheme if one doesnt exist
2019-10-23 20:35:12 +00:00
Chung-Ting Huang
7133eceb9b
TUN-2425: Enable cloudflared to serve multiple Hello World servers by having each of them create its own ServeMux
2019-10-22 10:09:59 -05:00
Areg Harutyunyan
e0c2758b64
Release 2019.10.4
2019-10-21 14:48:22 -05:00
Areg Harutyunyan
5464408ea7
TUN-2450: Remove Brew publishing formula
2019-10-21 13:44:49 -05:00
Areg Harutyunyan
802e538c42
Release 2019.10.3
2019-10-21 10:20:34 -05:00
Areg Harutyunyan
79065514ff
Merge remote-tracking branch 'upstream/master'
2019-10-18 15:33:27 -05:00
Michael Borkenstein
51acf2ef08
Release 2019.10.2
2019-10-18 13:11:07 -05:00
Felix Bünemann
1f6a330098
Fix #129 : Excessive memory usage streaming large files ( #142 )
...
This drops the default size auf the h2mux write buffer from 512 MB to 1 MB.
This massively reduces memory usage, since each stream has its own buffer.
2019-10-17 17:15:51 -05:00
Michael Borkenstein
28cc1c65af
AUTH-2167: Adds CLI option for host key directory
2019-10-17 16:31:43 -05:00
Michael Borkenstein
6322c5029d
Release 2019.10.1
2019-10-17 13:17:42 -05:00
Michael Borkenstein
4bb5b97518
Adds variable to fix windows build
2019-10-17 18:15:59 +00:00
Michael Borkenstein
99daa76715
Release 2019.10.0
2019-10-17 10:58:33 -05:00
Michael Borkenstein
babe684141
AUTH-2135: Adds support for IPv6 and tests
2019-10-16 16:06:07 -05:00
Michael Borkenstein
8b6e3bc1d1
AUTH-2159: Moves shutdownC close into error handling
...
AUTH-2161: Lowers size of preamble length
AUTH-2160: Fixes url parsing logic
2019-10-16 11:41:51 -05:00
Michael Borkenstein
95704b11fb
AUTH-2114: Uses short lived cert auth for outgoing client connection
2019-10-15 14:35:15 -05:00
Nick Vollmar
4d2583edf5
TUN-2344: log more details: http2.Framer.ErrorDetail() if available, connectionID
2019-10-15 10:59:24 -05:00
Michael Borkenstein
a4b3ee5959
AUTH-2105: Dont require --destination arg
2019-10-11 12:26:23 -05:00
Michael Borkenstein
91d9dca34e
AUTH-2105: Adds support for local forwarding. Refactor auditlogger creation.
...
AUTH-2088: Adds dynamic destination routing
2019-10-10 15:25:03 -05:00