From: mcr@xelerance.com
To: Steve Schmidtke <steve_schmidtke@hotmail.com>
Cc: blaisorblade_spam@yahoo.it, kraxel@bytesex.org, uml@uxu.ch,
jdike@addtoit.com, user-mode-linux-devel@lists.sourceforge.net
Subject: [uml-devel] Re: What to do with uml_switch?
Date: Sun, 05 Dec 2004 18:23:22 -0700 [thread overview]
Message-ID: <4972.1102296202@marajade.sandelman.ottawa.on.ca> (raw)
In-Reply-To: Message from "Steve Schmidtke" <steve_schmidtke@hotmail.com> of "Sun, 05 Dec 2004 20:20:11 GMT." <BAY24-F43C12817C138B110B213583B30@phx.gbl>
-----BEGIN PGP SIGNED MESSAGE-----
>>>>> "Steve" == Steve Schmidtke <steve_schmidtke@hotmail.com> writes:
Steve> 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
Steve> If they are separate, why not just run multiple uml_switches?
a) because one sometimes needs to inject packets onto multiple networks
in a specific order. uml_netjig permits this.
b) once one has written uml_netjig to listen to the command channel
and all of the sockets each switch has, there is little reason not
to combine things. It doesn't add much complexity, and it makes
managing the switch from expect much easier.
{oh, I forgot, if you have the libnetdissect branch of tcpdump, you
can tcpdump all networks as well, which you can not always do from a
UML. Particularly if one is debugging an issue where a UML crashes as a
result of a packet-of-death}
>> 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.
Steve> I like these 3, but could you not just connect another UML
Steve> guest to the switch and run arp -s pub and tcpdump to
Steve> accomplish the same thing?
Sure, no problem :-)
Please send:
a) MORE RAM
16-way system
b) Paulo to come and debug why UMLs to "rogue", and clog up
memory and system state.
(Remember we start and stop some 1000 of them every night)
The more that we run, the worse the situation.
Starting a UML to answer ARP and ICMP echo requests is silly.
Particularly since our test system now takes 2-3 hours to run on a
multigigahertz box with lots of ram.
Steve> I am still not clear if uml_netjig is a separate program
Steve> running on top of uml_switch or inside it, but (and I
Steve> apologize for being dense if this is what you are doing) I
Steve> think the proper way to accomplish what you want is to create
Steve> a "-monitor <socket>" option to uml switch to filter all
Please go read the paper.
uml_netjig is a superset of uml_switch.
The refactoring of it means that uml_switch has just a main() that
is much simpler than that of uml_netjig.
- --
] ON HUMILITY: to err is human. To moo, bovine. | firewalls [
] Michael Richardson, Xelerance Corporation, Ottawa, ON |net architect[
] mcr@xelerance.com http://www.sandelman.ottawa.on.ca/mcr/ |device driver[
] panic("Just another Debian GNU/Linux using, kernel hacking, security guy"); [
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.2 (GNU/Linux)
Comment: Finger me for keys
iQCVAwUBQbO0h4qHRg3pndX9AQFxFQQA38+UCjmR4YnOGatlUFDYtbW/e+qWHAU/
4oDV9euDJiF6Tw7D4qDQ7eLMpjFvcAmDCTPGbfhXowbWDrXpGFhXZ7SxqQ0AzUIt
yyGFQeSrRp9GMvyDrQrmenI6q4rY6TtZItG1FcNz0E2g7VtnNY2YXN21+jT/Uujx
0ldP3wvZX2E=
=2gqt
-----END PGP SIGNATURE-----
-------------------------------------------------------
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
next prev parent reply other threads:[~2004-12-06 15:36 UTC|newest]
Thread overview: 27+ messages / expand[flat|nested] mbox.gz Atom feed top
2004-12-05 20:20 [uml-devel] Re: What to do with uml_switch? Steve Schmidtke
2004-12-06 1:23 ` mcr [this message]
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
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=4972.1102296202@marajade.sandelman.ottawa.on.ca \
--to=mcr@xelerance.com \
--cc=blaisorblade_spam@yahoo.it \
--cc=jdike@addtoit.com \
--cc=kraxel@bytesex.org \
--cc=steve_schmidtke@hotmail.com \
--cc=uml@uxu.ch \
--cc=user-mode-linux-devel@lists.sourceforge.net \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox