Commit Graph

58 Commits (75383a95b360d3ed05b946800c627488e6a1fefc)

Author SHA1 Message Date
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/
fatedier 7f9d88c10a fix
fatedier 6b61cb3742 fix frps --log_file useless, fix
fatedier ba45d29b7c fix xtcp cmd
fatedier 2481dfab64 fix api
fatedier 96d7e2da6f add admin UI for frpc
fatedier 385c4d3dd5 frpc/cmd: update protocol description
荒野無燈 a2ccb6c190 frpc: fixup ini config parse problem in sub command `status` and `reload`.
fatedier f76deb8898 frps: remove auth timeout
fatedier 7c21906884 improve kcp shutdown
fatedier 25cfda5768 conf: support render configure file using environment variables
fatedier aea9f9fbcc health: add more ci cases and fix bugs
fatedier 89d1a1fb2b
Merge pull request from fatedier/health
support health check and code refactor
fatedier ca88b07ecf optimize
fatedier 6e305db4be
Merge pull request from 235832289/master
Fix the problem of long connection for more than 30 seconds and disconnection of the server
itcode 9bb08396c7 Fix the problem of long connection for more than 30 seconds and disconnection of the server
fatedier 42ee536dae add module comments for vgo
fatedier c33b5152e7 split visitors from proxies and add health check config
kac- e64fcce417 cmd: frps: allow_ports option
fatedier e1918f6396 frps add '-t' to set token
fatedier 3e349455a0 commands for xtcp, stcp add 'bind_port', fix
fatedier 01b1df2b91 update cmd help info
fatedier 8a6d6c534a vendor: udpate
fatedier 60ecd1d58c cmd: change http_user and http_pwd default value to empty
fatedier 853892f3cd change version to v0.18.0
hanshuai b87df569e7 do not ignore config parsing error
fatedier 9abbe33790 typo
fatedier 00b9ba95ae frpc: support specify default dns server, close
fatedier c47aad348d fix
fatedier 0f6f674a64 cmd: support more cli command
fatedier 9e8980429f typo
fatedier 637ddbce1f frpc: udpate proxies check and start logic
fatedier b2c846664d new feature: assign a random port if remote_port is 0 in type tcp and
udp
fatedier 584e098e8e frpc: add status command
fatedier bd1e9a3010 update doc and fix vistor -> visitor
fatedier 6320f15a7c typo for default config file name used for frpc
fatedier ee9ddf52cd frpc: support --reload command
fatedier d246400a71 frpc: add admin server for reload configure file
fatedier aede4e54f8 close all proxies if protocol = kcp
fatedier 171bc8dd22 new proxy type: stcp(secret tcp)
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.
fatedier 738e5dad22 new feature plugin and unix domian socket plugin
fatedier a4fece3f51 api: add server web api for statistics
fatedier 88083d21e8 start refactoring
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.
fatedier 42e062b3b5 all: improvement in utils/conn
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
fatedier 84f8addd6a Move config.go to models/xxx
fatedier 50165053f8 Change directory structure, move models and utils to root directory
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