9seconds
140e9dfc2e
Integrate obfuscation package
před 2 měsíci
9seconds
d0065d35c2
Add new obfuscation package
před 2 měsíci
9seconds
a0aabf2391
Switch to rand/v2
před 2 měsíci
9seconds
3b03c4a90a
More idioms related to go 1.26
před 2 měsíci
9seconds
36546cec2f
Change default DOH to cloudflarte
před 2 měsíci
9seconds
074c4017f5
Formatting by gofumpt
před 2 měsíci
9seconds
8e87405d3e
Remove integration with gotd
před 2 měsíci
9seconds
308e372a5d
Propagate DcUpdateEach setting
před 2 měsíci
9seconds
836a481026
Propagate DCOverrides
před 2 měsíci
9seconds
0a5a45b32d
Create internal DC package
před 2 měsíci
9seconds
852ca713c8
Fetch DC ips from Telegram
před 2 měsíci
9seconds
60b4b5ad8f
Fix lint issues
před 2 měsíci
9seconds
ecba88d2e3
Update to the latest golangci-lint
před 2 měsíci
9seconds
37de052feb
Disable failing real request test for a while
před 2 měsíci
9seconds
36dad5a2f6
Update golangci-lint
před 3 roky
9seconds
6a19ded78e
Update docs
před 3 roky
9seconds
f192a718f4
Fix test
před 4 roky
9seconds
534d5b755e
Add tags for ip blocklisted metric
před 4 roky
9seconds
a27facaa16
More elegant management of ip allowlists
před 4 roky
9seconds
1575b82688
Update golangci-lint
před 4 roky
9seconds
d8b14dc765
Add fuzzing for client hello
před 4 roky
9seconds
e0850869ba
Linting
před 4 roky
9seconds
9375552180
Add fuzz tests for obfuscated2
před 4 roky
9seconds
5282ca26f3
Update golangci-lint to 1.44.2
před 4 roky
9seconds
1a9bc80091
Unexport an error that is not required
před 4 roky
9seconds
30170b9413
Add iplist_size metric
před 4 roky
9seconds
b15a8ec4a5
More correct error if no addresses are found
před 4 roky
9seconds
0ce0c668b9
Fix broken whitelists
před 4 roky
9seconds
93bed24a0b
Remove all cleverness that broke uploads
před 4 roky
9seconds
e7416bc04d
Fix lint issues
před 4 roky
9seconds
33e0509c5a
Optimize for a fast flush
před 4 roky
9seconds
ffad717829
Use CloseRead and CloseWrites
před 4 roky
9seconds
7b1f86b75d
wip
před 4 roky
9seconds
a5e59d9ef7
Add syncPair
před 4 roky
9seconds
0ddaabb136
Add whitelist support
před 4 roky
9seconds
ce8163d1b7
Minor simplification
před 4 roky
9seconds
66f4d967e7
Get rid of buffersize everywhere
před 4 roky
9seconds
d19cfb1df4
Deprecate bufferSize
před 4 roky
9seconds
cd29f3e20b
Add configuration option allow-fallback-on-unknown-dc
před 4 roky
9seconds
dbaa743e03
Add new BindJSON method to a logger
před 4 roky
9seconds
fbe4d32590
Fallback to another DC if given is unknown
před 4 roky
9seconds
ca5800cf60
Simplify tcp relay time randomization
před 4 roky
9seconds
456ed5b051
Change algorithm of TCP relaying
před 4 roky
9seconds
1050ca0b97
Fix lint issues
před 4 roky
9seconds
c85c88efd6
Add simple-run command
před 4 roky
9seconds
3fd5e9eb19
Rework cli
před 4 roky
9seconds
e1864377c2
Update golangci-lint to 1.40.1
před 5 roky
9seconds
16f9ec690b
Fix race condition in closing a relay
This commit fixes a situration when relay can be reset before all
waiting goroutines are finished. For example, we terminate processing
based on some event: socket error etc. So, error happens and context is
cancelled. After that a main relay goroutine starts to wait. Meanwhile a
second goroutine reaches deferred function and set wg to done. It means
that main goroutine can continue.
In this case this is really possible that we can start resetting before
transmit goroutine really exits.
A correct solution is to always do wg.Done() as a first deferred thing
on entering to a function. In that case we do not need reordering and so
on.
před 5 roky
9seconds
fe3b0f3ca5
Add a real integration test
před 5 roky
9seconds
115510985a
Add option to use telegram test dcs
před 5 roky