Commit afe71d41 authored by Sophie Brun's avatar Sophie Brun

Imported Upstream version 5.0.5

parent 3ba87d04
openvas-scanner 5.0.5 (2015-12-21)
This is the fifth maintenance release of the openvas-scanner 5.0 module for
the Open Vulnerability Assessment System release 8 (OpenVAS-8).
This release addresses a segmentation fault in OpenVAS Scanner and two minor
issues regarding the support script for client certificate generation and
regarding the process title in certain circumstances.
Many thanks to everyone who contributed to this release:
Hani Benhabiles and Michael Wiegand.
Main changes compared to 5.0.4:
* Fixed a segmentation fault in the Scanner when processing an NVT without a
proper name.
* The support script for the creation of client certificates is now installed
in a FHS compliant location.
* The process title now contains the correct IP address for IPv4-mapped IPv6
addresses.
openvas-scanner 5.0.4 (2015-07-09)
This is the fourth maintenance release of the openvas-scanner 5.0 module for
......
......@@ -85,7 +85,7 @@ set (CPACK_PACKAGE_VERSION_MAJOR "5")
set (CPACK_PACKAGE_VERSION_MINOR "0")
# Use this scheme for stable releases
set (CPACK_PACKAGE_VERSION_PATCH "4${SVN_REVISION}")
set (CPACK_PACKAGE_VERSION_PATCH "5${SVN_REVISION}")
set (CPACK_PACKAGE_VERSION "${CPACK_PACKAGE_VERSION_MAJOR}.${CPACK_PACKAGE_VERSION_MINOR}.${CPACK_PACKAGE_VERSION_PATCH}")
# Use this scheme for +betaN and +rcN releases:
#set (CPACK_PACKAGE_VERSION_PATCH "+beta1${SVN_REVISION}")
......@@ -251,13 +251,20 @@ install (FILES ${CMAKE_BINARY_DIR}/src/openvassd
# DESTINATION ${OPENVAS_SYSCONF_DIR})
install (FILES ${CMAKE_BINARY_DIR}/tools/openvas-mkcert
${CMAKE_BINARY_DIR}/tools/openvas-mkcert-client
${CMAKE_BINARY_DIR}/tools/openvas-nvt-sync
${CMAKE_BINARY_DIR}/tools/greenbone-nvt-sync
DESTINATION ${SBINDIR}
PERMISSIONS OWNER_EXECUTE OWNER_READ OWNER_WRITE
GROUP_READ GROUP_EXECUTE WORLD_READ WORLD_EXECUTE)
install (FILES ${CMAKE_BINARY_DIR}/tools/openvas-mkcert-client
DESTINATION ${BINDIR}
PERMISSIONS OWNER_EXECUTE OWNER_READ OWNER_WRITE
GROUP_READ GROUP_EXECUTE WORLD_READ WORLD_EXECUTE)
install (FILES ${CMAKE_SOURCE_DIR}/doc/openvas-mkcert-client.1
DESTINATION ${DATADIR}/man/man1 )
install (FILES ${CMAKE_BINARY_DIR}/doc/openvassd.8
DESTINATION ${DATADIR}/man/man8 )
......
2015-12-21 Michael Wiegand <michael.wiegand@greenbone.net>
Preparing the openvas-scanner 5.0.5 release.
* CHANGES: Updated.
2015-12-17 Hani Benhabiles <hani.benhabiles@greenbone.net>
Backport r23991.
* src/comm.c (send_plug_info): Fix segfault when an NVT has no name.
2015-08-25 Hani Benhabiles <hani.benhabiles@greenbone.net>
Backport r23154.
* src/openvassd.c (scanner_thread): Adjust process title for IPv4-mapped
IPv6 address case.
2015-07-17 Michael Wiegand <michael.wiegand@greenbone.net>
Backport r22852.
* CMakeLists.txt: Install openvas-mkcert-client to "bin" instead of
"sbin" to be FHS compliant. Ensure man page for openvas-mkcert-client
is installed. Based on patch provided by Michal Ambroz.
2015-07-09 Michael Wiegand <michael.wiegand@greenbone.net>
Post release version bump.
* CMakeLists.txt: Set version to 5.0.5.
2015-07-09 Michael Wiegand <michael.wiegand@greenbone.net>
Preparing the openvas-scanner 5.0.4 release.
......
/* OpenVAS
* $Id: comm.c 21992 2015-03-30 10:49:31Z kroosec $
* $Id: comm.c 23992 2015-12-16 23:40:29Z kroosec $
* Description: Communication manager; it manages the NTP Protocol version 1.0 and 1.1.
*
* Authors: - Renaud Deraison <deraison@nessus.org> (Original pre-fork develoment)
......@@ -192,6 +192,12 @@ send_plug_info (int soc, struct arglist *plugins)
nvti_oid (nvti));
ignored = 1;
}
else if (strchr (name, '\n') != NULL)
{
log_write ("%s: Newline in name\n", nvti_oid (nvti));
ignored = 1;
}
if ((copyright = nvti_copyright (nvti)) == NULL)
{
......@@ -226,13 +232,6 @@ send_plug_info (int soc, struct arglist *plugins)
ignored = 1;
}
if (strchr (name, '\n') != NULL)
{
log_write ("%s: Newline in name\n", nvti_oid (nvti));
ignored = 1;
}
if (strchr (copyright, '\n') != NULL)
{
log_write ("%s: Newline in copyright\n", nvti_oid (nvti));
......
/* OpenVAS
* $Id: openvassd.c 22546 2015-06-02 15:21:47Z kroosec $
* $Id: openvassd.c 23155 2015-08-25 20:54:35Z kroosec $
* Description: Runs the OpenVAS-scanner.
*
* Authors: - Renaud Deraison <deraison@nessus.org> (Original pre-fork develoment)
......@@ -425,7 +425,11 @@ scanner_thread (struct arglist *globals)
else
{
struct sockaddr_in6 *s6addr = (struct sockaddr_in6 *) &addr;
inet_ntop (AF_INET6, &s6addr->sin6_addr, asciiaddr, sizeof (asciiaddr));
if (IN6_IS_ADDR_V4MAPPED (&s6addr->sin6_addr))
inet_ntop (AF_INET, &s6addr->sin6_addr.s6_addr[12],
asciiaddr, sizeof (asciiaddr));
else
inet_ntop (AF_INET6, &s6addr->sin6_addr, asciiaddr, sizeof (asciiaddr));
}
proctitle_set ("openvassd: Serving %s", asciiaddr);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment