Hi Maurizio,
Sorry for the delay.
On 2016年07月13日 06:15, Maurizio Marrocco wrote:
> Hello Ryu Team,
>
> Thanks for response, but How to analyze sequence number?
>
> In other word, how to extract sequence number of ICMP pkts? There are some
> API functions in RYU to do that?
>
> I would like an algorithm like this: IF(sequence_number==1) THEN action1, etc.
How about using TCP packet library of Ryu?
Usage of packet library:
http://osrg.github.io/ryu-book/en/html/packet_lib.html
API reference for TCP packet library:
(To extract TCP sequence number, please refer to 'seq' field)
http://ryu.readthedocs.io/en/latest/library_packet_ref.html#ryu.lib.packet.tcp.tcp
Thanks,
Iwase
>
> Thanks.
>
> Maurizio.
>
> ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
> *Da:* Iwase Yusuke <[email protected]>
> *Inviato:* martedì 12 luglio 2016 03.09
> *A:* [email protected]
> *Cc:* [email protected]
> *Oggetto:* Re: [Ryu-devel] How to differentiate different ICMP Sequence
> Number Pkts in Ryu controller?
>
> Hi,
>
> AFAIK, OpenFlow 1.3 does not provide match fields for identifying the
> sequential ICMPv4 packets.
> The match fields related to ICMPv4 packets are:
> OFPXMT_OFB_ICMPV4_TYPE = 19, /* ICMP type. */
> OFPXMT_OFB_ICMPV4_CODE = 20, /* ICMP code. */
>
> If you want to do the different actions for each ICMP packets, i think you
> need to 1. send all
> ICMP packets to controller, 2. analyze sequence number and generate actions
> at your RyuApp,
> 3. then, send packets to your switches by Packet-Out messages, for example.
>
> Thanks,
> Iwase
>
> On 2016年07月09日 20:20, Maurizio Marrocco wrote:
>> Hello Ryu Team.
>>
>> For example, I would to send with ping, 10 Pkts from h1 to h2 using mininet.
>> What kind of match field I can use to differentiate these 10 pkts? the
>> reason is to associate for example a different behaviours/actions with a
>> different packets?
>>
>> Thanks.
>>
>> Maurizio
>>
>>
>>
>> ------------------------------------------------------------------------------
>> Attend Shape: An AT&T Tech Expo July 15-16. Meet us at AT&T Park in San
>> Francisco, CA to explore cutting-edge tech and listen to tech luminaries
>> present their vision of the future. This family event has something for
>> everyone, including kids. Get more information and register today.
>> http://sdm.link/attshape
> <http://sdm.link/attshape>
>
> Shape: An AT&T Tech Expo | July 15-16, 2016 | San Francisco, CA
> <http://sdm.link/attshape>
> sdm.link
> Join us for Shape, an immersive, two-day tech expo on July 15-16, 2016 in San
> Francisco. See visionary speakers, groundbreaking tech, and imaginative
> initiatives that inspire change in this take-over of AT&T Park.
>
>
>
>>
>>
>>
>> _______________________________________________
>> Ryu-devel mailing list
>> [email protected]
>> https://lists.sourceforge.net/lists/listinfo/ryu-devel
>>
>
>
> ------------------------------------------------------------------------------
> What NetFlow Analyzer can do for you? Monitors network bandwidth and traffic
> patterns at an interface-level. Reveals which users, apps, and protocols are
> consuming the most bandwidth. Provides multi-vendor support for NetFlow,
> J-Flow, sFlow and other flows. Make informed decisions using capacity planning
> reports.http://sdm.link/zohodev2dev
>
>
>
> _______________________________________________
> Ryu-devel mailing list
> [email protected]
> https://lists.sourceforge.net/lists/listinfo/ryu-devel
>
------------------------------------------------------------------------------
What NetFlow Analyzer can do for you? Monitors network bandwidth and traffic
patterns at an interface-level. Reveals which users, apps, and protocols are
consuming the most bandwidth. Provides multi-vendor support for NetFlow,
J-Flow, sFlow and other flows. Make informed decisions using capacity planning
reports.http://sdm.link/zohodev2dev
_______________________________________________
Ryu-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/ryu-devel