On Mon, 28 Oct 2013 22:35:36 -0500 Gandhimathi Velusamy <mathiy...@gmail.com> wrote:
> Hi, > I did git pull and in the beginning it worked well. But after some time the > controller output shows the following error message but the forwarding of > packets is continued. > pc-4:~/ryu/bin% sudo ryu-manager l2_switch_v1_3.py > loading app l2_switch_v1_3.py > loading app ryu.controller.ofp_handler > instantiating app l2_switch_v1_3.py > instantiating app ryu.controller.ofp_handler > installing new source mac received from port 1 > installing new source mac received from port 2 > installing new source mac received from port 2 > Error in the datapath 0000001143e490c0 from ('155.98.39.45', 56411) > hub: uncaught exception: Traceback (most recent call last): > File "/usr/local/lib/python2.7/dist-packages/ryu/lib/hub.py", line 48, in > _launch > func(*args, **kwargs) > File > "/usr/local/lib/python2.7/dist-packages/ryu/controller/controller.py", line > 312, in datapath_connection_factory > datapath.serve() > File > "/usr/local/lib/python2.7/dist-packages/ryu/controller/controller.py", line > 232, in serve > self._recv_loop() > File > "/usr/local/lib/python2.7/dist-packages/ryu/controller/controller.py", line > 97, in deactivate > method(self) > File > "/usr/local/lib/python2.7/dist-packages/ryu/controller/controller.py", line > 165, in _recv_loop > version, msg_type, msg_len, xid, buf) > File > "/usr/local/lib/python2.7/dist-packages/ryu/ofproto/ofproto_parser.py", > line 54, in msg > return msg_parser(datapath, version, msg_type, msg_len, xid, buf) > File > "/usr/local/lib/python2.7/dist-packages/ryu/ofproto/ofproto_v1_3_parser.py", > line 51, in msg_parser > return parser(datapath, version, msg_type, msg_len, xid, buf) > File > "/usr/local/lib/python2.7/dist-packages/ryu/ofproto/ofproto_v1_3_parser.py", > line 2009, in parser > ofproto_v1_3.OFP_MATCH_SIZE) > File > "/usr/local/lib/python2.7/dist-packages/ryu/ofproto/ofproto_v1_3_parser.py", > line 1133, in parser > k, uv = ofproto_v1_3.oxm_to_user(n, value, mask) > File "/usr/local/lib/python2.7/dist-packages/ryu/ofproto/oxm_fields.py", > line 165, in to_user > value = t.to_user(v) > File "/usr/local/lib/python2.7/dist-packages/ryu/ofproto/oxm_fields.py", > line 46, in to_user > i = i * 256 + ord(c) > TypeError: ord() expected a character, but string of length 0 found Looks like the same bug. The switch sends a malformed match message. I applied a patch that prevents crash even with malformed messages. Ryu ignores such messages. ------------------------------------------------------------------------------ Android is increasing in popularity, but the open development platform that developers love is also attractive to malware creators. Download this white paper to learn more about secure code signing practices that can help keep Android apps secure. http://pubads.g.doubleclick.net/gampad/clk?id=65839951&iu=/4140/ostg.clktrk _______________________________________________ Ryu-devel mailing list Ryu-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/ryu-devel