Skip to contentSkip to conversation

Testing a simpler inter-domain transport

BUNDLE King, Steven R 4 participants 4 messages Feb 12, 2006 – Feb 13, 2006

lore
Share & tools
lore
#0 lore raw
Quoted 2 lines

Note that like a real LAN, one badly behaved partition can block communication for the others they share the lan with...

Shared page LAN is much less secure than a real LAN. Any domain attached to the shared page, i.e. in the LAN, can modify any frame "in flight" on the page. Recipients have no confidence that the received frame is actually what the sender sent.

-steve

-----Original Message-----
From: [email protected] [mailto:[email protected]] On Behalf Of Rusty Russell
Sent: Wednesday, February 08, 2006 3:05 AM
To: [email protected]
Cc: xen-devel; Tony Breeds
Subject: Re: [Xen-devel] [BUNDLE] Testing a simpler inter-domain transport

Quoted 5 lines · Daniel Veillard
Quoted 4 lines · Rusty Russell
	dom0# modprobe ohlan create
	ohlan: created lan eth1 at address 0x1b6000
	domU# modprobe ohlan address=0x1b6000
Quoted 8 lines
Quoted 1 line

Feedback welcome!

point to point performances looks good, but I'm starting to worry
about thing like group communication in a large Xen machine, assuming you can run a few dozens domains consurrently, it may be useful to get

some efficient muticast based communication mechanism, the shared pages should help in some ways (usuall memory/speed tradeoff though).

Did you look at this ?

Yes, you can add other domains to the same lan:

	domU2# modprobe ohlan address=0x1b6000

Currently limited to 32 partitions for no particularly good reason. Note that like a real LAN, one badly behaved partition can block communication for the others they share the lan with...

Sorry for the confusion!
Rusty.
--
ccontrol: http://ozlabs.org/~rusty/ccontrol

_______________________________________________
Xen-devel mailing list
[email protected]
http://lists.xensource.com/xen-devel

#1 lore raw
Quoted 4 lines · Steven R

Shared page LAN is much less secure than a real LAN. Any domain attached to the shared page, i.e. in the LAN, can modify any frame "in flight" on the page. Recipients have no confidence that the received frame is actually what the sender sent.

yes, this discussion came up some time ago (I noticed it when i was doing the Plan 9 port) and I think the conclusion was "yep, it's an issue". I am not sure where it all went -- I have not yet started the xen 3.0 port for plan 9.

ron

#2 lore raw
In reply to King, Steven R
Quoted 7 lines · Steven R
Quoted 2 lines

Note that like a real LAN, one badly behaved partition can block communication for the others they share the lan with...

Shared page LAN is much less secure than a real LAN. Any domain attached to the shared page, i.e. in the LAN, can modify any frame "in flight" on the page. Recipients have no confidence that the received frame is actually what the sender sent.

Hi Steve,

I don't quite know how to respond to this! Your statement is true
given some assumptions, but not relevent to my implementation, hence the presence of your assertion in this thread is quixotic.

In my implementation, you can't tell which domain on the LAN a packet
came from, nor do I try to prevent malicious domains on the LAN from effectively stopping all useful traffic. I believe that multi-domain access is useful in some scenarious, nonetheless.

Hope that clarifies?
Rusty.

Signature · 1 line
 ccontrol: http://ozlabs.org/~rusty/ccontrol
#3 lore raw
In reply to King, Steven R
Quoted 7 lines · Steven R
Quoted 2 lines

Note that like a real LAN, one badly behaved partition can block communication for the others they share the lan with...

Shared page LAN is much less secure than a real LAN. Any domain attached to the shared page, i.e. in the LAN, can modify any frame "in flight" on the page. Recipients have no confidence that the received frame is actually what the sender sent.

I don't see why this would have to be the case, it should be
possible to allow only read access to pages containing packets sent from other domains (at the expense of a bit more physical memory being used for the service).
Concerning host blocking communications:
- blocking on burst write could be detected, the sender set of pages are full, it's a FIFO mechanism with counters
- blocking on non-read is more problematic, but it's IMHO very similar to the already very well analyzed problem of detecting failing nodes (and partitions) in distributed systems. However being on the same physical machine should simplify handling of those case quite a bit.
(note that with only 2 domains you can't distinguish the two cases
but if you have a garanteed well behaved node on Domain-0 you should be able to always distinguish them).

It would probably require significant code changes from an
optimistic implementation of the inter-domain transport but I don't see why this could not be done. Sounds like it would target a relatively different set of use case than the optimistic one, and maybe the cost isn't worth the protection this would bring in that context.

Or did I missed something ?

Daniel

Signature · 3 lines
Daniel Veillard      | Red Hat http://redhat.com/
[email protected]  | libxml GNOME XML XSLT toolkit  http://xmlsoft.org/
http://veillard.com/ | Rpmfind RPM search engine http://rpmfind.net/