Re: [Ryu-devel] Handling New Protocols with Ryu

2016-07-06 Thread Sam Snodgrass
approach. Sam On Wed, Jul 6, 2016 at 7:48 AM, Sam Snodgrass wrote: > Thank you for the response Iwase, > > Originally my protocol did not reserve any tcp ports. However, in order to > test your solution, I added TCP ports with unique values to the protocol, > and implement

Re: [Ryu-devel] Handling New Protocols with Ryu

2016-07-06 Thread Sam Snodgrass
t, dst_port), buf[length:] > def serialize(self, payload, prev): > offset = self.offset << 4 > > Thanks, > Iwase > > > > On 2016年07月06日 03:04, Sam Snodgrass wrote: > >> Good afternoon everyone, >> >> I am experimenting with handling

[Ryu-devel] Handling New Protocols with Ryu

2016-07-05 Thread Sam Snodgrass
Good afternoon everyone, I am experimenting with handling custom protocols with Ryu, but am unable to parse the new protocols at the switch or controller. I have created a custom protocol with Scapy that simple holds 3 IntFields (4 bytes each) and 2 ShortFields (2 bytes each). I create a packet w