Commit Graph

105 Commits

Author SHA1 Message Date
fatedier ae73ec2fed
added a 30s timeout for frpc subcommands to avoid long delays (#4359) 2024-07-30 18:12:22 +08:00
fatedier f16ef00975
set CompatibilityMode for android (#4091) 2024-03-21 17:34:09 +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 3e0c78233a
use std slices package (#4008) 2024-02-20 12:01:41 +08:00
fatedier d01f4a3ec1
cmd: use hyphen instead of underscore (#3898) 2023-12-27 10:44:13 +08:00
fatedier 97d3cf1a3b
call config complete in nathole discover (#3813) 2023-11-28 19:02:51 +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
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 5760c1cf92
frpc: exit with code 1 if first login failed (#3740) 2023-11-01 17:06:55 +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 fc4e787fe2
frpc: support stop command (#3511) 2023-06-30 17:35:37 +08:00
fatedier 4c4d5f0d0d
service.Run supports passing in context (#3504) 2023-06-29 18:04:20 +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 9aef3b9944
adjust code style about config (#3464) 2023-05-30 20:25:22 +08:00
fatedier c7a0cfc66d
xtcp: when connection timeout occurs, support fallback to STCP (#3460) 2023-05-30 10:55:00 +08:00
fatedier c71efde303
refactor the code related to xtcp (#3449) 2023-05-28 16:50:43 +08:00
fatedier f6b8645f56
nathole: support discover without configuration file (#3395) 2023-04-10 21:45:00 +08:00
fatedier 2c2c4ecdbc
feat(nathole): add flag for STUN server in nathole discovery command (#3383) 2023-03-30 22:02:00 +08:00
fatedier 3faae194d0
feat(nathole): use serverUDPPort in nathole discovery when available (#3382) 2023-03-30 21:49:12 +08:00
fatedier a22d6c9504
frpc: support nathole discover (#3381) 2023-03-30 20:28:15 +08:00
fatedier 8c6303c1e5
web/frpc: support more info (#3334) 2023-02-26 02:54:53 +08:00
Craig O'Donnell aa31d7ad0b
support bandwidth_limit set by server plugin (#3271)
* support bandwidth_limit set by server plugin

* limiter at proxy level

* bandwidth_limit_mode

* updates tests for bandwidth_limit_mode default

* bandwidth_limit_mode as string

* add checkForSrv for bandwidth_limit_mode

* bandwidth_limit flags for sub cmds

* gci write
2023-02-09 00:38:36 +08:00
Gerhard Tan b1b8d9a82b
frpc: do a graceful close for quic protocol at exit (#3282) 2023-02-01 13:09:31 +08:00
0x7fff 804f2910fd
refactor: ifelse (#3224) 2022-12-22 17:55:06 +08:00
fatedier 9d077b02cf
lint by golangci-lint (#3080) 2022-08-29 01:02:53 +08:00
fatedier 21240ed962 some improvements 2022-04-14 11:24:36 +08:00
fatedier 18a2af4703
frpc: support multiple confs (#2873) 2022-03-28 12:12:35 +08:00
fatedier f1a51eba18 client: lint 2021-10-19 15:02:45 +08:00
Blizard 1d26ea440b
fix: kcp protocol cause delay release resource (#2621)
Co-authored-by: blizard863 <760076784@qq.com>
2021-10-19 14:57:26 +08:00
kekeimiku 0cee1877e3
refactor: move from io/ioutil to io and os package (#2592) 2021-09-29 10:33:57 +08:00
bobo liu 2f74f54f18
Let's get rid of ugly statik (#2255)
* Get rid of ugly statik

go1.16 introduced the embed package, it's the more graceful solution for embedding file into binary.
https://golang.org/pkg/embed/

* remove statik totally

* split go and static files in assets
2021-08-17 20:20:04 +08:00
fatedier a98a9616f6 update dependency github.com/rodaine/table to v1.0.1 2021-06-21 19:35:52 +08:00
fatedier 02b12df887
frpc: consider include configs for verify and reload command (#2424) 2021-06-02 23:54:22 +08:00
fatedier c32a2ed140
frpc: support 'includes' in common section to include proxy configs in other files(#2421) 2021-06-02 00:39:05 +08:00
fatedier 9cebfccb39
cmd: add verify command to verify if config file syntax is valid (#2389) 2021-05-12 12:15:22 +08:00
fatedier 2408f1df04
frpc: fix that login_fail_exit invalid if `protocol=kcp` (#2363) 2021-04-22 18:33:10 +08:00
fatedier 9a849a29e9
fix config parse logic (#2323) 2021-03-22 14:53:30 +08:00
Splash 6b80861bd6
Fix log_file does not work in config files (#2316) 2021-03-22 11:30:12 +08:00
yuyulei 3621aad1c1
Reconstruct config (#2098)
* refactoring config

* Update by comments
2021-01-26 11:31:08 +08:00
yuyulei ed61049041
Bugfix: add ipv6 parsing with address of frps (#2163) 2020-12-24 21:48:26 +08:00
fatedier 3fbdea0f6b
rename models to pkg (#2005) 2020-09-23 13:49:14 +08:00
fatedier 262317192c
new e2e framework (#1835) 2020-06-02 22:48:55 +08:00