fatedier
495d999b6c
refactoring monitor code, support prometheus ( #1668 )
...
* refactoring monitor code, support prometheus
* remove vendor
5 years ago
fatedier
1db091b381
tcp multiplexing over http connect tunnel
5 years ago
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
5 years ago
fatedier
649f47c345
change log method
5 years ago
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.
5 years ago
Tyler Compton
5fc7b3ceb5
Remove global ServerService variable
...
This variable didn't seem to be used anyway, so no further changes were
required.
5 years ago
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
5 years ago
fatedier
388b016842
support disable_log_color for console mode
5 years ago
fatedier
fd336a5503
Merge pull request #1275 from Arugal/dev
...
replace the _
6 years ago
zhangwei
802d1c1861
replace the _
6 years ago
Jiajun Huang
2d24879fa3
fix
6 years ago
Jiajun Huang
75383a95b3
resp.Body must be closed after function return
...
whether it's success or fail, otherwise it will cause memory leak
ref: https://golang.org/pkg/net/http/
6 years ago
fatedier
7f9d88c10a
fix
6 years ago
fatedier
6b61cb3742
fix frps --log_file useless, fix #1125
6 years ago
fatedier
ba45d29b7c
fix xtcp cmd
6 years ago
fatedier
2481dfab64
fix api
6 years ago
fatedier
96d7e2da6f
add admin UI for frpc
6 years ago
fatedier
385c4d3dd5
frpc/cmd: update protocol description
6 years ago
荒野無燈
a2ccb6c190
frpc: fixup ini config parse problem in sub command `status` and `reload`.
6 years ago
fatedier
f76deb8898
frps: remove auth timeout
6 years ago
fatedier
7c21906884
improve kcp shutdown
6 years ago
fatedier
25cfda5768
conf: support render configure file using environment variables
6 years ago
fatedier
aea9f9fbcc
health: add more ci cases and fix bugs
6 years ago
fatedier
89d1a1fb2b
Merge pull request #968 from fatedier/health
...
support health check and code refactor
6 years ago
fatedier
ca88b07ecf
optimize
6 years ago
fatedier
6e305db4be
Merge pull request #882 from 235832289/master
...
Fix the problem of long connection for more than 30 seconds and disconnection of the server
6 years ago
itcode
9bb08396c7
Fix the problem of long connection for more than 30 seconds and disconnection of the server
6 years ago
fatedier
42ee536dae
add module comments for vgo
7 years ago
fatedier
c33b5152e7
split visitors from proxies and add health check config
7 years ago
kac-
e64fcce417
cmd: frps: allow_ports option
7 years ago
fatedier
e1918f6396
frps add '-t' to set token
7 years ago
fatedier
3e349455a0
commands for xtcp, stcp add 'bind_port', fix #767
7 years ago
fatedier
01b1df2b91
update cmd help info
7 years ago
fatedier
8a6d6c534a
vendor: udpate
7 years ago
fatedier
60ecd1d58c
cmd: change http_user and http_pwd default value to empty
7 years ago
fatedier
853892f3cd
change version to v0.18.0
7 years ago
hanshuai
b87df569e7
do not ignore config parsing error
7 years ago
fatedier
9abbe33790
typo
7 years ago
fatedier
00b9ba95ae
frpc: support specify default dns server, close #700
7 years ago
fatedier
c47aad348d
fix
7 years ago
fatedier
0f6f674a64
cmd: support more cli command
7 years ago
fatedier
9e8980429f
typo
7 years ago
fatedier
637ddbce1f
frpc: udpate proxies check and start logic
7 years ago
fatedier
b2c846664d
new feature: assign a random port if remote_port is 0 in type tcp and
...
udp
7 years ago
fatedier
584e098e8e
frpc: add status command
7 years ago
fatedier
bd1e9a3010
update doc and fix vistor -> visitor
7 years ago
fatedier
6320f15a7c
typo for default config file name used for frpc
7 years ago
fatedier
ee9ddf52cd
frpc: support --reload command
7 years ago
fatedier
d246400a71
frpc: add admin server for reload configure file
7 years ago
fatedier
aede4e54f8
close all proxies if protocol = kcp
8 years ago
fatedier
171bc8dd22
new proxy type: stcp(secret tcp)
8 years ago
fatedier
49b503c17b
client: add start params
...
Proxy names specified in 'start' params divided by ',' will be started.
If it is empty or not defined, all proxies will be started.
8 years ago
fatedier
738e5dad22
new feature plugin and unix domian socket plugin
8 years ago
fatedier
a4fece3f51
api: add server web api for statistics
8 years ago
fatedier
88083d21e8
start refactoring
8 years ago
fatedier
09127a3b55
all: improve the method of import for internal packages
...
1. Change directory structure and Makefile to let GOPATH=`pwd`, so wherever the project directory is, just use make to build.
9 years ago
fatedier
42e062b3b5
all: improvement in utils/conn
9 years ago
fatedier
26479cf92a
all: fix bug when client shutdown and reconnect, server response already use
...
1. if client is offline, server will release all resources
2. use a graceful method to shutdown go net.Listeners
3. add closeFlag for Conn, so startHeartBeat func can exit correctly now
9 years ago
fatedier
84f8addd6a
Move config.go to models/xxx
9 years ago
fatedier
50165053f8
Change directory structure, move models and utils to root directory
9 years ago
fatedier
e805acd1e3
Merge branch 'fix_some_bugs' of https://github.com/Hurricanezwf/frp into Hurricanezwf-fix_some_bugs
...
Conflicts:
cmd/frpc/config.go
cmd/frpc/control.go
cmd/frpc/main.go
cmd/frps/config.go
cmd/frps/control.go
cmd/frps/main.go
pkg/models/server.go
9 years ago
Hurricanezwf
60c9804776
format代码
9 years ago
Hurricanezwf
04c26d1c31
(1)新增心跳检测发送间隔和超时时间的配置
9 years ago
Hurricanezwf
5d6f37aa82
(1)优化重连和心跳检测
9 years ago
Hurricanezwf
af6fc61537
(1)新增client向server发送心跳检测
9 years ago
Hurricanezwf
f065562ec3
(1)分离出连接服务器的逻辑 (2)新增client断线重连功能
9 years ago
fatedier
fa9356936b
Use go fmt before build
9 years ago
fatedier
79195d7177
Change internal package import to github/fatedier
9 years ago
fatedier
7030d16e80
First available commit
9 years ago