Patches: Browse | Submit New | Admin

[#18040] WinPcap support for pcaprub.

Date:
2008-02-13 20:01
Priority:
3
Submitted By:
Pranay Kanwar (warl0ck)
Assigned To:
Nobody (None)
Category:
None
State:
Open
Summary:
WinPcap support for pcaprub.

Detailed description
This patch allows to use pcaprub on Windows native version of ruby.
Tested on Windows 2K/XPSP2 with WinPcap version 4.0.2.

Build environment.
 
1. ruby 1.8.6 (2007-09-24 patchlevel 111) [i386-mswin32]
2. Visual Studio 2005 (Compiler Version 14.00.50727.762 for 80x86)
3. WinPcap Developer pack (WpdPack)version 4.0.2.
4. Patch created on cygwin with diff -r -U 3 a/ b/

To apply the patch

$ cd pcaprub
$ patch < ../winpcap_patch 

To build

C:\>cd pcaprub
C:\>pcaprub> ruby extconf.rb --with-pcap-dir=<path to WpdPack>
C:\>pcaprub> nmake
C:\>pcaprub> nmake install

Did pass the test_pcap.rb test script.

Add A Comment: Notepad

Please login


Followup

No Followups Have Been Posted

Attached Files:

Name Description Download
winpcap_patch Enables WinPcap support for pcaprub. Download

Changes:

Field Old Value Date By
File Added3369: winpcap_patch2008-02-13 20:01warl0ck