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
2026-03-30 14:50:32 +03:00
9seconds
ecba88d2e3
Update to the latest golangci-lint
2026-02-11 10:20:04 +01:00
9seconds
36dad5a2f6
Update golangci-lint
2022-08-08 15:54:38 +03:00
9seconds
6a19ded78e
Update docs
2022-08-04 18:39:00 +03:00
9seconds
0274b3436a
Add documentation for ipblocklist
2021-04-05 16:09:21 +03:00
9seconds
b3112c5c67
Move documentation to init.go
2021-04-05 11:39:09 +03:00
9seconds
3661fe108d
Add documentation for antireplay package
2021-04-05 11:35:46 +03:00
9seconds
5d5b77d73b
Tune defaults
2021-04-02 21:58:22 +03:00
9seconds
10b78322a3
Implement caching dns resolver
2021-03-30 14:14:37 +03:00
9seconds
0330a0e5cd
Fixes for obfuscated2
2021-03-18 17:15:55 +03:00
9seconds
b08d945d7c
Add event stream module
2021-03-15 21:34:53 +03:00
9seconds
cae33a22e6
Make stable bloom filter threadsafe
2021-03-15 10:53:29 +03:00
9seconds
3dc263d6d7
Add antireplay cache mock
2021-03-15 10:52:14 +03:00
9seconds
ab1b3b4863
Add antireplay cache
2021-03-15 10:43:32 +03:00
9seconds
baee322cd7
Reset a project
2021-03-04 10:15:34 +03:00
9seconds
7a6695f6c4
Update golangci-lint
2020-08-10 14:39:50 +03:00
9seconds
a47edf08d0
Add possibility to disable antireplay cache
2020-02-03 11:26:37 +03:00
9seconds
843fc4b70f
Rename module from mtg to github.com/9seconds/mtg
2019-11-19 11:17:14 +03:00
9seconds
ae479adeaa
Use fastcache instead of ristretto
2019-11-11 16:05:19 +03:00
9seconds
2bf291bab5
Fix minor lint issue
2019-11-11 15:16:24 +03:00
9seconds
273aa18367
Rename full path in order to favor modules
2019-11-11 15:09:29 +03:00
9seconds
34ad883559
Use ristretto instead of bigcache
2019-11-11 14:59:09 +03:00
9seconds
038b2b200d
Success path for fake tls is implemented
2019-11-07 13:04:38 +03:00
9seconds
6c7edfb7db
Add new stats metric
2019-10-08 11:55:57 +03:00
9seconds
d44474012a
Rework antireplay
2019-10-07 17:51:21 +03:00
9seconds
029245cd16
Correct initialization of antireplay cache
2019-09-13 10:14:48 +03:00
9seconds
2918ed11e5
Remove juju/errors
2019-09-06 16:10:55 +03:00
9seconds
2492a47d0a
Direct proxy works
2019-09-04 10:19:01 +03:00
9seconds
33852ca481
Base prevention of replay attacks on proxy
2019-04-26 15:53:10 +03:00