From: Michael Richardson <mcr@sandelman.ottawa.on.ca>
To: Steve Schmidtke <steve_schmidtke@hotmail.com>
Cc: kraxel@bytesex.org, blaisorblade_spam@yahoo.it, uml@uxu.ch,
jdike@addtoit.com, user-mode-linux-devel@lists.sourceforge.net
Subject: Re: [uml-devel] Re: What to do with uml_switch?
Date: Wed, 08 Dec 2004 16:37:59 -0500 [thread overview]
Message-ID: <9866.1102541879@marajade.sandelman.ottawa.on.ca> (raw)
In-Reply-To: Message from "Steve Schmidtke" <steve_schmidtke@hotmail.com> of "Wed, 08 Dec 2004 19:36:25 GMT." <BAY24-F39F020DFE0870A8FDC91DC83B60@phx.gbl>
-----BEGIN PGP SIGNED MESSAGE-----
>>>>> "Steve" == Steve Schmidtke <steve_schmidtke@hotmail.com> writes:
Gerd> Hmm, I don't think it is a good idea to put that kind of
Gerd> testing code into the switch daemon. I'd make the switch
Gerd> daemon behave as close as possible to a real switch, then use
Gerd> the normal tools you use for real networks as well. I think
Gerd> uml_switch should just support a monitor port which will see
>> Not practical, not reliable.
Steve> Why not reliable? A monitor port is a diagnostic tool, and
What would I connect to the monitor port? Another UML?
This is the part that isn't practical.
My test cases sometimes have as many as 7 networks. Remember that we
have 170 test cases, and growing. Remember that we may have packets akin
to "ping-of-death", that may cause the Linux network stack to "oops".
(this isn't a good, but that's the point of regression tests... is to
make sure that old bugs do not get re-introduced)
So, we have to start the UMLs for each test, as they may have died.
To make it simple, we start/stop all of the UMLs each time.
The reason for having the ability to capture and play-back pcap files
in the uml_netjig is to eliminate the need to run as many UMLs.
Steve> There is no reason you would need to use Linux as your packet
Steve> source:
Steve> cat tcpdump.pcap | switch_mon_tool --socket /tmp/uml.mon
Steve> --delay 100ms
Steve> is the type of functionality I'm shooting for (above example
Steve> not to be taken literally).
Great. That works for 1 network.
Now, how do you replay packets where you need an actual time sequence
diagram to make it work? I.e.
- send packet A on network 1
- send packet B on network 2
- send packet C on network 1
- send packet D on network 2
In most cases, we have found round-robin amount input sources works
well, but in that we are disappointed with.
Further, remember that you may want to single step the packet sources,
because, you may spend *HOURS* in the debugger (with the UML in
question). That's hard with the method you proposed.
- --
] 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
iQCVAwUBQbd0NIqHRg3pndX9AQEZFgQA5vDKTWQviO9NSLr9Y6Pkvq23KQbWPop2
GyR04q/ALPlMSbdPqsJfHFsqCXLZF/gmftZH6Cp52XpXX4AO7+7x47aUDG7SW2ug
WxYjBJVqHBgBSJQNHkpcXwswqJPV4fidMyiN0X60PtmW+o6hMa/NXr9LPFcElwVw
FiEFd3ONQ7U=
=F82m
-----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-08 21:39 UTC|newest]
Thread overview: 29+ messages / expand[flat|nested] mbox.gz Atom feed top
2004-12-04 3:52 [uml-devel] What to do with uml_switch? 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 [this message]
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
2004-12-08 20:24 ` [uml-devel] " Felix Müri
-- strict thread matches above, loose matches on Subject: below --
2004-12-05 20:20 [uml-devel] " 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
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=9866.1102541879@marajade.sandelman.ottawa.on.ca \
--to=mcr@sandelman.ottawa.on.ca \
--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