59 Commits (dev)

Author SHA1 Message Date
fatedier ee3892798d
change default value of heartbeat interval and timeout when tcpmux enabled ()
fatedier 43ba7bd338
use new log package ()
fatedier 69ae2b0b69
optimize some code ()
fatedier 184223cb2f
Code refactoring related to message handling and retry logic. ()
fatedier 5e70d5bee0
code optimization ()
fatedier c95311d1a0
support yaml/json/toml configuration format, make ini deprecated ()
fatedier 6430afcfa5
fix a goroutine leak issue caused by Login plugin timeout ()
fatedier 46ff40543a
update github actions ()
fatedier 15a245766e
fix the issue of duplicate xtcp proxies will cause the previous proxy to become ineffective ()
fatedier de85c9455a
stcp, xtcp, sudp: support allow_users and specified server user ()
fatedier 9aef3b9944
adjust code style about config ()
fatedier 555db9d272
format import package name ()
fatedier 98068402c8
add release notes ()
fatedier c71efde303
refactor the code related to xtcp ()
fatedier 2f59e967a0
web/frps: more info ()
fatedier 9d077b02cf
lint by golangci-lint ()
fatedier 4af85da0c2
type http/tcpmux proxy support route_by_http_user, tcpmux support passthourgh mode ()
cui fliter 915d9f4c09
fix some typos ()
Signed-off-by: cuishuang <imcusg@gmail.com>
Harry Cheng bf635c0e90
Notify server plugins when a proxy is closed ()
* 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
fatedier 293003fcdb
allow to disable application layer heartbeat to reduce traffic cost ()
fix 
fatedier 02b12df887
frpc: consider include configs for verify and reload command ()
yuyulei 127a31ea6a
Fix typo ()
fatedier 3fbdea0f6b
rename models to pkg ()
fatedier 8b75b8b837
fix by golint ()
zhang-wei ad0c449a75
Server manager support the NewUserConn operation ()
support NewUserConn operation
Guy Lewin a4b105dedb
[Feature] Server Plugin - Ping and NewWorkConn RPC ()
Guy Lewin 10acf638f8
[Feature] Include RunId in FRP Server Plugin NewProxy message ()
* feat: include RunId in FRP Server Plugin NewProxy message

* doc: rewrite server plugin documentation
fatedier 495d999b6c
refactoring monitor code, support prometheus ()
* refactoring monitor code, support prometheus
* remove vendor
Guy Lewin 6c6607ae68
feat: add multiple authentication methods, token and oidc.
token is the current token comparison, and oidc generates oidc token using client-credentials flow. in addition - add ping verification using the same method
Guy Lewin 98fa3855bd CR: export error string generation to a function
Guy Lewin f8c6795119 DetailedErrorsToClient - only send detailed error info if this is on
fatedier 91e46a2c53 support server plugin feature
fatedier 649f47c345 change log method
fatedier e9e86fccf0 let max_pool_count valid
Tyler Compton 6277af4790 Pass server configuration as an argument
The ServerCommonConf is now passed around as an argument instead of
being shared between components as a global variable. This allows for
more natural interaction with server.Session as a library and allows for
multiple servers to co-exist within the same process.

Related: 
fatedier 7f9d88c10a fix
fatedier 70ac7d3d11 fix control delete error
fatedier 611d063e1f server: adjust code structure
fatedier 0c7d778896 frps: optimize code
fatedier 1464836f05 logs panic debug strace info
fatedier a27e3dda88 vendor: update shutdown
fatedier 8a6d6c534a vendor: udpate
fatedier 0f6f674a64 cmd: support more cli command
fatedier e9241aeb94 udp proxy: fix
fatedier 8e719ff0ff frps: new params max_ports_per_client
fatedier 3f6799c06a add remoteAddr in NewProxyResp message
fatedier 584e098e8e frpc: add status command
fatedier 0559865fe5 support xtcp for making nat hole
fatedier aede4e54f8 close all proxies if protocol = kcp
fatedier fca7f42b37 msg: new message CloseProxy