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 respective
bits ( see ryu api).
3. Insert a rule through flow_mod command.
Hope this helps.
On Thu, Apr 28, 2016 at 5:08 PM, Randa Alani <[email protected]> wrote:
> 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 information would be very helpful.
>
>
>
> Kind regards
>
> randa
>
>
> ------------------------------------------------------------------------------
> Find and fix application performance issues faster with Applications
> Manager
> Applications Manager provides deep performance insights into multiple
> tiers of
> your business applications. It resolves application problems quickly and
> reduces your MTTR. Get your free trial!
> https://ad.doubleclick.net/ddm/clk/302982198;130105516;z
> _______________________________________________
> Ryu-devel mailing list
> [email protected]
> https://lists.sourceforge.net/lists/listinfo/ryu-devel
>
>
------------------------------------------------------------------------------
Find and fix application performance issues faster with Applications Manager
Applications Manager provides deep performance insights into multiple tiers of
your business applications. It resolves application problems quickly and
reduces your MTTR. Get your free trial!
https://ad.doubleclick.net/ddm/clk/302982198;130105516;z
_______________________________________________
Ryu-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/ryu-devel