Commit graph

1256 commits

Author SHA1 Message Date
tobyxdd
ea2e858c06 chore: bump cobra & viper versions 2026-02-21 17:03:34 -08:00
shabbywu(伍镜滔)
e8d99b5c7a refactor: initialize a Viper instance to replace with the global singleton 2026-01-09 13:56:40 +08:00
Toby
98872a4f38
Merge pull request #1495 from apernet/dev/bbr-fix
fix: logic issues with BBR impl
2025-12-29 19:30:18 -08:00
tobyxdd
c57f9c7004 ci: upload each build as a separate artifact 2025-12-29 19:29:41 -08:00
tobyxdd
4bf55a99ed fix: logic issues with BBR impl 2025-12-29 19:24:30 -08:00
Toby
001eaa28e9
Merge pull request #1491 from apernet/fix-android-16k-page
ci: bump ndk in github action
2025-12-13 13:37:02 -08:00
Haruue
89f4f97a31
ci: bump ndk in github action
fix 16KB page alignment
ref: https://developer.android.com/guide/practices/page-sizes

close: #1482
2025-12-13 13:39:30 +09:00
Toby
55e70a5f44
Merge pull request #1463 from apernet/dev/quic-fix
fix: memory leak in quic-go
2025-10-23 22:50:25 -04:00
tobyxdd
6e59b176a6 fix: memory leak in quic-go 2025-10-23 19:49:21 -07:00
Toby
2146852c48
Merge pull request #1449 from InvisibleRain/master
Fix the MITM vulnerability
2025-09-29 22:18:46 -07:00
Toby
f526e748c6
Merge pull request #1450 from apernet/wip-fix-tun2
fix(tun): dirty address family block for UDP
2025-09-29 22:17:01 -07:00
Valeriy Manzhos
9ec5b63386
Fix MITM vulnerability
A malicious actor was capable of intercepting quic traffic between the client
and the server. The attack requires to use certificate pinning with CA-issued certificates.
2025-09-25 17:20:17 +03:00
Haruue
a746ace238
fix(tun): dirty address family block for UDP
ref: apernet/sing-tun#1
2025-09-20 21:21:36 +09:00
Toby
922128e425
Merge pull request #1440 from apernet/dev/quic-upgrade
feat: quic-go v0.54.0
2025-09-16 22:15:09 -07:00
tobyxdd
7d727cfeaa chore: update Go version to 1.25 in workflows and go.mod files 2025-09-13 16:22:21 -07:00
tobyxdd
44235d3de9 feat: quic-go v0.54.0 2025-09-13 16:17:59 -07:00
Toby
a24ef5b8f0
Merge pull request #1436 from apernet/fix-race
fix: race in udpSessionManager cleanup & update code formatting
2025-09-11 20:15:19 -07:00
tobyxdd
36370ffbbb fix: race in udpSessionManager cleanup & update code formatting (gofumpt) 2025-09-11 20:14:41 -07:00
Toby
b2485e6405
Merge pull request #1433 from apernet/fix-acl-cache
fix(acl): error rule applied due to bad cache key
2025-09-10 21:36:23 -07:00
Toby
a695a9ce44
Merge pull request #1434 from apernet/wip-replace-doh
fix: remove license-conflicted doh library
2025-09-10 21:36:14 -07:00
Toby
a4b1cfa5aa
Merge pull request #1426 from shadow750d6/mtls
Add optional mTLS support for client & server
2025-09-10 21:34:11 -07:00
Haruue
c6488c21c1
fix: remove license-conflicted doh library 2025-09-10 16:29:48 +09:00
Haruue
5ef85697f3
fix(acl): error rule applied due to bad cache key
close: #1432
2025-09-10 15:00:32 +09:00
shadow
6cb18ff5ad Add optional mTLS support for client & server 2025-08-27 12:17:24 +08:00
Toby
5f3c47e6c3
Merge pull request #1405 from apernet/fix-tun
[TUN] Fix goroutine leak & broken DNS
2025-07-26 11:22:41 -07:00
Haruue
bc41b5f5d6
fix(tun): dns error on systemd-resolved 2025-07-26 16:09:14 +09:00
Haruue
7d9a4cc226
fix(tun): blocked on ctx.Done()
close: #1399
2025-07-26 14:24:16 +09:00
Toby
88890dde2d
Merge pull request #1370 from apernet/wip-bump-quicgo
feat: quic-go v0.52.0
2025-06-07 12:18:29 -07:00
Toby
b5ddcb5bc4 feat: quic-go v0.52.0 2025-06-07 11:59:30 -07:00
Toby
483fde51b1
Merge pull request #1362 from apernet/wip-noprintshare
fix(client): remove share uri in log
2025-06-01 11:01:35 -07:00
Haruue
3a9e952af0
fix(client): remove share uri in log
close: #1355

Since we already have the "share" subcommand, this feature is
unnecessary for the "client" subcommand.

This commit disables printing the share URI after the client starts, but
keeps this behavior for users who specified the `--qr` flag (who may
still rely on it) and shows a deprecation warning.
2025-05-27 18:27:54 +09:00
Toby
2adeec2900
Merge pull request #1348 from apernet/ci-update
chore: update go version to 1.24 in workflows
2025-04-20 14:33:58 -07:00
Toby
aa5f68a6f7 chore: update go version to 1.24 in workflows 2025-04-20 14:33:40 -07:00
Toby
b2567df63c
Merge pull request #1347 from apernet/bump-quic
feat: quic-go v0.51.0
2025-04-20 14:29:31 -07:00
Toby
16c7ebeeb6
Merge pull request #1346 from dropbigfish/master
chore: fix function name in comment
2025-04-20 14:29:10 -07:00
Toby
c2c4a9545e fix: broken cc after connection migration 2025-04-20 14:27:45 -07:00
Toby
29cd04fdef feat: quic-go v0.51.0 (wip) 2025-04-20 14:04:53 -07:00
dropbigfish
5239a23aee chore: fix function name in comment
Signed-off-by: dropbigfish <fillfish@foxmail.com>
2025-04-20 12:06:13 +08:00
Toby
245c6e9bd1
Merge pull request #1332 from apernet/add-license
chore: add LICENSE to packages
2025-03-18 20:45:32 -07:00
Toby
ffab01730a chore: add LICENSE to packages 2025-03-18 20:44:59 -07:00
Toby
401ed5245d
Merge pull request #1306 from apernet/wip-userpass-ignore-case
Make username of userpass case insensitive
2025-02-03 18:05:27 -08:00
Toby
9466bc4e2f
Merge pull request #1307 from apernet/bump-quic
feat: quic-go v0.49.0
2025-02-03 18:04:56 -08:00
Toby
e11ad2b93b feat: quic-go v0.49.0 2025-02-03 18:04:17 -08:00
Haruue
7652ddcd99
chore: unexport UserPassAuthenticator.Users 2025-02-03 12:39:52 +09:00
Haruue
e1df8aa4e2
chore: make username of userpass case insensitive
close: #1297

Just a workaround for "uppercase usernames do not work".

Usernames in different cases (like "Gawr" and "gawR") will now conflict.
2025-02-03 12:34:01 +09:00
Toby
8c05217590
Merge pull request #1293 from zyppe/master
Add support for loongarch64
2025-01-12 19:57:53 -08:00
Haruue
d86aa0b4e2
chore(scripts): detect arch for loong64 2025-01-08 14:57:02 +09:00
Haruue
537e8144ea
ci: add linux/loong64 to platforms.txt 2025-01-08 14:56:15 +09:00
zyppe
817d6c9a2d
Add support for loongarch64
Test on Loongson 3A5000
2025-01-04 22:45:11 +08:00
Toby
5520bcc405
Merge pull request #1287 from apernet/fix-tun-ipv6-disable
fix: tun failed on linux when ipv6.disable=1
2025-01-03 20:50:10 -08:00