Examples of FlowFilter


Examples of ru.petrsu.akolosov.flowbrook.processing.filters.FlowFilter

            statsRules.add(new IfaсeDistributionRule(null, new FileOutputStream("flowsOutIfaces.csv", true), true));
            statsRules.add(new IfaсeDistributionRule(null, new FileOutputStream("flowsInIfaces.csv", true), false));

            statsRules.add(new IfaсeDirectionsRule(null, new FileOutputStream("flowsIfacesDirections.csv", true)));

            final FlowFilter srcWellKnownPorts = new PortFilter(1, 4096, false);
            final FlowFilter dstWellKnownPorts = new PortFilter(1, 4096, true);

            final FlowFilter udpFlows = new ProtoFilter(17);
            final FlowFilter tcpFlows = new ProtoFilter(6);
           
            /* TCP destination ports */
            final AndFilter tcpDstFlows = new AndFilter();
            tcpDstFlows.addFilter(tcpFlows);
            tcpDstFlows.addFilter(dstWellKnownPorts);
View Full Code Here
TOP
Copyright © 2018 www.massapi.com. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.