[ovs-discuss] UDP packets not dropping

Justin Pettit jpettit at nicira.com
Thu Mar 12 07:33:35 UTC 2015


> On Mar 12, 2015, at 12:29 AM, abhishek jain <ashujain9727 at gmail.com> wrote:
> 
> Hi Justin..
> 
> Sorry for the typo error.I'm settig the priority of the UDP higher than the other rules.The rule to drop UDP packet is matching but I'm not able to drop the Iperf UDP traffic. Below is the command I'm using..
> 
>  ovs-ofctl add-flow br0 dl_type=0x0800,nw_proto=17,priority=18,actions=drop   
> 
> ovs-ofctl dump-flows br0       
> NXST_FLOW reply (xid=0x4):
>  cookie=0x0, duration=12.840s, table=0, n_packets=226, n_bytes=333249, idle_age=0, priority=18,udp actions=drop
>  cookie=0x0, duration=26.100s, table=0, n_packets=17, n_bytes=2456, idle_age=6, priority=15,in_port=LOCAL actions=output:1
>  cookie=0x0, duration=21.296s, table=0, n_packets=22, n_bytes=3588, idle_age=6, priority=15,in_port=1 actions=LOCAL

It looks like you're now dropping all UDP traffic because you're no longer specifying the UDP port number.

--Justin





More information about the discuss mailing list