diff --git a/CHANGELOG b/CHANGELOG index e69ab72..740ed43 100644 --- a/CHANGELOG +++ b/CHANGELOG @@ -297,13 +297,14 @@ WinDivert 2.0.1-rc - Rename the following functions for consistency: * WinDivertHelperNtohIpv6Address -> WinDivertHelperNtohIPv6Address * WinDivertHelperHtonIpv6Address -> WinDivertHelperHtonIPv6Address -WinDivert 2.1.0-rc +WinDivert 2.1.0 - WinDivertOpen() now supports a new flag: * WINDIVERT_FLAG_FRAGMENTS: If set, the handle will capture inbound IP fragments, but not inbound reassembled IP packets. Otherwise, if not set (the default), the handle will capture inbound reassembled IP packets, but not inbound IP fragments. This flag only affects - inbound packets at the WINDIVERT_LAYER_NETWORK layer. + inbound packets at the NETWORK layer. + - Filter fields inbound/outbound are now supported at the SOCKET layer. - Fix BSOD caused by packets with missing or incomplete transport - headers. This bug does not affect WinDivert 1.4.*. + headers (introduced in 2.0.0). - Fix missing Flow.EndpointId and Flow.ParentEndpointId for IPv6 flows. diff --git a/README b/README index 6798e09..0fc54ca 100644 --- a/README +++ b/README @@ -1,4 +1,4 @@ -WinDivert 2.0: Windows Packet Divert +WinDivert 2.1: Windows Packet Divert ==================================== 1. Introduction diff --git a/VERSION b/VERSION index 904a390..7ec1d6d 100644 --- a/VERSION +++ b/VERSION @@ -1 +1 @@ -2.0.2-rc +2.1.0 diff --git a/dll/windivert_helper.c b/dll/windivert_helper.c index 0b91cc6..0130db9 100644 --- a/dll/windivert_helper.c +++ b/dll/windivert_helper.c @@ -217,8 +217,6 @@ typedef struct WINDIVERT_LAYER_FLAG_NETWORK_FORWARD | \ WINDIVERT_LAYER_FLAG_FLOW | \ WINDIVERT_LAYER_FLAG_SOCKET) -#define LN_F__ (WINDIVERT_LAYER_FLAG_NETWORK | \ - WINDIVERT_LAYER_FLAG_FLOW) #define L__F_R (WINDIVERT_LAYER_FLAG_FLOW | \ WINDIVERT_LAYER_FLAG_REFLECT) #define LN_FS_ (WINDIVERT_LAYER_FLAG_NETWORK | \ @@ -625,7 +623,7 @@ static ERROR WinDivertTokenizeFilter(const char *filter, WINDIVERT_LAYER layer, {"icmpv6.Type", TOKEN_ICMPV6_TYPE, LNM___}, {"ifIdx", TOKEN_IF_IDX, LNM___}, {"impostor", TOKEN_IMPOSTOR, LNM___}, - {"inbound", TOKEN_INBOUND, LN_F__}, + {"inbound", TOKEN_INBOUND, LN_FS_}, {"ip", TOKEN_IP, LNMFS_}, {"ip.Checksum", TOKEN_IP_CHECKSUM, LNM___}, {"ip.DF", TOKEN_IP_DF, LNM___}, @@ -654,7 +652,7 @@ static ERROR WinDivertTokenizeFilter(const char *filter, WINDIVERT_LAYER layer, {"loopback", TOKEN_LOOPBACK, LN_FS_}, {"not", TOKEN_NOT, LNMFSR}, {"or", TOKEN_OR, LNMFSR}, - {"outbound", TOKEN_OUTBOUND, LN_F__}, + {"outbound", TOKEN_OUTBOUND, LN_FS_}, {"packet", TOKEN_PACKET, LNM___}, {"packet16", TOKEN_PACKET16, LNM___}, {"packet32", TOKEN_PACKET32, LNM___}, diff --git a/doc/windivert.html b/doc/windivert.html index 3954d00..64e71e0 100644 --- a/doc/windivert.html +++ b/doc/windivert.html @@ -1,11 +1,11 @@ - WinDivert 2.0 Documentation + WinDivert 2.1 Documentation -

WinDivert 2.0: Windows Packet Divert

+

WinDivert 2.1: Windows Packet Divert

Table of Contents