ANNOUNCEMENT: Live Wireshark University & Allegro Packets online APAC Wireshark Training Session
July 17th, 2024 | 10:00am-11:55am SGT (UTC+8) | Online

Wireshark-dev: Re: [Wireshark-dev] Buildbot fail of the capture tests - how to solve this?

From: Stephen Fisher <stephentfisher@xxxxxxxxx>
Date: Sun, 10 Dec 2006 01:14:34 -0800
On Sun, Dec 10, 2006 at 09:58:04AM +0100, Ulf Lamping wrote:

> - find a way to get some "reliable" traffic on the buildbot that the 
> test can capture (any ideas how to achieve this?)

Netcat comes to mind as a simple connection/traffic generator.  It was 
first made for Unix, but there is a Windows port at 
http://www.vulnwatch.org/netcat/.  One of the many things you can do 
with it is make it connect to a web server and download a page:

C:\netcat>nc -d www.wireshark.org 80 < get-request.txt

Where get-request.txt has "GET /<enter>" in it (since netcat reads the 
data to transmit from stdin).  The -d parameter tells it to fall into 
the background, which also supresses the output.


Steve