Re: [Ryu-devel] pkt.get_protocol(bgp.BGPMessage) returns None

2018-02-27 Thread Iwase Yusuke
Hi Ricardo, I guess you caught a TCP SYN (or SYN+ACK or ACK) packet leading the BGP handshake, so the received packet has no TCP payload. I could get the BGP packets with the following modification of simple_switch_13. diff --git a/ryu/app/simple_switch_13.py b/ryu/app/simple_switch_13.py

[Ryu-devel] pkt.get_protocol(bgp.BGPMessage) returns None

2018-02-27 Thread Ricardo Bennesby
Hi, I am running ExaBGP from a Mininet node and modified the simple_switch_13 app to parse the BGP messages received from a peer. However, I can correctly parse the IP and TCP fields of the packet, while the BGP part returns *None:* *The code:* def parse_packet(self,message): pkt =