[Ryu-devel] [PATCH] ofproto/ofproto_v1_5_parser: OFPMultipartReply malformed message offset fix

2016-09-27 Thread Michał Rzepka
Recently, I discovered major multipart message parser flaw. The issue was observed while testing Aggregate Flow Statistics message in OpenFlow 1.5 and Open vSwitch. Similar (and potentially also vulnerable) code snippets are also present in other message parsers (e.g. OFPHello). I'd like to ask

Re: [Ryu-devel] REST router and firewall running together

2016-09-27 Thread renanrb
Well, I'm working on my Master's degree research, which is about migrating to SDN. I need to run services/protocols such as routing(static and OSPF), ACLs and/or NAT using OpenFlow switches, same as traditional routers would do. I don't need REST (as I'm using configuration files to set the d

Re: [Ryu-devel] TCP_SRC/TCP_DST

2016-09-27 Thread Aidin Kelki
Thank you for your reply. The thing is I need to also get the port number of each flow in match section so in flow table ,I should have src_mac, dst_mac,ip_proto, eth_type, tcp/udp_src,tcp/udp_dst. The problem is I have all of other feature but cannot get tcp/udp_src, tcp_udp_dst. I also config

Re: [Ryu-devel] [PATCH] ofproto/ofproto_v1_5_parser: OFPMultipartReply malformed message offset fix

2016-09-27 Thread Victor J. Orlikowski
On Tue, Sep 27, 2016, at 05:19 AM, Michał Rzepka wrote: > Recently, I discovered major multipart message parser flaw. The issue > was observed while testing Aggregate Flow Statistics message in OpenFlow > 1.5 and Open vSwitch. Similar (and potentially also vulnerable) code > snippets are also

Re: [Ryu-devel] [BGP] How to get the neighbor's network?

2016-09-27 Thread Paulo Sérgio
Is it working on version 4.5? Thanks. De: Iwase Yusuke Enviado: terça-feira, 27 de setembro de 2016 02:51 Para: paulop...@hotmail.com Cc: ryu-devel@lists.sourceforge.net Assunto: Re: [Ryu-devel] [BGP] How to get the neighbor's network? Hi, You can get the BGP

[Ryu-devel] How to listen on IPv6?

2016-09-27 Thread ? ?
Hi Guys, I want to use RYU to listen on IPv6 host, and I tried using --ofp_listen_host "", but it did not work, only listening on IPv4 address. So what am I missing? Thank you! Zhao Jun ---

Re: [Ryu-devel] [BGP] How to get the neighbor's network?

2016-09-27 Thread Iwase Yusuke
Hi, If on Python 2.7, BGPSpeaker.rib_get() works well, I guess. But on Python 3, BGPSpeaker.rib_get() has some problems and does not works well. I have posted the patch for this problem, but it has not been merged into v4.5. https://www.mail-archive.com/ryu-devel@lists.sourceforge.net/msg12232

Re: [Ryu-devel] How to listen on IPv6?

2016-09-27 Thread Iwase Yusuke
Hi, Ryu uses the IPv4 address by default. How about specifying "--ofp-listen-host ::" instead? e.g.) $ ryu-manager --ofp-listen-host :: ... $ sudo ss -6apn Netid State Recv-Q Send-Q Local Address:Port Peer Address:Port ...(snip) tcpLISTEN 0 50

Re: [Ryu-devel] How to listen on IPv6?

2016-09-27 Thread 俊 赵
Solved, thanks. Zhao Jun From: Iwase Yusuke Date: 2016-09-28 10:25 To: zhaojun12 CC: ryu-devel Subject: Re: [Ryu-devel] How to listen on IPv6? Hi, Ryu uses the I

Re: [Ryu-devel] TCP_SRC/TCP_DST

2016-09-27 Thread Iwase Yusuke
Hi, Does "msg" mean an instance of OFPPacketIn? http://ryu.readthedocs.io/en/latest/ofproto_v1_3_ref.html#ryu.ofproto.ofproto_v1_3_parser.OFPPacketIn If so, you can parse the packet data which contained in OFPPacketIn with the Packet library. http://ryu.readthedocs.io/en/latest/library_pac