Download Latest Version SharpPcap-4.0.0.src.zip (691.9 kB)
Email in envelope

Get an email when there's a new version of SharpPcap

Home / SharpPcap / 4.0.0
Name Modified Size InfoDownloads / Week
Parent folder
SharpPcap-4.0.0.src.zip 2011-09-14 691.9 kB
SharpPcap-4.0.0.bin.zip 2011-09-14 276.8 kB
README 2011-09-14 8.3 kB
Totals: 3 Items   977.1 kB 0
SharpPcap ChangeLog
v3.7.0 -> v4.0.0
http://sharppcap.sourceforge.net
Chris Morgan <chmorgan@gmail.com>

commit 031d2df4015b1f9245f7b76cdcd8866000d68a22
Author: Chris Morgan <chmorgan@gmail.com>
Date:   Tue Sep 13 20:07:50 2011 -0400

    Update PacketDotNet from 0.10.0 to 0.11.0

commit 20e4f9db4e2b2ebb85782d0bb0c64e3beaba308f
Author: Chris Morgan <chmorgan@gmail.com>
Date:   Tue Sep 13 19:53:41 2011 -0400

    Remove Changelog, we track changes in git right now

commit 31a9fb440f2c9156fbae080683427ae7f2836851
Author: Chris Morgan <chmorgan@gmail.com>
Date:   Mon Sep 12 21:22:08 2011 -0400

    Bump assembly version up to 4.0.0

commit 0ae496d4f51a4ca7ad12869daa58e6c569b89711
Author: Chris Morgan <chmorgan@gmail.com>
Date:   Sat Aug 13 19:46:10 2011 -0400

    Improve the WinformsExample example by adding a textbox below the captured packets list that shows the text output of the selected packet after parsing

commit e574f6f39a64de0f35b30b7042d473e79ec40f63
Author: Chris Morgan <chmorgan@gmail.com>
Date:   Thu Sep 8 20:04:09 2011 -0400

    Add unit tests for ICaptureDevice vs. a specfic device type and for unsafe code

commit b5253acac7f027210b0526cdf9083e65eb68a6be
Author: Chris Morgan <chmorgan@gmail.com>
Date:   Wed Aug 31 21:36:06 2011 -0400

    Fix indentation

commit 7208f4a2feed88a7e3862c6ddae0a13be041c88e
Author: Chris Morgan <chmorgan@gmail.com>
Date:   Wed Aug 31 21:34:24 2011 -0400

    Fix a compile error in PcapDevice.MarshalRawPacket

commit a55b209b4da82c7941bed1c5b3c04b5d3e590d20
Author: Chris Morgan <chmorgan@gmail.com>
Date:   Sun Aug 28 11:34:14 2011 -0400

    Resize and align PcapHeader to improve conversion performance. Changes suggested by Michael Giagnocavo<mgg@giagnocavo.net>

commit 6eff8986e1c5a9b8309cc8165db2f5c4037c1295
Author: Chris Morgan <chmorgan@gmail.com>
Date:   Sat Aug 27 23:39:13 2011 -0400

    Switch PcapHeader properties to fields, profiling shows a ~2.5% performance improvement

commit 5a4bdecccad825f88f5bc2a0aa80ee0d025fe7ee
Author: Chris Morgan <chmorgan@gmail.com>
Date:   Sat Aug 27 22:38:06 2011 -0400

    Enable pdb output and debug symbols for release builds of SharpPcap.
    
    Patch from Michael Giagnocavo<mgg@giagnocavo.net>

commit 86698a25f4b05fb3bcf3d4be5d692cf474649906
Author: Chris Morgan <chmorgan@gmail.com>
Date:   Sat Aug 27 17:36:05 2011 -0400

    Remove unused NotSupportedOnOfflineDeviceException. Replaced with
    NotSupportedOnCaptureFileException during the capture file reader/writer cleanup.

commit 9def3451710f7d81e16eed65d2c8f2810a926dc2
Author: Chris Morgan <chmorgan@gmail.com>
Date:   Sat Aug 27 17:24:43 2011 -0400

    Convert PcapHeader to a struct and convert its creation from an IntPtr to
    unsafe for significant performance improvement.
    
    Add the unsafe flag to the SharpPcap library so we can use unsafe code.
    
    Switch from casting and copying the data instead of allocating an instance and
    marshalling data into it.
    
    Performance test results from Test/Performance in the source tree:
    
    Baseline:
    346,681 packets parsed / sec
    1,032,907 packets captured / sec
    
    After changes:
    407,989 packets parsed / sec
    1,545,507 packets captured / sec
    
    ~18% increase in packet parsing rate
    ~50% increase in packet capture rate
    
    Note that those are synthetic tests that are reading packets from a capture file.
    Real world results are likely to be significant improvements in line capture rates
    and a reduction in dropped packets.
    
    Change from Michael Giagnocavo<mgg@giagnocavo.net>

commit 7aa223c983728cf4750b1c2fccae2d9549f45e96
Author: Chris Morgan <chmorgan@gmail.com>
Date:   Sat Aug 27 17:21:07 2011 -0400

    Fix TestStatisticsException, a NotSupportedOnCaptureFileException is thrown now instead of a NotSupportedOnOfflineDeviceException

commit 0e2151aeea03eb90ca27e1eb27b5a93637399ba0
Author: Chris Morgan <chmorgan@gmail.com>
Date:   Sat Aug 27 15:51:46 2011 -0400

    Remove OfflinePcapDevice.cs and OfflineCaptureDevice.cs. OfflinePcapDevice has been
    replaced by CaptureFileReaderDevice
    
    Remove the dump methods from PcapDevice. Writing to capture files has been replaced
    with the CaptureFileWriterDevice.
    
    Remove Example 7 and example 8, these have been replaced with the CreatingCaptureFile and
    ReadingCaptureFile examples
    
    Remove the dump methods from ICaptureDevice

commit cb14e5d1e54cbe56be5655f8fcd308e089791226
Author: Chris Morgan <chmorgan@gmail.com>
Date:   Fri Aug 26 23:11:01 2011 -0400

    Switch RawCapture.Data from a virtual property to a class field. ~2.5% performance improvement when parsing packets with Packet.Net and ~20% when reading all of the packet data bytes. Profiling work and change suggested by Michael Giagnocavo <mgg@giagnocavo.net>

commit 831853f0eed12b162e7230a7c777d85ad25ff9f1
Author: Chris Morgan <chmorgan@gmail.com>
Date:   Fri Aug 26 23:09:02 2011 -0400

    Add a new PacketParsing performance benchmark

commit 0d9a6ceb0f87bb98b6a5674abfeafc98ad3c7b23
Author: Chris Morgan <chmorgan@gmail.com>
Date:   Fri Aug 26 22:44:43 2011 -0400

    Rename Performance/PacketParsing.cs to PacketReading.cs to reflect that the test isn't actually parsing packets, just reading packets

commit ea76f63077b71c87086de9e9e583c3baecf51a92
Author: Chris Morgan <chmorgan@gmail.com>
Date:   Fri Aug 26 22:43:16 2011 -0400

    Switch from using OfflineCaptureDevice to using the newer LibPcap.CaptureFileReaderDevice, OfflinePcapDevice is being deprecated

commit aee8576def8ac9b8c91561e82b2500f0986896bc
Author: Chris Morgan <chmorgan@gmail.com>
Date:   Wed Aug 24 19:29:52 2011 -0400

    Add ICaptureDevice.GetNextPacketPointers and PcapDevice.GetNextPacketPointers that
    return the pointers from the calls to pcap_next_ex(). This enables unmanaged code
    to avoid the overhead of marshalling PcapHeader and packet contents to allocated memory.
    
    Method suggested by Michael Giagnocavo<mgg@giagnocavo.net> after his work to improve
    performance while capturing high rates of packets.

commit 1ddb1a64421a103c36cd6d1319c25511efaff890
Author: Chris Morgan <chmorgan@gmail.com>
Date:   Tue Aug 23 19:46:40 2011 -0400

    Update the tutorial to reflect the new CaptureFileWriterDevice and CaptureFileReaderDevice classes. Remove the older style examples as they were more complicated

commit 4fd54cd83dddd4c3d11bbf8684a5eed012b5b9d2
Author: Chris Morgan <chmorgan@gmail.com>
Date:   Tue Aug 23 19:34:52 2011 -0400

    Add FileSize and FileName properties to CaptureFileReaderDevice, copied from the now deprecated OfflinePcapDevice

commit 612b64c36d93ca821ae8441a4e309224b62b4721
Author: Chris Morgan <chmorgan@gmail.com>
Date:   Sun Aug 21 20:26:02 2011 -0400

    Project file updates for packet.net dll reference

commit 602cf03dba0c3f255f345bffaf30bf12ed0286d2
Author: Chris Morgan <chmorgan@gmail.com>
Date:   Sat Aug 20 22:11:37 2011 -0400

    Create new classes for reading and writing capture files, CaptureFileReaderDevice and CaptureFileWriterDevice. Add new examples that use these classes, Examples/ReadingCaptureFile and Examples/CreatingCaptureFile

commit fd9393a0f92d0cc7236e5fde440fe96625db8634
Author: Chris Morgan <chmorgan@gmail.com>
Date:   Wed Aug 17 22:14:17 2011 -0400

    Clarify PcapDevice.DumpOpen() and where the link-layer type and snapshot length come from

commit fed8631a439bd7a7a8addc9edb11cc11fde0331f
Author: Chris Morgan <chmorgan@gmail.com>
Date:   Sat Aug 13 13:26:20 2011 -0400

    Add missing parameter to ARP.Resolve()

commit bc30eee7bf30fb8849f95f537054c1c3f202a81f
Author: Chris Morgan <chmorgan@gmail.com>
Date:   Sat Aug 13 11:02:04 2011 -0400

    Modify ARP class to take a device instead of a device name. Fixes an issue where device names can be specific to their lists, eg. the WinPcap device list has names that start with rpcap but LibPcapLiveDeviceList does not. Using a WinPcap device name to look up a LibPcapLiveDevice like the ARP class used to do won't work. Switch instead to passing a device in instead. Also modify the class to only look up IPv4 addresses as ARP is IPv4 only, and remove public properties for the DeviceName, MacAddress and LocalIP, these can now be passed into ARP.Resolve() if desired. Modify Example2 to reflect the changes to the ARP class
Source: README, updated 2011-09-14