774478d071
pkg/config: improve error messages with line number details for config parsing ( #5194 )
...
When frpc verify encounters config errors, the error messages now include
line/column information to help users locate problems:
- TOML syntax errors: report line and column from the TOML parser
(e.g., "toml: line 4, column 11: expected character ]")
- Type mismatch errors: report the field name and approximate line number
(e.g., "line 3: field \"proxies\": cannot unmarshal string into ...")
- File format detection: use file extension to determine format, preventing
silent fallthrough from TOML to YAML parser which produced confusing errors
Previously, a TOML file with syntax errors would silently fall through to the
YAML parser, which would misinterpret the content and produce unhelpful errors
like "json: cannot unmarshal string into Go value of type v1.ClientConfig".
https://claude.ai/code/session_017HWLfcXS3U2hLoy4dsg8Nv
Co-authored-by: Claude <noreply@anthropic.com >
2026-03-04 19:27:30 +08:00
fatedier and GitHub
fbeb6ca43a
refactor: restructure API packages into client/http and server/http with typed proxy/visitor models ( #5193 )
2026-03-04 17:38:43 +08:00
fatedier and GitHub
381245a439
build: add noweb tag to allow building without frontend assets ( #5189 )
2026-03-02 01:32:19 +08:00
fatedier and GitHub
01997deb98
add persistent proxy/visitor store with CRUD API and web UI ( #5188 )
2026-03-02 01:09:59 +08:00
fatedier and GitHub
d0347325fc
pkg/config: fix custom domain validation to prevent false matches with subdomain host ( #5178 )
2026-02-13 14:10:18 +08:00
fatedier and GitHub
519368b1fd
server/api: fix DeleteProxies endpoint returning empty response instead of JSON ( #5163 )
2026-02-06 11:22:34 +08:00
fatedier and GitHub
9634fd99d1
web: ensure npm install runs before build ( #5154 )
2026-02-04 12:55:24 +08:00
fatedier and GitHub
7a1c248b67
bump version to 0.67.0 ( #5146 )
2026-01-31 13:49:29 +08:00
fatedier and GitHub
886c9c2fdb
web/frpc: redesign dashboard ( #5145 )
2026-01-31 12:43:31 +08:00
fatedier and GitHub
266c492b5d
web/frps: add detailed client and proxy views with enhanced tracking ( #5144 )
2026-01-31 02:18:35 +08:00
fatedier and GitHub
5dd70ace6b
refactor: move web embeds to web/ directory ( #5139 )
2026-01-27 02:56:57 +08:00
fatedier
fb2c98e87b
rotate gold sponsor
2026-01-27 02:45:57 +08:00
fatedier and GitHub
ed13141c56
refactor: separate API handlers into dedicated packages with improved HTTP utilities ( #5127 )
2026-01-14 19:50:55 +08:00
fatedier and GitHub
3370bd53f5
udp: fix proxy protocol header sent on every packet instead of first packet only ( #5119 )
2026-01-09 11:33:00 +08:00
fatedier and GitHub
1245f8804e
server: replace client metadata with IP address in registry ( #5118 )
2026-01-09 11:07:19 +08:00
fatedier and GitHub
479e9f50c2
web/frpc: refactor dashboard with improved structure and API layer ( #5117 )
2026-01-09 00:40:51 +08:00
fatedier and GitHub
a4175a2595
update release notes ( #5116 )
2026-01-08 20:25:03 +08:00
fatedier and GitHub
36718d88e4
server: add client registry with dashboard support ( #5115 )
2026-01-08 20:07:14 +08:00
fatedier and GitHub
bc378bcbec
rotate gold sponsor order periodically ( #5114 )
2026-01-08 19:54:13 +08:00
fatedier and GitHub
33428ab538
add e2e tests for exec-based token source ( #5111 )
2026-01-04 14:45:51 +08:00
fatedier and GitHub
ef96481f58
update version and release notes ( #5106 )
2025-12-25 10:15:40 +08:00
fatedier and GitHub
7526d7a69a
refactor: separate auth config from runtime and defer token resolution ( #5105 )
2025-12-25 00:53:08 +08:00
fatedier and GitHub
2bdf25bae6
rotate gold sponsor order periodically ( #5094 )
2025-12-11 12:48:08 +08:00
fatedier and GitHub
0fe8f7a0b6
refactor: reorganize security policy into dedicated packag ( #5088 )
2025-12-05 16:26:09 +08:00
fatedier and GitHub
2e2802ea13
refactor: use MessageSender interface for message transporter ( #5083 )
2025-12-02 11:22:48 +08:00
fatedier and GitHub
c3821202b1
docs: remove zsxq section ( #5077 )
2025-11-26 23:55:54 +08:00
fatedier and GitHub
15fd19a16d
fix lint ( #5068 )
2025-11-18 01:11:44 +08:00
Krzysztof Bogacki and GitHub
66973a03db
Add exec value source type ( #5050 )
...
* config: introduce ExecSource value source
* auth: introduce OidcTokenSourceAuthProvider
* auth: use OidcTokenSourceAuthProvider if tokenSource config is present on the client
* cmd: allow exec token source only if CLI flag was passed
2025-11-18 00:20:21 +08:00
fatedier and GitHub
f736d171ac
rotate gold sponsor order periodically ( #5067 )
2025-11-18 00:09:37 +08:00
fatedier and GitHub
b27b846971
config: add enabled field for individual proxy and visitor ( #5048 )
2025-11-06 14:05:03 +08:00
fatedier and GitHub
e025843d3c
vnet: add exponential backoff for failed reconnections ( #5035 )
2025-10-29 01:08:48 +08:00
fatedier and GitHub
a75320ef2f
update quic-go dependency from v0.53.0 to v0.55.0 ( #5033 )
2025-10-28 17:52:34 +08:00
fatedier and GitHub
1cf325bb0c
https: add load balancing group support ( #5032 )
2025-10-28 17:37:18 +08:00
fatedier and GitHub
469097a549
update sponsor pic ( #5031 )
2025-10-28 16:08:29 +08:00
fatedier and GitHub
2def23bb0b
update sponsor ( #5030 )
2025-10-28 15:44:03 +08:00
Zachary Whaley and GitHub
ee3cc4b14e
Fix CloseNotifyConn.Close function ( #5022 )
...
The CloseNotifyConn.Close() function calls itself if the closeFlag is equal to 0 which would mean it would immediately swap the closeFlag value to 1 and never call closeFn. It is unclear what the intent of this call to cc.Close() was but I assume it was meant to be a call to close the Conn object instead.
2025-10-17 10:53:43 +08:00
fatedier and GitHub
e382676659
update README ( #5001 )
2025-09-26 12:26:08 +08:00
fatedier and GitHub
b5e90c03a1
bump version to v0.65.0 and update release notes ( #4998 )
2025-09-25 20:11:17 +08:00
fatedier and GitHub
b642a6323c
update sponsors info ( #4997 )
2025-09-25 16:50:14 +08:00
juejinyuxitu and GitHub
6561107945
chore: fix struct field name in comment ( #4993 )
...
Signed-off-by: juejinyuxitu <juejinyuxitu@outlook.com >
2025-09-25 16:47:33 +08:00
fatedier and GitHub
abf4942e8a
auth: enhance OIDC client with TLS and proxy configuration options ( #4990 )
2025-09-25 10:19:19 +08:00
7cfa546b55
add proxy name label to the proxy_count prometheus metric ( #4985 )
...
* add proxy name label to the proxy_count metric
* undo label addition in favor of a new metric - this change should not break existing queries
* also register this new metric
* add type label to proxy_counts_detailed
* Update pkg/metrics/prometheus/server.go
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com >
---------
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com >
2025-09-23 00:18:49 +08:00
fatedier and GitHub
0a798a7a69
update go version to 1.24 ( #4960 )
2025-08-27 15:10:36 +08:00
fatedier and GitHub
604700cea5
update README ( #4957 )
2025-08-27 11:07:18 +08:00
fatedier and GitHub
610e5ed479
improve yamux logging ( #4952 )
2025-08-25 17:52:58 +08:00
fatedier and GitHub
80d3f332e1
xtcp: add configuration to disable assisted addresses in NAT traversal ( #4951 )
2025-08-25 15:52:52 +08:00
immomo808 and GitHub
14253afe2f
remove quotes ( #4938 )
2025-08-15 16:11:06 +08:00
fatedier and GitHub
024c334d9d
Merge pull request #4928 from fatedier/xtcp
...
improve context and polling logic in xtcp visitor
2025-08-12 01:48:26 +08:00
fatedier and GitHub
f795950742
bump version to v0.64.0 ( #4924 )
2025-08-10 23:11:50 +08:00
fatedier and GitHub
024e4f5f1d
improve random TLS certificate generation ( #4923 )
2025-08-10 22:59:28 +08:00