Hi, On 2015年07月15日 21:44, Alioune Ba wrote: > Hi Dear All, > > I write for requesting your suggestion please. I would like to add a rule on > Open vSwitch bridge that will allow me to sniff all traffic from a specific > host using tcpdump.
How about installing the flows performing like "Port mirroring"? e.g.) match = ofp_parser.OFPMatch(eth_src=<MAC addr of a specific host>) # Match rule for "a specific host" actions = [ofp_parser.OFPActionOutput(ofp.OFPP_NORMAL, 0), ofp_parser.OFPActionOutput(<Port for tcpdump>)] # Action for "Port mirroring" inst = [ofp_parser.OFPInstructionActions(ofp.OFPIT_APPLY_ACTIONS, actions)] req = ofp_parser.OFPFlowMod(datapath, match=match, instructions=inst) Thanks, Iwase > > Any suggestion is welcome !!! > > Best Regards > > > > ------------------------------------------------------------------------------ > Don't Limit Your Business. Reach for the Cloud. > GigeNET's Cloud Solutions provide you with the tools and support that > you need to offload your IT needs and focus on growing your business. > Configured For All Businesses. Start Your Cloud Today. > https://www.gigenetcloud.com/ > > > > _______________________________________________ > Ryu-devel mailing list > Ryu-devel@lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/ryu-devel > ------------------------------------------------------------------------------ Don't Limit Your Business. Reach for the Cloud. GigeNET's Cloud Solutions provide you with the tools and support that you need to offload your IT needs and focus on growing your business. Configured For All Businesses. Start Your Cloud Today. https://www.gigenetcloud.com/ _______________________________________________ Ryu-devel mailing list Ryu-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/ryu-devel