From d0e81061581c02e1a8b1b9afb5f36b7a16cdbd35 Mon Sep 17 00:00:00 2001 From: basil00 Date: Sat, 2 Mar 2019 08:20:19 +0800 Subject: [PATCH] Update copyright year. --- CHANGELOG | 3 ++ dll/windivert_hash.c | 48 ++++++++++++++++---------------- dll/windivert_helper.c | 2 +- dll/windivert_shared.c | 2 +- examples/flowtrack/flowtrack.c | 2 +- examples/netfilter/netfilter.c | 2 +- examples/passthru/passthru.c | 2 +- examples/socketdump/socketdump.c | 2 +- examples/webfilter/webfilter.c | 2 +- mingw-build.sh | 2 +- release-build.sh | 2 +- sys/windivert.rc | 4 +-- test/build.sh | 2 +- test/test.c | 2 +- test/test_data.c | 2 +- wddk-build.bat | 2 +- 16 files changed, 42 insertions(+), 39 deletions(-) diff --git a/CHANGELOG b/CHANGELOG index 3e585ff..d80503d 100644 --- a/CHANGELOG +++ b/CHANGELOG @@ -256,6 +256,9 @@ WinDivert 2.0.0-rc * WINDIVERT_SHUTDOWN_SEND: Disable the sending of new packets. * WINDIVERT_SHUTDOWN_BOTH: Equivalent to (WINDIVERT_SHUTDOWN_RECV | WINDIVERT_SHUTDOWN_SEND). + - Add new "read-only" WinDivert parameters: + * WINDIVERT_PARAM_VERSION_MAJOR: Driver version (major). + * WINDIVERT_PARAM_VERSION_MINOR: Driver version (minor). - Add a new WinDivertHelperHashPacket() helper function that calculates a 64bit hash value of a packet. - Add new WinDivertHelperFormatIPv4Address() and diff --git a/dll/windivert_hash.c b/dll/windivert_hash.c index 2dcbc94..2d7caa9 100644 --- a/dll/windivert_hash.c +++ b/dll/windivert_hash.c @@ -1,6 +1,6 @@ /* * windivert_hash.c - * (C) 2018, all rights reserved, + * (C) 2019, all rights reserved, * * This file is part of WinDivert. * @@ -31,33 +31,33 @@ * with this program; if not, write to the Free Software Foundation, Inc., 51 * Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. * - * xxHash - Fast Hash algorithm - * Copyright (C) 2012-2016, Yann Collet + * xxHash - Fast Hash algorithm + * Copyright (C) 2012-2016, Yann Collet * - * BSD 2-Clause License (http://www.opensource.org/licenses/bsd-license.php) + * BSD 2-Clause License (http://www.opensource.org/licenses/bsd-license.php) * - * Redistribution and use in source and binary forms, with or without - * modification, are permitted provided that the following conditions are - * met: + * Redistribution and use in source and binary forms, with or without + * modification, are permitted provided that the following conditions are + * met: * - * * Redistributions of source code must retain the above copyright - * notice, this list of conditions and the following disclaimer. - * * Redistributions in binary form must reproduce the above - * copyright notice, this list of conditions and the following disclaimer - * in the documentation and/or other materials provided with the - * distribution. + * * Redistributions of source code must retain the above copyright + * notice, this list of conditions and the following disclaimer. + * * Redistributions in binary form must reproduce the above + * copyright notice, this list of conditions and the following disclaimer + * in the documentation and/or other materials provided with the + * distribution. * - * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS - * "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT - * LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR - * A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT - * OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, - * SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT - * LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, - * DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY - * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT - * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE - * OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. + * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS + * "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT + * LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR + * A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT + * OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, + * SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT + * LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, + * DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY + * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT + * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE + * OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. */ /* diff --git a/dll/windivert_helper.c b/dll/windivert_helper.c index b2412f0..9bf73ea 100644 --- a/dll/windivert_helper.c +++ b/dll/windivert_helper.c @@ -1,6 +1,6 @@ /* * windivert_helper.c - * (C) 2018, all rights reserved, + * (C) 2019, all rights reserved, * * This file is part of WinDivert. * diff --git a/dll/windivert_shared.c b/dll/windivert_shared.c index e2a3fd4..ba9c4c9 100644 --- a/dll/windivert_shared.c +++ b/dll/windivert_shared.c @@ -1,6 +1,6 @@ /* * windivert_shared.c - * (C) 2018, all rights reserved, + * (C) 2019, all rights reserved, * * This file is part of WinDivert. * diff --git a/examples/flowtrack/flowtrack.c b/examples/flowtrack/flowtrack.c index c0e935e..624bec2 100644 --- a/examples/flowtrack/flowtrack.c +++ b/examples/flowtrack/flowtrack.c @@ -1,6 +1,6 @@ /* * flowtrack.c - * (C) 2018, all rights reserved, + * (C) 2019, all rights reserved, * * This file is part of WinDivert. * diff --git a/examples/netfilter/netfilter.c b/examples/netfilter/netfilter.c index 9936a18..cfeb061 100644 --- a/examples/netfilter/netfilter.c +++ b/examples/netfilter/netfilter.c @@ -1,6 +1,6 @@ /* * netfilter.c - * (C) 2018, all rights reserved, + * (C) 2019, all rights reserved, * * This file is part of WinDivert. * diff --git a/examples/passthru/passthru.c b/examples/passthru/passthru.c index dc56824..4307c73 100644 --- a/examples/passthru/passthru.c +++ b/examples/passthru/passthru.c @@ -1,6 +1,6 @@ /* * passthru.c - * (C) 2018, all rights reserved, + * (C) 2019, all rights reserved, * * This file is part of WinDivert. * diff --git a/examples/socketdump/socketdump.c b/examples/socketdump/socketdump.c index 27af548..a33d539 100644 --- a/examples/socketdump/socketdump.c +++ b/examples/socketdump/socketdump.c @@ -1,6 +1,6 @@ /* * socketdump.c - * (C) 2018, all rights reserved, + * (C) 2019, all rights reserved, * * This file is part of WinDivert. * diff --git a/examples/webfilter/webfilter.c b/examples/webfilter/webfilter.c index 3d2f130..2b9578e 100644 --- a/examples/webfilter/webfilter.c +++ b/examples/webfilter/webfilter.c @@ -1,6 +1,6 @@ /* * webfilter.c - * (C) 2018, all rights reserved, + * (C) 2019, all rights reserved, * * This file is part of WinDivert. * diff --git a/mingw-build.sh b/mingw-build.sh index aa6d1ff..389e14b 100644 --- a/mingw-build.sh +++ b/mingw-build.sh @@ -1,7 +1,7 @@ #!/bin/bash # # mingw-build.sh -# (C) 2018, all rights reserved, +# (C) 2019, all rights reserved, # # This file is part of WinDivert. # diff --git a/release-build.sh b/release-build.sh index 21a7750..7554fc5 100644 --- a/release-build.sh +++ b/release-build.sh @@ -1,7 +1,7 @@ #!/bin/bash # # release-build.sh -# (C) 2018, all rights reserved, +# (C) 2019, all rights reserved, # # This file is part of WinDivert. # diff --git a/sys/windivert.rc b/sys/windivert.rc index cdd40a8..57fa09f 100644 --- a/sys/windivert.rc +++ b/sys/windivert.rc @@ -1,6 +1,6 @@ /* * windivert.rc - * (C) 2018, all rights reserved, + * (C) 2019, all rights reserved, * * This file is part of WinDivert. * @@ -38,7 +38,7 @@ #define VER_FILETYPE VFT_DRV #define VER_FILESUBTYPE VFT2_DRV_NETWORK #define VER_FILEDESCRIPTION_STR \ - "The WinDivert driver " \ + "The WinDivert 2.0 driver " \ "[URL: https://reqrypt.org/windivert.html] " \ "[Bitcoin: 1C5vZVSbizPeZ8ydTYhUfm4LA2cNwBfcYh]" #define VER_INTERNALNAME_STR "WinDivert.sys" diff --git a/test/build.sh b/test/build.sh index 72cbb25..0940d1b 100755 --- a/test/build.sh +++ b/test/build.sh @@ -1,7 +1,7 @@ #!/bin/bash # # build.sh -# (C) 2018, all rights reserved, +# (C) 2019, all rights reserved, # # This file is part of WinDivert. # diff --git a/test/test.c b/test/test.c index 3e13a28..6388765 100644 --- a/test/test.c +++ b/test/test.c @@ -1,6 +1,6 @@ /* * test.c - * (C) 2018, all rights reserved, + * (C) 2019, all rights reserved, * * This file is part of WinDivert. * diff --git a/test/test_data.c b/test/test_data.c index e1a33b7..b8226b7 100644 --- a/test/test_data.c +++ b/test/test_data.c @@ -1,6 +1,6 @@ /* * test_data.c - * (C) 2018, all rights reserved, + * (C) 2019, all rights reserved, * * This file is part of WinDivert. * diff --git a/wddk-build.bat b/wddk-build.bat index cbf3a08..b8829db 100644 --- a/wddk-build.bat +++ b/wddk-build.bat @@ -1,5 +1,5 @@ :: wddk-build.bat -:: (C) 2018, all rights reserved, +:: (C) 2019, all rights reserved, :: :: This file is part of WinDivert. ::