johnthecoderpro
0cfb14a18b
Fix geoip download bug
...
This is how sing-box tries to handle downloading geoip.db file
Senari 1
if the geoip.db file path exists then it tries to open the file and parse it. if file is empty or has invalid content it return error invalid MaxMind DB otherwise it parse the file successfully
Senari 2
if the geoip.db file path does not exist first it creates the geoip.db file but with empty content and then it tries to download the geoip.db file.if file downloaded successfully it copy the response to the to the geoip.db file but if download gets an error it return error and the geoip.db file remains with empty content and zero size so in the next run we have Senari 1 because the file path exists but we get an error because the file is empty.
Solution
so i change the order of create file to fix that problem
the file created only after the file successfully downloaded.
Signed-off-by: johnthecoderpro <149151524+johnthecoderpro@users.noreply.github.com>
2023-11-05 15:30:20 +08:00
世界
171e42887b
documentation: Bump version
v1.7.0-alpha.6
2023-11-05 13:01:55 +08:00
世界
5b9d1e2ae2
Migrate multiplex and UoT server to inbound &
...
Add tcp-brutal support for multiplex
2023-11-05 12:47:56 +08:00
世界
58c0759cdf
Add support for v2ray http upgrade transport
2023-11-04 08:05:06 +08:00
世界
e0fb6c6485
Add exclude route support for tun
2023-11-04 08:05:01 +08:00
世界
77ad6b0b7c
Add udp_disable_domain_unmapping inbound listen option
2023-11-04 08:04:40 +08:00
世界
b7df7a1882
Migrate to gobwas/ws
2023-11-04 08:04:40 +08:00
世界
2cef31d6e1
Update release script
2023-11-04 08:04:18 +08:00
世界
998cc7bd22
Add multicast filter for tun
2023-11-04 08:04:17 +08:00
世界
3efccaa8f5
Update dependencies
2023-10-31 18:24:58 +08:00
世界
d57b35ec30
documentation: Add privacy policy for android
2023-10-31 17:32:18 +08:00
世界
e82dab027d
documentation: Bump version
v1.6.0
2023-10-30 13:59:49 +08:00
世界
9350f3983b
docs: Remove obsolete fields
2023-10-30 13:59:49 +08:00
世界
53b123241f
android: Add build info tools for debug
2023-10-30 12:41:24 +08:00
世界
97286eea1e
Add TLS self sign generate command
2023-10-30 12:41:23 +08:00
世界
343e24969d
Add brutal debug option for Hysteria2
2023-10-30 12:41:23 +08:00
世界
31c294d998
Update BBR and Hysteria congestion control & Migrate legacy Hysteria protocol to library
2023-10-30 12:41:22 +08:00
世界
3b161ab30c
Fix netip.Prefix usage
2023-10-30 12:41:22 +08:00
septs
41fd1778a7
Improve HTTP headers option
2023-10-30 12:41:22 +08:00
septs
ac930cf1aa
Improve naive auth logical
2023-10-30 12:41:22 +08:00
世界
e143fc510d
Update gVisor to 20230814.0
2023-10-30 12:41:21 +08:00
世界
bea177a4cd
Improve linux bind interface
2023-10-30 12:41:21 +08:00
世界
aa05a4d050
Remove deprecated features
2023-10-30 12:41:21 +08:00
世界
a8112ff824
Update workflows
2023-10-30 12:40:52 +08:00
世界
a7710c3845
documentation: Bump version
v1.5.5
2023-10-30 10:42:42 +08:00
世界
cb2e15f8a7
Fix UDP domain NAT
2023-10-28 21:41:39 +08:00
世界
23aa8a0543
Add legacy builds for old Windows and macOS versions
2023-10-26 14:02:24 +08:00
世界
edf7d046eb
Fix outbound not found message
2023-10-26 14:02:19 +08:00
世界
de0b5cc1c2
Fix Linux IPv6 auto route rules
2023-10-26 12:02:00 +08:00
世界
2686e8afea
Fix TUIC server TLS config not started
2023-10-26 12:01:28 +08:00
世界
d9853ca2be
Update dependencies
2023-10-26 11:57:18 +08:00
世界
b617eb5adf
documentation: Bump version
v1.5.4
2023-10-23 14:09:09 +08:00
世界
ddf38799e2
makefile: Fix release command
2023-10-23 14:09:06 +08:00
世界
5291d43dc8
makefile: Add -allowProvisioningUpdates to Apple build commands
2023-10-21 17:51:00 +08:00
世界
a634830d85
Fix invalid address check in UoT conn
2023-10-21 17:23:30 +08:00
世界
e5d191ca73
Add retry for bbolt open
2023-10-14 19:24:05 +08:00
世界
2371f0fd51
Update dependencies
2023-10-14 17:36:35 +08:00
世界
cfdce7a96f
Fix bbolt panic on arm32
2023-10-14 17:36:13 +08:00
世界
dc8ac01dec
documentation: Bump version
v1.5.3
2023-10-11 12:05:31 +08:00
世界
5f18738b2b
Fix task cancel context
2023-10-11 12:05:27 +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
dyhkwong
e782d21806
Fix connect domain for IP outbound
2023-10-10 15:08:16 +08:00
世界
00155d61fc
documentation: Bump version
v1.5.2
2023-10-07 10:04:10 +08:00
世界
8f2273a2b4
documentation: Bump version
2023-10-06 17:10:53 +08:00
世界
0d0526afa2
Update dependencies
2023-10-06 17:10:31 +08:00
世界
ac2d07b61a
Fix UDP dialer network
2023-10-03 11:08:31 +08:00
世界
d35487f422
Fix ip_version does not take effect
2023-10-03 11:01:25 +08:00
世界
2749f4a013
documentation: Bump version
v1.5.1
2023-10-03 09:22:29 +08:00
世界
45c679648e
platform: Fix log server
2023-10-03 09:22:29 +08:00