* Can Xen VMM or dom0 see the console input to certain domU?
@ 2005-03-29 21:36 Xin Zhao
2005-03-29 21:40 ` Anthony Liguori
0 siblings, 1 reply; 4+ messages in thread
From: Xin Zhao @ 2005-03-29 21:36 UTC (permalink / raw)
To: xen-devel
Also, looks like the network traffic is bridged at dom0, does that mean
dom0 can see all the network traffic to all domU?
If the answers to the two questions above are "yes", can someone point me
to the right place in source codes that bridge user terminal inputs and
network traffic?
Many thanks!
-x
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: Can Xen VMM or dom0 see the console input to certain domU?
2005-03-29 21:36 Can Xen VMM or dom0 see the console input to certain domU? Xin Zhao
@ 2005-03-29 21:40 ` Anthony Liguori
2005-03-29 21:58 ` Xin Zhao
0 siblings, 1 reply; 4+ messages in thread
From: Anthony Liguori @ 2005-03-29 21:40 UTC (permalink / raw)
To: Xin Zhao; +Cc: xen-devel
Xin Zhao wrote:
>Also, looks like the network traffic is bridged at dom0, does that mean
>dom0 can see all the network traffic to all domU?
>
>
I'm not sure I fully understand your questions.
dom0 feeds each domU's console input. The current source of that input
is a TCP socket via Xend.
All network traffic is funnelled through the network device's backend
which currently lives in dom0.
>If the answers to the two questions above are "yes", can someone point me
>to the right place in source codes that bridge user terminal inputs and
>network traffic?
>
>
It depends on what you're trying to do. If you want to do some sort of
traffic shaping or routing the normal Linux hooks should work in dom0.
If you want to trap console input, you're probably going to be looking
in Xend.
Regards,
>Many thanks!
>
>-x
>
>_______________________________________________
>Xen-devel mailing list
>Xen-devel@lists.xensource.com
>http://lists.xensource.com/xen-devel
>
>
>
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: Can Xen VMM or dom0 see the console input to certain domU?
2005-03-29 21:40 ` Anthony Liguori
@ 2005-03-29 21:58 ` Xin Zhao
2005-03-29 22:07 ` Anthony Liguori
0 siblings, 1 reply; 4+ messages in thread
From: Xin Zhao @ 2005-03-29 21:58 UTC (permalink / raw)
To: Anthony Liguori; +Cc: xen-devel
Thanks a lot! Your answer exactly addressed my question. :) Can you point
out the exact place that forwards user input to DomU via TCP socket in
Xend? I might want to deploy a module in Dom0 to inspect the user inputs
(both keyboard and mouse) to DomU.
cheers,
-x
On Tue, 29 Mar 2005, Anthony Liguori wrote:
> Xin Zhao wrote:
>
> >Also, looks like the network traffic is bridged at dom0, does that mean
> >dom0 can see all the network traffic to all domU?
> >
> >
> I'm not sure I fully understand your questions.
>
> dom0 feeds each domU's console input. The current source of that input
> is a TCP socket via Xend.
>
> All network traffic is funnelled through the network device's backend
> which currently lives in dom0.
>
> >If the answers to the two questions above are "yes", can someone point me
> >to the right place in source codes that bridge user terminal inputs and
> >network traffic?
> >
> >
> It depends on what you're trying to do. If you want to do some sort of
> traffic shaping or routing the normal Linux hooks should work in dom0.
>
> If you want to trap console input, you're probably going to be looking
> in Xend.
>
> Regards,
>
> >Many thanks!
> >
> >-x
> >
> >_______________________________________________
> >Xen-devel mailing list
> >Xen-devel@lists.xensource.com
> >http://lists.xensource.com/xen-devel
> >
> >
> >
>
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: Can Xen VMM or dom0 see the console input to certain domU?
2005-03-29 21:58 ` Xin Zhao
@ 2005-03-29 22:07 ` Anthony Liguori
0 siblings, 0 replies; 4+ messages in thread
From: Anthony Liguori @ 2005-03-29 22:07 UTC (permalink / raw)
To: Xin Zhao; +Cc: xen-devel
Xin Zhao wrote:
>Thanks a lot! Your answer exactly addressed my question. :) Can you point
>out the exact place that forwards user input to DomU via TCP socket in
>Xend? I might want to deploy a module in Dom0 to inspect the user inputs
>(both keyboard and mouse) to DomU.
>
>
tools/python/xen/xend/server/console.py
Where you hook things depends on your app. produceRequests() is
probably a good place to start.
Regards,
Anthony Liguori
>cheers,
>-x
>
>
>On Tue, 29 Mar 2005, Anthony Liguori wrote:
>
>
>
>>Xin Zhao wrote:
>>
>>
>>
>>>Also, looks like the network traffic is bridged at dom0, does that mean
>>>dom0 can see all the network traffic to all domU?
>>>
>>>
>>>
>>>
>>I'm not sure I fully understand your questions.
>>
>>dom0 feeds each domU's console input. The current source of that input
>>is a TCP socket via Xend.
>>
>>All network traffic is funnelled through the network device's backend
>>which currently lives in dom0.
>>
>>
>>
>>>If the answers to the two questions above are "yes", can someone point me
>>>to the right place in source codes that bridge user terminal inputs and
>>>network traffic?
>>>
>>>
>>>
>>>
>>It depends on what you're trying to do. If you want to do some sort of
>>traffic shaping or routing the normal Linux hooks should work in dom0.
>>
>>If you want to trap console input, you're probably going to be looking
>>in Xend.
>>
>>Regards,
>>
>>
>>
>>>Many thanks!
>>>
>>>-x
>>>
>>>_______________________________________________
>>>Xen-devel mailing list
>>>Xen-devel@lists.xensource.com
>>>http://lists.xensource.com/xen-devel
>>>
>>>
>>>
>>>
>>>
>
>
>
^ permalink raw reply [flat|nested] 4+ messages in thread
end of thread, other threads:[~2005-03-29 22:07 UTC | newest]
Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2005-03-29 21:36 Can Xen VMM or dom0 see the console input to certain domU? Xin Zhao
2005-03-29 21:40 ` Anthony Liguori
2005-03-29 21:58 ` Xin Zhao
2005-03-29 22:07 ` Anthony Liguori
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.