oxedyne/fe2o3/fe2o3_shield/src/srv/guard/mod.rs
571 bytes, 4 runs
created by r1870400018:868, which is this file's identity for as long as the history lasts, whatever it is later renamed to
download · who wrote it · its history
| 1 | //! Guard system providing layered denial-of-service protection. |
| 2 | //! |
| 3 | //! The guards track behaviour by network address and by user, progressing |
| 4 | //! through a Monitor to Throttle to Blacklist state machine, and share the |
| 5 | //! common accounting data structures defined here. |
| 6 | pub mod addr; |
| 7 | pub mod data; |
| 8 | // `UserGuard` now lives generically in `fe2o3_net::guard::user`, beside `AddressGuard`, |
| 9 | // so any protocol can share the per-user trust map. Re-exported here so the existing |
| 10 | // `crate::srv::guard::user::…` paths keep resolving. |
| 11 | pub use oxedyne_fe2o3_net::guard::user; |