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
Kslr
111d48130d
Merge pull request #89 from Vigilans/vigilans/dns-dotless-domain
...
Dotless and local domain support in built-in DNS
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
Kslr
a8f3450b89
Merge pull request #38 from yuhan6665/master
...
Add stats counter for outbounds
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
5 years ago
Shelikhoo
85bd352bc1
propagate context
5 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"]
5 years ago
Xiaokang Wang
e4ec9807a2
Merge pull request #12 from zhuobixin/master
...
LocalAddr() should return local address
5 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
ghost
02b658cd2b
revert broken dns changes
5 years ago
vcptr
d6df5d7cf9
doh URL controls full path
5 years ago
vcptr
b4b4b3d032
doh config use RFC8484 url format
5 years ago
vcptr
59e3a2a67c
add comments to exported func
5 years ago
vcptr
ceb77ac8f5
only add to ipIndexMap if GeoIP is configured
...
clearer logging for expectIPs
refactor dns init code
optimal to default port logic
clear message exit if doh met error
5 years ago
vcptr
6ef77246ab
add DOH dns client
5 years ago
vcptr
3b9514ec9f
minor optm
5 years ago
vcptr
fa30713e76
minor changes to dns from pr #2037
5 years ago
Kslr
e52d3fa90b
Merge pull request #2037 from weaving118/master
...
add ip match feature for dns
5 years ago
weaving118
debb7f0c44
ignore if domain already lookup failed
5 years ago
weaving118
1345185b81
add errExpectedIPNonMatch and return nil if empty response
5 years ago
weaving118
e916a3b29d
update confip ip to expectIPs
5 years ago
vcptr
54f903040a
early inited log
5 years ago
weaving118
101f5d32fa
add ip match feature for dns
5 years ago