#!/bin/sh
#
# Quick script to run tcpdump and capture Woomera message output
#
# Assumtions:
#	1 - Using eth0. Use lo for (127.0.0.1) 
#	2 - Really need to know minimum Woomera messages size for "greater" filter. 
#		Overall length of 72 just a guess that seems to work.
#	3 - Using standard Woomera TCP port 42420
#	4 - Dumping to a file (woomera.out) for later perusal with wireshark
#	5 - -s 0 says don't limit captured packedt length
#
tcpdump -i eth0 -s 0 -w woomera.out tcp port 42420 and greater 72
