Commit Graph

41 Commits

Author SHA1 Message Date
fatedier dd7e2e8473
return 504 instead of 404 for proxy type http request timeout (#4151) 2024-04-11 20:19:08 +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 69ae2b0b69
optimize some code (#3801) 2023-11-27 15:47:49 +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 184223cb2f
Code refactoring related to message handling and retry logic. (#3745) 2023-11-06 10:51:48 +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 fc4e787fe2
frpc: support stop command (#3511) 2023-06-30 17:35:37 +08:00
fatedier 9aef3b9944
adjust code style about config (#3464) 2023-05-30 20:25:22 +08:00
fatedier c71efde303
refactor the code related to xtcp (#3449) 2023-05-28 16:50:43 +08:00
fatedier 8c6303c1e5
web/frpc: support more info (#3334) 2023-02-26 02:54:53 +08:00
fatedier 9d077b02cf
lint by golangci-lint (#3080) 2022-08-29 01:02:53 +08:00
fatedier c652b8ef07
fix ipv6 address parsing (#2978) 2022-06-14 14:24:34 +08:00
kekeimiku 0cee1877e3
refactor: move from io/ioutil to io and os package (#2592) 2021-09-29 10:33:57 +08:00
fatedier 82f80a22be
add healthz api (#2511) 2021-08-04 14:33:53 +08:00
fatedier 02b12df887
frpc: consider include configs for verify and reload command (#2424) 2021-06-02 23:54:22 +08:00
yuyulei 3621aad1c1
Reconstruct config (#2098)
* refactoring config

* Update by comments
2021-01-26 11:31:08 +08:00
fatedier 3fbdea0f6b
rename models to pkg (#2005) 2020-09-23 13:49:14 +08:00
fatedier 8b75b8b837
fix by golint (#1822) 2020-05-24 17:48:37 +08:00
Tank 4797136965
feat: support sudp proxy (#1730) 2020-04-22 21:37:45 +08:00
Tyler Compton 666f122a72 Pass client configuration as an argument
The ClientCommonConf, configuration file path, and server UDP port are
now passed around as arguments instead of being shared between
components as global variables. This allows for multiple clients to
exist in the same process, and allows client.Session to be used as a
library more easily.
2019-08-20 14:08:01 -07:00
fatedier 5bc7fe2cea fix PUT /api/config without token 2019-02-12 14:59:30 +08:00
fatedier fe403ab328 frpc: update admin_api 2019-02-11 11:26:06 +08:00
fatedier 66555dbb00 frpc admin: not allow empty PUT /api/config body 2019-02-02 11:46:53 +08:00
fatedier d879b8208b frpc: add api PUT api/config 2019-01-31 18:35:44 +08:00
fatedier 3585e456d4 frpc: add api GET api/config 2019-01-31 17:17:34 +08:00
fatedier 5a7ef3be74 frpc: reload proxy not saved after reconnecting 2019-01-30 11:12:28 +08:00
fatedier 25cfda5768 conf: support render configure file using environment variables 2018-12-11 11:46:12 +08:00
fatedier 35278ad17f mv folders 2018-12-09 22:06:22 +08:00
fatedier b33ea9274c client/control: refactor code 2018-11-06 18:35:05 +08:00
fatedier c33b5152e7 split visitors from proxies and add health check config 2018-06-25 18:22:35 +08:00
fatedier 6eb8146334 frps dashboard add stcp 2018-05-20 19:06:05 +08:00
fatedier 0f6f674a64 cmd: support more cli command 2018-04-23 02:00:25 +08:00
fatedier b2c846664d new feature: assign a random port if remote_port is 0 in type tcp and
udp
2018-01-17 22:18:34 +08:00
fatedier 3f6799c06a add remoteAddr in NewProxyResp message 2018-01-17 15:01:26 +08:00
fatedier 584e098e8e frpc: add status command 2018-01-17 01:09:33 +08:00
fatedier bd1e9a3010 update doc and fix vistor -> visitor 2017-12-05 01:34:33 +08:00
fatedier d5931758b6 fix user in reload command 2017-07-17 02:14:30 +08:00
fatedier d246400a71 frpc: add admin server for reload configure file 2017-07-13 02:20:49 +08:00