Commit Graph

189 Commits (dev)

Author SHA1 Message Date
fatedier 4af85da0c2
type http/tcpmux proxy support route_by_http_user, tcpmux support passthourgh mode (#2932) 3 years ago
cui fliter 915d9f4c09
fix some typos (#2882)
Signed-off-by: cuishuang <imcusg@gmail.com>
3 years ago
fatedier 100d556336
support tcp keepalive params (#2863) 3 years ago
fatedier 63efa6b776
support pprof (#2849) 3 years ago
Harry Cheng bf635c0e90
Notify server plugins when a proxy is closed (#2823)
* 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
3 years ago
fatedier 6194273615
use net.JoinHostPort instead of fmt.Sprintf (#2791) 3 years ago
fatedier 293003fcdb
allow to disable application layer heartbeat to reduce traffic cost (#2758)
fix #2754
3 years ago
fatedier 22412851b4
server plugin: add client address in Login operation, fix #2742 (#2751) 3 years ago
fatedier 05b1ace21f
remove authentication for healthz api (#2672) 3 years ago
kekeimiku 0cee1877e3
refactor: move from io/ioutil to io and os package (#2592) 3 years ago
bobo liu 2f74f54f18
Let's get rid of ugly statik (#2255)
* Get rid of ugly statik

go1.16 introduced the embed package, it's the more graceful solution for embedding file into binary.
https://golang.org/pkg/embed/

* remove statik totally

* split go and static files in assets
4 years ago
fatedier 42745a3da2
frpc: add disable_custom_tls_first_byte to not send first custom tls to frps (#2520) 4 years ago
fatedier 82f80a22be
add healthz api (#2511) 4 years ago
Fishbone df5859b5f7
Fix server-side proxy inappropriate quit when met `accept: too many open files` error (#2467) 4 years ago
fatedier 02b12df887
frpc: consider include configs for verify and reload command (#2424) 4 years ago
fatedier fbaa5f866e
add e2e tests (#2334) 4 years ago
Chotow 0ff27fc9ac
fix(server): listen udp port failed (#2308)
fix #2306
4 years ago
yuyulei 8e25f13201
update: support ipv6 (#2288) 4 years ago
yuyulei 72595b2da8
Add user remote address info log (#2184) 4 years ago
yuyulei 127a31ea6a
Fix typo (#2089) 4 years ago
fatedier 3fbdea0f6b
rename models to pkg (#2005) 4 years ago
yuyulei 4fff3c7472
Add tls configuration to both client and server (#1974) 4 years ago
fatedier c9fe23eb10
more e2e tests (#1845) 4 years ago
Luka Čehovin Zajc 268afb3438
Sorting plugins so that execution order is deterministic (#1961) 4 years ago
fatedier 8b75b8b837
fix by golint (#1822) 5 years ago
Tank dfbf9c4542
style: adjust frps files (#1820) 5 years ago
Tank d193519329
feat: Support user specify udp packet size in config (#1794) 5 years ago
Tank 4797136965
feat: support sudp proxy (#1730) 5 years ago
Guy Lewin 6d78af6144
feat: group TCP mux proxies (#1765) 5 years ago
Tank 7728e35c52
fix: frps handle multi conn may happen data race (#1768) 5 years ago
zhang-wei ad0c449a75
Server manager support the NewUserConn operation (#1740)
support NewUserConn operation
5 years ago
Guy Lewin a4b105dedb
[Feature] Server Plugin - Ping and NewWorkConn RPC (#1702) 5 years ago
Guy Lewin 10acf638f8
[Feature] Include RunId in FRP Server Plugin NewProxy message (#1700)
* feat: include RunId in FRP Server Plugin NewProxy message

* doc: rewrite server plugin documentation
5 years ago
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
Guy Lewin 98fa3855bd CR: export error string generation to a function 5 years ago
Guy Lewin 9440bc5d72 Merge branch 'dev' into feature/detailed-errors-to-client
# Conflicts:
#	models/config/server_common.go
5 years ago
Guy Lewin f8c6795119 DetailedErrorsToClient - only send detailed error info if this is on 5 years ago
Guy Lewin c747f160aa TlsOnly - only accept TLS connections if enabled 5 years ago
fatedier 91e46a2c53 support server plugin feature 5 years ago
fatedier 649f47c345 change log method 5 years ago
fatedier e9e86fccf0 let max_pool_count valid 6 years ago
fatedier f999c8a87e
Merge pull request #1396 from velovix/issue-1387_server-conf-as-argument
Pass server configuration as an argument
6 years ago
Tyler Compton 5fc7b3ceb5 Remove global ServerService variable
This variable didn't seem to be used anyway, so no further changes were
required.
6 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
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 b3ed863021 support http load balancing 6 years ago
Christian Muehlhaeuser 0b40ac2dbc
Fixed typos in comments
Just nitpicky typo fixes.
6 years ago
fatedier 17cc0735d1 add read timeout for TLS check operation 6 years ago
fatedier 0dfd3a421c frps: support custom_404_page 6 years ago
Gihan 9f47c324b7 api error fix due to status code 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 74a8752570 fix route conflict 6 years ago
fatedier e691a40260 improve the stability of xtcp 6 years ago
fatedier d812488767 support tls connection 6 years ago
fatedier 2481dfab64 fix api 6 years ago
fatedier 95a881a7d3 frps: update server dashboard_api 6 years ago
fatedier 96d7e2da6f add admin UI for frpc 6 years ago
fatedier 48990da22e go vet 6 years ago
fatedier 70ac7d3d11 fix control delete error 6 years ago
荒野無燈 0bd8f9cd9b frps dashboard api: fixup getProxyStatsByType no data return 6 years ago
fatedier f76deb8898 frps: remove auth timeout 6 years ago
fatedier 611d063e1f server: adjust code structure 6 years ago
fatedier 0c7d778896 frps: optimize code 6 years ago
fatedier 7c21906884 improve kcp shutdown 6 years ago
fatedier 08c17c3247 frpc: support health check 6 years ago
fatedier f14ed87b29
Merge pull request #886 from fatedier/websocket
Connect protocol support websocket
7 years ago
fatedier 07623027bc websocket: fix 7 years ago
fatedier 941ac25648 fix ci 7 years ago
fatedier 7793f55545 websocket: update muxer for websocket 7 years ago
fatedier ca88b07ecf optimize 7 years ago
FishFish b8037475ed websocket protocol 7 years ago
fatedier 495b577819 update group ci 7 years ago
fatedier f56b49ad3b new feature: load balancing for tcp proxy 7 years ago
fatedier db2d1fce76 http: support setting headers 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 3e349455a0 commands for xtcp, stcp add 'bind_port', fix #767 7 years ago
fatedier 96b94d9164 dashbaord_api: more info 7 years ago
fatedier 1464836f05 logs panic debug strace info 7 years ago
fatedier b2a2037032 change accept connection error loglevel to debug 7 years ago
fatedier 20fcb58437 vendor: add package golib/net 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 5db605ca02 frps: vhost_http_port and vhost_https_port can be same with frps bind
port
7 years ago
fatedier f45283dbdb disable yamux default log 7 years ago
fatedier 976cf3e9f8 use yamux instead of smux 7 years ago
fatedier 4a5c00286e doc: update 7 years ago
fatedier dfb892c8f6
Merge pull request #718 from fatedier/cmd
more cmds
7 years ago
fatedier 0f6f674a64 cmd: support more cli command 7 years ago
miwee 3fde9176c9 dashboard_api for getting a client status by name 7 years ago
fatedier e9241aeb94 udp proxy: fix #652 7 years ago
fatedier 8e719ff0ff frps: new params max_ports_per_client 7 years ago
fatedier a77c7e8625 server: change MIN_PORT from 1024 to 1 7 years ago
fatedier 4f7dfcdb31 fix new http no traffic stats, fix #590 7 years ago
fatedier b2c846664d new feature: assign a random port if remote_port is 0 in type tcp and
udp
7 years ago