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
fatedier
2855ac71e3
frpc visitor: add --server-user option to specify server proxy username ( #4477 )
2024-10-09 14:04:30 +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
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
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
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
3585f5c0c0
support range ports mapping by go template ( #4073 )
2024-03-15 17:23:16 +08:00
fatedier
e6ec5a509b
update release notes ( #4055 )
2024-03-12 15:14:13 +08:00
fatedier
7ae3719b82
cleanup code ( #4019 )
2024-02-22 21:04:21 +08:00
fatedier
3e0c78233a
use std slices package ( #4008 )
2024-02-20 12:01:41 +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
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
95cf418963
ssh: return informations to client ( #3821 )
2023-12-01 20:18:13 +08:00
fatedier
38f297a395
Improve the strict configuration validation ( #3809 )
2023-11-28 18:43:33 +08:00
fatedier
69ae2b0b69
optimize some code ( #3801 )
2023-11-27 15:47:49 +08:00
fatedier
d5b41f1e14
sshTunnelGateway refactor ( #3784 )
2023-11-22 14:35:37 +08:00
0x7fff
8b432e179d
feat: ssh client implement ( #3671 )
...
* feat: frps support ssh
* fix: comments
* fix: update pkg
* fix: remove useless change
---------
Co-authored-by: int7 <int7@gmail.com>
2023-11-22 14:35:37 +08:00
Aarni Koskela
f5d5a00eef
Fix various typos ( #3783 )
2023-11-22 14:30:22 +08:00
fatedier
526e809bd5
update for strict config ( #3779 )
2023-11-16 21:03:36 +08:00
Aarni Koskela
e8deb65c4b
Strict configuration parsing ( #3773 )
...
* Test configuration loading more precisely
* Add strict configuration parsing
2023-11-16 15:42:49 +08:00
fatedier
806b55c292
admin user not convert in INI ( #3719 )
2023-10-24 10:08:29 +08:00
fatedier
9cb0726ebc
fix example config ( #3701 )
2023-10-19 17:28:35 +08:00
fatedier
01a0d557ef
fix legacy ini proxy conversion panic ( #3667 )
2023-10-11 16:53:03 +08:00
fatedier
b9c24e9b69
natHoleSTUNServer set default value ( #3664 )
2023-10-11 15:46:22 +08:00
fatedier
df12cc2b9d
fix broken server api and dashboard info ( #3662 )
2023-10-11 15:01:07 +08:00
fatedier
5eb8f3db03
fix tlsVerify json tag ( #3654 )
2023-10-10 19:02:52 +08:00
fatedier
3ae1a4f45a
update confugration examples and README ( #3650 )
2023-10-10 16:48:13 +08:00
fatedier
5e70d5bee0
code optimization ( #3625 )
2023-09-20 15:18:50 +08:00
fatedier
bae0b4d7c0
optimize the code of the command line ( #3614 )
2023-09-15 10:33:32 +08:00
fatedier
74255f711e
config: add some validations ( #3610 )
2023-09-13 18:59:51 +08:00
fatedier
7cd02f5bd8
add e2e tests for v1 config ( #3608 )
2023-09-13 16:32:39 +08:00
fatedier
c95311d1a0
support yaml/json/toml configuration format, make ini deprecated ( #3599 )
2023-09-06 10:18:02 +08:00
fatedier
46ff40543a
update github actions ( #3538 )
2023-07-21 10:30:46 +08:00
fatedier
801e8c6742
support wss between frpc and frps ( #3503 )
2023-06-29 11:20:45 +08:00
fatedier
685d7618f3
change default value of tls_enable and disable_custom_tls_first_byte ( #3494 )
2023-06-26 00:10:27 +08:00
fatedier
de85c9455a
stcp, xtcp, sudp: support allow_users and specified server user ( #3472 )
2023-06-02 16:06:29 +08:00
fatedier
9aef3b9944
adjust code style about config ( #3464 )
2023-05-30 20:25:22 +08:00
fatedier
341a5e3e3a
frps dashboard: remove bind_udp_port ( #3463 )
2023-05-30 15:14:05 +08:00
fatedier
c7a0cfc66d
xtcp: when connection timeout occurs, support fallback to STCP ( #3460 )
2023-05-30 10:55:00 +08:00
fatedier
98068402c8
add release notes ( #3453 )
2023-05-29 01:09:53 +08:00