Commit Graph

2478 Commits

Author SHA1 Message Date
gVisor bot
a1daf6ae35 feat: support users to customize download ua 2023-09-07 18:44:58 +08:00
gVisor bot
cb5ab95eaa fix: ntp service panic 2023-09-04 18:35:06 +08:00
gVisor bot
e7264d7a78 chore: TCPKeepAlive interval set to 15s by default 2023-09-03 20:42:54 +08:00
gVisor bot
e3e700ce03 chore: ntp service dep with sing, optional synchronize system time 2023-09-03 17:49:56 +08:00
gVisor bot
9b3673c7e9 chore: Use xsync provided map size calculation 2023-09-02 20:17:43 +08:00
gVisor bot
d0d576bdee chore: using xsync.MapOf replace sync.Map 2023-09-02 16:54:48 +08:00
gVisor bot
aab21720b5 feat: configurable TCPKeepAlive interval 2023-09-02 16:45:16 +08:00
gVisor bot
8463db4f4e chore: cleanup codes 2023-09-02 14:12:53 +08:00
gVisor bot
9bd834b34a refactor: Decouple .Cleanup from ReCreateTun
The listener.Cleanup method will be called during
executor.Shutdown and route.restart, so it should serve
all kinds of listeners rather than a single tun device.

Currently listener.ReCreateTun will call it to handle
some internal affairs, This should be decoupled.

In this way, the cleanup tasks for data outside the
process life cycle that other listeners will add here
in the future will not be accidentally triggered
by configuring tun.
2023-09-02 14:12:53 +08:00
gVisor bot
76ea420764 fix: RESTful api missing TunConf.device
In commit 54fee7b, due to failure to take into account that
not all required parameters of `sing_tun.server.New` have
default values provided by `LC.Tun`, the name of the tun device
cannot be obtained when `TunConf.device` is not explicitly
configured. This commit fixed the issue.
2023-09-02 14:12:53 +08:00
gVisor bot
5ab97f2b25 fix: ntp service panic 2023-09-02 12:37:43 +08:00
gVisor bot
6ffd4a7de1 feat: ntp service 2023-09-02 02:15:46 +08:00
gVisor bot
181ef79e4f fix: concurrent map writes #707 2023-09-01 10:43:04 +08:00
gVisor bot
107613f0f6 Improve: nicer tun info for RESTful api
Let the restful api still get TunConf even when tun is off.
Otherwise the api will return the default values,
instead of the values that actually take effect after enable.

* Due to this problem, yacd changes the displayed value
back to gvisor immediately after the user selects tun stack.
2023-08-30 21:13:32 +08:00
gVisor bot
02cb4e1c92 chore: use WaitGroup in dualStackDialContext 2023-08-30 17:28:36 +08:00
gVisor bot
c87597408e fix: dualStack confusing error on ipv4 failed connect 2023-08-30 17:28:36 +08:00
gVisor bot
b8894c3d09 chore: rename func name 2023-08-30 15:52:41 +08:00
gVisor bot
c5631f0519 fix: call shutdown before restart (#709) 2023-08-30 15:49:28 +08:00
gVisor bot
550a3b7f5d chore: cleanup codes 2023-08-26 21:20:20 +08:00
gVisor bot
00d8bf1afe feat: proxies support direct type 2023-08-24 23:33:03 +08:00
gVisor bot
c5f68fda8d chore: update quic-go to 0.38.0 2023-08-21 16:18:56 +08:00
gVisor bot
e8f33f0f23 feat: add udp-over-stream for tuic
only work with meta tuic server or sing-box 1.4.0-beta.6
2023-08-21 12:37:39 +08:00
gVisor bot
4de7bc8eae chore: restore unselected
clear selected node in outboundgoup/URLtest when getGroupDelay triggered
2023-08-18 22:17:07 +08:00
gVisor bot
3eab30cbcb fix: sing-vmess panic 2023-08-17 22:33:07 +08:00
gVisor bot
9acc3cda0c chore: Update dependencies 2023-08-16 21:30:12 +08:00
gVisor bot
8461ba64e2 feat: bump restls to v0.1.6 (utls v1.4.3) (#692)
* feat: bump restls to v0.1.5 (utls v1.4.3)
* fix: rm dependency go-quic
2023-08-16 11:41:58 +08:00
gVisor bot
0517522f2f fix: TLS ALPN support 2023-08-14 15:48:13 +08:00
gVisor bot
8b3f2e1be0 feat: Converter unofficial TUIC share link support 2023-08-14 15:11:33 +08:00
gVisor bot
3a2145626d chore: update go1.21.0 release 2023-08-09 17:26:24 +08:00
gVisor bot
587d8a6386 feat: add inbound-mptcp for listeners 2023-08-09 17:09:03 +08:00
gVisor bot
89450664c1 feat: add mptcp for all proxy 2023-08-09 16:57:39 +08:00
gVisor bot
fd9aca5f39 chore: using uint16 for ports in Metadata 2023-08-09 13:51:02 +08:00
gVisor bot
46f3655102 fix geodata-mode 2023-08-07 01:43:23 +08:00
gVisor bot
042ec990f0 refactor: Geodata initialization 2023-08-06 23:34:10 +08:00
gVisor bot
21ca08416e chore: Update dependencies 2023-08-06 18:38:50 +08:00
gVisor bot
ea2e718160 chore: update quic-go to 0.37.3 2023-08-06 09:45:51 +08:00
gVisor bot
c77874bd2f chore: update quic-go to 0.37.2 and go1.21rc4 2023-08-05 12:53:49 +08:00
gVisor bot
a58bd50cef chore: better tuicV5 deFragger 2023-08-03 23:07:30 +08:00
gVisor bot
c61e93e817 Fix: mapping dns should not stale (#675)
* Fix: mapping dns should not stale

* Update enhancer.go
2023-08-01 17:30:57 +08:00
gVisor bot
61629307e0 chore: Update dependencies 2023-08-01 13:54:22 +08:00
gVisor bot
bebf4b76b6 chore: update quic-go to 0.37.1 2023-08-01 09:55:55 +08:00
gVisor bot
fe83f5540b chore: Use Meta-geoip for default 2023-07-20 23:24:48 +08:00
gVisor bot
1908d02db0 feat: Add Meta-geoip V0 database support 2023-07-17 10:33:20 +08:00
gVisor bot
1323773a23 chore: Remove legacy XTLS support (#645)
* chore: Remove legacy XTLS support

* chore: Rename function
2023-07-16 23:26:07 +08:00
gVisor bot
a340fd260c fix: discard http unsuccessful status 2023-07-16 11:43:55 +08:00
gVisor bot
58583c11c9 chore: structure support decode pointer 2023-07-16 11:11:30 +08:00
gVisor bot
e6dad8ef3e fix: discard http unsuccessful status 2023-07-16 11:10:07 +08:00
gVisor bot
1c23f81bbc fix: tunnel's handleUDPToLocal panic 2023-07-16 10:35:10 +08:00
gVisor bot
499b2babe5 feat: tuic outbound allow set an empty ALPN array 2023-07-16 10:29:43 +08:00
gVisor bot
f668d45ffe fix: parse nested sub-rules failed 2023-07-16 10:15:43 +08:00