Commit Graph

71 Commits (5e77c8e2d33317a73282483863c9bdb8e067cd1c)

Author SHA1 Message Date
fatedier 5e77c8e2d3
fix lint ()
im_zhou 3bf6605e1a
fix: duplicate call loginFunc () ()
modify ext func, specify whether exit immediately
fatedier 95cf418963
ssh: return informations to client ()
fatedier 69ae2b0b69
optimize some code ()
fatedier d5b41f1e14 sshTunnelGateway refactor ()
fatedier 526e809bd5
update for strict config ()
Aarni Koskela e8deb65c4b
Strict configuration parsing ()
* Test configuration loading more precisely

* Add strict configuration parsing
fatedier 184223cb2f
Code refactoring related to message handling and retry logic. ()
fatedier 5760c1cf92
frpc: exit with code 1 if first login failed ()
fatedier 7cc67e852e
fix that transport.tls.disableCustomTLSFirstByte doesn't take effect ()
fatedier c95311d1a0
support yaml/json/toml configuration format, make ini deprecated ()
fatedier 3235addaaa
update dependencies ()
fatedier 4c4d5f0d0d
service.Run supports passing in context ()
fatedier 801e8c6742
support wss between frpc and frps ()
fatedier ea08de668e
yamux: change default MaxStreamWindowSize to 6MB ()
fatedier c7a0cfc66d
xtcp: when connection timeout occurs, support fallback to STCP ()
fatedier 555db9d272
format import package name ()
fatedier c71efde303
refactor the code related to xtcp ()
fatedier 113e3b0b0d
revert random change ()
fatedier 100148d925
support go1.20 ()
fatedier 6b3daffaf0
upgrade quic-go and change import path ()
Gerhard Tan d205c26480
Bugfix: add ipv6 parsing for custom DNS server ()
fatedier 7678938c08
support quic options ()
fatedier 2f66dc3e99
support protocol quic between frpc and frps ()
fatedier 9d077b02cf
lint by golangci-lint ()
ChristLZS 6f2571980c
[client] Fixed a bug where service loops reconnection after disconnection.service is shut down and can not exit goroutine ()
Co-authored-by: lizhisheng <zhishengli@deepglint.com>
fatedier 21240ed962 some improvements
Colin Adler 6481870d03
fix: data races when accessing `github.com/fatedier/frp/client.(*Service).ctl` ()
* fix: data race in client/service.go

* review fixes
fatedier 18a2af4703
frpc: support multiple confs ()
fatedier 100d556336
support tcp keepalive params ()
fatedier 19739ed31a
random sleep duration before reconnecting ()
fatedier 10100c28d9
client: add dial_server_timeout ()
Blizard 0db4fc07fb
feat: support set local ip in client when connect server ()
* feat: support set local ip in client when connect server

* fix: typo

Co-authored-by: blizard863 <760076784@qq.com>
fatedier 70f4caac23
move dial functions into golib ()
fatedier 293003fcdb
allow to disable application layer heartbeat to reduce traffic cost ()
fix 
Blizard ea568e8a4f
refactor: refine pkg net utils ()
* refactor: refine pkg net utils

* fix: x

Co-authored-by: blizard863 <760076784@qq.com>
fatedier f1a51eba18 client: lint
Blizard 1d26ea440b
fix: kcp protocol cause delay release resource ()
Co-authored-by: blizard863 <760076784@qq.com>
kekeimiku 0cee1877e3
refactor: move from io/ioutil to io and os package ()
bobo liu 2f74f54f18
Let's get rid of ugly statik ()
* 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
fatedier 42745a3da2
frpc: add disable_custom_tls_first_byte to not send first custom tls to frps ()
yuyulei 8e25f13201
update: support ipv6 ()
yuyulei b5aee82ca9
update: support custom tls server name ()
fatedier 8fcd4f4a95
client: reconnect more quickly if it's a dial error ()
yuyulei ed61049041
Bugfix: add ipv6 parsing with address of frps ()
fatedier 3fbdea0f6b
rename models to pkg ()
yuyulei 4fff3c7472
Add tls configuration to both client and server ()
fatedier 48fa618c34
update e2e tests ()
fatedier 8b75b8b837
fix by golint ()
Tank caa6e8cf01
fix: frpc reconnect frps frequently lead to memory leak ()