Commit graph

1519 commits

Author SHA1 Message Date
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
世界 87c6fd4c0f
Fix h2mux request context 2024-01-01 16:15:49 +08:00
世界 19c445d28e
documentation: Bump version 2023-12-29 18:00:40 +08:00
世界 9119a5209b
dcoumentation: Fix description of cipher_suites 2023-12-29 18:00:40 +08:00
世界 46c8d6e61f
Fix pprof URL path 2023-12-29 18:00:40 +08:00
世界 ea17c2786d
Update dependencies 2023-12-27 10:37:18 +08:00
世界 12ababd911
Fix mux test 2023-12-27 10:30:19 +08:00
世界 0523845833
Update issue reporting templates
Enhanced the issue reporting templates for both English and Chinese versions by adding more structured and comprehensive guideline checkboxes. This aims to ensure contributors provide sufficient and beneficial information for reproducing and resolving issues, thereby improving the quality of reports and making issue tracking more efficient.
2023-12-26 19:05:19 +08:00
renovate[bot] 57794919fa
[dependencies] Update actions/upload-artifact action to v4 2023-12-26 19:04:51 +08:00
世界 f5bb5cf343
Fix missing marshal for udp_timeout 2023-12-26 10:52:46 +08:00
世界 3eed614dea
Fix ACME ALPN conflict 2023-12-26 09:02:58 +08:00
世界 76a295a660
Fix missing nil check for URLTest 2023-12-26 09:02:58 +08:00
世界 082e3fb8df
Fix V2Ray transport path validation behavior 2023-12-26 09:02:58 +08:00
世界 a0cab4f563
Fix websocket client initialize 2023-12-22 20:38:06 +08:00
世界 aeb7308e81
documentation: Bump version 2023-12-21 15:25:19 +08:00
世界 bb1ebfda83
documentation: Fix link format 2023-12-21 15:24:05 +08:00