Hi Tomas,

Because the contained "data" in the PACKET_IN message is an Ethernet frame
message, I guess it is difficult to implement such feature...
For example, you need to open another socket on tap interface for example, then
open "data" in PACKET_IN messages -> extract TCP payload -> forward them to that
socket.

For an alternative way, how about adding another port on your switch to which
your web server connecting?

        Ryu     Web Sever
         |          |
         +---+  +---+
             |  |
Host A ---- switch ---- Host B

With this approach, you don't need to analyze "data" in PACKET_IN messages, just
need to install flows for Web Server-Hosts communication.

Thanks,
Iwase


On 2018年02月02日 17:52, Thomas Boros wrote:
Hello,

I’m working on my phd thesis and I need to establish a TCP connection with a 
controller. Is there anyone, who already implemented a full TCP state diagram 
in RYU to handle incoming TCP connections towards the forwarders? I’m 
implementing a minimalist web server on a forwarders, so I need to be able to 
establish a TCP connection with the controller via the forwarders using just 
only PACKET_IN and PACKET_OUT messages.

By TCP state diagram I mean the same way as the controller responds with ICMP 
or ARP messages.

Tomas
------------------------------------------------------------------------------
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot
_______________________________________________
Ryu-devel mailing list
Ryu-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/ryu-devel


------------------------------------------------------------------------------
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot
_______________________________________________
Ryu-devel mailing list
Ryu-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/ryu-devel

Reply via email to