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
fcying
1cc7702c51
check detour tag size
5 years ago
fcying
fa926a1d1d
access log add detour tag
5 years ago
vcptr
385fed08de
fix: allow tls outbound http proxy outbound
5 years ago
Yingyu Cheng
1b1146dbaa
fix segment fault when use api remote config
5 years ago
vcptr
01e3a5f809
add StatsService.GetSysStats
5 years ago
Kirill Motkov
0401a91ef4
Some code improvements
...
* Rewrite empty string checks more idiomatically.
* Change strings.ToLower comparisons to strings.EqualFold.
* Rewrite switch statement with only one case as if.
5 years ago
Kslr
66cba31123
return error instead of panic, fixes #1638
6 years ago
Darien Raymond
02d8845093
add scripting support for attributes matching
6 years ago
Darien Raymond
0d31a68694
extract all session context before checking conditions
6 years ago
Darien Raymond
95583b5031
support range list in routing rule
6 years ago
Darien Raymond
3828a463ea
move sniffing request to session
6 years ago
Darien Raymond
95ed5a5ff8
comments
6 years ago
Darien Raymond
7e5e080488
move sniffing result to session
6 years ago
Darien Raymond
f41b07395a
fix error propagation for nxdomain
6 years ago
Darien Raymond
bb8465e1d6
fix dns parsing for unknown header types
6 years ago