private readonly TimeSpan _udpSessionAliveTimeout; // = 600; //s

        public UDPFlowTracker(L4Conversation l4Conversation, FlowStore flowStore, TimeSpan udpSessionAliveTimeout, DaRFlowDirection flowDirection)
        {
            this.L4Conversation          = l4Conversation;
            this.FlowStore               = flowStore;
            this._udpSessionAliveTimeout = udpSessionAliveTimeout;
            this.UDPFlowReassembler      = new UDPFlowReassembler(this.L4Conversation, this.FlowStore, flowDirection, this._udpSessionAliveTimeout);
        }
示例#2
0
 public UDPFlowReassembler(L4Conversation l4Conversation, FlowStore flowStore, DaRFlowDirection flowDirection, TimeSpan udpSessionAliveTimeout)
 {
     this.L4Conversation         = l4Conversation;
     this.FlowStore              = flowStore;
     this.FlowDirection          = flowDirection;
     this.UdpSessionAliveTimeout = udpSessionAliveTimeout;
 }
 public TCPFlowReassembler(L4Conversation l4Conversation, FlowStore flowStore, TimeSpan tcpSessionAliveTimeout, long tcpSessionMaxDataLooseOnTCPLoop)
 {
     this.L4Conversation                  = l4Conversation;
     this.FlowStore                       = flowStore;
     this.TCPSessionAliveTimeout          = tcpSessionAliveTimeout;
     this.TCPSessionMaxDataLooseOnTCPLoop = tcpSessionMaxDataLooseOnTCPLoop;
 }
        private readonly TimeSpan _tcpSessionAliveTimeout; // = 600; //s

        public TCPFlowTracker(
            L4Conversation l4Conversation,
            FlowStore flowStore,
            TimeSpan tcpSessionAliveTimeout,
            int tcpSessionMaxDataLooseOnTCPLoop,
            DaRFlowDirection flowDirection)
        {
            this.FlowStore               = flowStore;
            this.FlowDirection           = flowDirection;
            this.L4Conversation          = l4Conversation;
            this._tcpSessionAliveTimeout = tcpSessionAliveTimeout;
            this.TCPFlowReassembler      = new TCPFlowReassembler(this.L4Conversation, this.FlowStore, this._tcpSessionAliveTimeout, tcpSessionMaxDataLooseOnTCPLoop);
        }