psbelejden
f9e8b3a3fa
Add STCP proxy and visitor support
...
Implement a simplified version of STCP functionality.
* **Client Proxy Configuration and Handling**
- Add `STCPProxyConfig` to the `pxyConfs` slice in `client/proxy/general_tcp.go`.
* **Client Visitor Configuration and Handling**
- Add `STCPVisitorConfig` to the `cfg` struct in `client/visitor/stcp.go`.
* **Command Registration and Initialization**
- Add `STCP` to the `proxyTypes` and `visitorTypes` slices in `cmd/frpc/sub/proxy.go`.
* **Configuration Examples**
- Add example configurations for `STCP` proxy and visitor in `conf/frpc_full_example.toml`.
- Add example configurations for `STCP` proxy and visitor in `conf/legacy/frpc_legacy_full.ini`.
* **Configuration Structures**
- Add `STCPProxyConfig` struct and include it in the `proxyConfigTypeMap` in `pkg/config/v1/proxy.go`.
- Add `STCPVisitorConfig` struct and include it in the `visitorConfigTypeMap` in `pkg/config/v1/visitor.go`.
* **Configuration Validation**
- Add validation for `STCPProxyConfig` in `pkg/config/v1/validation/proxy.go`.
- Add validation for `STCPVisitorConfig` in `pkg/config/v1/validation/visitor.go`.
---
For more details, open the [Copilot Workspace session](https://copilot-workspace.githubnext.com/fatedier/frp?shareId=XXXX-XXXX-XXXX-XXXX ).
2024-11-21 01:23:25 +08:00
fatedier
4383756fd4
frps: add support for quic-bind-port parameter in frps ( #4519 )
2024-10-30 15:12:31 +08:00
fatedier
f7a06cbe61
use go1.23 ( #4495 )
2024-10-17 17:22:41 +08:00
RobKenis
2466e65f43
support multiple subjects in oidc ping ( #4475 )
...
Resolves : #4466
2024-10-12 18:52:47 +08:00
fatedier
2855ac71e3
frpc visitor: add --server-user option to specify server proxy username ( #4477 )
2024-10-09 14:04:30 +08:00
fatedier
ae73ec2fed
added a 30s timeout for frpc subcommands to avoid long delays ( #4359 )
2024-07-30 18:12:22 +08:00
fatedier
69cc422edf
client plugin: added plugin tls2raw ( #4341 )
2024-07-25 14:28:17 +08:00
fatedier
b4d5d8c756
plugin https2http&https2https: return 421 if host not match sni ( #4323 )
2024-07-09 10:50:16 +08:00
fatedier
939c490768
Add http2http client plugin with hostHeaderRewrite and requestHeaders support ( #4275 )
2024-06-12 17:30:10 +08:00
fatedier
77990c31ef
fix ini configuration default values ( #4250 )
2024-05-30 10:36:30 +08:00
fatedier
e680acf42d
android: only use google dns server when the default dns server cannot be obtained ( #4236 )
2024-05-23 16:09:58 +08:00
fatedier
522e2c94c1
config: return error if plugin type is empty ( #4235 )
2024-05-23 14:52:12 +08:00
fatedier
301515d2e8
update the default value of transport.tcpMuxKeepaliveInterval ( #4231 )
2024-05-21 12:00:35 +08:00
fatedier
f0442d0cd5
plugin: fix http2 not enabled for https2http and https2https plugin ( #4230 )
2024-05-21 11:26:52 +08:00
fatedier
92cb0b30c2
update version ( #4204 )
2024-05-07 18:05:36 +08:00
fatedier
e81b36c5ba
support responseHeaders.set for proxy type http ( #4192 )
2024-04-29 15:53:45 +08:00
fatedier
ee3892798d
change default value of heartbeat interval and timeout when tcpmux enabled ( #4186 )
2024-04-28 20:48:44 +08:00
fatedier
405969085f
client: add StatusExporter in service ( #4182 )
2024-04-25 20:20:39 +08:00
fatedier
dd7e2e8473
return 504 instead of 404 for proxy type http request timeout ( #4151 )
2024-04-11 20:19:08 +08:00
fatedier
d2d03a8fd9
bump deps version ( #4136 )
2024-04-09 11:39:21 +08:00
fatedier
590ccda677
fix x-forwarded-for header ( #4111 )
2024-03-28 16:47:27 +08:00
fatedier
f16ef00975
set CompatibilityMode for android ( #4091 )
2024-03-21 17:34:09 +08:00
fatedier
b36f3834eb
use math/rand/v2 ( #4020 )
2024-03-20 15:48:31 +08:00
fatedier
c08be0fd92
update release notes ( #4086 )
2024-03-20 15:16:01 +08:00
Kaive Young
bc5fb91c05
add header for http healthcheck ( #4085 )
2024-03-20 14:58:03 +08:00
fatedier
acf33db4e4
update release notes ( #4074 )
2024-03-15 17:50:58 +08:00
fatedier
3585f5c0c0
support range ports mapping by go template ( #4073 )
2024-03-15 17:23:16 +08:00
fatedier
e0c979e98e
fix release scripts ( #4057 )
2024-03-12 17:37:14 +08:00
fatedier
e6ec5a509b
update release notes ( #4055 )
2024-03-12 15:14:13 +08:00
fatedier
43ba7bd338
use new log package ( #4054 )
2024-03-12 13:58:53 +08:00
fatedier
7ae3719b82
cleanup code ( #4019 )
2024-02-22 21:04:21 +08:00
fatedier
b2b580be22
update kcp-go package ( #4009 )
2024-02-20 16:11:37 +08:00
fatedier
3e0c78233a
use std slices package ( #4008 )
2024-02-20 12:01:41 +08:00
fatedier
b6361fb143
use go built-in min & max functions to replace lo.Min and lo.Max ( #4007 )
2024-02-19 21:27:56 +08:00
fatedier
adb04e81e7
bump pion/stun to v2 ( #4006 )
2024-02-19 21:13:20 +08:00
fatedier
518ca2ceb2
ReverseProxy: use Rewrite to replace Director ( #4005 )
...
* display go version in make
* ReverseProxy: use Rewrite to replace Director
2024-02-19 21:04:29 +08:00
fatedier
3529158f31
proxy supports configuring annotations, which will be displayed in the frps dashboard ( #4000 )
2024-02-19 16:28:27 +08:00
Gerhard Tan
9152c59570
fix nil map error when using plugin headers in legacy format ( #3996 )
...
* fix nil map error when using plugin headers in legacy format
* create map on demand
* better initialization
2024-02-19 13:03:37 +08:00
fatedier
e8ace492a5
bump version to 0.54.0 ( #3967 )
2024-02-01 12:52:25 +08:00
fatedier
1c8bc0bfa8
make the host/domain matching case-insensitive ( #3966 )
2024-02-01 11:53:52 +08:00
fatedier
b31c67d7c0
web: support to clear offline proxies data on dashboard ( #3963 )
2024-02-01 10:54:57 +08:00
fatedier
d01f4a3ec1
cmd: use hyphen instead of underscore ( #3898 )
2023-12-27 10:44:13 +08:00
Remember
596262d5e0
upgrade go-jose and crypto version ( #3895 )
2023-12-26 10:49:46 +08:00
fatedier
2a9a7a0e4a
fix login retry interval ( #3879 )
2023-12-21 21:38:32 +08:00
fatedier
5e77c8e2d3
fix lint ( #3877 )
2023-12-21 21:19:49 +08:00
im_zhou
3bf6605e1a
fix: duplicate call loginFunc ( #3860 ) ( #3875 )
...
modify ext func, specify whether exit immediately
2023-12-21 20:51:10 +08:00
Remember
3540910879
fix(backoff): close of closed out channel ( #3871 )
...
* fix: close of closed channel
* feat: replace Try0 to std
2023-12-21 11:43:42 +08:00
0x7fff
e66e77cb8f
add error ( #3833 )
...
Co-authored-by: int7 <int7@gmail.com>
2023-12-07 17:25:22 +08:00
fatedier
9ecafeab40
bump version to v0.53.0 ( #3822 )
2023-12-01 20:44:50 +08:00
fatedier
95cf418963
ssh: return informations to client ( #3821 )
2023-12-01 20:18:13 +08:00