Commit Graph

63 Commits

Author SHA1 Message Date
nadoo
6c88d8bde4 socks5: avoid untyped nil printing (fix #322) 2022-04-24 09:59:12 +08:00
nadoo
b0584be6cc chore: fix typo 2022-03-16 18:49:51 +08:00
nadoo
3740375569 chore: doc updates 2022-03-14 13:06:26 +08:00
nadoo
a98995e2cb proxy: nat fullcone support for tproxy, trojan, ss, socks5 (fix #253) 2022-03-11 19:08:07 +08:00
nadoo
c9c2ce995f proxy: delete session when dial failed 2022-03-06 13:09:37 +08:00
nadoo
2ad3498abd proxy: optimize timeout handling in udp copy 2022-02-26 22:32:11 +08:00
nadoo
cc63a59f1e proxy: support registerable usage info 2022-02-15 21:34:55 +08:00
nadoo
7e7c7553cc proxy: improve addr handling 2022-01-28 23:35:29 +08:00
nadoo
e12642b47a chore: small optimizations 2022-01-28 15:12:02 +08:00
nadoo
720f12aa0a socks5: support protocol chain with unix socket(#291) 2022-01-19 23:25:58 +08:00
nadoo
cf1a4e3817 proxy: added PackerServer interface 2022-01-16 23:15:18 +08:00
nadoo
1fd59a1677 chore: move some packages to pkg folder 2022-01-08 15:05:55 +08:00
nadoo
b502b129b7 proxy: exit glider when it fails to listen (#284) 2021-12-11 12:19:40 +08:00
nadoo
7486373821 proxy: support server mode of PROXY protocol v1 2021-08-04 19:13:22 +08:00
nadoo
32e1c37cfe socks5,ss: improve udp server 2021-07-31 21:49:58 +08:00
nadoo
ddfcaae49c ssh: reuse underlying connection (#251) 2021-04-20 15:28:52 +08:00
nadoo
93728c6378 socks5: fixed a bug in target getting 2021-03-19 15:57:16 +08:00
nadoo
fbf694f5cd socks5: fix an issue in udp handling with auth (#219) 2021-02-12 22:11:07 +08:00
mzz
d2268b623f
fix(socks5): should not dial returned bind addr directly (#212)
* fix(socks5): should not dial returned bind addr directly
When server returns an any ip (0.0.0.0 or [::0]), we should use conventional ip to replace the any ip given (0.0.0.0 or [::0]).
This behaviour adapts to most situations.

See v2fly/v2ray-core#523

* fix: splithostport
2021-02-07 11:04:58 +08:00
nadoo
2db84bb7aa chore: document works and code optimizations 2020-12-02 19:00:39 +08:00
nadoo
63112a1509 kcp: support set mode (#197) 2020-11-30 20:28:09 +08:00
nadoo
c9f3c20bc1 proxy: drop tcptun and udptun, use tcp and udp instead 2020-11-29 15:09:44 +08:00
nadoo
417ac556f7 pool: added bufio.Reader pool 2020-11-03 22:52:50 +08:00
nadoo
d510ea45b0 udp: remove uottun and optimize udp implementation 2020-10-15 00:19:05 +08:00
nadoo
175ef16a5c trojan: support listen as trojan server 2020-10-10 19:04:33 +08:00
nadoo
6d64ee4c0e dns: change cache to lrucache 2020-10-08 18:48:23 +08:00
nadoo
cd42337169 chore: update doc for info and restructure codes 2020-10-03 22:42:34 +08:00
nadoo
8b6739f12c vless: spport server mode 2020-10-03 20:51:27 +08:00
nadoo
edfca215c5 general: restructure package, move socks to proxy 2020-10-01 22:49:14 +08:00
nadoo
bd358e4ae6 proxy: move conn to proxy package 2020-10-01 22:38:34 +08:00
nadoo
89114e678b proxy: record failures of remote connection only 2020-09-14 20:56:37 +08:00
nadoo
167e6e5d29 general: several optimizations 2020-08-25 22:14:08 +08:00
nadoo
a118ec5837 general: optimize domain parts operations 2020-08-16 12:00:46 +08:00
nadoo
b99a730968 general: suport results feedback in more protocols 2020-05-01 20:54:23 +08:00
nadoo
c5881a6db3 general: update due to the previous interface change 2020-04-29 18:45:58 +08:00
nadoo
76fddcc29c dns: use pool buffer if possible 2020-04-22 19:37:10 +08:00
nadoo
bfcf9272dc trojan: added udp support 2020-04-12 15:27:20 +08:00
nadoo
2520a1c8b4 ss: handle unexpect situation to avoid panic #132 2020-04-11 21:08:10 +08:00
nadoo
9c3f2f600a socks5: fix #148 2020-04-04 18:00:31 +08:00
nadoo
ef8cdfa703 http: support auth in server mode. #84 2019-10-19 22:16:15 +08:00
nadoo
2560f6727f socks5: support auth in server mode. #84 2019-10-19 20:29:52 +08:00
nadoo
4cb9ea2bdc ss/socks5: fixed a bug in udp mode 2019-09-19 22:42:06 +08:00
nadoo
d6d706b5ee log: show proxy info in log, via PROXY 2019-09-18 22:08:48 +08:00
nadoo
edcb21236a proxy: add a new interface proxy to distinguish client and server 2019-09-18 19:40:14 +08:00
nadoo
063dc1bc01 proxy: added the ability to log forwarder 2019-09-18 12:53:04 +08:00
nadoo
d36b8fa394 general: optimize code 2019-09-07 20:25:00 +08:00
nadoo
a22b1d9c86 strategy: add checktimeout config. (#89) 2019-03-18 23:37:01 +08:00
nadoo
2e44d79db8 reject: add a virtual proxy reject 2019-03-07 23:34:29 +08:00
nadoo
5a43cf873e ipset: only allow to set ipset in rule files #69 2018-11-27 23:25:20 +08:00
nadoo
d37c2e2a35 server: changed interface definition and implementation 2018-11-25 13:18:15 +08:00