Skip to content

Commit

Permalink
Bump version and changelog for Npcap 0.9989 and SDK 1.05 release
Browse files Browse the repository at this point in the history
  • Loading branch information
bonsaiviking committed Mar 19, 2020
1 parent 9c9a729 commit e32207e
Show file tree
Hide file tree
Showing 4 changed files with 44 additions and 6 deletions.
37 changes: 35 additions & 2 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,4 +1,37 @@
## Npcap 0.9988 [2020-03-05]

## Npcap 0.9989 [2020-03-19]

* Fix a BSOD crash in `NPF_OpenAdapter` due to reading past the end of a
string. Fixes [#1924](https://issues.nmap.org/1924)

* Fix a BSOD crash (NULL pointer dereference) in `NPF_Restart`.
Fixes [#1964](https://issues.nmap.org/1964).

* Fix a memory leak in the Loopback WFP filter. Additionally, WFP callbacks
will be unregistered when all loopback captures are closed, reducing impact
of related code when not in use. Fixes [#1966](https://issues.nmap.org/1966).

* New Packet.DLL function `PacketSetTimestampMode()` allows a user program to
set the method used to timestamp packets as they arrive. See [#1775](https://issues.nmap.org/1775).
Supported modes are:
* `TIMESTAMPMODE_SINGLE_SYNCHRONIZATION` - default monotonic timestamps based
on `KeQueryPerformanceCounter()`
* `TIMESTAMPMODE_QUERYSYSTEMTIME` - low-precision wall clock time based on
`KeQuerySystemTime()`
* `TIMESTAMPMODE_QUERYSYSTEMTIME_PRECISE` - high-precision wall clock time
based on `KeQuerySystemTimePrecise()`, new in this release and only
available on Windows 8 and newer. See [#1407](https://issues.nmap.org/1407).

* Remove some problematic timestamp modes:
`TIMESTAMPMODE_SYNCHRONIZATION_ON_CPU_WITH_FIXUP` and
`TIMESTAMPMODE_SYNCHRONIZATION_ON_CPU_NO_FIXUP` were undocumented;
`TIMESTAMPMODE_RDTSC` was x86-only and not suitable for multi-processor
systems. See [#1829](https://issues.nmap.org/1829).

* The Npcap SDK 1.05 will be released to include the new
`PacketSetTimestampMode()` function.

## Npcap 0.9988 [2020-03-05]

* If a capture is in progress when the system is suspended, it will continue
without interruption after the system is woken. This also prevents capture
Expand Down Expand Up @@ -351,7 +384,7 @@
such as those caused by Windows 10 feature upgrades.
See [#1216](http://issues.nmap.org/1216)

* Improved stability by restoring certain passsthrough NDIS callbacks that are
* Improved stability by restoring certain passthrough NDIS callbacks that are
not used, but appear to cause connectivity problems if omitted.
See [#1208](http://issues.nmap.org/1208).

Expand Down
5 changes: 5 additions & 0 deletions Common/Packet32.h
Original file line number Diff line number Diff line change
Expand Up @@ -141,6 +141,11 @@ typedef struct _AirpcapHandle* PAirpcapHandle;
#define NPF_DISABLE_LOOPBACK 1 ///< Drop the packets sent by the NPF driver
#define NPF_ENABLE_LOOPBACK 2 ///< Capture the packets sent by the NPF driver

// Timestamp Modes
#define TIMESTAMPMODE_SINGLE_SYNCHRONIZATION 0 // KeQueryPerformanceCounter
#define TIMESTAMPMODE_QUERYSYSTEMTIME 2 // KeQuerySystemTime
#define TIMESTAMPMODE_QUERYSYSTEMTIME_PRECISE 4 // KeQuerySystemTimePrecise, Windows 8 and newer

/*!
\brief Network type structure.
Expand Down
2 changes: 1 addition & 1 deletion build_sdk.bat
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
@echo off
set SDKFILENAME=npcap-sdk-1.04.zip
set SDKFILENAME=npcap-sdk-1.05.zip

if "%2"== "" ( rd /s/q ./npcap-sdk 2>nul >nul) else ( rd /s /q "%2" 2>nul >nul)

Expand Down
6 changes: 3 additions & 3 deletions version.h
Original file line number Diff line number Diff line change
Expand Up @@ -87,11 +87,11 @@
#define /*
!define /**/ WINPCAP_MINOR 0
#define /*
!define /**/ WINPCAP_REV 9988
!define /**/ WINPCAP_REV 9989
#define /*
!define /**/ WINPCAP_BUILD 302
!define /**/ WINPCAP_BUILD 316
#define /*
!define /**/ WINPCAP_VER_STRING "0.9988"
!define /**/ WINPCAP_VER_STRING "0.9989"

#define WINPCAP_WPCAP_STRING_VERSION WINPCAP_VER_STRING

Expand Down

0 comments on commit e32207e

Please sign in to comment.