Commit graph

181 commits

Author SHA1 Message Date
hiddify f8c400cffc
platform: Remove duplicated close 2024-02-24 13:20:43 +08:00
世界 5583e01c99
platform: Export NeedWIFIState for Android 2024-02-18 14:24:21 +08:00
世界 e6885e9967
platform: Ignore momentary pause on iOS 2024-02-09 13:57:47 +08:00
世界 8760a0d94d
Fix android interface monitor 2024-02-02 17:51:40 +08:00
世界 a8ee41715a
platform: Add service error wrapper for macOS system extension 2024-01-22 19:00:09 +08:00
世界 2e607118c3
Remove unnecessary context wrappers 2024-01-03 12:21:48 +08:00
世界 36b0f2e91a
Improve configuration merge 2024-01-03 12:21:47 +08:00
世界 38d28e0763
Migrate contentjson and badjson to library &
Add omitempty in format
2024-01-03 12:21:37 +08:00
世界 4b43acfec0
Add rule-set 2024-01-03 12:21:36 +08:00
世界 5948ffb965
Allow nested logical rules 2024-01-03 12:21:36 +08:00
世界 bf4e556f67
Migrate to independent cache file 2024-01-03 12:21:36 +08:00
世界 2badcec765
platform: Fix check config 2023-12-12 20:26:41 +08:00
世界 a1044af579
platform: Fix VPN route 2023-12-11 21:59:59 +08:00
世界 5269231df0
Fix URLTest outbound 2023-12-02 17:55:58 +08:00
世界 253976d6c0
Add wifi_ssid and wifi_bssid route and DNS rules 2023-11-28 11:21:44 +08:00
世界 2a45c178fa
Add exclude route support for tun &
Update gVisor to 20231113.0
2023-11-28 11:21:43 +08:00
世界 4d23773a25
Migrate to gobwas/ws 2023-11-28 11:21:43 +08:00
世界 03663a5093
Fix cachefile permission 2023-11-24 20:58:48 +08:00
世界 0f8ad0234b
Remove unused code 2023-11-24 19:55:53 +08:00
guangwu 005d6cf4cf
chore: unnecessary use of fmt.Sprintf 2023-11-16 01:10:52 +08:00
世界 1825869124
platform: Refactor log interface 2023-11-15 14:10:37 +08:00
世界 3ef9b1b343
Update protobuf generated binary 2023-11-10 10:56:25 +08:00
世界 63b8e8ed23
platform: Increase HTTP timeout to 15s 2023-11-09 16:55:47 +08:00
世界 0a06ccae50
platform: Fix legacy code 2023-11-07 22:14:23 +08:00
世界 53b123241f
android: Add build info tools for debug 2023-10-30 12:41:24 +08:00
世界 e143fc510d
Update gVisor to 20230814.0 2023-10-30 12:41:21 +08:00
世界 e5d191ca73
Add retry for bbolt open 2023-10-14 19:24:05 +08:00
世界 7b4e4ca2d0
Fix compatibility with Android 14 2023-10-10 15:09:49 +08:00
世界 01ba4668b6
platform: Also reset connections on wake 2023-10-10 15:08:18 +08:00
世界 45c679648e
platform: Fix log server 2023-10-03 09:22:29 +08:00
世界 6e84b694a4
Minor fixes 2023-09-22 12:07:39 +08:00
世界 12dd1ac87f
Improve conntrack 2023-09-20 14:15:00 +08:00
世界 c84c18f960
platform: Fix crash on android 2023-09-07 21:34:35 +08:00
世界 b9310154a7
clash-api: Move default mode to first 2023-09-07 21:34:35 +08:00
世界 55c34e3fb0
platform: Improve client 2023-09-07 21:34:35 +08:00
世界 43f72a6419
Add store_mode and platform Clash mode selector 2023-08-25 20:21:14 +08:00
世界 53a0bf2d11
minor: Remove unused parameter 2023-08-20 13:32:07 +08:00
世界 9f94b21687
platform: Add group expand status 2023-08-20 13:31:55 +08:00
世界 81b847faca
Pause recurring tasks when no network 2023-08-20 13:31:48 +08:00
世界 1363e16312
platform: Enable Clash API support by default 2023-08-20 13:31:29 +08:00
世界 f43d0141f3
Save fakeip metadata immediately 2023-08-20 13:31:27 +08:00
世界 90b3aad83a
Fix network monitor 2023-08-20 13:30:50 +08:00
世界 59987747e5
platform: Improve status 2023-08-04 21:10:32 +08:00
世界 1983f54907
platform: Add sleep support for NetworkExtension 2023-08-04 12:38:51 +08:00
世界 ff14220e08
platform: Update profile binary format 2023-07-30 20:55:27 +08:00
世界 b054441f34
platform: Add support for tvOS 2023-07-29 21:01:43 +08:00
世界 1e31d26e03
documentation: Update installation 2023-07-29 21:01:43 +08:00
世界 9532d0cba4
Fix cache file 2023-07-24 16:51:03 +08:00
世界 cadc34f3ad
Add support for macOS system extension 2023-07-24 16:51:03 +08:00
世界 e0058ca9c5
Fix fakeip unsaved state 2023-07-20 19:59:04 +08:00
世界 98bf696d01
Fix cache file 2023-07-20 19:41:22 +08:00
世界 6e6998dab7
Improve platform status 2023-07-16 14:08:45 +08:00
世界 69b5dbdcc3
Build memory limiter for android 2023-07-15 14:46:06 +08:00
世界 120dae4eed
Fix fakeip lookup 2023-07-11 15:44:02 +08:00
世界 9d75385bbb
Fix async FakeIP save 2023-07-08 16:21:11 +08:00
世界 9c8565cf21
platform: Add group interface 2023-07-02 18:46:41 +08:00
世界 b2092fafb7
Fix ios build
Cannot use errno as method and variable due to conflict with objc
2023-06-19 14:11:40 +08:00
世界 702d96a738
platform: Improve local DNS transport 2023-06-18 10:00:32 +08:00
世界 3741394269
Add cache_id option for Clash cache file 2023-06-07 21:03:06 +08:00
世界 01dfba722a
Use API to create windows firewall rule 2023-06-07 21:01:29 +08:00
世界 c287731df9
Improve direct copy 2023-06-07 20:53:00 +08:00
世界 daee0db7bb
clash-api: Reset outbounds in DELETE /connections 2023-06-07 20:45:39 +08:00
世界 98c2c439aa
Add filemanager api 2023-06-07 20:45:25 +08:00
世界 9d32fc9bd1
Use HTTPS URLTest source 2023-06-07 20:33:50 +08:00
世界 542612129d
clash-api: Add Clash.Meta APIs 2023-06-07 20:33:41 +08:00
世界 750f87bb0a
clash api: download clash-dashboard if external-ui directory is empty 2023-06-07 20:33:06 +08:00
世界 9bca5a517f
Add fakeip support 2023-06-07 20:31:26 +08:00
XYenon a0d8e374fb
Fix incorrect use of sort.Slice 2023-05-19 15:40:48 +08:00
世界 3a92bf993d
platform: Add UsePlatformAutoDetectInterfaceControl 2023-04-21 17:47:17 +08:00
世界 b498a22972
Fix interface monitor for android 2023-04-19 21:42:40 +08:00
世界 ec8974673b
Fix platform interface monitor & Fix system tun stack for ios 2023-04-19 21:40:03 +08:00
世界 f7f9a7ae20
Fix write log to stderr 2023-04-14 20:55:57 +08:00
世界 8699412a4c
platform: Add stderr redirect 2023-04-14 20:55:45 +08:00
世界 50a7295360
Replace usages of uber/atomic 2023-04-14 20:55:05 +08:00
世界 5bf177b021
platform: Fix build on windows 2023-04-07 21:10:16 +08:00
世界 8b64446274
platform: Fixes and improvements 2023-04-05 19:54:20 +08:00
世界 28aa4c4d1f
Refactor log factory constructor 2023-04-03 20:24:13 +08:00
世界 0be3cdc8fb
platform: Add http client 2023-04-03 15:12:44 +08:00
世界 c3d7401ead
platform: Add check config func 2023-04-02 10:35:03 +08:00
世界 e5f3bb6344
Add command to connect an address 2023-03-18 20:27:38 +08:00
世界 a3a5185b15
platform: Fix bytes format 2023-03-16 11:28:54 +08:00
世界 cc9cb0b477
platform: Add oom killer 2023-03-16 11:28:54 +08:00
世界 5a4e8fea81
Fix lint 2023-03-15 14:56:06 +08:00
世界 c77681ea17
Fix close platform tun 2023-03-13 19:47:00 +08:00
世界 a2d43b3746
Fix open cache file 2023-03-05 14:57:50 +08:00
世界 dd0a07624e
Add stop platform command 2023-03-04 00:40:47 +08:00
世界 b9b2b77814
Add reload platform command 2023-03-03 21:59:54 +08:00
世界 27aba99e6c
Fix command client connect 2023-03-02 16:40:28 +08:00
世界 8151bcfd6b
Add ios memory limit 2023-03-02 15:04:59 +08:00
世界 5af8d001ae
Refactor platform command api 2023-03-01 19:09:21 +08:00
世界 7834d6bca7
Add tun platform options 2023-02-28 19:02:27 +08:00
世界 842730707c
Update TUN creation 2023-02-26 20:55:15 +08:00
世界 140ed9a4cb
Fix platform wrapper 2023-02-24 13:00:49 +08:00
世界 222196b182
Add libbox wrapper 2023-02-20 11:07:49 +08:00
世界 39514b3ca0
Add v2ray user stats api 2023-02-08 16:50:15 +08:00
世界 41ec2e7944
Add support for clash DNS query API 2023-02-08 14:13:33 +08:00
世界 d0095fd0f4
Fix close clash cache 2022-12-03 13:29:37 +08:00
世界 7c910165ef
Cleanup code 2022-11-24 12:37:29 +08:00
世界 22f06f582b
Fix v2ray api 2022-10-26 20:06:13 +08:00
世界 29d08e63b5
Fix clash tracker 2022-10-01 11:29:46 +08:00