All of lore.kernel.org
 help / color / mirror / Atom feed
* [uml-devel] Re: What to do with uml_switch?
@ 2004-12-05 20:20 Steve Schmidtke
  2004-12-06  1:23 ` mcr
  2004-12-06 20:16 ` Blaisorblade
  0 siblings, 2 replies; 27+ messages in thread
From: Steve Schmidtke @ 2004-12-05 20:20 UTC (permalink / raw)
  To: mcr, blaisorblade_spam; +Cc: kraxel, uml, jdike, user-mode-linux-devel

Michael Richardson wrote:
>  uml_netjig is a tool which does the following:
>   1) moves packets using "daemon" mode a la uml_switch.
>  2) has an expect-friendly command line interface  3) can create 
>*multiple* switches and keep them seperate

If they are separate, why not just run multiple uml_switches?

>  4) can record all packets to a .pcap file
>  5) can play packets from a .pcap file at a given rate     (or under 
>command line interface control)
>  6) can optionally answer ARP queries for imaginary nodes.

I like these 3, but could you not just connect another UML guest to the 
switch and run arp -s pub and tcpdump to accomplish the same thing?

>  7) can talk to tuntap device(s) as uml_switch could.
>
>  My patches refactor uml_switch to get uml_netjig + uml_switch'

I am still not clear if uml_netjig is a separate program running on top of 
uml_switch or inside it, but (and I apologize for being dense if this is 
what you are doing) I think the proper way to accomplish what you want is to 
create a "-monitor <socket>" option to uml switch to filter all network 
traffic through.  Then create a monitor program that can attach/detach from 
a uml_switch at will through the monitor socket.  A hook to filter packets 
entering uml_switch and a new function to inject packets (with/without 
updating MAC tables) might be all that's necessary.  All your traffic 
management and expect code could reside in the external monitor program.

Steve schmidtke




-------------------------------------------------------
SF email is sponsored by - The IT Product Guide
Read honest & candid reviews on hundreds of IT Products from real users.
Discover which products truly live up to the hype. Start reading now. 
http://productguide.itmanagersjournal.com/
_______________________________________________
User-mode-linux-devel mailing list
User-mode-linux-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/user-mode-linux-devel

^ permalink raw reply	[flat|nested] 27+ messages in thread
* [uml-devel] What to do with uml_switch?
@ 2004-12-04  3:52 Blaisorblade
  2004-12-05  3:42 ` [uml-devel] " Michael Richardson
  2004-12-05 20:00 ` [uml-devel] " Steve Schmidtke
  0 siblings, 2 replies; 27+ messages in thread
From: Blaisorblade @ 2004-12-04  3:52 UTC (permalink / raw)
  To: Gerd Knorr, Steve Schmidtke, Felix Müri, Michael Richardson
  Cc: Jeff Dike, user-mode-linux-devel

It is apparent that something is wrong with uml_switch (though I don't know 
the code and I'm not going to express technical opinion, only "management" 
one).

I've just seen about a dozen patches to Steve Schmidtke, two different 
rewrites from Gerd and Felix, and a request from Michael to merge some code 
(uml_netjig) from OpenSWAN/FreeSWAN (IIRC) into it; and it could be something 
very interesting for SuSE customers, I think - I only know that Open/FreeSWAN 
it's about VPN, nothing more - so maybe Gerd could be interested in this.

Michael, could you start posting it here, instead that to Jeff (maybe you did 
and I didn't notice, if it was time ago, but now it's the moment to repost 
it).

Felix, even if your newer code is not yet "releasable", it can help anyway... 
even just describing the changes you did and why... design ideas are more 
important than code itself sometimes.

Steve, merging at least the earlier of your patches (they are splitup The 
Right Way(tm)) might be done soon, without lots of discussions.

If you feel so, you might split uml_switch from the rest (but remember the 
user point of view - two packages doubles the setup time).

Anyway rename the uml_router folder to uml_switch, please... time to fix it!

Clearly, Jeff is current working on completely different things, and it's a 
right thing for him to do - he is not the "I'll do everything about UML" boy, 
and time is short.

It is not even the "UML dictator". So I asked him if someone else could take 
over the maintainance of uml_switch, and he basically agreed.

The only doubt is:

1) he wants to appoint somebody he really trusts as the uml_switch maintainer.

2) I think that, within the UML community, there are enough experienced 
developers that can work together and get it right themselves, even deciding 
for a CVS development model, even because userspace code has different 
stability requirements from kernelspace one (not that uml_switch can be 
faulty, just it's easier to make it correct than with UML).

This, in the most abstract form, is a well-known debate - think to "The 
Cathedral and The Bazaar" by Eric S. Raymond.

I was simply astonished when I read "Think to users as co-developers". I've 
never been against that, but reading it so clearly explained made me think.

Now, I've not started distributing SKAS patches because someone told me to do 
that. Ingo Molnar was working on it on incompatible ways, so I took his work 
and made it backwards compatible, did some other cleanups and published it 
all over. Then it become more and more serious... and one week ago Jeff said 
"I've just been happy with you taking over the maintainership over it".

If you are good guys (and you are), I think you can sort out by discussing it 
here (I'm just against the creation of a separate ML for that development - 
things don't work that way).

So, the ball is over to you. In this moment, Gerd Knorr seems the one who has 
the time and the position (working in SuSE) to manage it well (he can push 
updates to its users and so on, for instance) but it's just my little 2 
cents.

Or you might use our wiki (http://uml.harlowhill.com/) as distribution 
center... how much of you didn't ever know it exists? Well, it being so 
unknown is the biggest bug we experience now.
-- 
Paolo Giarrusso, aka Blaisorblade
Linux registered user n. 292729
http://www.user-mode-linux.org/~blaisorblade


-------------------------------------------------------
SF email is sponsored by - The IT Product Guide
Read honest & candid reviews on hundreds of IT Products from real users.
Discover which products truly live up to the hype. Start reading now. 
http://productguide.itmanagersjournal.com/
_______________________________________________
User-mode-linux-devel mailing list
User-mode-linux-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/user-mode-linux-devel

^ permalink raw reply	[flat|nested] 27+ messages in thread

end of thread, other threads:[~2004-12-16 18:40 UTC | newest]

Thread overview: 27+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2004-12-05 20:20 [uml-devel] Re: What to do with uml_switch? Steve Schmidtke
2004-12-06  1:23 ` mcr
2004-12-07 16:06   ` Steve Schmidtke
2004-12-08 17:11     ` Michael Richardson
2004-12-08 19:49       ` Steve Schmidtke
2004-12-08 21:41         ` Michael Richardson
2004-12-14  0:36         ` Werner Almesberger
2004-12-10 18:36     ` Blaisorblade
2004-12-12  0:11       ` Michael Richardson
2004-12-12 19:11         ` Steve Schmidtke
2004-12-12 20:50           ` Michael Richardson
2004-12-16 18:20         ` Blaisorblade
2004-12-06 20:16 ` Blaisorblade
2004-12-08 16:42   ` Michael Richardson
  -- strict thread matches above, loose matches on Subject: below --
2004-12-04  3:52 [uml-devel] " Blaisorblade
2004-12-05  3:42 ` [uml-devel] " Michael Richardson
2004-12-06 19:25   ` Gerd Knorr
2004-12-07 16:21     ` Steve Schmidtke
2004-12-08 16:51     ` Michael Richardson
2004-12-08 19:33       ` Gerd Knorr
2004-12-09  3:22         ` Michael Richardson
2004-12-08 19:36       ` Steve Schmidtke
2004-12-08 21:37         ` Michael Richardson
2004-12-09  0:28           ` Steve Schmidtke
2004-12-09  0:53             ` Michael Richardson
2004-12-05 20:00 ` [uml-devel] " Steve Schmidtke
2004-12-06 18:30   ` [uml-devel] " Gerd Knorr
2004-12-06 19:35   ` [uml-devel] " Blaisorblade

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.