Packages that use EventPumper.InboundFloodDecision
Package
Description
NTCP2, the TCP transport: framed, ratchet-encrypted and mutually authenticated connections between routers.
Uses of EventPumper.InboundFloodDecision in net.i2p.router.transport.ntcp
Fields in net.i2p.router.transport.ntcp declared as EventPumper.InboundFloodDecisionModifier and TypeFieldDescription(package private) static final EventPumper.InboundFloodDecisionEventPumper.InboundFloodDecision.ALLOWConstant for "accept, nothing to report", reused on every non-drop path.Methods in net.i2p.router.transport.ntcp that return EventPumper.InboundFloodDecisionModifier and TypeMethodDescription(package private) static EventPumper.InboundFloodDecisionEventPumper.evaluateInboundFlood(long now, int rawCurrentCount, int rawLastCount, long periodStart, boolean hasCapacity, int maxConnections, int currentConnections, RandomSource random) Decide whether an inbound NTCP connection should be probabilistically rejected because the accept rate is spiking well above the recent baseline while the router is already heavily loaded with connections.