Commit Graph

35 Commits

Author SHA1 Message Date
fatedier 8b75b8b837
fix by golint (#1822) 2020-05-24 17:48:37 +08:00
Tank d193519329
feat: Support user specify udp packet size in config (#1794) 2020-05-07 17:47:36 +08:00
fatedier 495d999b6c
refactoring monitor code, support prometheus (#1668)
* refactoring monitor code, support prometheus
* remove vendor
2020-03-11 13:20:26 +08:00
fatedier 1db091b381
tcp multiplexing over http connect tunnel 2020-03-05 21:47:49 +08:00
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
2020-03-01 10:57:01 +08:00
Guy Lewin 98fa3855bd CR: export error string generation to a function 2020-02-11 16:57:38 +02:00
Guy Lewin 9440bc5d72 Merge branch 'dev' into feature/detailed-errors-to-client
# Conflicts:
#	models/config/server_common.go
2020-02-11 11:25:04 +02:00
Guy Lewin f8c6795119 DetailedErrorsToClient - only send detailed error info if this is on 2020-02-10 19:29:57 +02:00
Guy Lewin c747f160aa TlsOnly - only accept TLS connections if enabled 2020-02-10 18:56:41 +02:00
fatedier 91e46a2c53 support server plugin feature 2019-12-23 20:00:04 +08:00
Tyler Compton 4dfd851c46 Add docs for common config fields & sessions
Now that the common configuration objects and session objects are part
of a public API, they need to be documented in a way that can be read
with godoc. This commit should lead to easier development with FRP as a
library.
2019-08-24 15:20:34 -07:00
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: #1387
2019-08-19 15:52:08 -07:00
fatedier 388b016842 support disable_log_color for console mode 2019-08-12 00:47:35 +08:00
fatedier 0dfd3a421c frps: support custom_404_page 2019-04-25 12:29:34 +08:00
fatedier 48990da22e go vet 2019-01-31 16:49:23 +08:00
fatedier f76deb8898 frps: remove auth timeout 2019-01-15 00:22:13 +08:00
fatedier ca88b07ecf optimize 2018-08-08 11:18:38 +08:00
itcode 9bb08396c7 Fix the problem of long connection for more than 30 seconds and disconnection of the server 2018-08-08 10:52:08 +08:00
fatedier 4a5c00286e doc: update 2018-04-24 01:28:25 +08:00
fatedier 0f6f674a64 cmd: support more cli command 2018-04-23 02:00:25 +08:00
fatedier 8e719ff0ff frps: new params max_ports_per_client 2018-01-26 14:56:55 +08:00
fatedier ce8fde793c new feature: range section for mapping range ports 2018-01-25 23:05:07 +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
timerever 8c65b337ca add custom dashboard bind address 2017-11-28 15:56:34 +08:00
fatedier 0559865fe5 support xtcp for making nat hole 2017-10-25 01:27:04 +08:00
fatedier f63a4f0cdd frps: new parameter 'proxy_bind_addr' 2017-07-05 01:40:01 +08:00
fatedier a2c318d24c update kcp mode 2017-06-13 23:36:10 +08:00
fatedier 80ba931326 support protocol kcp 2017-06-04 19:56:21 +08:00
fatedier 7957572ced update 2017-05-19 02:20:10 +08:00
yuyulei 1cc61b60f9 fixs import 2017-05-19 00:00:42 +08:00
yuyulei 84465a7463 change allow ports from map to array 2017-05-18 23:58:46 +08:00
fatedier 3fe50df200 doc: update 2017-05-18 01:59:46 +08:00
fatedier b600a07ec0 support tcp stream multiplexing by smux 2017-05-17 17:47:20 +08:00
fatedier 69b09eb8a2 udp: add heartbeat in udp work connection 2017-05-15 00:08:21 +08:00
fatedier 88083d21e8 start refactoring 2017-03-09 22:44:42 +08:00