We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent ce88fa3 commit 7b4ec75Copy full SHA for 7b4ec75
src/servers/udp/server/banning.rs
@@ -1,3 +1,13 @@
1
+//! Banning service for UDP tracker.
2
+//!
3
+//! It bans clients that send invalid connection id's.
4
5
+//! It uses a Counting Bloom Filter to keep track of the number of connection id
6
+//! errors per ip. That means there can be false positives, but not false
7
+//! negatives.
8
9
+//! 1 out of 100000 requests will be a false positive and the client will not
10
+//! receive a response.
11
use std::net::IpAddr;
12
13
use bloom::{CountingBloomFilter, ASMS};
0 commit comments