[Ryu-devel] Ryu and IPv6

2019-03-06 Thread Diarmuid O Briain
Hi, I have Ryu control two switches, one is an OvS with a bridge into which is connected a couple of BIRD routers. I have a number of physical routers connected to a Netgear OpenFlow switch. I am doing nothing special, I match on in_port, src_mac, dst_mac and add flows to both switches otherwise t

Re: [Ryu-devel] Ryu controller struct.error when adding a new table flow

2019-03-06 Thread IWAMOTO Toshihiro
On Wed, 06 Mar 2019 23:56:06 +0900, Daniel Gomes wrote: > i'm writing a layer 4 switch application and i'm trying to do the > following: when a TCP/UDP packet is identified the application checks in a > local database to see if the packet parameters are from a known attacker > (source IP, destinati

Re: [Ryu-devel] In packet with src_mac = dst_mac from Netgear OF switch causes inport = outport Flow

2019-03-06 Thread Diarmuid O Briain
Iwamoto, Thank you. regards, Diarmuid -- *Irish by birth, located in Uganda but Munster by the grace of God.* On Thu, 7 Mar 2019 at 07:13, IWAMOTO Toshihiro wrote: > On Mon, 04 Mar 2019 22:07:38 +0900, > Maen Artimy wrote: > > > > [1 ] > > [1.1 ] > > Diarmuid, > > I may have misundersto

Re: [Ryu-devel] Packet parsing

2019-03-06 Thread IWAMOTO Toshihiro
On Wed, 06 Mar 2019 10:32:47 +0900, knet solutions wrote: > I am trying to parse the NDN header (UDP Application), inside my > application. > > As i understand from the lib(and existing packet parser code), payload is > passed as bytearray. > > > When i print the packet,i get the below trac

Re: [Ryu-devel] regarding change packet length

2019-03-06 Thread IWAMOTO Toshihiro
On Mon, 04 Mar 2019 10:53:06 +0900, Sagar Ramani wrote: > Hi, > I am trying to figure out to fix the packet length for all kinds of > packet in controller TCP, UDP, ICMP,etc how I can do that? also is possible > to set lldp packet length in ryu? Could you describe your problem a bit more? If I u

Re: [Ryu-devel] In packet with src_mac = dst_mac from Netgear OF switch causes inport = outport Flow

2019-03-06 Thread IWAMOTO Toshihiro
On Mon, 04 Mar 2019 22:07:38 +0900, Maen Artimy wrote: > > [1 ] > [1.1 ] > Diarmuid, > I may have misunderstood your question, but the openflow does not allow the > output port to be the same as input port. > If you must do that then you have to use the reserved port OFPP_IN_PORT, > which forces

Re: [Ryu-devel] Simple Host Loopback Configuration Not Working

2019-03-06 Thread IWAMOTO Toshihiro
On Fri, 01 Mar 2019 10:55:21 +0900, David Christensen wrote: > > I'm trying to create a ryu application for a Mellanox Switch-X switch > which supports Openflow 1.0. In my test setup I have a single server > connected to two ports of the switch and I'd like the switch to > perform the following a

[Ryu-devel] Ryu controller struct.error when adding a new table flow

2019-03-06 Thread Daniel Gomes
Hello, i'm writing a layer 4 switch application and i'm trying to do the following: when a TCP/UDP packet is identified the application checks in a local database to see if the packet parameters are from a known attacker (source IP, destination IP , destination port). If the packet matches one lo

Re: [Ryu-devel] Even Driven

2019-03-06 Thread Diarmuid O Briain
Khalid, Here is a great resourse to explain the code in detail. https://inside-openflow.com/2016/07/21/ryu-api-dissecting-simple-switch/ Regards, Diarmuid On Wed 6 Mar 2019, 10:57 IWAMOTO Toshihiro On Tue, 26 Feb 2019 13:25:59 +0900, > Khalid Rahman wrote: > > > > [1 ] > > [1.1 ] > > Dear,

Re: [Ryu-devel] send a message from control plane to data plane

2019-03-06 Thread IWAMOTO Toshihiro
On Tue, 05 Mar 2019 11:31:49 +0900, Sagar Ramani wrote: > > [1 ] > [1.1 ] > Hi, > I am working on the contract base application, if i want to send a message > from control plane(controller) to data plane(mininet) then how I can do > that? I think packet-outs can be used for your purpose. -- I

Re: [Ryu-devel] host mobile

2019-03-06 Thread IWAMOTO Toshihiro
On Wed, 27 Feb 2019 19:45:04 +0900, sim1vale--- via Ryu-devel wrote: > i'm a student and I'm trying to use mininet-wifi and ryu. if a station is > moving from access point to another, is it possible send an event to > controller when station change access point? Ryu doesn't have WiFi support. A