Devin Carr
71997be90e
TUN-7368: Report destination address for TCP requests in logs
2023-04-13 16:49:42 -07:00
Devin Carr
991f01fe34
TUN-7131: Add cloudflared log event to connection messages and enable streaming logs
2023-04-12 14:41:11 -07:00
Devin Carr
b89c092c1b
TUN-7134: Acquire token for cloudflared tail
...
cloudflared tail will now fetch the management token from by making
a request to the Cloudflare API using the cert.pem (acquired from
cloudflared login).
Refactored some of the credentials code into it's own package as
to allow for easier use between subcommands outside of
`cloudflared tunnel`.
2023-04-12 09:43:38 -07:00
Devin Carr
8dc0697a8f
TUN-7132 TUN-7136: Add filter support for streaming logs
...
Additionally adds similar support in cloudflared tail to provide
filters for events and log level.
2023-04-11 20:20:52 +00:00
Sudarsan Reddy
5dbf76a7aa
TUN-7335: Fix cloudflared update not working in windows
...
This PR fixes some long standing bugs in the windows update
paths. We previously did not surface the errors at all leading to
this function failing silently.
This PR:
1. Now returns the ExitError if the bat run for update fails.
2. Fixes the errors surfaced by that return:
a. The batch file doesnt play well with spaces. This is fixed by
using PROGRA~1/2 which are aliases windows uses.
b. The existing script also seemed to be irregular about where batch
files were put and looked for. This is also fixed in this script.
2023-04-11 08:54:38 +00:00
Devin Carr
8d87d4facd
TUN-7351: Add streaming logs session ping and timeout
...
Sends a ping every 15 seconds to keep the session alive even if no
protocol messages are being propagated. Additionally, sets a hard
timeout of 5 minutes when not actively streaming logs to drop the
connection.
2023-04-10 22:14:58 +00:00
Devin Carr
3fd571063e
TUN-7128: Categorize logs from public hostname locations
...
Updates the HTTP ingress request log events to have more structured
fields to adapt to streaming logs reporting.
2023-04-10 22:14:12 +00:00
Devin Carr
5d0bb25572
TUN-7354: Don't warn for empty ingress rules when using --token
2023-04-10 22:12:40 +00:00
Devin Carr
c51b651afb
Release 2023.4.0
2023-04-10 09:22:27 -07:00
Devin Carr
04367b0f63
TUN-7357: Bump to go 1.19.6
2023-04-07 18:35:06 +00:00
Devin Carr
69eb9698b5
TUN-7356: Bump golang.org/x/net package to 0.7.0
2023-04-07 09:41:23 -07:00
Devin Carr
55ed995bf0
TUN-7127: Disconnect logger level requirement for management
...
By default, we want streaming logs to be able to stream debug logs
from cloudflared without needing to update the remote cloudflared's
configuration. This disconnects the provided local log level sent
to console, file, etc. from the level that management tunnel will
utilize via requested filters.
2023-04-06 11:31:47 -07:00
Devin Carr
820a201603
TUN-7135: Add cloudflared tail
2023-04-05 10:20:53 -07:00
Devin Carr
93acdaface
TUN-7125: Add management streaming logs WebSocket protocol
2023-04-05 16:25:16 +00:00
João Oliveirinha
5972540efa
TUN-7332: Remove legacy tunnel force flag
2023-04-05 16:13:59 +01:00
Han Li
5e37a65dac
Fix typo ( #918 )
...
UUID not UUUD
2023-04-04 16:15:12 +01:00
pufferfish
bfbe426905
Add suport for OpenBSD ( #916 )
2023-04-04 16:14:51 +01:00
Devin Carr
39ed5dc182
TUN-7126: Add Management logger io.Writer
2023-03-30 14:12:00 -07:00
Devin Carr
bbc8d9431b
TUN-7333: Default features checkable at runtime across all packages
2023-03-30 17:42:54 +00:00
Sudarsan Reddy
b5e03dd66c
TUN-9999: Remove classic tunnel component tests
2023-03-30 15:07:14 +00:00
Devin Carr
87f81cc57c
TUN-7324: Add http.Hijacker to connection.ResponseWriter
...
Allows connection.ResponseWriter implemenations to be Hijacked to properly
handle WebSocket connection downgrades from proper HTTP requests.
2023-03-29 09:21:19 -07:00
Devin Carr
be64362fdb
TUN-7124: Add intercept ingress rule for management requests
2023-03-21 11:42:25 -07:00
João Oliveirinha
f686da832f
TUN-7275: Make QuickTunnels only use a single connection to the edge
2023-03-13 15:32:46 +00:00
Sudarsan Reddy
be341fa055
Updated CHANGES.md for 2023.3.1
2023-03-13 15:15:13 +00:00
Sudarsan Reddy
ec2d18ea4f
Release 2023.3.1
2023-03-13 11:30:44 +00:00
Sudarsan Reddy
1742379ba4
TUN-7271: Return 503 status code when no ingress rules configured
2023-03-13 09:25:34 +00:00
Sudarsan Reddy
9c15f31d00
TUN-7268: Default to Program Files as location for win32
...
The previous logic of var == x86 never fired for 386 arch windows
systems causing us to set ProgramFiles64Folder for the older windows
versions causing downloads to default to a different location. This
change fixes that.
2023-03-10 12:37:59 +00:00
João Oliveirinha
53fb50960d
TUN-7272: Fix cloudflared returning non supported status service which breaks configuration migration
2023-03-10 10:42:37 +00:00
Devin Carr
7b8b3f73e7
TUN-7259: Add warning for missing ingress rules
...
Providing no ingress rules in the configuration file or via the CLI will now provide a warning and return 502 for all incoming HTTP requests.
2023-03-10 01:49:54 +00:00
Robert Dinh
ede3c8e056
EDGESTORE-108: Remove deprecated s3v2 signature
...
https://wiki.cfdata.org/display/OPS/2021/10/14/Ceph+cluster+news
s3.cfdata.org now supports s3v4. Therefore host mangling and s3v2 signature is no longer required.
2023-03-09 18:24:42 +00:00
Devin Carr
93f8f6b55c
TUN-7245: Add bastion flag to origin service check
2023-03-09 17:09:21 +00:00
Devin Carr
bf3136debb
TUN-7253: Adopt http.ResponseWriter for connection.ResponseWriter
2023-03-08 09:56:47 -08:00
Devin Carr
27f88ae209
TUN-7252: Remove h2mux connection
2023-03-07 13:51:37 -08:00
Sudarsan Reddy
7080b8b2e6
TUN-7226: Fixed a missed rename
2023-03-02 10:59:35 +00:00
Sudarsan Reddy
4c3417fedd
Release 2023.3.0
2023-03-02 08:48:05 +00:00
Bas Westerbaan
354281fc6a
RTG-2476 Add qtls override for Go 1.20
2023-03-02 08:34:51 +00:00
Spencer Comfort
b6d1daaf20
check.yaml: update actions to v3 ( #876 )
2023-02-28 16:18:14 +00:00
Jake Edwards
844b4938ca
Fixed WIX template to allow MSI upgrades ( #838 )
2023-02-28 16:12:23 +00:00
iBug
fed60ae4c3
GH-352: Add Tunnel CLI option "edge-bind-address" ( #870 )
...
* Add Tunnel CLI option "edge-bind-address"
2023-02-28 16:11:42 +00:00
Sudarsan Reddy
b97979487e
TUN-7213: Decode Base64 encoded key before writing it
2023-02-28 12:54:30 +00:00
Sudarsan Reddy
2221325f3d
TUN-7213: Debug homebrew-cloudflare build
2023-02-27 20:48:43 +00:00
Sudarsan Reddy
2bb054c4bf
Release 2023.2.2
2023-02-27 09:05:00 +00:00
João Oliveirinha
68ef4ab2a8
TUN-7197: Add connIndex tag to debug messages of incoming requests
2023-02-22 16:08:24 +00:00
Devin Carr
ea6fe121f8
TUN-7167: Respect protocol overrides with --token
...
Previously, if run with both `--protocol` and `--token` the protocol
would be incorrectly overridden to QUIC.
2023-02-08 11:03:04 -08:00
João Oliveirinha
079631ccea
TUN-7151: Update changes file with latest release notices
2023-02-07 19:24:07 +00:00
Devin Carr
8cf2d319ca
TUN-6938: Provide QUIC as first in protocol list
2023-02-06 20:05:48 -08:00
Devin Carr
0f95f8bae5
TUN-6938: Force h2mux protocol to http2 for named tunnels
...
Going forward, the only protocols supported will be QUIC and HTTP2,
defaulting to QUIC for "auto". Selecting h2mux protocol will be forcibly
upgraded to http2 internally.
2023-02-06 11:06:02 -08:00
Devin Carr
ae46af9236
TUN-7065: Remove classic tunnel creation
2023-02-06 18:19:22 +00:00
Devin Carr
bd046677e5
TUN-7158: Correct TCP tracing propagation
...
Previously QUIC would send TCP tracing response header that was empty regardless if prompted from origintunneld.
2023-02-03 18:01:27 -08:00
João Oliveirinha
8a9f076a26
Release 2023.2.1
2023-02-03 09:31:11 +00:00