gVisor bot
82be6a68ad
chore: decrease direct udp read memory used for no-windows platform
2023-05-11 13:47:51 +08:00
gVisor bot
6e539f4b0d
chore: drop bufio.Reader in BufferedConn to let gc can clean up its internal buf
2023-05-11 11:30:20 +08:00
gVisor bot
50fef8e201
fix: sing inbound should check needAdditionReadDeadline on udp too
2023-05-10 16:03:28 +08:00
gVisor bot
2bc88b1741
chore: support splice for direct outbound
2023-04-25 23:01:05 +08:00
gVisor bot
190014aa1d
chore: using sync/atomic replace uber/atomic
2023-04-22 15:37:57 +08:00
gVisor bot
7867b7ea2d
chore: using new chan based deadline reader
2023-04-17 19:29:07 +08:00
gVisor bot
0e2f5e4436
fix: ensure StreamWebsocketConn call N.NewDeadlineConn
2023-04-17 00:23:12 +08:00
gVisor bot
da1b748348
fix: Converter panic on bad VMess share links
2023-04-12 14:40:38 +08:00
gVisor bot
c305ea2b7a
chore: Add read deadline implementation
2023-04-09 22:58:05 +08:00
gVisor bot
c4580858fb
chore: Update dependencies
2023-04-09 15:40:17 +08:00
gVisor bot
ae5fafa885
chore: make all net.Conn wrapper can pass through N.ExtendedConn
2023-04-02 22:24:46 +08:00
gVisor bot
3980899f3b
fix: firstWriteCallBackConn can pass N.ExtendedConn too
2023-04-01 20:56:49 +08:00
gVisor bot
96461ab557
feat: nameserver-policy
support use rule-providers and reduce domain-set memory
2023-04-01 11:53:39 +08:00
gVisor bot
583a568d57
fix: Converter REALITY security type
2023-03-26 11:03:32 +08:00
gVisor bot
7c155c7d3f
feat: Converter support REALITY share standard
2023-03-19 17:31:52 +08:00
gVisor bot
3001df622f
chore: better uuid using
2023-03-15 10:10:03 +08:00
gVisor bot
dea929bdae
fix: let quic-go works on outbound's packetConn
2023-03-15 09:56:00 +08:00
gVisor bot
e5eab112d0
feta: add hosts support domain and mulitple ip ( #439 )
...
* feat: host support domain and multiple ips
* chore: append local address via `clash`
* chore: update hosts demo
* chore: unified parse mixed string and array
* fix: flatten cname
* chore: adjust logic
* chore: reuse code
* chore: use cname in tunnel
* chore: try use domain mapping when normal dns
* chore: format code
2023-03-12 15:00:59 +08:00
gVisor bot
d0a530088b
chore: Cleanup REALITY code
2023-03-11 12:23:27 +08:00
gVisor bot
48f50b722c
chore: parse the allowInsecure field for the trojan uri scheme
2023-03-09 01:31:43 +08:00
gVisor bot
a5cf2ce0df
chore: use fastrand to replace math/rand
2023-03-06 18:10:14 +08:00
gVisor bot
c6ec5c683b
chore: Generate UUID from fastrand
2023-03-05 11:00:14 +08:00
gVisor bot
e45b8dc404
chore: add early conn interface to decrease unneeded write
2023-02-27 00:26:49 +08:00
gVisor bot
6c6910b273
fix: peek not work with some inbound
2023-02-25 19:41:14 +08:00
gVisor bot
aaf1ce67d1
feat: Support VLESS XTLS Vision ( #406 )
2023-02-25 14:01:59 +08:00
gVisor bot
a132fe585b
chore: use early conn to support real ws 0-rtt
2023-02-24 09:54:54 +08:00
gVisor bot
22d25db573
style: run go fmt on every .go file ( #392 )
2023-02-17 16:31:37 +08:00
gVisor bot
8b3df01cc4
feat: Converter support uTLS fingerprint field
2023-02-11 16:40:01 +08:00
gVisor bot
d9d2ea41c0
fix: Converter Shadowsocks password parse
2023-02-04 16:58:17 +08:00
gVisor bot
d1e9ba43fc
feat: Converter support WS early data parameters
2023-01-27 11:31:58 +08:00
gVisor bot
9c3be97d47
make ConvertsV2Ray more robust ( #349 )
...
* make ConvertsV2Ray more robust
* add log
* fix
2023-01-24 16:34:52 +08:00
gVisor bot
1a902df48b
chore: new Random TLS KeyPair when empty input
2023-01-18 12:06:36 +08:00
gVisor bot
5fd6a3f18f
fix: add Upstream to refconn
2023-01-16 13:26:30 +08:00
gVisor bot
4135e6978a
fix: add ReaderReplaceable to BufferedConn, avoid buffered data lost
2023-01-16 12:28:30 +08:00
gVisor bot
d926d6106f
chore: code cleanup
2023-01-16 12:11:34 +08:00
gVisor bot
73f1fcb324
adjust: Improve WebSocket mask
2023-01-16 11:42:10 +08:00
gVisor bot
58ee2ae7f5
chore: decrease direct depend on the sing package
2023-01-16 10:50:31 +08:00
gVisor bot
7df6e79cf0
refactor: Implement extended IO
2023-01-16 09:42:03 +08:00
gVisor bot
7d6ccebef7
fix: ss converter cipher missing
2023-01-14 21:37:10 +08:00
gVisor bot
927c533762
chore: ss2022 converter method verify
2023-01-10 21:55:36 +08:00
gVisor bot
6f9fa6bda1
fix: Converter VMess XUDP not enabled by default when using v2rayN style share link
2023-01-10 20:47:58 +08:00
gVisor bot
1c825d4772
chore: Refine converter packet encoding parse
2023-01-10 18:25:05 +08:00
gVisor bot
d6fd539d32
fix: ss2022 converter password decode error
2023-01-10 18:13:18 +08:00
gVisor bot
ee5ebdadef
chore: vemss converter xudp is true by default
2023-01-10 18:10:21 +08:00
gVisor bot
7bd6c1c874
chore: Fix fmt in #321
...
Replace all double spaces to tabs due to Go fmt proposal.
2023-01-07 12:24:28 +08:00
gVisor bot
2ace05e723
fix converter error
2023-01-03 22:33:29 +08:00
gVisor bot
ec0136af1b
chore: rebuild relay
2022-12-19 21:34:07 +08:00
gVisor bot
f80cc6f384
chore: better structure decoder
2022-12-13 21:13:31 +08:00
gVisor bot
50550d3997
chore: wireguard's reserved support base64 input
2022-12-13 20:40:07 +08:00
gVisor bot
b764d344fe
chore: listeners support tuic
2022-12-04 23:05:13 +08:00
gVisor bot
3b1b077f80
chore: rebuild InboundListener
2022-12-04 21:53:13 +08:00
gVisor bot
f459018eae
refactor: adjust config
2022-12-03 14:14:15 +08:00
gVisor bot
3ed496ac65
fix: remove cyclic dependent to make tuic's Finalizer work
2022-12-02 16:56:17 +08:00
gVisor bot
b646df14c2
fix: structure decode first do strict match
2022-11-28 19:11:55 +08:00
gVisor bot
4171855c77
chore: support KeyReplacer in Structure Decoder
2022-11-27 13:44:38 +08:00
gVisor bot
722e8a6c27
Merge branch 'dev' of https://github.com/Dreamacro/clash into Alpha
2022-11-12 20:43:48 +08:00
gVisor bot
44d2434e16
feat: Converter Shadowsocks UoT support
2022-11-05 06:41:07 +00:00
gVisor bot
84e17dcfd6
fix: hysteria converter
2022-10-27 18:37:27 +08:00
gVisor bot
afd5e48adc
chore: use sing-tun to replace old tun_adapter
2022-10-06 19:23:38 +08:00
gVisor bot
424dc76ba2
feat: Converter support packet encodings for VMess
2022-10-02 21:10:29 +08:00
gVisor bot
125733ea70
chore: remove buffer for relay
2022-10-02 20:28:31 +08:00
gVisor bot
b51fb5bb72
feat: Converter VMessAEAD share link standard support
2022-08-19 22:00:22 +08:00
gVisor bot
078c37f1a9
fix: Converter VMess security field typo
2022-08-19 21:17:44 +08:00
gVisor bot
cfebdf04a2
chore: Clean converter code and add doc
2022-08-19 19:46:50 +08:00
gVisor bot
08f414e9c7
Chore: remove old cache implementation
2022-08-17 11:43:20 +08:00
gVisor bot
95b5ae4490
fix: Converter error when VMess aid
field not exists
2022-08-07 20:43:11 +08:00
gVisor bot
27b5ecf3ab
fix: skip-cert-verify not work
2022-07-11 12:37:27 +08:00
gVisor bot
71322e1f18
feat: Prepare to specify the fingerprint function
2022-07-10 21:56:33 +08:00
gVisor bot
91e1649822
feat: add fingerprint for tls verify
2022-07-10 20:44:24 +08:00
gVisor bot
4fbcd740e1
fix: Converter for password of ss2022
...
fix: Converter for password of ss2022
fixup! fix: Converter for password of ss2022 and ws
fix: Converter for password of ss2022 and ws
2022-06-23 00:54:58 +08:00
gVisor bot
71a8c5abab
fix: Converter for vless/vmess/ss URI Scheme
2022-06-21 00:28:33 +08:00
gVisor bot
829e51b41b
chore: hy URI Scheme 解析
2022-06-15 23:18:06 +08:00
gVisor bot
62d7afd4af
Update util.go
2022-06-15 08:44:16 +08:00
gVisor bot
01cea757df
fix: ss/ssr URI Scheme 解析问题
2022-06-15 03:03:26 +08:00
gVisor bot
62406e6d71
Chore: adjust Relay copy memory alloc logic
2022-06-11 20:38:16 +08:00
gVisor bot
0bd925db78
fix: Vmess URI Scheme 解析问题
2022-06-10 03:15:30 +08:00
gVisor bot
a233980a8f
chore: make linter happy
2022-06-09 17:57:53 +08:00
gVisor bot
a7006f17e8
fix: hysteria URI Scheme 解析问题
2022-06-09 00:22:47 +08:00
gVisor bot
eb30c21e4a
feat: 代理集支持 Hysteria 分享格式订阅解析
2022-06-08 01:50:14 +08:00
gVisor bot
2d16e6d021
chore: refine code
2022-06-08 01:47:50 +08:00
gVisor bot
6f1a3e4d26
fix: 代理集转换ws类型
...
feat: 新增grpc h2 http 等支持
2022-06-07 03:17:33 +08:00
gVisor bot
aa76324ac6
feat: add support for shadowsocks 2022 ciphers
2022-06-06 19:56:36 +08:00
gVisor bot
8479c2fd4c
Feature: add V2Ray subscription support to proxy provider
2022-06-05 15:59:47 +08:00
gVisor bot
5953a4cfb5
refactor: 抽离http请求方法
2022-06-04 19:14:39 +08:00
gVisor bot
9b365f6c05
Chore: make linter happy
2022-05-17 19:58:33 +08:00
gVisor bot
5fd025cbe3
fix: uuid-map return failed error
2022-05-14 23:45:10 +08:00
gVisor bot
c4d41345df
fixed: make log api unblocked
2022-05-09 18:54:00 +08:00
gVisor bot
e16bc3fa53
fix: remove misjudgment
2022-05-07 12:53:13 +08:00
gVisor bot
c743e82a00
refactor: reuse uuid namespace
2022-05-07 12:35:14 +08:00
gVisor bot
1eefd46eb5
Fix: decode nil value in slice decoder ( #2102 )
2022-05-07 11:00:58 +08:00
gVisor bot
00c19b859e
refactor: string map to uuidv5
2022-05-06 14:02:34 +08:00
gVisor bot
d1e6239372
chore: the uuid-map is transferred to the protocol
2022-05-06 13:28:09 +08:00
gVisor bot
746e1382b5
chore: Adjust the tcp-concurrent and sniffer log
2022-04-27 15:22:42 +08:00
gVisor bot
4aaa9f8ca8
Fix: http proxy Upgrade behavior ( #2097 )
2022-04-27 12:38:31 +08:00
gVisor bot
eaca213ea7
Fix: http proxy Upgrade behavior ( #2097 )
2022-04-25 19:50:20 +08:00
gVisor bot
ad67a1c34c
Chore: use generics as possible
2022-04-25 13:18:30 +08:00
gVisor bot
03a014957f
feat: add sniffer port whitelist, when empty will add all ports
2022-04-21 07:06:08 -07:00
gVisor bot
915f40e71b
Chore: IpToAddr
2022-04-20 22:09:16 +08:00
gVisor bot
06b780f5cc
Refactor: queue use generics
2022-04-12 18:44:13 +08:00
gVisor bot
58c7157f71
Refactor: cache use generics
2022-04-12 18:44:10 +08:00