226 Commits

Author SHA1 Message Date
staylightblow8
0516791805 Merge remote-tracking branch 'origin' 2023-04-09 20:11:20 +08:00
staylightblow8
6cb60c8b30 Update control.c 2023-02-12 08:46:56 +08:00
Dengfeng Liu
b6cf043a52 fix: fix bug of github issue https://github.com/liudf0716/xfrpc/issues/18
Signed-off-by: Dengfeng Liu <liudf0716@gmail.com>
2023-01-03 09:50:41 +00:00
Dengfeng Liu
1143cfda1b fix: when proxy service ip is wrong, while cause xfrpc exit
Signed-off-by: Dengfeng Liu <liudf0716@gmail.com>
2022-11-24 09:19:34 +00:00
Dengfeng Liu
17838cfc45 fix: xfrpc exit when wrong proxy configured
if configure wrong proxy, custom visiting proxy service will cause xfrpc exit

Signed-off-by: Dengfeng Liu <liudf0716@gmail.com>
2022-11-20 11:59:01 +00:00
Dengfeng Liu
3396100bc4 clean: clean unused function
Signed-off-by: Dengfeng Liu <liudf0716@gmail.com>
2022-11-14 08:42:17 +00:00
DengfengLiu
c53693be69 refactor: refactor tcp mux
Signed-off-by: DengfengLiu <liu_df@qq.com>
2022-11-13 11:09:36 +00:00
Dengfeng Liu
61d5243678 clean code of config
Signed-off-by: Dengfeng Liu <liudf0716@gmail.com>
2022-07-25 14:37:16 +08:00
Dengfeng Liu
690a6f4feb fix: interval ping process
Signed-off-by: Dengfeng Liu <liudf0716@gmail.com>
2022-06-08 11:09:34 +08:00
Dengfeng Liu
56e4020969 feat: heartbeat_timeout process
Signed-off-by: Dengfeng Liu <liudf0716@gmail.com>
2022-06-07 15:18:37 +08:00
Dengfeng Liu
e06a9a40a3 fix: parse proxy response error when remote_address is domain
Signed-off-by: Dengfeng Liu <liudf0716@gmail.com>
2022-06-07 14:20:27 +08:00
Dengfeng Liu
767d2859f9 feat: when xfrpc disconnected from frps, it should reconnect repeatly
Signed-off-by: Dengfeng Liu <liudf0716@gmail.com>
2022-06-07 10:08:38 +08:00
Dengfeng Liu
030a7b8784 fix: when reconnect frps should send proxy conf again
Signed-off-by: Dengfeng Liu <liudf0716@gmail.com>
2022-06-06 15:26:36 +08:00
Dengfeng Liu
d1e2f549a7 fix: fix the following bug
when xfrpc connected frps, then stop frps and start frps
the bug happen

Signed-off-by: Dengfeng Liu <liudf0716@gmail.com>
2022-06-05 17:26:20 +08:00
Dengfeng Liu
ca64905266 fix: process unhandle tcp mux header
Signed-off-by: Dengfeng Liu <liudf0716@gmail.com>
2022-05-31 17:21:08 +08:00
Dengfeng Liu
5d298156e4 refactor: refactor code
Signed-off-by: Dengfeng Liu <liudf0716@gmail.com>
2022-05-28 11:09:56 +08:00
Dengfeng Liu
675e47ef43 feat: add reconnect frps
Signed-off-by: Dengfeng Liu <liudf0716@gmail.com>
2022-05-27 08:37:05 +08:00
Dengfeng Liu
176e4006f6 format: format code and prepare release
Signed-off-by: Dengfeng Liu <liudf0716@gmail.com>
2022-05-26 21:11:52 +08:00
Dengfeng Liu
4ac16540b7 release: v1.05.552 release
support tcp mux

Signed-off-by: Dengfeng Liu <liudf0716@gmail.com>
2022-05-23 15:24:33 +08:00
Dengfeng Liu
ab4da37e72 feat: add tcp mux support
Signed-off-by: Dengfeng Liu <liudf0716@gmail.com>
2022-05-20 11:10:33 +08:00
Dengfeng Liu
6fb2e167d6 fix: clean all warning of code
Signed-off-by: Dengfeng Liu <liudf0716@gmail.com>
2022-05-10 10:12:10 +08:00
Dengfeng Liu
34ff461506 fix: when libevent get two packet together, should process the second packet
Signed-off-by: Dengfeng Liu <liudf0716@gmail.com>
2022-05-01 11:02:15 +08:00
Dengfeng Liu
8ac3ef77bf feat: add frps support
Signed-off-by: Dengfeng Liu <liudf0716@gmail.com>
2022-04-28 09:52:34 +08:00
Dengfeng Liu
ab46826072 Merge branch 'master' of https://github.com/liudf0716/xfrpc 2022-04-17 11:53:38 +00:00
Dengfeng Liu
73f88ee92d feat: support frps 0.41.0
Signed-off-by: Dengfeng Liu <liudf0716@gmail.com>
2022-04-15 10:31:53 +00:00
Dengfeng Liu
a52f59f629 feat: support frps 0.41.0
Signed-off-by: Dengfeng Liu <liudf0716@gmail.com>
2022-04-14 08:57:21 +00:00
Dengfeng Liu
848120d15b Update control.c 2022-04-14 16:23:31 +08:00
Dengfeng Liu
1fa59df3f5 fix: change to correct email address
Signed-off-by: Dengfeng Liu <liudf0716@gmail.com>
2022-04-10 04:13:59 +00:00
KerwinKoo
ce522f5675 using ftp_cfg_proxy_name field name instead of ftp_ctl_proxy_name 2017-08-18 14:53:36 +08:00
KerwinKoo
6bd859747a complate ftp remote data port auto match func 2017-08-17 16:41:37 +08:00
KerwinKoo
f28efdf2b1 add remote_data_port check from responsed message 2017-08-17 15:25:08 +08:00
KerwinKoo
a9a75c6554 fix npr_proxy_remote_port unmarshal bug 2017-08-17 14:37:51 +08:00
KerwinKoo
08b908273a remove unused semicolon 2017-08-17 11:14:37 +08:00
KerwinKoo
2e420e921c fix dns error bug 2017-07-25 16:25:46 +08:00
KerwinKoo
99972f257a delete DNS of server addr 2017-07-25 13:57:07 +08:00
KerwinKoo
984192c200 using right DNS server IP 2017-07-19 16:26:28 +08:00
KerwinKoo
5747426565 adjust code of control 2017-07-19 13:34:25 +08:00
KerwinKoo
0f78a61082 add dns servers static 2017-07-18 17:18:36 +08:00
KerwinKoo
fa852f0b7d fix domain name analyse error 2017-07-18 17:01:23 +08:00
KerwinKoo
ff9ecd1b48 add some debug 2017-07-18 16:22:22 +08:00
KerwinKoo
8866fc3a3a only using 114 dns server ip 2017-07-18 14:53:51 +08:00
KerwinKoo
9511680227 add get_net_ifname func in utils 2017-07-18 14:16:59 +08:00
KerwinKoo
acb79bcf1f don't using encrypt 2017-07-11 18:13:16 +08:00
KerwinKoo
75adc0a669 adjust source code 2017-07-11 18:08:31 +08:00
KerwinKoo
2ef0200276 adjust control.c 2017-07-11 17:27:32 +08:00
KerwinKoo
91d6129426 add domain support for ftp
close #4
close #5
2017-07-10 19:32:21 +08:00
KerwinKoo
d333533639 do never use request buffer 2017-07-10 18:28:25 +08:00
KerwinKoo
0e581ebf6f do ftp proxy 2017-07-07 17:49:15 +08:00
KerwinKoo
09b67f7dc6 set code style 2017-07-07 13:45:21 +08:00
KerwinKoo
a56d0d4d58 add try times when xfrps do connecting 2017-07-07 11:29:18 +08:00