| Sun | Mon | Tue | Wed | Thu | Fri | Sat |
|---|---|---|---|---|---|---|
| 1 | 2 | 3 | 4 | |||
| 5 | 6 | 7 | 8 | 9 | 10 | 11 |
| 12 | 13 | 14 | 15 | 16 | 17 | 18 |
| 19 | 20 | 21 | 22 | 23 | 24 | 25 |
| 26 | 27 | 28 | 29 | 30 |
| Months | ||
|---|---|---|
| Jan | Feb | Mar |
| Apr | May | Jun |
| Jul | Aug | Sep |
| Oct | Nov | Dec |
[06:32] TCPDump on Windows
Date: 6/27/05 at 2:32PM
I had a situation today where I needed the functionality of TCPDump but I couldn't install ANYTHING on the server I wanted to dump on. This ruled out WinDump as you need to install WinPcap to get that, and most other similar utilities, working. I then stumbled across MicroOLAP TCPDump. This is a windows port of the original tcpdump program using their own Packet Sniffer SDK. From what I've read on the site, the SDK is actually a rebadged (and reworked?) Network Investigation Suite - a Delphi based fully self-contained, dynamically-loaded packet capture technology.
It is free for personal use and attracts a $US40 license fee for commercial use.
It has exactly the same command line switches as the *nix version (yay!) but the interface selection is a little difficult. I couldn't find any doco on it so here's what I worked out/guessed:
How To Find Your Network Interface ServiceName

Set oReg=GetObject("winmgmts:{impersonationLevel=impersonate}!\\.\root\default:StdRegProv")
sKey = "Software\Microsoft\Windows NT\CurrentVersion\NetworkCards"
lRet = oReg.EnumKey(&H80000002, sKey, arSubKeys)
If (lRet = 0) Then
For Each oKey In arSubKeys
sSubPath = sKey & "\" & oKey
oReg.GetExpandedStringValue &H80000002, sSubPath, "Description", sDesc
oReg.GetExpandedStringValue &H80000002, sSubPath, "ServiceName", sValue
InputBox sDesc, "Network Card ServiceName", sValue
Next
Else
WScript.Echo "Couldn't get registry array (" & lRet & ")!"
End If