Commit Graph

196 Commits (dev)

Author SHA1 Message Date
Tank caa6e8cf01
fix: frpc reconnect frps frequently lead to memory leak (#1722) 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 4a4cf552af send closeProxy msg to server then client start proxy error, fix #1606 5 years ago
fatedier 42014eea23 improve xtcp, fix #1585 5 years ago
fatedier 91e46a2c53 support server plugin feature 5 years ago
fatedier 12cc53d699 update bandwidth_limit 5 years ago
fatedier 6da093a402 support bandwith limit for one proxy 5 years ago
fatedier 649f47c345 change log method 5 years ago
fatedier 5dc8175fc8
Merge pull request #1420 from Hurricanezwf/fix-bad-xtcp-encryption
fix #1347:  bad encryption and compression when use xtcp
5 years ago
zhouwenfeng dc6a5a29c1 fix bad encryption and compression when use xtcp 5 years ago
fatedier fdc6902a90 proxy protocol: fix detect method for IPV4 and IPV6 6 years ago
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.
6 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.
6 years ago
Tyler Compton bc46e3330a Add an "assets_dir" option for frpc
This option allows users to specify where they want assets to be loaded
from, like the "assets_dir" option that already exists for frps. This
allows library users to use the admin panel without having to bundle
assets with statik.
6 years ago
Tyler Compton 00bd0a8af4 Load assets for dashboard/admin panel on demand
The client and server services now only attempt to load assets if the
dashboard or admin panel are enabled. This change makes it possible to
use FRP as a library without having to manage assets. If a library user
wants to start a server with the dashboard enabled, they will need to
set the DashboardPort and AssetsDir fields of ServerCommonConf.
6 years ago
fatedier 757b3613fe fix health check bug, fix #1367 6 years ago
fatedier 394af08561 close session in login() 6 years ago
fatedier 5680a88267 fix connection leak when login_fail_exit is false, fix #1335 6 years ago
fatedier 6a1f15b25e support proxy protocol in unix_domain_socket 6 years ago
fatedier b7a73d3469 support proxy protocol for type http 6 years ago
fatedier 7f9d88c10a fix 6 years ago
fatedier 9c4ec56491 support proxy protocol 6 years ago
fatedier 9ac8f2a047 fix health check unclosed resp body, fix #1155 6 years ago
fatedier e691a40260 improve the stability of xtcp 6 years ago
fatedier d812488767 support tls connection 6 years ago
fatedier 3df27b9c04 xtcp: wrap yamux on kcp connections 6 years ago
fatedier ba45d29b7c fix xtcp cmd 6 years ago
fatedier 5bc7fe2cea fix PUT /api/config without token 6 years ago
fatedier fe403ab328 frpc: update admin_api 6 years ago
fatedier 66555dbb00 frpc admin: not allow empty PUT /api/config body 6 years ago
fatedier 96d7e2da6f add admin UI for frpc 6 years ago
fatedier d879b8208b frpc: add api PUT api/config 6 years ago
fatedier 3585e456d4 frpc: add api GET api/config 6 years ago
fatedier 48990da22e go vet 6 years ago
fatedier 5a7ef3be74 frpc: reload proxy not saved after reconnecting 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 35278ad17f mv folders 6 years ago
fatedier aea9f9fbcc health: add more ci cases and fix bugs 6 years ago
fatedier 08c17c3247 frpc: support health check 6 years ago
fatedier b33ea9274c client/control: refactor code 6 years ago
fatedier 1a8ac148ca fix xtcp visitor panic 6 years ago
fatedier 698219b621 frpc: support health check 6 years ago
fatedier c33b5152e7 split visitors from proxies and add health check config 7 years ago
Neo He bbc36be052 update xtcp log info 7 years ago
fatedier 6eb8146334 frps dashboard add stcp 7 years ago
fatedier 1a6cbbb2d2 return error quickly if nathole make error 7 years ago
fatedier 1464836f05 logs panic debug strace info 7 years ago
fatedier a27e3dda88 vendor: update shutdown 7 years ago
fatedier 1dd7317c06 vendor: add package io 7 years ago
fatedier 8a6d6c534a vendor: udpate 7 years ago
fatedier f45283dbdb disable yamux default log 7 years ago
fatedier 30af32728a frpc: support connectiong frps by socks5 proxy 7 years ago
fatedier 976cf3e9f8 use yamux instead of smux 7 years ago
fatedier 0f6f674a64 cmd: support more cli command 7 years ago
fatedier 9b990adf96 frpc: add proxy status 'wait start' 7 years ago
fatedier 8e719ff0ff frps: new params max_ports_per_client 7 years ago
fatedier 637ddbce1f frpc: udpate proxies check and start logic 7 years ago
fatedier a6f2736b80 fix plugin http_proxy error 7 years ago
fatedier 37210d9983 Merge branch 'dev' of github.com:fatedier/frp into dev 7 years ago
fatedier 338d5bae37 fix panic when using socks5 plugin with encryption and compression, fix #446 7 years ago
fatedier 4f7dfcdb31 fix new http no traffic stats, fix #590 7 years ago
fatedier 5b08201e5d
Merge pull request #603 from fatedier/test
add test cases and new feature assgin a random port if remote_port is 0
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 3f6799c06a add remoteAddr in NewProxyResp message 7 years ago
fatedier 584e098e8e frpc: add status command 7 years ago
gtt116 4d79648657 Close connection if frpc can't connection to local server
Now, when frpc can't connect to local server it leaves the connection alone, the patch fix it.

Fixed #575
7 years ago
fatedier 1a6a179b68 visitor: fix panic 7 years ago
fatedier bd1e9a3010 update doc and fix vistor -> visitor 7 years ago
fatedier fa2b9a836c fix xtcp encryption 7 years ago
fatedier 9e0fd0c4ef add packages 7 years ago
fatedier 0559865fe5 support xtcp for making nat hole 7 years ago
fatedier d5931758b6 fix user in reload command 8 years ago
fatedier d246400a71 frpc: add admin server for reload configure file 8 years ago
fatedier b55a24a27e update mutex used in frpc control 8 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 fca7f42b37 msg: new message CloseProxy 8 years ago
fatedier 511503d34c io.Copy use pool buffer 8 years ago
fatedier 80ba931326 support protocol kcp 8 years ago
fatedier 03d55201b2 plugin: add http_proxy 8 years ago
fatedier 4dc96f41c9 client: add login_fail_exit params, default is true
if login_fail_exit is false, when frpc first login to server failed, it
    will continues relogin to server every 30 seconds.
8 years ago
fatedier 738e5dad22 new feature plugin and unix domian socket plugin 8 years ago
fatedier b600a07ec0 support tcp stream multiplexing by smux 8 years ago
fatedier a5f06489cb update 8 years ago
fatedier 69b09eb8a2 udp: add heartbeat in udp work connection 8 years ago
fatedier a84dd05351 add connection read timeout 8 years ago
fatedier 71f7caa1ee add more log info 8 years ago
fatedier 30aeaf968e fix heartbeat error 8 years ago
fatedier a4fece3f51 api: add server web api for statistics 8 years ago
fatedier 54bbfe26b0 support udp 8 years ago
fatedier a1023fdfc2 add more log 8 years ago
fatedier b02e1007fb support more proxy type 8 years ago
fatedier f90028cf96 Use encryption in frp protocol. 8 years ago
fatedier 88083d21e8 start refactoring 8 years ago