Christoph Blecker
b11c2520dc
Handle exit code on err
...
fixes #96 .
This change checks the err returned from the StartServer function, and
if it exists, passes a non-zero error code through to the urfave/cli
framework. This should allow processes like launchd to detect if
cloudflared exited gracefully or with an error.
2019-05-29 09:34:10 -07:00
Areg Harutyunyan
137928ecaf
Release 2019.4.1
2019-04-19 16:42:51 -05:00
Nick Vollmar
8183af31e2
Merge pull request #142 in TUN/cloudflared from nvollmar/TUN-1669 to master
...
* commit '28f890a70157ac234368c4a6235cc99e9662ce9b':
TUN-1669: Update license message in help text. Also fix test
2019-04-18 20:15:00 +00:00
Nick Vollmar
28f890a701
TUN-1669: Update license message in help text. Also fix test
2019-04-18 10:42:48 -05:00
Areg Harutyunyan
bab7583a97
TUN-1734: Pin packages at exact versions
2019-04-17 18:16:56 -05:00
Adam Chalmers
2e2fa29637
TUN-1732: cloudflared metrics should track userHostnames
2019-04-16 16:02:45 -05:00
Chung-Ting Huang
2bef5dbe72
TUN-1682: Add context to OpenStream to prevent it from blocking indefinitely.
2019-04-11 13:44:42 -05:00
Nick Vollmar
13d25a52a9
TUN-1606: Define CloudflaredConfig RPC structure, interface for cloudflared's RPC server
2019-04-09 15:58:40 -05:00
Nick Vollmar
9a43a92b1c
TUN-1577: decompose carrier.StartServer to make TestStartServer less flappy
2019-04-09 15:09:58 -05:00
Chung-Ting Huang
102b364cc9
TUN-1619: Add flag to test declarative tunnels.
2019-04-05 10:35:23 -05:00
Chung-Ting Huang
c18702f297
TUN-1626: Create new supervisor to establish connection with origintunneld
2019-04-04 15:39:22 -05:00
Nick Vollmar
980bee22a5
Release 2019.4.0
2019-04-03 14:31:34 -05:00
Chung-Ting Huang
80d3d989eb
TUN-1673: Conflate Hello and Connect RPCs
2019-04-01 13:50:30 -05:00
Adam Chalmers
6804a5ff9d
TUN-1648: ConnectionID is now a UUID
2019-03-28 15:03:30 -05:00
Chung-Ting Huang
b5dab1f5da
Release 2019.3.2
2019-03-25 13:54:40 -05:00
Chung-Ting Huang
8c6cfa34aa
TUN-1604: Define Connect RPC call
2019-03-22 17:30:23 -05:00
Adam Chalmers
8560436487
TUN-1637: Free tunnels shouldn't require cert.pem
2019-03-22 14:43:30 -05:00
Nick Vollmar
619bc95501
Release 2019.3.1
2019-03-18 16:08:24 -05:00
Marek Vavruša
781e1fef7b
TUN-1615: revert miekg/dns to last known working revision
...
The last known good commit is 6da3249dfb57fbaa16efafcd8744cee8809d80cd before the first release tag.
2019-03-17 20:40:18 -07:00
Adam Chalmers
541cf68608
TUN-1613: improved cloudflared RegisterTunnel fail metrics
2019-03-15 18:46:53 -05:00
Areg Harutyunyan
eafc89bf73
Merge branch 'master' of github.com:cloudflare/cloudflared
2019-03-11 14:57:03 -05:00
Chung-Ting Huang
fd451ca158
Release 2019.3.0
2019-03-11 13:55:10 -05:00
Nick Vollmar
d22e214000
TUN-1522: If we can't get SRV from default resolver, get them from 1.1.1.1 DoT
2019-03-11 12:08:04 -04:00
Joel Miles
92d6d73f9c
Add rdp as a supported protocol in URL validation ( #76 )
2019-03-09 22:23:30 -06:00
Areg Harutyunyan
b02718f86b
TUN-1389: Non-scalar flags in a cloudflared config.yml don't get logged
2019-03-08 02:43:07 -06:00
Areg Harutyunyan
5a0b7ecb62
Merge branch 'master' of github.com:cloudflare/cloudflared
2019-03-06 18:34:42 -06:00
Kristian Mide
07a409ffef
Support unix sockets.
2019-03-06 18:33:23 -06:00
Austin Cherry
58e5e9c9a4
AUTH-1531: Named flags for ssh service tokens
2019-03-06 13:09:13 -06:00
Nick Vollmar
6ca642e572
TUN-1550: Add validation timeout for non-responsive origins
2019-03-06 11:30:29 -06:00
Adam Chalmers
073c5bfdaa
TUN-1562: Refactor connectedSignal to be safe to close multiple times
2019-03-05 15:51:35 -06:00
Nick Vollmar
fea3569956
TUN-1451: Make non-interactive, non-service execution possible on Windows
2019-03-04 19:49:57 -06:00
Adam Chalmers
abdbc76a46
TUN-1559: fix nil dereference in TunnelConfig.CloseConnOnce
2019-02-28 16:56:47 -06:00
Areg Harutyunyan
f22202b31b
Merge branch 'master' of github.com:cloudflare/cloudflared
2019-02-27 18:38:01 -06:00
Adam Chalmers
4586ed3e51
Release 2019.2.1
2019-02-27 17:59:54 -06:00
Adam Chalmers
7475e3e487
TUN-1510: Wrap the close() in sync.Once.Do
2019-02-26 10:32:07 -06:00
Adam Chalmers
e025a4cd7b
TUN-1525: cloudflared metrics for registration success/fail
2019-02-19 17:11:04 -06:00
Austin Cherry
850f804c47
AUTH-1519: Added logging
2019-02-19 12:53:33 -06:00
Nick Vollmar
1558280185
TUN-1467: build with Go 1.11
2019-02-15 14:57:02 -06:00
Kane Dou
15d68a0eed
make http transport aware of proxy from envvar
2019-02-15 11:26:34 -06:00
Areg Harutyunyan
e3aed15c08
TUN-1381: should tell you if you're on the latest version rather than just exiting silently
2019-02-14 17:11:52 -06:00
Austin Cherry
99713e3439
Release 2019.2.0
2019-02-11 14:06:56 -06:00
Austin Cherry
27c6977746
AUTH-1403: Print the paths in the ssh-config instructions
2019-02-11 10:56:06 -06:00
Austin Cherry
200f9a3786
AUTH-1503: Added RDP support
2019-02-08 14:28:47 -06:00
Austin Cherry
92defa26d4
AUTH-1511: Add custom headers for ssh command
2019-02-07 16:38:52 -06:00
Areg Harutyunyan
c9f1c1ec70
Merge branch 'master' of github.com:cloudflare/cloudflared
2019-02-01 14:57:53 -06:00
Philippe Grégoire
10e4a2940c
cloudflared/linux_service: Add missing /etc/init.d shebang
...
When using sysv init scripts, `cloudflared` fails to start due to the
missing shebang interpreter line.
This patch adds the missing shebang.
2019-02-01 14:55:30 -06:00
Adam Chalmers
77f12c7c34
TUN-1456: Only make one UUID
2019-02-01 14:11:12 -06:00
Austin Cherry
ca33ed9f6a
AUTH-1462: better curl arg parsing
2019-02-01 10:46:36 -06:00
Adam Chalmers
6a331b13ba
Release 2019.1.0
2019-01-28 17:03:33 -06:00
Chung-Ting Huang
47c878b9c4
TUN-1419: Identify request/response headers/content length with ray ID
2019-01-28 16:52:17 -06:00