On Sat, 23 Feb 2019 22:14:11 +0900, Nirav Patel wrote: > > [1 <multipart/alternative (7bit)>] > [1.1 <text/plain; UTF-8 (7bit)>] > Hello, > I am trying to build a firewall kind of application which involves > filtering url from an http packet. > > Is there a way i can > 1. Identify an http packet upon a packet in event. > 2 extract url from that packet . > > I know its a pretty losely defined requirement, but i tried to read ryu > documentation and ryu packet library. I could not find a usable solution. > Please do help me out
You can write OpenFlow match fields to filter tcp/80 packets but OpenFlow isn't capable of handling TCP payloads. tcp/80 packets can be sent to a ryu controller via packet-ins and TCP payloads can be reconstructed in a ryu application but it would require some work and I'm not sure if OpenFlow is good for such a use case. -- IWAMOTO Toshihiro _______________________________________________ Ryu-devel mailing list Ryu-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/ryu-devel