Filament::Flow::FlowTable
Inherits Enumerable < Reference < Object
Constructors
new(max_flows : Int32 = 100000, tcp_idle_timeout_sec : Float64 = 300.0, udp_idle_timeout_sec : Float64 = 60.0, tcp_closed_timeout_sec : Float64 = 15.0)
SourceInstance methods
expire_idle(now : Time) : Int32
Evicts inactive or terminated flows relative to a reference time
max_flows
Sourceprocess(packet : Dissect::DecodedPacket) : FlowRecord | Nil
Ingests a decoded packet into the conversation table Returns the associated FlowRecord (or nil if non-IP packet)
tcp_closed_timeout_sec
Sourcetcp_idle_timeout_sec
Sourcetop_by_bytes(n : Int32 = 10) : Array(FlowRecord)
Returns top N flows sorted by total byte volume
udp_idle_timeout_sec
Source