Re: [ovs-discuss] Get the metadata of captured packet which is sent to controller through PacketIn message in OVS userspace

2019-10-12 Thread Tuyen Dinh
Thanks for your help. I got the data I need by extracting am->pin.up.base.packet with flow_extract() Vào Th 6, 11 thg 10, 2019 vào lúc 14:38 Tuyen Dinh đã viết: > Hi, > I'm trying to preprocess packets that don't match flowtable before they > are sent to the controller via Packet

[ovs-discuss] Get the metadata of captured packet which is sent to controller through PacketIn message in OVS userspace

2019-10-11 Thread Tuyen Dinh
Hi, I'm trying to preprocess packets that don't match flowtable before they are sent to the controller via PacketIn message.I found in ofproto/connmgr.c, function connmgr_send_async_msg() is given a struct ofproto_async_msg *am , encode and send a PacketIn message to the controller. I tried to

[ovs-discuss] Counting packets from each source address

2019-08-22 Thread Tuyen Dinh
Hi, I'm working with a simple topology with 2 hosts and an OVS. Host A uses tcpreplay and a .pcap file ( multiple ip source addresses and host B's address is the destination ) to act as a DDOS attack. I want to know the number of packets that each ip source address sends to host B within a period,

[ovs-discuss] How to send information from ovs to controller through Openflow

2019-02-27 Thread Tuyen Dinh
Hi, I'm doing a project that need to modify ovs source code to do some statistics about the packets (which I can't get that information from flow tables). After get that statistics , I need to send them to the controller. As far as I know, Openvswitch has the vswitchd deamon which communicate with