9seconds
189dce07c6
Make auto updating optional
hace 2 meses
9seconds
449f84133a
Do not panic if no addresses were found
hace 2 meses
9seconds
bb320e9d89
Update fuzz tests
hace 2 meses
9seconds
5b91edf5c4
Fix tests
hace 2 meses
9seconds
36c766b331
Fix lint issues
hace 2 meses
9seconds
e4a9a96309
Remove mentioning of DC overrides
hace 2 meses
9seconds
94d46d2c65
Add fetching of addresses from proxyGetConfig endpoint
hace 2 meses
9seconds
908842063a
Do not use additional bytes buffer for faketls
hace 2 meses
9seconds
ee524abdb5
Remove redundant copyBufferPool from relay
hace 2 meses
9seconds
3e75e4fa63
Delete old obfuscated2 package
hace 2 meses
9seconds
140e9dfc2e
Integrate obfuscation package
hace 2 meses
9seconds
d0065d35c2
Add new obfuscation package
hace 2 meses
9seconds
a0aabf2391
Switch to rand/v2
hace 2 meses
9seconds
3b03c4a90a
More idioms related to go 1.26
hace 2 meses
9seconds
36546cec2f
Change default DOH to cloudflarte
hace 2 meses
9seconds
074c4017f5
Formatting by gofumpt
hace 2 meses
9seconds
8e87405d3e
Remove integration with gotd
hace 2 meses
9seconds
308e372a5d
Propagate DcUpdateEach setting
hace 2 meses
9seconds
0a5a45b32d
Create internal DC package
hace 2 meses
9seconds
852ca713c8
Fetch DC ips from Telegram
hace 2 meses
9seconds
60b4b5ad8f
Fix lint issues
hace 2 meses
9seconds
ecba88d2e3
Update to the latest golangci-lint
hace 2 meses
9seconds
36dad5a2f6
Update golangci-lint
hace 3 años
9seconds
1575b82688
Update golangci-lint
hace 4 años
9seconds
d8b14dc765
Add fuzzing for client hello
hace 4 años
9seconds
e0850869ba
Linting
hace 4 años
9seconds
9375552180
Add fuzz tests for obfuscated2
hace 4 años
9seconds
5282ca26f3
Update golangci-lint to 1.44.2
hace 4 años
9seconds
1a9bc80091
Unexport an error that is not required
hace 4 años
9seconds
b15a8ec4a5
More correct error if no addresses are found
hace 4 años
9seconds
93bed24a0b
Remove all cleverness that broke uploads
hace 4 años
9seconds
e7416bc04d
Fix lint issues
hace 4 años
9seconds
33e0509c5a
Optimize for a fast flush
hace 4 años
9seconds
ffad717829
Use CloseRead and CloseWrites
hace 4 años
9seconds
7b1f86b75d
wip
hace 4 años
9seconds
a5e59d9ef7
Add syncPair
hace 4 años
9seconds
ce8163d1b7
Minor simplification
hace 4 años
9seconds
66f4d967e7
Get rid of buffersize everywhere
hace 4 años
9seconds
fbe4d32590
Fallback to another DC if given is unknown
hace 4 años
9seconds
ca5800cf60
Simplify tcp relay time randomization
hace 4 años
9seconds
456ed5b051
Change algorithm of TCP relaying
hace 4 años
9seconds
e1864377c2
Update golangci-lint to 1.40.1
hace 5 años
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.
hace 5 años
9seconds
115510985a
Add option to use telegram test dcs
hace 5 años
9seconds
585ebfeb50
Update golanci-lint
hace 5 años
9seconds
43f5d2131e
Add test for client hello validation
hace 5 años
9seconds
e2073f0585
Remove timeattack module
hace 5 años
9seconds
54a7c6a2a5
Small subtle optimizations of faketls
hace 5 años
9seconds
24fdec6694
Move testlib to internal
hace 5 años
9seconds
38ff62fddc
Add tests for faketls conn
hace 5 años