Commit Graph

48 Commits

Author SHA1 Message Date
Tianling Shen
c3fdd943cb cloudflared: reload service if wan inferface has (re)connected
Sometimes the wan connection needs time to be established (e.g. cold
boot after power loss) and the service may crash as the internet is
yet available. Add a trigger to reload the service once the wan
interface is up.

Signed-off-by: Tianling Shen <cnsztl@immortalwrt.org>
(cherry picked from commit 52037eb625)
[based upon 23.05 branch]
Signed-off-by: Tianling Shen <cnsztl@immortalwrt.org>
2024-09-06 22:49:28 +08:00
Tianling Shen
55ef99398c cloudflared: Update to 2024.4.1
Signed-off-by: Tianling Shen <cnsztl@immortalwrt.org>
(cherry picked from commit 462bfd84e4)
[rebased upon 23.05 branch]
Signed-off-by: Tianling Shen <cnsztl@immortalwrt.org>
2024-06-29 17:28:40 +08:00
Ryan Keane
341665c750 cloudflared: Fix incorrect uci config syntax
Fix incorrect uci config syntax, caused by a careless newbie contributer.
Modify function append_param_arg() in init script, to support hyphenated
arguments.
Add more command parameters as uci options, no value is set to keep it default.

Signed-off-by: Ryan Keane <the.ra2.ifv@gmail.com>
(cherry picked from commit 2d711c8fbd)
[rebased upon 23.05 branch]
Signed-off-by: Tianling Shen <cnsztl@immortalwrt.org>
2024-06-29 17:23:32 +08:00
Ryan Keane
f01fbf8919 cloudflared: Add more run parameters in UCI
https://developers.cloudflare.com/cloudflare-one/connections/connect-networks/configure-tunnels/tunnel-run-parameters/

Close #24122

Signed-off-by: Ryan Keane <the.ra2.ifv@gmail.com>
(cherry picked from commit 31c91837f9)
[rebased upon 23.05 branch]
Signed-off-by: Tianling Shen <cnsztl@immortalwrt.org>
2024-06-29 17:22:57 +08:00
Tianling Shen
7286ea81b2 cloudflared: Update to 2024.4.0
Signed-off-by: Tianling Shen <cnsztl@immortalwrt.org>
(cherry picked from commit d9419aeabd)
2024-04-22 15:27:58 +08:00
Tianling Shen
096ef93f53 cloudflared: Update to 2024.3.0
Signed-off-by: Tianling Shen <cnsztl@immortalwrt.org>
(cherry picked from commit bcb7553385)
2024-03-27 17:33:27 +08:00
Tianling Shen
44febef1cb cloudflared: Update to 2024.2.1
Signed-off-by: Tianling Shen <cnsztl@immortalwrt.org>
(cherry picked from commit 18aef55126)
2024-03-02 16:59:57 +08:00
Tianling Shen
9b57a8a68d cloudflared: Update to 2024.2.0
Signed-off-by: Tianling Shen <cnsztl@immortalwrt.org>
(cherry picked from commit 87bd747652)
2024-03-02 16:59:38 +08:00
Sergey Ponomarev
bce14a016b cloudflared: refine config.yml
The config.yml is an example of a tunnel local configuration.
But the cloudlfared treat it as a real config and fails to start.
So to avoid problems let's comment all the statements.

The `url: http://localhost:8000` is not a valid config option.

Additionally add a smale of configuring ingres rules.

The cloudflared.config has missing option token.

Signed-off-by: Sergey Ponomarev <stokito@gmail.com>
(cherry picked from commit b3580a76d8)
2024-02-04 14:55:28 +08:00
Tianling Shen
8c8ec81067 cloudflared: Update to 2024.1.5
Signed-off-by: Tianling Shen <cnsztl@immortalwrt.org>
(cherry picked from commit 17dfbd8613)
2024-02-04 14:55:13 +08:00
Tianling Shen
d9d4acfd99 cloudflared: Update to 2024.1.4
Signed-off-by: Tianling Shen <cnsztl@immortalwrt.org>
(cherry picked from commit 48b55bde67)
2024-01-26 12:21:42 +08:00
Tianling Shen
ebddc07c18 cloudflared: Update to 2024.1.2
Finally fixed build with Go 1.21.

Fixes: #22383
Signed-off-by: Tianling Shen <cnsztl@immortalwrt.org>
(cherry picked from commit d16377d23f)
2024-01-26 12:21:39 +08:00
Tianling Shen
24fdd4ae16 cloudflared: Update to 2023.7.3
Signed-off-by: Tianling Shen <cnsztl@immortalwrt.org>
(cherry picked from commit 08f3dccccd)
2023-10-03 14:47:15 +02:00
Tianling Shen
3b05ec5bae cloudflared: Update to 2023.7.1
Signed-off-by: Tianling Shen <cnsztl@immortalwrt.org>
(cherry picked from commit 498343e2c0)
2023-07-23 00:53:15 +08:00
Tianling Shen
55f3f6e195 cloudflared: Update to 2023.7.0
Signed-off-by: Tianling Shen <cnsztl@immortalwrt.org>
(cherry picked from commit 5e0c715a51)
2023-07-16 03:08:13 +08:00
Tianling Shen
1d273f9058 cloudflared: Update to 2023.6.1
Signed-off-by: Tianling Shen <cnsztl@immortalwrt.org>
(cherry picked from commit 1aa41e92ac)
2023-06-22 01:41:56 +08:00
Tianling Shen
a3151ba4bd cloudflared: Update to 2023.6.0
Signed-off-by: Tianling Shen <cnsztl@immortalwrt.org>
(cherry picked from commit 194cf52a82)
2023-06-22 01:41:39 +08:00
Tianling Shen
58d7f0df6d cloudflared: Update to 2023.5.1
Fixed build issue with Go 1.20.

Signed-off-by: Tianling Shen <cnsztl@immortalwrt.org>
(cherry picked from commit 0625f038b3)
2023-06-02 21:16:00 +08:00
Scott McKenzie
61106a8df2 cloudflared: support setting tunnel token
Allows user to provide a token for Cloudflare tunnel.
When provided along with credentials, this will take precedence.

Signed-off-by: Scott McKenzie <scott@noizyland.net>
2023-05-20 13:04:04 +08:00
Tianling Shen
4bd7befa6a cloudflared: Update to 2023.5.0
Signed-off-by: Tianling Shen <cnsztl@immortalwrt.org>
2023-05-07 17:33:16 +08:00
Tianling Shen
62fdfb8278 cloudflared: Update to 2023.4.0
Signed-off-by: Tianling Shen <cnsztl@immortalwrt.org>
2023-04-13 03:15:49 +08:00
Andre Heider
565866a472 treewide: refactor to use PKG_BUILD_FLAGS:=no-mips16
See commit 5c545bdb "treewide: replace PKG_USE_MIPS16:=0 with
PKG_BUILD_FLAGS:=no-mips16" on the main repository.

Signed-off-by: Andre Heider <a.heider@gmail.com>
2023-04-08 08:38:54 +02:00
Tianling Shen
67c2619008 cloudflared: Update to 2023.3.1
Signed-off-by: Tianling Shen <cnsztl@immortalwrt.org>
2023-03-20 15:58:35 +08:00
Tianling Shen
8e10f5f9a1 cloudflared: Update to 2023.3.0
Signed-off-by: Tianling Shen <cnsztl@immortalwrt.org>
2023-03-03 11:58:33 +08:00
Tianling Shen
b52fdec659 cloudflared: Update to 2023.2.2
Signed-off-by: Tianling Shen <cnsztl@immortalwrt.org>
2023-03-01 16:41:48 +08:00
Tianling Shen
c1544f9a5f cloudflared: Update to 2023.2.1
Signed-off-by: Tianling Shen <cnsztl@immortalwrt.org>
2023-02-09 22:35:23 +08:00
Tianling Shen
aa700a6b46 cloudflared: Update to 2023.1.0
Signed-off-by: Tianling Shen <cnsztl@immortalwrt.org>
2023-01-22 15:21:50 +08:00
Tianling Shen
f526a1d169 cloudflared: Update to 2022.12.1
Signed-off-by: Tianling Shen <cnsztl@immortalwrt.org>
2022-12-25 14:58:57 +08:00
Tianling Shen
a1a14c1103 cloudflared: Update to 2022.11.1
Signed-off-by: Tianling Shen <cnsztl@immortalwrt.org>
2022-12-07 06:58:35 +08:00
Tianling Shen
804ab5540e cloudflared: Update to 2022.11.0
Signed-off-by: Tianling Shen <cnsztl@immortalwrt.org>
2022-11-22 14:40:31 +08:00
Tianling Shen
33634e30c2 cloudflared: Update to 2022.10.3
Signed-off-by: Tianling Shen <cnsztl@immortalwrt.org>
2022-10-31 12:27:33 -07:00
Tianling Shen
b1651c5d54 treewide: fix procd service inactive
Exit directly will result procd service inactive and uci
configuration changes are no longer monitored.

Reported-by: Lvc Revincx <revincx233@gmail.com>
Signed-off-by: Tianling Shen <cnsztl@immortalwrt.org>
2022-10-18 07:22:43 -07:00
Tianling Shen
37bdf739b1 cloudflared: Update to 2022.10.0
Signed-off-by: Tianling Shen <cnsztl@immortalwrt.org>
2022-10-08 15:34:42 +02:00
Tianling Shen
cae36485f0 cloudflared: Update to 2022.9.1
Signed-off-by: Tianling Shen <cnsztl@immortalwrt.org>
2022-10-02 17:34:06 +02:00
Tianling Shen
2bad3b604a cloudflared: Update to 2022.9.0
Signed-off-by: Tianling Shen <cnsztl@immortalwrt.org>
2022-09-07 22:27:15 -07:00
Tianling Shen
529164d054 cloudflared: Update to 2022.8.4
Signed-off-by: Tianling Shen <cnsztl@immortalwrt.org>
2022-09-03 14:05:33 -07:00
Tianling Shen
92f0b1b5a4 cloudflared: Update to 2022.8.0
Signed-off-by: Tianling Shen <cnsztl@immortalwrt.org>
2022-08-16 13:08:06 -07:00
Tianling Shen
e858624d29 cloudflared: Update to 2022.7.1
Signed-off-by: Tianling Shen <cnsztl@immortalwrt.org>
2022-07-07 07:44:47 +02:00
Tianling Shen
f23aeedcbb cloudflared: Update to 2022.6.2
Signed-off-by: Tianling Shen <cnsztl@immortalwrt.org>
2022-06-19 00:43:45 -06:00
Tianling Shen
1ce63c3fd8 cloudflared: Update to 2022.5.3
Signed-off-by: Tianling Shen <cnsztl@immortalwrt.org>
2022-05-30 17:20:31 -07:00
Tianling Shen
95a0d04046 cloudflared: Update to 2022.5.1
Signed-off-by: Tianling Shen <cnsztl@immortalwrt.org>
2022-05-14 06:40:34 -07:00
Tianling Shen
74d7af61fe cloudflared: Update to 2022.5.0
Signed-off-by: Tianling Shen <cnsztl@immortalwrt.org>
2022-05-05 22:16:31 +02:00
Tianling Shen
74bf9cc71c cloudflared: Update to 2022.4.1
Signed-off-by: Tianling Shen <cnsztl@immortalwrt.org>
2022-04-13 23:54:14 +02:00
Tianling Shen
51208c9514 cloudflared: Update to 2022.4.0
Signed-off-by: Tianling Shen <cnsztl@immortalwrt.org>
2022-04-07 23:36:57 +08:00
Tianling Shen
99dfcbd2fb cloudflared: Update to 2022.3.4
Signed-off-by: Tianling Shen <cnsztl@immortalwrt.org>
2022-03-27 21:43:27 +03:00
Tianling Shen
ed260f3b98 cloudflared: Update to 2022.3.3
Signed-off-by: Tianling Shen <cnsztl@immortalwrt.org>
2022-03-20 20:16:40 -07:00
Tianling Shen
cf9f4409e5 cloudflared: Update to 2022.3.2
Signed-off-by: Tianling Shen <cnsztl@immortalwrt.org>
2022-03-17 11:39:08 -07:00
Tianling Shen
35c109c7ff cloudflared: add new package
Contains the command-line client for Cloudflare Tunnel, a tunneling
daemon that proxies traffic from the Cloudflare network to your origins.

Docs: https://developers.cloudflare.com/cloudflare-one/connections/connect-apps/install-and-setup/tunnel-guide

Signed-off-by: Tianling Shen <cnsztl@immortalwrt.org>
2022-03-16 19:46:07 -07:00