loyalsoldier
b181045b0c
Errorgen: support to run outside of GOPATH
4 years ago
loyalsoldier
f184d16918
Fix golangci nolint
4 years ago
Loyalsoldier
088ce4ed95
Refine proto.go due to protoc-gen-go-grpc update ( #257 )
...
* Refine: remove protoc-gen-go-grpc specific version
* pb.go: regenerate due to proto.go refresh
4 years ago
Ye Zhihao
67f409de04
Stats: Implements blocking/non-blocking messaging of Channel ( #250 )
4 years ago
loyalsoldier
ec0c3f181d
DNS: refine local TLDs for localhost DNS
4 years ago
Vigilans
cd9ac1bac7
API: Implements RoutingService
4 years ago
Vigilans
fa37f82b89
Stats: Add ChannelConfig & Return error on subscription
4 years ago
Vigilans
4d5a4f4cb6
Routing: Implement Route interface as the routing result of Router
4 years ago
Vigilans
4fca2fe940
Implement common.Runnable for stats.Channel feature
4 years ago
Vigilans
5a497890e6
Routing Context: Fix GetUser() & Use string for Attributes Value
4 years ago
Vigilans
0406cd896b
Add UnregisterChannel & Modify unregistering logic
4 years ago
Loyalsoldier
d7c99c901a
Fix: app/stats.Manager does not implement features/stats.Manager ( #171 )
4 years ago
Vigilans
bff96a7a52
Support Channel (Observer Pattern) in Stats Manager
4 years ago
Vigilans
f9d37b724c
Extract session information during routing as routing context
4 years ago
Felix Yan
7001483b62
Don't copy assets if they are already present
...
They can now reside in system path (like /usr/share/v2ray), so it's not
possible to copy into there.
4 years ago
loyalsoldier
323ef03f02
Minor fixes
4 years ago
Vigilans
c973b5a484
Fix github.com/v2fly/v2ray-core/issues/146
4 years ago
Vigilans
47c997d75e
Fix github.com/v2fly/v2ray-core/issues/146
4 years ago
loyalsoldier
f12f76582f
Fix according to staticcheck result
...
staticcheck repo: https://github.com/dominikh/go-tools/tree/master/cmd/staticcheck
4 years ago
loyalsoldier
1fa89b32d4
Format: run go fmt ./...
4 years ago
loyalsoldier
f9175e3bc8
Fix according to go vet results
4 years ago
Loyalsoldier
ef460f68f8
Adjust Protocol Buffers ( #109 )
...
* Update protoc binary executable files to v3.13.0
* Write proto files in more standard way
* Make go generate & vprotogen compatible with protoc-gen-gofast
* Regenerate pb.go files according to new proto files
* Clean go.sum by running go mod tidy
* Implement mustEmbedUnimplementedServiceServer for gPRC services
4 years ago
loyalsoldier
00b4217aab
Fix: loging empty rules & DNS
4 years ago
Vigilans
22b4e68a2d
Log matched rules and DNS to use during priority matching
...
2. Dotless domain support in static host & modify first letter's captial in log
4 years ago
Vigilans
dfeaef75e7
Refactor DNS Server to record original rule of domain matchers
4 years ago
Vigilans
1e222425b6
Amend domain matcher with returning values of all matched subdomains
4 years ago
Vigilans
c74a33f827
Amending domain matcher with returning array of all matches
4 years ago
Vigilans
40c0bcc3ab
Support source port matching in routing config
4 years ago
Vigilans
17f51f412c
Dotless domain support in built-in DNS
4 years ago
Vigilans
30e312f72b
Apply sockopt from inbound config to dokodemo tproxy's response connection
4 years ago
Darhwa
e9c891d5b5
Enable ForceAttemptHTTP2 on DoH client
4 years ago
yuhan6665
cef1836f5a
Add unit test for outbound handler
4 years ago
yuhan6665
886598542c
Add stats counter for outbounds
4 years ago
yuhan6665
f34c092a06
Rename fields in StatCouterConnection
...
The fields will be used by Outbounds as well in the next commit
4 years ago
Agioi Theodoroi
bbd3988f3d
clean up code
4 years ago
DuckSoft
780318c5c8
handle dns.PackMessage error
...
this will fix #2599
4 years ago
DuckSoft
bde766770d
dohdns.go: multiple typo fixes
4 years ago
Roger Shimizu
90af5f19ba
Apply Debian's patch to upstream
4 years ago
Shelikhoo
3e13d79af7
Fix TProxy Process Logic
4 years ago
Shelikhoo
85bd352bc1
propagate context
4 years ago
Darhwa
8e791e92bc
Further strip unique signatures of tls handshake
...
1. allow users to disable session ticket
2. set default alpn to ["h2", "http/1.1"]
4 years ago
Shelikhoo
00103d1f73
Fix tests
5 years ago
Shelikhoo
09b81b78c3
regenerate pb data
5 years ago
zhuobixin
dc906cf68a
LocalAddr() should return local address
5 years ago
Kslr
cfbb875546
Revert "Reduce http proxy client overhead by 1RTT"
5 years ago
vcptr
5d13ec9196
code style optmize in dispatch func
5 years ago
vcptr
04a0c04934
doh route strategy optimized
5 years ago
Anonymous-Someneese
82dee01833
Fix reverse proxy with the HTTP optimization
...
And any other protocol that require the connection initializer to send first, E.g. freedom with TFO.
5 years ago
mzz2017
7f4f8091f9
feat/fix: dns query subscriptions group by A and AAAA. fix problem that empty result would poll dns server in DoH mode
5 years ago
mzz2017
4a663f2b25
fix( #2211 ): problem that AAAA query returns A result
5 years ago