Alexey Dolotov
e54d9d60d3
fix: stabilize flaky CI tests
1. Add sync.Mutex to ScoutConnCollected to eliminate data race between
Add()/MarkWrite() in readLoop and learn() iterating results.
Introduce Snapshot() for safe read access.
2. Increase bloom filter test size from 500 to 100000 to prevent
false negatives from random eviction in the stable bloom filter.
3. Use Require().NoError() in TestHTTPSRequest to prevent nil-pointer
panic on resp.Body.Close() when the request fails.
Fixes #425
hace 1 mes
9seconds
ecba88d2e3
Update to the latest golangci-lint
hace 2 meses
9seconds
36dad5a2f6
Update golangci-lint
hace 3 años
9seconds
6a19ded78e
Update docs
hace 3 años
9seconds
0274b3436a
Add documentation for ipblocklist
hace 5 años
9seconds
b3112c5c67
Move documentation to init.go
hace 5 años
9seconds
3661fe108d
Add documentation for antireplay package
hace 5 años
9seconds
5d5b77d73b
Tune defaults
hace 5 años
9seconds
10b78322a3
Implement caching dns resolver
hace 5 años
9seconds
0330a0e5cd
Fixes for obfuscated2
hace 5 años
9seconds
b08d945d7c
Add event stream module
hace 5 años
9seconds
cae33a22e6
Make stable bloom filter threadsafe
hace 5 años
9seconds
3dc263d6d7
Add antireplay cache mock
hace 5 años
9seconds
ab1b3b4863
Add antireplay cache
hace 5 años
9seconds
baee322cd7
Reset a project
hace 5 años
9seconds
7a6695f6c4
Update golangci-lint
hace 5 años
9seconds
a47edf08d0
Add possibility to disable antireplay cache
hace 6 años
9seconds
843fc4b70f
Rename module from mtg to github.com/9seconds/mtg
hace 6 años
9seconds
ae479adeaa
Use fastcache instead of ristretto
hace 6 años
9seconds
2bf291bab5
Fix minor lint issue
hace 6 años
9seconds
273aa18367
Rename full path in order to favor modules
hace 6 años
9seconds
34ad883559
Use ristretto instead of bigcache
hace 6 años
9seconds
038b2b200d
Success path for fake tls is implemented
hace 6 años
9seconds
6c7edfb7db
Add new stats metric
hace 6 años
9seconds
d44474012a
Rework antireplay
hace 6 años
9seconds
029245cd16
Correct initialization of antireplay cache
hace 6 años
9seconds
2918ed11e5
Remove juju/errors
hace 6 años
9seconds
2492a47d0a
Direct proxy works
hace 6 años
9seconds
33852ca481
Base prevention of replay attacks on proxy
hace 7 años