Commit graph

1384 commits

Author SHA1 Message Date
世界 425a63f59d
Fix rawConn not closed for hy/hy2 2024-02-02 14:30:27 +08:00
世界 b85725c009
urltest: Remember the last choice when there is no valid result 2024-02-02 11:27:36 +08:00
世界 17aebc56c1
Fix UDP DNS response not truncated 2024-02-01 14:43:59 +08:00
Devman f76b21b02c
Fix mobile build on windows
gobind executable name is not exactly `gobind` on windows it's `gobind.exe`

Signed-off-by: Devman <85770917+amir-devman@users.noreply.github.com>
2024-02-01 12:07:39 +08:00
kkocdko 704545a2ec
Fix rule description header of domain_suffix
I read other rule_item_xxx.go files, they are all snake case. This description is showed on dashboard like yacd.

Signed-off-by: kkocdko <31189892+kkocdko@users.noreply.github.com>
2024-02-01 10:42:12 +08:00
dyhkwong dc7b7afc06
Fix loop back detector 2024-02-01 10:41:38 +08:00
世界 e478d3c2dc
Update workflow 2024-01-24 12:21:18 +08:00
世界 c8318058bb
documentation: Bump version 2024-01-23 11:57:28 +08:00
世界 abca2118e7
documentation: Update geosite usage 2024-01-23 11:57:28 +08:00
世界 a8ee41715a
platform: Add service error wrapper for macOS system extension 2024-01-22 19:00:09 +08:00
世界 94f76d6671
Update dependencies 2024-01-22 14:37:21 +08:00
世界 bf6cc8903c
Fix missing write result in TFO open 2024-01-19 11:22:13 +08:00
世界 1b15e1692a
Add sponsor button 2024-01-19 11:22:13 +08:00
世界 017372db25
Fix missing loopback detect 2024-01-19 11:22:12 +08:00
世界 216a0380fe
documentation: Bump version 2024-01-16 05:50:07 +08:00
Noob Zhang 71b9e4ff17
Add network-online.target in .service files
This helps the daemon work better on IoT devices
like RaspberryPi.
According to systemd's documentation,
`network.target` means there has already been
a network manager started, but the network may
not be "up". On most PCs this does not matter
because the network will turn to "up" almost
immidiately. The IoT devices' network interface
may not be set up quickly enough, so they may
meet that the sing-box daemon is started before
network is ready, which results that sing-box
cannot find a working route. The workaround
of this is restarting sing-box daemon but it
absolutely is not the perfect solution.
As `network-online.target` must be triggered by
network manager after you configured it, I keep
`network.target` so there will be no change to
those who do not enabled proper trigger service
like `NetworkManager-wait-online.service`.

See also: https://systemd.io/NETWORK_ONLINE/
2024-01-16 05:50:07 +08:00
printfer 9b7deb5246
Enhanced light/dark mode support in mkdocs configuration 2024-01-16 05:50:07 +08:00
世界 a850a73e1a
Fix missing upstream func for read wait conn 2024-01-16 05:50:07 +08:00
世界 c4d9be9e0d
Fix rule match 2024-01-14 13:01:57 +08:00
世界 f31c604b3d
documentation: Bump version 2024-01-09 12:22:22 +08:00
世界 4c8a50a52b
Fix TLS conn cast for vision 2024-01-09 12:22:22 +08:00
世界 b326e60998
Update dependencies 2024-01-09 12:22:22 +08:00
世界 11bec79a06
documentation: Bump version 2024-01-05 11:17:49 +08:00
世界 16eff06c37
documentation: remove usages of category-companies@cn since merged into cn 2024-01-03 12:21:53 +08:00
世界 2911eba236
documentation: Update package managers 2024-01-03 12:21:48 +08:00
世界 2e607118c3
Remove unnecessary context wrappers 2024-01-03 12:21:48 +08:00
世界 89c723e3e4
Improve read wait interface &
Refactor Authenticator interface to struct &
Update smux &
Update gVisor to 20231204.0 &
Update quic-go to v0.40.1 &
Update wireguard-go &
Add GSO support for TUN/WireGuard &
Fix router pre-start &
Fix bind forwarder to interface for systems stack
2024-01-03 12:21:47 +08:00
世界 35fd9de3ff
Make generated files have SUDO_USER's permissions if possible. 2024-01-03 12:21:47 +08:00
世界 6ddcd3954d
Refactor inbound/outbound options struct 2024-01-03 12:21:47 +08:00
世界 36b0f2e91a
Improve configuration merge 2024-01-03 12:21:47 +08:00
世界 fe053e26b5
Update uTLS to 1.5.4 2024-01-03 12:21:47 +08:00
世界 269434cfe6
Update tfo-go 2024-01-03 12:21:47 +08:00
世界 88495a24dc
Update gomobile and add tag 2024-01-03 12:21:46 +08:00
世界 d131a7c10a
Update cloudflare-tls to go1.21.5 2024-01-03 12:21:46 +08:00
世界 744a5d703b
Make type check strict 2024-01-03 12:21:46 +08:00
世界 09421b6378
Remove comparable limit for Listable 2024-01-03 12:21:46 +08:00
世界 21283b554a
Avoid opening log output before start &
Replace tracing logs with task monitor
2024-01-03 12:21:46 +08:00
世界 25810b50c1
Update documentation 2024-01-03 12:21:37 +08:00
世界 f1e3a59db3
Add idle_timeout for URLTest outbound 2024-01-03 12:21:37 +08:00
世界 a99deb2cb5
Skip internal fake-ip queries 2024-01-03 12:21:37 +08:00
世界 38d28e0763
Migrate contentjson and badjson to library &
Add omitempty in format
2024-01-03 12:21:37 +08:00
世界 e09a94bb9e
Update documentation 2024-01-03 12:21:36 +08:00
世界 a21c5324fd
Independent source_ip_is_private and ip_is_private rules 2024-01-03 12:21:36 +08:00
世界 4b43acfec0
Add rule-set 2024-01-03 12:21:36 +08:00
世界 7df151e820
Update buffer usage 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
世界 e3f8567690
documentation: Bump version 2024-01-02 14:31:53 +08:00
世界 40c7f3e170
Fix geoip close 2024-01-02 14:31:23 +08:00
世界 c506255e0f
Fix grpc lite transport encoding 2024-01-01 16:16:58 +08:00