Toby
8aab735029
feat: experimental HTTP/TLS sniffing implementation (no QUIC yet)
2024-06-29 13:40:52 -07:00
Toby
506d8e01b8
Merge branch 'master' into wip-reqhook
2024-06-16 13:10:23 -07:00
Toby
a852febc1f
fix: incorrect speed conversion base
2024-06-15 15:42:39 -07:00
Toby
feacb1f85e
feat(core): server RequestHook support
2024-06-15 14:15:56 -07:00
Toby
18d075cc07
feat: rework acme config format
2024-06-10 16:28:21 -07:00
Toby
bc0e18980b
Merge branch 'master' into acme2
2024-06-10 15:20:57 -07:00
Haruue
23b79688fb
chore(client/http): rm "Connection: close" header
...
Magic of undocumented features.
2024-05-30 23:15:13 +08:00
Haruue
e1ac7c88ab
fix(client/http): ffmpeg not works with proxy
...
Go's resp.Write() adds a "Content-Length: 0" header and it seems that
ffmpeg doesn't like this and immediately closes the proxy connection.
close : #1109
2024-05-30 22:55:39 +08:00
kovacs
3c22e5967f
fix(acme): fix config name
...
fix config name
Signed-off-by: kovacs <mritd@linux.com>
2024-05-27 12:45:50 +08:00
kovacs
3024fc079c
feat(acme): add dns provider
...
add dns provider
Signed-off-by: kovacs <mritd@linux.com>
2024-05-27 11:43:31 +08:00
Toby
adee547c21
feat: quic-go v0.44.0
2024-05-20 15:20:31 -07:00
Haruue
0c198abd2e
fix: mod name major version suffix v2
...
ref: https://go.dev/ref/mod#major-version-suffixes
2024-05-18 11:28:47 +08:00
Toby
b216c4f128
feat: graceful client shutdown
2024-05-17 18:02:58 -07:00
Toby
2701a6e23f
fix: quic-go memory leak
2024-05-17 17:10:59 -07:00
Toby
9d4b3e608a
chore: small changes to TrafficLogger function names & update all mocks to mockery v2.43.0
2024-05-11 13:55:55 -07:00
Toby
b79c43171a
fix: update in quic-go (http3) broke UDP functionality
2024-04-28 20:22:11 -07:00
Toby
00813c4622
feat: quic-go v0.43.0
2024-04-27 13:04:51 -07:00
Toby
c392b0338b
chore(deps): bump golang.org/x/net from 0.21.0 to 0.24.0
2024-04-19 14:42:06 -07:00
Toby
dc1f58414a
chore: improve comments
2024-04-15 14:58:09 -07:00
Haruue
9752347073
fix: check if cert-key is loadable on server start
...
close : #1040
2024-04-15 19:31:23 +08:00
Toby
234dc4508b
Merge pull request #1016 from xchacha20-poly1305/dev-android-protect
...
feat: support Android protect path
2024-04-12 23:32:38 -07:00
Toby
e1d8901c16
chore: adjust import format
2024-04-12 10:49:56 -07:00
Haruue
8e886b6e05
test(proxymux): reduce wait in the tests
2024-04-12 14:55:17 +08:00
Haruue
044620a5db
chore(proxymux): make subListener dereg immediate
...
Now you can call ListenHTTP() again immediately after previous closed.
2024-04-12 14:47:12 +08:00
Haruue
6d9c4fd4e5
test(proxymux): add unit test
2024-04-11 23:21:32 +08:00
Haruue
8d9b10a259
fix(proxymux): close of closed channel
...
when call listener.Close() twice
2024-04-11 23:07:44 +08:00
Haruue
34574e0339
refactor: proxymux
...
This commit rewrites proxymux package to provide following functions:
+ proxymux.ListenSOCKS(address string)
+ proxymux.ListenHTTP(address string)
both are drop-in replacements for net.Listen("tcp", address)
The above functions can be called with the same address to take
advantage of the mux feature.
Tests are not included, but we will have them very soon.
This commit should be in PR #1006 , but I ended up with it in a separate
branch here. Please rebase if you want to merge it.
2024-04-11 21:16:17 +08:00
Toby
6b5486fc09
feat: add test for sockopts config fields
2024-04-05 16:15:29 -07:00
Haruue
e6da1f348c
fix(sockopts): error handling in applyToUDPConn
...
it is just no reason to use named err retval here
2024-04-05 13:20:17 +08:00
Haruue
5bebfd5732
fix(sockopts): error handling in applyToUDPConn
2024-04-05 13:17:21 +08:00
HystericalDragon
297d64e48f
chore: format code
2024-04-05 11:26:22 +08:00
Haruue
e1d7ce4640
chore: a better fix for 32-bit unix.Timeval
...
Why there is no decltype() in Golang?
At least we got generics now.
ref: 9520d84094
2024-04-05 10:49:03 +08:00
HystericalDragon
9520d84094
fix: timeval in different arch
...
Signed-off-by: HystericalDragon <HystericalDragons@proton.me>
2024-04-05 09:57:45 +08:00
HystericalDragon
13586df2ba
fix: invalid const usage
...
Signed-off-by: HystericalDragon <HystericalDragons@proton.me>
2024-04-05 08:36:04 +08:00
Haruue
65f5e9caa5
chore: go mod tidy
2024-04-05 02:30:52 +08:00
Haruue
3e34da1aa8
refactor: protect => quic.sockopts
...
Android's VpnService.protect() itself is confusing, so we rename the
"protect" feature with the name `fdControlUnixSocket` and make it a
sub-option under `quic.sockopts`.
A unit test is added to make sure the protect feature works.
I also added two other common options to `quic.sockopts` that I copied
from my other projects but did not fully test here.
2024-04-05 02:20:45 +08:00
HystericalDragon
03c8b5e6b9
feat: support Android protect path
...
about: 1ac9d4956b
Signed-off-by: HystericalDragon <HystericalDragons@proton.me>
2024-04-03 18:09:40 +08:00
Haruue
d34ff757c3
chore: dos2unix client_test.yaml
...
NOTE: squash this commit with previous one before merge
2024-03-25 11:06:09 +08:00
xmapst
de7d7dc51e
增强: HTTP/SOCKS5混合端口
2024-03-25 10:17:08 +08:00
xmapst
02fa2cde0a
增强: HTTP/SOCKS5混合端口
2024-03-25 10:15:11 +08:00
Toby
7aa0becd84
feat: quic-go v0.42.0
2024-03-23 15:05:10 -07:00
Toby
a037880f88
Merge pull request #998 from HynoR/master
...
degrade the log level adjustment for tcpError and udpError
2024-03-23 10:59:07 -07:00
Toby
2d7d67bf27
feat: also change client side errors to warns
2024-03-23 10:58:11 -07:00
Haruue
9dfb5808e0
chore(deps): bump sing-tun from v0.2.4 to v0.2.5
2024-03-23 21:13:09 +08:00
HynoR
ddb5b511fc
Optimize the log level adjustment for tcpError and udpError by shifting from error to warning.
2024-03-23 14:19:50 +08:00
Toby
bdd4114654
Merge pull request #996 from apernet/wip-hy2-tun
...
Add TUN inbound for client
2024-03-22 22:40:51 -07:00
Haruue
6374ea11c4
feat(tun): allow omit pfxlen in full len pfx route
2024-03-23 11:13:43 +08:00
Toby
aab104ae2e
feat: update config test
2024-03-22 16:20:03 -07:00
Toby
dc8fe45a1a
chore: adjust imports
2024-03-22 15:50:58 -07:00
Toby
87bbf17bc5
chore: go mod tidy
2024-03-22 13:32:24 -07:00