Commit Graph

38 Commits (70f4caac238aabee33583ea2aaf6d39dc2c5a455)

Author SHA1 Message Date
fatedier 70f4caac23
move dial functions into golib (#2767) 3 years ago
fatedier 293003fcdb
allow to disable application layer heartbeat to reduce traffic cost (#2758)
fix #2754
3 years ago
Blizard ea568e8a4f
refactor: refine pkg net utils (#2720)
* refactor: refine pkg net utils

* fix: x

Co-authored-by: blizard863 <760076784@qq.com>
3 years ago
fatedier f1a51eba18 client: lint 3 years ago
Blizard 1d26ea440b
fix: kcp protocol cause delay release resource (#2621)
Co-authored-by: blizard863 <760076784@qq.com>
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
yuyulei 8e25f13201
update: support ipv6 (#2288) 4 years ago
yuyulei b5aee82ca9
update: support custom tls server name (#2278) 4 years ago
fatedier 8fcd4f4a95
client: reconnect more quickly if it's a dial error (#2240) 4 years ago
yuyulei ed61049041
Bugfix: add ipv6 parsing with address of frps (#2163) 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 48fa618c34
update e2e tests (#1973) 4 years ago
fatedier 8b75b8b837
fix by golint (#1822) 5 years ago
Tank caa6e8cf01
fix: frpc reconnect frps frequently lead to memory leak (#1722) 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 91e46a2c53 support server plugin feature 5 years ago
fatedier 649f47c345 change log method 5 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 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 d812488767 support tls connection 6 years ago
fatedier 96d7e2da6f add admin UI for frpc 6 years ago
fatedier 7c21906884 improve kcp shutdown 6 years ago
fatedier b33ea9274c client/control: refactor code 6 years ago
fatedier c33b5152e7 split visitors from proxies and add health check config 7 years ago
fatedier 0f6f674a64 cmd: support more cli command 7 years ago
fatedier 584e098e8e frpc: add status command 7 years ago
fatedier bd1e9a3010 update doc and fix vistor -> visitor 7 years ago
fatedier d246400a71 frpc: add admin server for reload configure file 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 88083d21e8 start refactoring 8 years ago