Hi,
On Wed, May 10, 2006 at 11:58:15PM +0200, Bjoern Doebel wrote:
ORe also provides a minimal TCP stack in l4/pkg/ore/lib/uip. I don't know whether Christian Helmuth already finished to add ORe support to FLIPS - maybe he can give some info about this.
Yes, I did. If you build FLIPS a special binary "flips-ore" with ORe support is generated.
Cheers
Hi,
I have a question for some time - why not use flips as a simple gateway? Maybe it is better than configing the nic to promiscuous mode?
I have made a simple test, and it can work. I think another merit is that we may use the ipsec implentation of linux kernel with flips.
Regards,
Wei
On 5/11/06, Bjoern Doebel doebel@os.inf.tu-dresden.de wrote:
is it possible to connect from an L4Linux process to a FLIPS-based L4 task using TCP/IP? And if so, how?
Sure. Both, L4Linux and your app need to be compiled without native hardware support. Instead, use a software network switch like the one provided by l4/pkg/ore. L4Linux needs to compiled with the ORe driver and your app needs to send/receive packets through ORe.
ORe also provides a minimal TCP stack in l4/pkg/ore/lib/uip. I don't know whether Christian Helmuth already finished to add ORe support to FLIPS - maybe he can give some info about this.
Hi,
I have a question for some time - why not use flips as a simple gateway? Maybe it is better than configing the nic to promiscuous mode?
This is an option. However, we chose to implement packet switching at a lower level. Thereby we can also provide networking to applications that do not use a TCP stack - see the arping client in l4/pkg/ore/examples/arping. Furthermore clients do not need to rely on the complete FLIPS, but can also use a minimal stack like the one coming along with ORe.
Besides, you are still able to implement your solution as FLIPS gateway communicating with ORe.
Bjoern
Hello Wei,
On Thu, May 11, 2006 at 05:28:51PM +0800, Wei Shen wrote:
I have made a simple test, and it can work. I think another merit is that we may use the ipsec implentation of linux kernel with flips.
Yes, that was done some years ago and worked. But remember: FLIPS uses Linux 2.4 and therefore cannot leverage the Linux 2.6 IPSEC implementation.
Ciao
l4-hackers@os.inf.tu-dresden.de