Re: [Ryu-devel] Modify TCP ACK packet

2016-04-28 Thread Ramana Reddy
If you can using openvswitch, you can write a rule something like this: ovs-ofctl add-flow s1 in_port=1,tcp, tcp_flags=+syn, actions=output:2 This can be done via RYU application by inserting a rule using flow_mod. 1. Parse the packet 2. Get the tcp header and get the tcp flags, and get their re

[Ryu-devel] Modify TCP ACK packet

2016-04-28 Thread Randa Alani
Dear all How to modify TCP ACK packet received by an Openflow switch which is controlled by Ryu controller? What match field can be used? I intend to count the number of flows passing through a switch depending on SYN/FIN flag and insert this count in the ACK packet? How to do that? Any informa