Commit graph

261 commits

Author SHA1 Message Date
gVisor bot
4c38b2f0bf fix: sing-based listener panic 2023-05-12 09:14:27 +08:00
gVisor bot
5070a21626 fix: tuic server return error udp address 2023-05-11 22:45:27 +08:00
gVisor bot
82be6a68ad chore: decrease direct udp read memory used for no-windows platform 2023-05-11 13:47:51 +08:00
gVisor bot
d063d43aaa chore: better memory fetching time 2023-04-27 06:55:53 +00:00
gVisor bot
3cd2cd4795 chore: better parse remote dst 2023-04-27 02:32:25 +00:00
gVisor bot
d19543b259 fix: tracker remote addr check 2023-04-27 01:39:29 +00: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
443583a116 chore: close all connections after proxySet initial 2023-04-12 18:50:51 +08:00
gVisor bot
f371813210 chore: proxyDialer don't push flow to manager in statistic 2023-04-11 23:58:56 +08:00
gVisor bot
c4580858fb chore: Update dependencies 2023-04-09 15:40:17 +08:00
gVisor bot
8877cb432b chore: init gopsutil's Process direct from struct 2023-04-08 09:56:02 +08:00
gVisor bot
868497ac6b feat: core support memory chat 2023-04-08 00:55:25 +08:00
gVisor bot
6c5b8e7d75 feat: add memory status for snapshot 2023-04-07 23:53:46 +08:00
gVisor bot
f820889a89 Alpha (#490)
* feat: add memory status for snapshot

* feat: add memory status for snapshot
2023-04-07 22:55:01 +08:00
gVisor bot
193fa1b7c5 Fix: should always drop packet when handle UDP packet (#2659) 2023-04-06 09:38:59 +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
3001df622f chore: better uuid using 2023-03-15 10:10:03 +08:00
gVisor bot
b641024d1f chore: keep existing connections 2023-03-15 09:18:03 +08:00
gVisor bot
ab245c0476 chore: better TunnelStatus define 2023-03-15 00:11:31 +08:00
gVisor bot
931dd615e3 chore: disconnect when suspended 2023-03-14 22:57:43 +08:00
gVisor bot
ce14c86e4c chore: Chore: adjust the loading order, and then load the resource at last 2023-03-14 22:37:07 +08:00
gVisor bot
6a2ac83da1 fix: SA4001 for net.UDPAddr copy 2023-03-12 23:37:45 +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
c6ec5c683b chore: Generate UUID from fastrand 2023-03-05 11:00:14 +08:00
gVisor bot
b7c2ad2f74 chore: better REJECT process 2023-02-27 09:46:16 +08:00
gVisor bot
e45b8dc404 chore: add early conn interface to decrease unneeded write 2023-02-27 00:26:49 +08:00
gVisor bot
f6911e21ea fix: ensure peekMutex is locked before handleSocket 2023-02-26 11:18:01 +08:00
gVisor bot
5e4dd2ab01 fix: reject's dial warning 2023-02-26 11:11:54 +08:00
gVisor bot
6c6910b273 fix: peek not work with some inbound 2023-02-25 19:41:14 +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
aa9da5dcb0 chore: cleanup natTable's api 2023-02-18 13:16:07 +08:00
gVisor bot
e23763c71a feat: introduce a new robust approach to handle tproxy udp. (#389) 2023-02-17 16:31:15 +08:00
gVisor bot
100f193a6a fix: tun udp with 4in6 ip 2023-02-13 22:06:09 +08:00
gVisor bot
96800e65ee chore: better source address 2023-01-25 13:00:18 +08:00
gVisor bot
bc34532418 Fix: Remove EnableProcess from config.go and enable-process from config.yaml.
Fix: FindProcess is now enabled by default when the rule set contains process-name rules.
2023-01-20 16:29:08 +08:00
gVisor bot
c8ddce7acb fix: tcpTracker's upload 2023-01-17 21:36:16 +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
4a0413a33d fix #322: add option general.find-process-mode, user can turn off findProcess feature in router
findProcess slow down connection due to repeat call to FindProcessName in router environment
this option has 3 values: always, strict, off
- always, equal to enable-process: true. Just try to merge all process related option into one
- strict, as default value, behavior remains unchanged
- off, turn off findProcess, useful in router environment
2023-01-09 19:48:39 +08:00
gVisor bot
8c921d6f0a chore: add log 2022-12-05 19:48:54 +08:00
gVisor bot
75af900fc5 fix: correct C.Metadata 2022-12-04 22:08:20 +08:00
gVisor bot
3b1b077f80 chore: rebuild InboundListener 2022-12-04 21:53:13 +08:00
gVisor bot
e01cfc5627 chore: support skip the same config Listeners' Close and Listen 2022-12-04 17:20:24 +08:00
gVisor bot
1bcd6cac83 fix: close linstener 2022-12-04 15:15:23 +08:00
gVisor bot
9c9ff4dc5e chore: change C.PacketAdapter from a struct to an interface 2022-12-04 14:37:52 +08:00
gVisor bot
ae17141588 feat: add linsters 2022-12-04 13:37:14 +08:00
gVisor bot
c24bb51cc1 Merge branch 'dev' of https://github.com/Dreamacro/clash into Alpha 2022-11-28 20:04:56 +08:00
gVisor bot
4adfea87f7 chore: add retry in tunnel dial 2022-11-24 12:32:35 +08:00
gVisor bot
356c1ae5ce Fix: tunnel proxy match 2022-11-22 19:16:08 +08:00