Commit Graph

40 Commits

Author SHA1 Message Date
fatedier 555db9d272
format import package name (#3455) 2023-05-29 14:10:34 +08:00
fatedier c71efde303
refactor the code related to xtcp (#3449) 2023-05-28 16:50:43 +08:00
fatedier 8f394dba27
trace log adds join errors (#3352) 2023-03-11 19:34:06 +08:00
fatedier fccd518512
frpc: add parameter nat_hole_server_addr (#3351) 2023-03-10 15:51:14 +08:00
Craig O'Donnell aa31d7ad0b
support bandwidth_limit set by server plugin (#3271)
* support bandwidth_limit set by server plugin

* limiter at proxy level

* bandwidth_limit_mode

* updates tests for bandwidth_limit_mode default

* bandwidth_limit_mode as string

* add checkForSrv for bandwidth_limit_mode

* bandwidth_limit flags for sub cmds

* gci write
2023-02-09 00:38:36 +08:00
fatedier 9d077b02cf
lint by golangci-lint (#3080) 2022-08-29 01:02:53 +08:00
chenjiayao 1bc899ec12
[client] Remove redundant function parameters (#3016) 2022-07-14 15:31:32 +08:00
fatedier c652b8ef07
fix ipv6 address parsing (#2978) 2022-06-14 14:24:34 +08:00
cui fliter 915d9f4c09
fix some typos (#2882)
Signed-off-by: cuishuang <imcusg@gmail.com>
2022-04-02 17:35:51 +08:00
fatedier 10100c28d9
client: add dial_server_timeout (#2805) 2022-02-19 16:49:21 +08:00
fatedier 6194273615
use net.JoinHostPort instead of fmt.Sprintf (#2791) 2022-02-09 15:19:35 +08:00
fatedier 70f4caac23
move dial functions into golib (#2767) 2022-01-20 20:03:07 +08:00
Blizard ea568e8a4f
refactor: refine pkg net utils (#2720)
* refactor: refine pkg net utils

* fix: x

Co-authored-by: blizard863 <760076784@qq.com>
2021-12-28 21:14:57 +08:00
kekeimiku 0cee1877e3
refactor: move from io/ioutil to io and os package (#2592) 2021-09-29 10:33:57 +08:00
fatedier fe4e9b55f3 update github.com/pires/go-proxyproto to v0.5.0 2021-06-21 19:35:52 +08:00
fatedier fbaa5f866e
add e2e tests (#2334) 2021-03-31 16:57:39 +08:00
iikira 0a2384a283
fix XTCP error handling (#2273) 2021-03-03 20:54:46 +08:00
yuyulei 3621aad1c1
Reconstruct config (#2098)
* refactoring config

* Update by comments
2021-01-26 11:31:08 +08:00
fatedier 3fbdea0f6b
rename models to pkg (#2005) 2020-09-23 13:49:14 +08:00
fatedier c9fe23eb10
more e2e tests (#1845) 2020-09-07 14:57:23 +08:00
fatedier 8b75b8b837
fix by golint (#1822) 2020-05-24 17:48:37 +08:00
Tank d193519329
feat: Support user specify udp packet size in config (#1794) 2020-05-07 17:47:36 +08:00
Tank 4797136965
feat: support sudp proxy (#1730) 2020-04-22 21:37:45 +08:00
fatedier 1db091b381
tcp multiplexing over http connect tunnel 2020-03-05 21:47:49 +08:00
fatedier 4a4cf552af send closeProxy msg to server then client start proxy error, fix #1606 2020-02-04 19:41:39 +08:00
fatedier 42014eea23 improve xtcp, fix #1585 2020-01-03 11:39:44 +08:00
fatedier 91e46a2c53 support server plugin feature 2019-12-23 20:00:04 +08:00
fatedier 12cc53d699 update bandwidth_limit 2019-11-09 01:13:30 +08:00
fatedier 6da093a402 support bandwith limit for one proxy 2019-11-03 01:20:49 +08:00
fatedier 649f47c345 change log method 2019-10-12 20:13:12 +08:00
fatedier fdc6902a90 proxy protocol: fix detect method for IPV4 and IPV6 2019-08-26 11:13:33 +08:00
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.
2019-08-20 14:08:01 -07:00
fatedier 6a1f15b25e support proxy protocol in unix_domain_socket 2019-04-25 12:01:57 +08:00
fatedier b7a73d3469 support proxy protocol for type http 2019-04-10 10:51:01 +08:00
fatedier 9c4ec56491 support proxy protocol 2019-03-29 19:01:18 +08:00
fatedier e691a40260 improve the stability of xtcp 2019-03-11 15:53:58 +08:00
fatedier 3df27b9c04 xtcp: wrap yamux on kcp connections 2019-03-05 11:18:17 +08:00
fatedier 48990da22e go vet 2019-01-31 16:49:23 +08:00
fatedier 7c21906884 improve kcp shutdown 2018-12-11 15:17:36 +08:00
fatedier 35278ad17f mv folders 2018-12-09 22:06:22 +08:00