Up to [cvs.NetBSD.org] / pkgsrc / net / nmap
Request diff between arbitrary revisions
Keyword substitution: kv
Default branch: MAIN
nmap: fix build with GCC 12; allow Lua 5.4
nmap: Disable liblinear option on NetBSD, per icb discussion.
nmap: Make liblinear an option, on by default. liblinear is used for 'machine learning IPv6 OS detection'. It depends on a number of packages, some of which may not build on some OS versions.
nmap: assorted fixes - use pkgsrc libssh2 rather than bundled - Check portability skip for bundled libssh2 - ipv6 is no longer optional, so remove it - bump rev
nmap: ndiff and zenmap are now separate packages (incl. build fixes for zenmap)
Pullup ticket #5604 - requested by sevan
net/nmap: build fix for nmap with Lua option
Revisions pulled up:
- net/nmap/Makefile 1.137
- net/nmap/options.mk 1.19
-------------------------------------------------------------------
Module Name: pkgsrc
Committed By: leot
Date: Thu Oct 19 21:43:25 UTC 2017
Modified Files:
pkgsrc/net/nmap: Makefile options.mk
Log Message:
nmap: set LUA_VERSIONS_ACCEPTED to avoid using internal Lua provided by nmap
Without that change the nmap configure script checks for `lua_isyield'
symbol (appeared on Lua 5.3), and for LUA_VERSION_DEFAULT != 53
(pkgsrc by default set LUA_VERSION_DEFAULT to 52) it will just
silently use its internal version.
Set LUA_VERSIONS_ACCEPTED to 53 to avoid that.
Fix PR pkg/52624 reported by Patrick Mackey.
Bump PKGREVISION.
To generate a diff of this commit:
cvs rdiff -u -r1.136 -r1.137 pkgsrc/net/nmap/Makefile
cvs rdiff -u -r1.18 -r1.19 pkgsrc/net/nmap/options.mk
nmap: set LUA_VERSIONS_ACCEPTED to avoid using internal Lua provided by nmap Without that change the nmap configure script checks for `lua_isyield' symbol (appeared on Lua 5.3), and for LUA_VERSION_DEFAULT != 53 (pkgsrc by default set LUA_VERSION_DEFAULT to 52) it will just silently use its internal version. Set LUA_VERSIONS_ACCEPTED to 53 to avoid that. Fix PR pkg/52624 reported by Patrick Mackey. Bump PKGREVISION.
Add python-3.6 to incompatible versions.
Move ndiff option handling below the one for zenmap, since the latter restricts the allowed python versions.
Remove python33: adapt all packages that refer to it.
update nmap options ndiff and zenmap and corresponding PLIST entries, as well as getting the test facility to run. okay'd pettai@ No PKGREVISION for now as default installation remains unchanged.
Extend PYTHON_VERSIONS_INCOMPATIBLE to 35
Changes 7.00: * Major Nmap Scripting Engine (NSE) Expansion * Mature IPv6 support * Infrastructure Upgrades * Faster Scans * SSL/TLS scanning solution of choice * Ncat Enhanced * Extreme Portability
Mark packages that are not ready for python-3.3 also not ready for 3.4, until proven otherwise.
Mark packages as not ready for python-3.x where applicable; either because they themselves are not ready or because a dependency isn't. This is annotated by PYTHON_VERSIONS_INCOMPATIBLE= 33 # not yet ported as of x.y.z or PYTHON_VERSIONS_INCOMPATIBLE= 33 # py-foo, py-bar respectively, please use the same style for other packages, and check during updates. Use versioned_dependencies.mk where applicable. Use REPLACE_PYTHON instead of handcoded alternatives, where applicable. Reorder Makefile sections into standard order, where applicable. Remove PYTHON_VERSIONS_INCLUDE_3X lines since that will be default with the next commit. Whitespace cleanups and other nits corrected, where necessary.
update to 6.40 changes: -scripting improvements -added lua scripting support to ncat -hundreds of new OS and service detection signatures -version scanning through a chain of proxies -improved target specification -performance enhancements and bug fixes pkgsrc note: added "lua" option approved by The Maintainer
Nmap 6.25:
o [NSE] Added CPE to smb-os-discovery output.
o [Ncat] Fixed the printing of warning messages for large arguments to
the -i and -w options.
o [Ncat] Shut down the write part of connected sockets in listen mode
when stdin hits EOF, just as was already done in connect mode.
o [Zenmap] Removed a crashing error that could happen when canceling a
"Print to File" on Windows:
Traceback (most recent call last):
File "zenmapGUI\MainWindow.pyo", line 831, in _print_cb
File "zenmapGUI\Print.pyo", line 156, in run_print_operation
GError: Error from StartDoc
o [NSE] Added new fingerprints for http-enum: Sitecore, Moodle, typo3,
SquirrelMail, RoundCube.
o Added some new checks for failed library calls.
Fix PKG_OPTIONS.nmap=ndiff to include python/application.mk - previously would only work when set in addition to PKG_OPTIONS.zenmap
Remove python24 and all traces of it from pkgsrc. Remove devel/py-ctypes (only needed by and supporting python24). Remove PYTHON_VERSIONS_ACCEPTED and PYTHON_VERSIONS_INCOMPATIBLE lines that just mirror defaults now. Miscellaneous cleanup while editing all these files.
Bugfix release/patch o Added checks that the argument to freeaddrinfo is not NULL, avoiding a segmentation fault on Android and possibly other platforms.
Let's assume for now that everything that worked with python-2.6 also works with python-2.7.
Nmap 5.21 [2010-01-27] (-> Nmap 5.00) Some of highlights are: o Dramatically improved the version detection database, integrating 2,596 submissions that users contributed since February 3, 2009! o Added 7 new NSE scripts for a grand total of 79! o Performed a memory consumption audit and made changes to dramatically reduce Nmap's footprint. o A major service detection submission integration. o Added some new service detection probes o Added 14 new NSE scripts for a grand total of 72! You can learn about them all at http://nmap.org/nsedoc/. Here are the new ones: o Nmap's --traceroute has been rewritten for better performance. o Integrated 1,349 fingerprints (and 81 corrections). o [NSE] Default socket parallelism has been doubled from 10 to 20. o [NSE] Now supports worker threads o Zenmap now includes ports in the services view whenever Nmap found them "interesting," whatever their state. o [Ncat, Ndiff] The exit codes of these programs now reflect whether they succeeded. o Optimize MAC address prefix lookup by using an std::map o Canonicalized the list of OS detection device types to a smaller set. o Zenmap's UI performance has improved significantly. o [NSE] socket garbage collection was rewritten for better performance. Many many bugfixes! For full changelog, see http://nmap.org/changelog.html Ok'ed during freeze by wiz@
Update to 5.00 Fix for PR#41506 Fix missing @dirrm entries from PLIST* Before we go into the detailed changes, here are the top 5 improvements in Nmap 5: 1. The new Ncat tool aims to be your Swiss Army Knife for data transfer, redirection, and debugging. We released a whole users' guide detailing security testing and network administration tasks made easy with Ncat. 2. The addition of the Ndiff scan comparison tool completes Nmap's growth into a whole suite of applications which work together to serve network administrators and security practitioners. Ndiff makes it easy to automatically scan your network daily and report on any changes (systems coming up or going down or changes to the software services they are running). The other two tools now packaged with Nmap itself are Ncat and the much improved Zenmap GUI and results viewer. 3. Nmap performance has improved dramatically. We spent last summer scanning much of the Internet and merging that data with internal enterprise scan logs to determine the most commonly open ports. This allows Nmap to scan fewer ports by default while finding more open ports. We also added a fixed-rate scan engine so you can bypass Nmap's congestion control algorithms and scan at exactly the rate (packets per second) you specify. 4. We released Nmap Network Scanning, the official Nmap guide to network discovery and security scanning. From explaining port scanning basics for novices to detailing low-level packet crafting methods used by advanced hackers, this book suits all levels of security and networking professionals. A 42-page reference guide documents every Nmap feature and option, while the rest of the book demonstrates how to apply those features to quickly solve real-world tasks. More than half the book is available in the free online edition. 5. The Nmap Scripting Engine (NSE) is one of Nmap's most powerful and flexible features. It allows users to write (and share) simple scripts to automate a wide variety of networking tasks. Those scripts are then executed in parallel with the speed and efficiency you expect from Nmap. All existing scripts have been improved, and 32 new ones added. New scripts include a whole bunch of MSRPC/NetBIOS attacks, queries, and vulnerability probes; open proxy detection; whois and AS number lookup queries; brute force attack scripts against the SNMP and POP3 protocols; and many more. All NSE scripts and modules are described in the new NSE documentation portal. Details are here: http://nmap.org/changelog.html
Support inet6 option. From PR 37152. OK by salo@.
Add an option to build zenmap (not enabled by default)