d3fd581b7b 
								
							 
						 
						
							
							
								
								Revert "TUN-6617: Dont fallback to http2 if QUIC conn was successful."  
							
							... 
							
							
							
							This reverts commit 679a89c7df 
							
						 
						
							2022-08-11 20:27:22 +01:00  
				
					
						
							
							
								 
						
							
								679a89c7df 
								
							 
						 
						
							
							
								
								TUN-6617: Dont fallback to http2 if QUIC conn was successful.  
							
							... 
							
							
							
							cloudflared falls back aggressively to HTTP/2 protocol if a connection
attempt with QUIC failed. This was done to ensure that machines with UDP
egress disabled did not stop clients from connecting to the cloudlfare
edge. This PR improves on that experience by having cloudflared remember
if a QUIC connection was successful which implies UDP egress works. In
this case, cloudflared does not fallback to HTTP/2 and keeps trying to
connect to the edge with QUIC. 
							
						 
						
							2022-08-11 17:55:10 +00:00  
				
					
						
							
							
								 
						
							
								b9cba7f2ae 
								
							 
						 
						
							
							
								
								TUN-6576: Consume cf-trace-id from incoming TCP requests to create root span  
							
							... 
							
							
							
							(cherry picked from commit f48a7cd3dd 
							
						 
						
							2022-08-02 14:56:31 -07:00  
				
					
						
							
							
								 
						
							
								7f1c890a82 
								
							 
						 
						
							
							
								
								Revert "TUN-6576: Consume cf-trace-id from incoming TCP requests to create root span"  
							
							... 
							
							
							
							This reverts commit f48a7cd3dd 
							
						 
						
							2022-08-02 11:13:24 +01:00  
				
					
						
							
							
								 
						
							
								f48a7cd3dd 
								
							 
						 
						
							
							
								
								TUN-6576: Consume cf-trace-id from incoming TCP requests to create root span  
							
							
							
						 
						
							2022-08-01 20:22:39 +00:00  
				
					
						
							
							
								 
						
							
								7607ead143 
								
							 
						 
						
							
							
								
								TUN-6503: Fix transport fallback from QUIC in face of dial error "no network activity"  
							
							
							
						 
						
							2022-07-06 13:05:45 +01:00  
				
					
						
							
							
								 
						
							
								dd540af695 
								
							 
						 
						
							
							
								
								TUN-6388: Fix first tunnel connection not retrying  
							
							
							
						 
						
							2022-06-23 16:55:03 +00:00  
				
					
						
							
							
								 
						
							
								2fa50acc2d 
								
							 
						 
						
							
							
								
								TUN-6384: Correct duplicate connection error to fetch new IP first  
							
							... 
							
							
							
							(cherry picked from commit 76add5ca77 
							
						 
						
							2022-06-23 16:55:03 +00:00  
				
					
						
							
							
								 
						
							
								c7a6304d32 
								
							 
						 
						
							
							
								
								TUN-6007: Implement new edge discovery algorithm  
							
							... 
							
							
							
							(cherry picked from commit 4f468b8a5d 
							
						 
						
							2022-06-23 16:55:03 +00:00  
				
					
						
							
							
								 
						
							
								1d79831651 
								
							 
						 
						
							
							
								
								Revert "TUN-6007: Implement new edge discovery algorithm"  
							
							... 
							
							
							
							This reverts commit 4f468b8a5d 
							
						 
						
							2022-06-14 16:08:03 -07:00  
				
					
						
							
							
								 
						
							
								0458ad41dd 
								
							 
						 
						
							
							
								
								Revert "TUN-6384: Correct duplicate connection error to fetch new IP first"  
							
							... 
							
							
							
							This reverts commit 76add5ca77 
							
						 
						
							2022-06-14 16:07:47 -07:00  
				
					
						
							
							
								 
						
							
								76add5ca77 
								
							 
						 
						
							
							
								
								TUN-6384: Correct duplicate connection error to fetch new IP first  
							
							
							
						 
						
							2022-06-14 15:40:58 +00:00  
				
					
						
							
							
								 
						
							
								4f468b8a5d 
								
							 
						 
						
							
							
								
								TUN-6007: Implement new edge discovery algorithm  
							
							
							
						 
						
							2022-06-08 21:09:45 +00:00  
				
					
						
							
							
								 
						
							
								475939a77f 
								
							 
						 
						
							
							
								
								TUN-6191: Update quic-go to v0.27.1 and with custom patch to allow keep alive period to be configurable  
							
							... 
							
							
							
							The idle period is set to 5sec.
We now also ping every second since last activity.
This makes the quic.Connection less prone to being closed with
no network activity, since we send multiple pings per idle
period, and thus a single packet loss cannot cause the problem. 
							
						 
						
							2022-06-07 12:25:18 +01:00  
				
					
						
							
							
								 
						
							
								ee80e55833 
								
							 
						 
						
							
							
								
								TUN-6339: Add config for IPv6 support  
							
							
							
						 
						
							2022-06-02 16:04:26 -07:00  
				
					
						
							
							
								 
						
							
								e4278bab97 
								
							 
						 
						
							
							
								
								TUN-6070: First connection retries other edge IPs if the error is quic timeout(likely due to firewall blocking UDP)  
							
							
							
						 
						
							2022-04-19 12:37:32 +01:00  
				
					
						
							
							
								 
						
							
								7a6ab54fcb 
								
							 
						 
						
							
							
								
								TUN-6043: Allow UI-managed Tunnels to fallback from QUIC but warn about that  
							
							
							
						 
						
							2022-04-12 09:46:07 +01:00  
				
					
						
							
							
								 
						
							
								12302ba1bf 
								
							 
						 
						
							
							
								
								TUN-5973: Add backoff for non-recoverable errors as well  
							
							... 
							
							
							
							Errors that are non-recoverable can lead to one of two things happening:
1. That connection lying dead and cloudflared not retrying to make that
   connection.
2. cloudflared resolving to a different edge addr to retry connection.
We should subject these errors to a backoff as well. This will result in
us introducing a backoff for 1. When we are going to let the connection
become stale anyway and 2. When we are about to try a different edge
addr. 
							
						 
						
							2022-04-01 15:58:51 +01:00  
				
					
						
							
							
								 
						
							
								a50c0ca9ad 
								
							 
						 
						
							
							
								
								TUN-5833: Create constant for allow-remote-config  
							
							
							
						 
						
							2022-03-10 10:48:03 +00:00  
				
					
						
							
							
								 
						
							
								d68ff390ca 
								
							 
						 
						
							
							
								
								TUN-5698: Make ingress rules and warp routing dynamically configurable  
							
							
							
						 
						
							2022-02-16 09:38:28 +00:00  
				
					
						
							
							
								 
						
							
								e22422aafb 
								
							 
						 
						
							
							
								
								TUN-5749: Refactor cloudflared to pave way for reconfigurable ingress  
							
							... 
							
							
							
							- Split origin into supervisor and proxy packages
- Create configManager to handle dynamic config 
							
						 
						
							2022-02-14 15:37:09 +00:00  
				
					
						
							
							
								 
						
							
								fb82b2ced5 
								
							 
						 
						
							
							
								
								TUN-3019: Remove declarative tunnel entry code  
							
							
							
						 
						
							2020-05-30 05:54:17 +08:00  
				
					
						
							
							
								 
						
							
								046be63253 
								
							 
						 
						
							
							
								
								AUTH-2596 added new logger package and replaced logrus  
							
							
							
						 
						
							2020-05-27 17:07:19 -05:00  
				
					
						
							
							
								 
						
							
								a60c0273f5 
								
							 
						 
						
							
							
								
								TUN-2714: New edge discovery. Connections try to reconnect to the same edge IP.  
							
							
							
						 
						
							2020-02-14 19:49:54 +00:00  
				
					
						
							
							
								 
						
							
								c5bacf4d95 
								
							 
						 
						
							
							
								
								TUN-2563: Exposes config_version metrics  
							
							
							
						 
						
							2019-11-19 20:42:41 +00:00  
				
					
						
							
							
								 
						
							
								74f3a55c57 
								
							 
						 
						
							
							
								
								TUN-2117: read group/system-name from CLI, send it to edge  
							
							
							
						 
						
							2019-08-01 22:04:05 +00:00  
				
					
						
							
							
								 
						
							
								0a742feb98 
								
							 
						 
						
							
							
								
								TUN-1885: Reconfigure cloudflared on receiving new ClientConfig  
							
							
							
						 
						
							2019-06-20 19:07:59 -05:00