Commit Graph

59 Commits

Author SHA1 Message Date
Harry Cheng bf635c0e90
Notify server plugins when a proxy is closed (#2823)
* add close proxy op

* Move to actual closing routine

* Fix e2e tests for CloseProxy

* Add warning on resource exhaustion

* Add CloseProxy to manual close

* retuen errors to `CloseProxy` callers
2022-03-08 15:08:09 +08:00
Blizard cd31359a27
feat: support add additional params for OIDC (#2814)
* feat: support add additional params and test access by auth0

* fix: config name

Co-authored-by: blizard863 <760076784@qq.com>
2022-03-07 14:23:49 +08:00
fatedier 19739ed31a
random sleep duration before reconnecting (#2816) 2022-02-24 11:59:36 +08:00
fatedier 10100c28d9
client: add dial_server_timeout (#2805) 2022-02-19 16:49:21 +08:00
fatedier d20a6d3d75 update release note 2022-02-09 15:23:01 +08:00
fatedier 6194273615
use net.JoinHostPort instead of fmt.Sprintf (#2791) 2022-02-09 15:19:35 +08:00
fatedier e59eacb8a2 version: bump to v0.39.0 2022-01-26 19:53:22 +08:00
Blizard 0db4fc07fb
feat: support set local ip in client when connect server (#2774)
* feat: support set local ip in client when connect server

* fix: typo

Co-authored-by: blizard863 <760076784@qq.com>
2022-01-26 19:47:40 +08:00
fatedier 70f4caac23
move dial functions into golib (#2767) 2022-01-20 20:03:07 +08:00
fatedier 293003fcdb
allow to disable application layer heartbeat to reduce traffic cost (#2758)
fix #2754
2022-01-13 14:26:07 +08:00
fatedier 22412851b4
server plugin: add client address in Login operation, fix #2742 (#2751) 2022-01-11 16:32:20 +08:00
Blizard ea568e8a4f
refactor: refine pkg net utils (#2720)
* refactor: refine pkg net utils

* fix: x

Co-authored-by: blizard863 <760076784@qq.com>
2021-12-28 21:14:57 +08:00
fatedier 05b1ace21f
remove authentication for healthz api (#2672) 2021-11-23 14:14:27 +08:00
fatedier 85aa3df256 bump version 2021-10-25 20:14:21 +08:00
kekeimiku 0cee1877e3
refactor: move from io/ioutil to io and os package (#2592) 2021-09-29 10:33:57 +08:00
fatedier 42745a3da2
frpc: add disable_custom_tls_first_byte to not send first custom tls to frps (#2520) 2021-08-11 23:10:35 +08:00
fatedier 87e60683ed
add release note for v0.37.1 (#2507) 2021-08-03 23:10:27 +08:00
fatedier 86b2e686a5
vhost: use new readClientHello function (#2504) 2021-08-03 22:58:03 +08:00
fatedier 09f39de74e
add more e2e test (#2505) 2021-08-02 13:07:28 +08:00
Blizard 3dd888a9ea
fix: stuct name typo (#2458)
Co-authored-by: tanghuafa <tanghuafa@bytedance.com>
2021-06-24 16:33:52 +08:00
fatedier 900454e58b
more e2e test cases (#2450) 2021-06-18 16:48:36 +08:00
ztz 56925961df
Typo: josn => json (#2429) 2021-06-04 11:21:52 +08:00
fatedier 8637077d90 update version 2021-06-03 00:10:35 +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 0d84da91d4
change default value of dashboard_user and dashboard_pwd to empty string (#2383) 2021-05-10 23:04:26 +08:00
fatedier 9a849a29e9
fix config parse logic (#2323) 2021-03-22 14:53:30 +08:00
bobo liu 1a11b28f8d
config: inline is NOT SUPPORTED in encoding/json (#2304) 2021-03-19 17:36:39 +08:00
wuqing fdef7448a7 update version 2021-03-18 11:12:10 +08:00
fatedier 0c35863d97 bump version to v0.36.0 (#2301) 2021-03-15 21:50:47 +08:00
yuyulei 8e25f13201
update: support ipv6 (#2288) 2021-03-10 20:19:58 +08:00
yuyulei b5aee82ca9
update: support custom tls server name (#2278) 2021-03-07 14:57:23 +08:00
fatedier 8fcd4f4a95
client: reconnect more quickly if it's a dial error (#2240) 2021-02-18 16:15:35 +08:00
Albert Zhao 976fd81d4d
modify gitignore;fix a typo (#2237) 2021-02-07 14:07:20 +08:00
Kevin Crawley 52d5c9e25b
initial commit for https2https plugin (#2201) 2021-01-27 13:14:16 +08:00
yuyulei 3621aad1c1
Reconstruct config (#2098)
* refactoring config

* Update by comments
2021-01-26 11:31:08 +08:00
fatedier a821db3f45 add release note 2021-01-25 16:06:38 +08:00
fatedier b26080589b bump version 2021-01-19 20:51:06 +08:00
fatedier 46f809d711 vhost: set DisableKeepAlives = false and fix websocket not work 2021-01-18 21:49:44 +08:00
XNG c842558ace
Reduced log level of "get hostname error" (#2165)
Reduced log level of "get hostname from http/https request error" to debug so that it won't overwhelms the log file when user is using apache/ngix as their own SSL backend
2020-12-25 13:39:26 +08:00
yuyulei ed61049041
Bugfix: add ipv6 parsing with address of frps (#2163) 2020-12-24 21:48:26 +08:00
Mike Cardwell 0ab055e946
Allow server plugin to talk to https services. Option for skipping tls verification (#2103)
* Allow server plugin to talk to https services. Option for skipping tls verification

* Rename TlsVerify to TLSVerify

* Server plugin should use default http transport when scheme is not https
2020-12-03 14:36:14 +08:00
yuyulei 127a31ea6a
Fix typo (#2089) 2020-11-23 11:38:21 +08:00
fatedier 8a779eb88c
add goreleaser action (#2087)
* add goreleaser action

* change version
2020-11-20 17:00:14 +08:00
fatedier 7f7305fa03 update version 2020-11-06 14:39:04 +08:00
yuyulei 644a0cfdb6
Update ReverseProxy code from official golang repo (#2051)
Fix #1192
2020-11-05 16:34:17 +08:00
fatedier e52dfc4a5c bump version to v0.34.1 2020-09-30 14:40:08 +08:00
harmy ef5ae3e598
fix: a reconnected proxy will disappear from dashboard after 7 days (#2008) 2020-09-25 16:10:20 +08:00
fatedier 3fbdea0f6b
rename models to pkg (#2005) 2020-09-23 13:49:14 +08:00