pkgsrc-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[pkgsrc/trunk]: pkgsrc/net nmap ndiff zenmap: updated to 7.93



details:   https://anonhg.NetBSD.org/pkgsrc/rev/645b3758e185
branches:  trunk
changeset: 384869:645b3758e185
user:      adam <adam%pkgsrc.org@localhost>
date:      Tue Sep 06 18:47:27 2022 +0000

description:
nmap ndiff zenmap: updated to 7.93

Nmap 7.93 [2022-09-01]

o This release commemorates Nmap's 25th anniversary! It all started with this
  September 1, 1997 Phrack article by Fyodor: https://nmap.org/p51-11.html.

o [Windows] Upgraded Npcap (our Windows raw packet capturing and
  transmission driver) from version 1.50 to the latest version 1.71. It
  includes dozens of performance improvements, bug fixes and feature
  enhancements described at https://npcap.com/changelog.

o Ensure Nmap builds with OpenSSL 3.0 using no deprecated API functions.
  Binaries for this release include OpenSSL 3.0.5.

o Upgrade included libraries: libssh2 1.10.0, zlib 1.2.12, Lua 5.3.6, libpcap 1.10.1

o Fix a bug that prevented Nmap from discovering interfaces on Linux
  when no IPv4 addresses were configured. [Daniel Miller, nnposter]

o [NSE] NSE "exception handling" with nmap.new_try() will no longer
  result in a stack traceback in debug output nor a "ERROR: script execution
  failed" message in script output, since the intended behavior has always been
  to end the script immediately without output. [Daniel Miller]

o Update the Nmap output DTD to match actual output since the
  `<hosthint>` element was added in Nmap 7.90.

o [NSE] Fix newtargets support: since Nmap 7.92, scripts could not add
  targets in script pre-scanning phase. [Daniel Miller]

o Scripts dhcp-discover and broadcast-dhcp-discover now support
  setting a client identifier. [nnposter]

o Script oracle-tns-version was not reporting the version
  correctly for Oracle 19c or newer [linholmes]

o Script redis-info was crashing or producing inaccurate
  information about client connections and/or cluster nodes. [nnposter]

o Nmap and Nping were unable to obtain system routes on FreeBSD
  [benpratt, nnposter]

o Script ipidseq was broken due to calling an unreachable library
  function. [nnposter]

o Support for EC crypto was not properly enabled if Nmap
  was compiled with OpenSSL in a custom location. [nnposter]

o [NSE] Improvements to event handling and pcap socket garbage collection,
  fixing potential hangs and crashes. [Daniel Miller]

o We ceased creating the Nmap win32 binary zipfile. It was useful back when
  you could just unzip it and run Nmap from there, but that hasn't worked well
  for many years. The win32 self-installer handles Npcap installation and many
  other dependencies and complexities. Anyone who needs the binaries for some
  reason can still install Nmap on any system and retrieve them from there.
  For now we're keeping the Win32 zipfile in the Nmap OEM Edition
  (https://nmap.org/oem) for companies building Nmap into their own
  products. But even in that case we believe that running the Nmap OEM
  self-installer in silent mode is a better approach.

o Fix TDS7 password encoding for mssql.lua, which had been assuming
  ASCII input even though other parts of the library had been passing it Unicode.

o Replace deprecated CPEs for IIS with their updated identifier,
  cpe:/a:microsoft:internet_information_services [Esa Jokinen]

o [NSE] Fix script-terminating error when unknown BSON data types are
  encountered. Added parsers for most standard data types. [Daniel Miller]

o [Ncat] Fix hostname/certificate comparison and matching to handle ASN.1
  strings without null terminators, a similar bug to OpenSSL's CVE-2021-3712.

o [Ncat] Added support for SOCKS5 proxies that return bind addresses
  as hostnames, instead of IPv4/IPv6 addresses. [pomu0325]

diffstat:

 net/ndiff/Makefile                         |   3 +--
 net/ndiff/distinfo                         |   8 ++++----
 net/nmap/Makefile.common                   |   4 ++--
 net/nmap/distinfo                          |   9 +++++----
 net/nmap/patches/patch-ncat_http__digest.c |  17 +++++++++++++++++
 net/zenmap/Makefile                        |   3 +--
 net/zenmap/distinfo                        |   8 ++++----
 7 files changed, 34 insertions(+), 18 deletions(-)

diffs (104 lines):

diff -r b145f98cc704 -r 645b3758e185 net/ndiff/Makefile
--- a/net/ndiff/Makefile        Tue Sep 06 18:41:53 2022 +0000
+++ b/net/ndiff/Makefile        Tue Sep 06 18:47:27 2022 +0000
@@ -1,6 +1,5 @@
-# $NetBSD: Makefile,v 1.6 2022/06/30 11:18:42 nia Exp $
+# $NetBSD: Makefile,v 1.7 2022/09/06 18:47:27 adam Exp $
 
-PKGREVISION= 2
 .include "../../net/nmap/Makefile.common"
 
 PKGNAME=       ${DISTNAME:S/nmap/ndiff/}
diff -r b145f98cc704 -r 645b3758e185 net/ndiff/distinfo
--- a/net/ndiff/distinfo        Tue Sep 06 18:41:53 2022 +0000
+++ b/net/ndiff/distinfo        Tue Sep 06 18:47:27 2022 +0000
@@ -1,5 +1,5 @@
-$NetBSD: distinfo,v 1.6 2021/10/26 11:06:06 nia Exp $
+$NetBSD: distinfo,v 1.7 2022/09/06 18:47:27 adam Exp $
 
-BLAKE2s (nmap-7.92.tar.bz2) = 0bf7a3882fbb25dd0a19807cbbd4e14c4d9f92c0198ec3444a821a61868e5435
-SHA512 (nmap-7.92.tar.bz2) = 7828367f9dc76ff4d1e8c821260e565fb0c3cb6aba0473d24759133a3006cdf2cb087574f0dd7d2ba47a63754ba4f72e0b78cdae1333a58f05c41d428b56ad59
-Size (nmap-7.92.tar.bz2) = 10498200 bytes
+BLAKE2s (nmap-7.93.tar.bz2) = 8c2e549318f6329d7252750ab903cbeec79c93cc001b542ed3166eaa1b2c7fbd
+SHA512 (nmap-7.93.tar.bz2) = 4ec9295e25bd7a215e718c3dbbf09bfe6339b60850f4a8d09b5ad0cbf41a0da8ece0168efc5ca91ba1ecbd83b1d31735d77dacd5f1ec1a9fd212454dd1f0f0fd
+Size (nmap-7.93.tar.bz2) = 10823114 bytes
diff -r b145f98cc704 -r 645b3758e185 net/nmap/Makefile.common
--- a/net/nmap/Makefile.common  Tue Sep 06 18:41:53 2022 +0000
+++ b/net/nmap/Makefile.common  Tue Sep 06 18:47:27 2022 +0000
@@ -1,9 +1,9 @@
-# $NetBSD: Makefile.common,v 1.5 2021/08/26 08:24:48 adam Exp $
+# $NetBSD: Makefile.common,v 1.6 2022/09/06 18:47:27 adam Exp $
 # used by net/ndiff/Makefile
 # used by net/nmap/Makefile
 # used by net/zenmap/Makefile
 
-DISTNAME=      nmap-7.92
+DISTNAME=      nmap-7.93
 CATEGORIES=    net security
 MASTER_SITES=  http://nmap.org/dist/
 EXTRACT_SUFX=  .tar.bz2
diff -r b145f98cc704 -r 645b3758e185 net/nmap/distinfo
--- a/net/nmap/distinfo Tue Sep 06 18:41:53 2022 +0000
+++ b/net/nmap/distinfo Tue Sep 06 18:47:27 2022 +0000
@@ -1,10 +1,11 @@
-$NetBSD: distinfo,v 1.83 2021/10/26 11:06:08 nia Exp $
+$NetBSD: distinfo,v 1.84 2022/09/06 18:47:27 adam Exp $
 
-BLAKE2s (nmap-7.92.tar.bz2) = 0bf7a3882fbb25dd0a19807cbbd4e14c4d9f92c0198ec3444a821a61868e5435
-SHA512 (nmap-7.92.tar.bz2) = 7828367f9dc76ff4d1e8c821260e565fb0c3cb6aba0473d24759133a3006cdf2cb087574f0dd7d2ba47a63754ba4f72e0b78cdae1333a58f05c41d428b56ad59
-Size (nmap-7.92.tar.bz2) = 10498200 bytes
+BLAKE2s (nmap-7.93.tar.bz2) = 8c2e549318f6329d7252750ab903cbeec79c93cc001b542ed3166eaa1b2c7fbd
+SHA512 (nmap-7.93.tar.bz2) = 4ec9295e25bd7a215e718c3dbbf09bfe6339b60850f4a8d09b5ad0cbf41a0da8ece0168efc5ca91ba1ecbd83b1d31735d77dacd5f1ec1a9fd212454dd1f0f0fd
+Size (nmap-7.93.tar.bz2) = 10823114 bytes
 SHA1 (patch-configure) = 5fc39f084eadd6ea0560cd8e6f52074113566600
 SHA1 (patch-libdnet-stripped_src_arp-bsd.c) = c56c4e70eca2fa04dd8aab38ed2c3f4cac83f5e3
 SHA1 (patch-libnetutil_netutil.cc) = 7bd1059d6cbcf4f6d129730d6c6f6bc3ab54c0a0
+SHA1 (patch-ncat_http__digest.c) = 93cf0960249848c142fad99c8421d855618d11df
 SHA1 (patch-nping_EchoServer.cc) = e5b0213e3cfff8a32b5ae291c1921a86b9b17dd3
 SHA1 (patch-nsock_tests_run__tests.sh) = 88a7447f93dd3377e7e24e317c55528a73a17401
diff -r b145f98cc704 -r 645b3758e185 net/nmap/patches/patch-ncat_http__digest.c
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/net/nmap/patches/patch-ncat_http__digest.c        Tue Sep 06 18:47:27 2022 +0000
@@ -0,0 +1,17 @@
+$NetBSD: patch-ncat_http__digest.c,v 1.1 2022/09/06 18:47:27 adam Exp $
+
+OPENSSL_API_LEVEL is not defined correctly. Assume OpenSSL 1.1+.
+
+--- ncat/http_digest.c.orig    2022-09-06 09:10:57.000000000 +0000
++++ ncat/http_digest.c
+@@ -133,10 +133,6 @@ int http_digest_init_secret(void)
+     return 0;
+ }
+ 
+-#if OPENSSL_API_LEVEL < 10100
+-#define EVP_MD_CTX_new EVP_MD_CTX_create
+-#define EVP_MD_CTX_free EVP_MD_CTX_destroy
+-#endif
+ static char *make_nonce(const struct timeval *tv)
+ {
+     char *buf = NULL;
diff -r b145f98cc704 -r 645b3758e185 net/zenmap/Makefile
--- a/net/zenmap/Makefile       Tue Sep 06 18:41:53 2022 +0000
+++ b/net/zenmap/Makefile       Tue Sep 06 18:47:27 2022 +0000
@@ -1,6 +1,5 @@
-# $NetBSD: Makefile,v 1.9 2022/08/17 10:37:12 abs Exp $
+# $NetBSD: Makefile,v 1.10 2022/09/06 18:47:27 adam Exp $
 
-PKGREVISION= 3
 .include "../../net/nmap/Makefile.common"
 
 PKGNAME=       ${DISTNAME:S/nmap/zenmap/}
diff -r b145f98cc704 -r 645b3758e185 net/zenmap/distinfo
--- a/net/zenmap/distinfo       Tue Sep 06 18:41:53 2022 +0000
+++ b/net/zenmap/distinfo       Tue Sep 06 18:47:27 2022 +0000
@@ -1,6 +1,6 @@
-$NetBSD: distinfo,v 1.6 2021/10/26 11:07:14 nia Exp $
+$NetBSD: distinfo,v 1.7 2022/09/06 18:47:27 adam Exp $
 
-BLAKE2s (nmap-7.92.tar.bz2) = 0bf7a3882fbb25dd0a19807cbbd4e14c4d9f92c0198ec3444a821a61868e5435
-SHA512 (nmap-7.92.tar.bz2) = 7828367f9dc76ff4d1e8c821260e565fb0c3cb6aba0473d24759133a3006cdf2cb087574f0dd7d2ba47a63754ba4f72e0b78cdae1333a58f05c41d428b56ad59
-Size (nmap-7.92.tar.bz2) = 10498200 bytes
+BLAKE2s (nmap-7.93.tar.bz2) = 8c2e549318f6329d7252750ab903cbeec79c93cc001b542ed3166eaa1b2c7fbd
+SHA512 (nmap-7.93.tar.bz2) = 4ec9295e25bd7a215e718c3dbbf09bfe6339b60850f4a8d09b5ad0cbf41a0da8ece0168efc5ca91ba1ecbd83b1d31735d77dacd5f1ec1a9fd212454dd1f0f0fd
+Size (nmap-7.93.tar.bz2) = 10823114 bytes
 SHA1 (patch-zenmapCore_Paths.py) = 55ccc83a8f7dd302e4b0ffc1df0837ff651ba913



Home | Main Index | Thread Index | Old Index