Attention : le support de WAPT 1.8.2 a pris fin le 30 juin 2022.

Il y a plusieurs vulnérabilité présente dans la branche WAPT 1.8.2.7393. Merci de mettre à jour sur la version supportée la plus récente. Liste des CVEs (non exhaustive) :
  • * python engine : python 2.7 (CVE-2020-10735, CVE-2015-20107, CVE-2022-0391, CVE-2021-23336, CVE-2021-3177, CVE-2020-27619, CVE-2020-26116, CVE-2019-20907, CVE-2020-8492, etc.)
  • * cryptography : openssl : CVE-2022-2068, CVE-2022-1292, CVE-2022-0778, CVE-2021-4160, CVE-2021-3712, CVE-2021-23841, CVE-2021-23840, CVE-2021-23839, CVE-2020-1971, CVE-2020-1968, CVE-2019-1551
  • * python dependencies : cryptography (CVE-2020-36242, CVE-2020-25659), eventlet (CVE-2021-21419), jinja2 (CVE-2020-28493), psutil (CVE-2019-18874), waitress (CVE-2022-31015), lxml (CVE-2021-4381, CVE-2021-28957, CVE-2020-27783, CVE-2018-19787), ujson (CVE-2022-31117, CVE-2022-31116, CVE-2021-45958), python-ldap (CVE-2021-46823)

Changelog

WAPT 1.8 Serie

WAPT-1.8.2.7393 (2021-11-16)

hash : 75a5de09

This is a security release. All Wapt 1.8 version below 1.8.2.7393 are vulnerable.

  • [SEC] upgrade babel python module from 2.5.1 to 2.9.1

  • [UPD] python lib upgrades urllib3, and requests

    chardet==4.0.0 requests==2.26.0 urllib3==1.26.7

WAPT-1.8.2.7388 (2021-10-07)

This is a security release. All Wapt 1.8 version below 1.8.2.7388 are vulnerable.

Security changelog wapt-1.8.2.7388*

  • [SEC] fix for vuln in urllib3 CVE-2021-33503 (CVSS Score : 7.5 High, CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H)

  • [SEC] Sanitize filename used when downloading files on local client. (CVSS Score : 7.5 High, CVSS;3.1/AV:L/AC:H/PR:H/UI:N/S:C/C:H/I:H/A:H/E:U/RL:O/RC:C) Enforced on wget and local filenames for downloaded packages (chars “' “..” @ | ( ) : / , [ ] < > * ? ; ` n are removed or replaced)

  • [SEC] don’t use PackageEntry filename attribute to build target package filename as it is not signed.

  • [FIX] Waptconsole config : When retrieving server side https certificate don’t write UTF16 string for in waptconfig. Remove wildcards from CN of certificate to compose cert filename.

  • [UPD] update python modules requirements following urllib3 upgrade

    certifi==2021.5.30 chardet==3.0.2 idna==2.8 requests==2.21.0 urllib3==1.24.3

WAPT-1.8.2.7373 (2021-08-10)

hash : e96e569c

This is a security fix version affected by CVE-2021-38608.

Please visit the security bulletin to learn more.

WAPT-1.8.2.7372 (2021-06-21)

WAPTAgent:

  • [FIX] fix regression on macos build after dependency upgrade

  • [FIX] _update_db : error in for the calculation of next_update_on forpackage attributes valid_until and forced_install_on

  • [IMP] be sure to not use waptguihelper when running as system user

  • [UPD] add –use-gui for vscode / pyscripter build-upload of package

WAPTServer:

  • [FIX] Fix regression on proxy setting for waptserver

Setuphelpers:

  • [IMP] add func split_arg_string to split a command line into executable / args list

WAPT-1.8.2.7357 (2021-02-09)

WaptCore:

  • [FIX] Be tolerant with target_os = “all” in windows.

  • [FIX] in installed_softwares, ignore error when key can not be opened

because of encoding issues (_winreg does not handle unicode, but ansi).

  • [IMP] shown “” instead of None in wapt-get tables.

  • [FIX] Update timestamping server and openssl hash:

http://timestamp.globalsign.com/scripts/timestamp.dll.

  • [FIX] be tolerant if no “id” attribute in installed packages report.

  • [FIX] match properly packages with target_os = all.

  • [IMP] prepare installed_packages for upgrade to wapt 1.9.

  • [IMP] add Timeit class for test purposes.

  • [IMP] disable sending unused data waptwua_rules_packages.

  • [FIX] waptupgrade regression Bug introduced in Revision:

85686e4d631adb6e13b25146f3a81f3c09ca082d.

  • [FIX] CA certificate PEM string stored as utf16 in certificate chain

when creating a certificate signed by a CA (enterprise).

WaptConsole:

  • [IMP] increase width of AD-Site combobox.

  • [IMP] report packages install_id in console.

WaptAgent:

  • [IMP] wapt-get: add –newest-only for search.

  • [IMP] waptexit: add ExceptionLogger. Change the way exceptions are handled

in threads to try to fix issues when waptexit hangs and can not be closed.

WaptServer:

  • [FIX] don’t actually update the listening websocket session ID

if it is already set in hosts table.

  • [IMP] wapttasks : force remove tasks locks at service startup.

WAPT-1.8.2.7334 (2020-12-03)

hash : 2d15afd9

This is a bugfix release. Ubuntu 16.0.4 amd64 and Debian 10 armhf clients are now supported.

Fixes and enhancements
  • [FIX] fix base proxy string «  » when editing a profile package.

  • [FIX] fix « Unable to create file » when editing a profile package.

  • [FIX] don’t allow to save a self service rules packages without a name.

  • [FIX] fix Access violation when importing from file.

  • [FIX] fix issue with download_icons.

  • [FIX] improve search in waptconsole (search on concatenation

of software name and software version).

  • [FIX] fix extract CN from ssl client cert authentication for get_auth_token

when windows client computer has an organization (in this case client csr/cert has a CN=<uuid>,O=<org> subject).

  • [FIX] fix regression on wakeonlan introduced by backported code from 1.9.

  • [FIX] PostgreSQL DB not correctly migrating from some 1.8.1.X.

  • [IMP] Add key param for install_msi_if_needed in setuphelpers_windows.py.

  • [FIX] Fix for no_fallback in repositories rules.

  • [FIX] Soupsieve python lib is set to 1.9.6 in requirements because later

version are Python3 only.

  • [FIX] Patch for SocketIO with proxy.

  • [FIX] Fix triggers for repository sync in PostgreSQL who were not correctly

migrated (Enterprise only).

  • [IMP] Two new builders for both server and agent : Ubuntu 16.0.4 LTS /

ARM x86 Debian 10 (Enterprise only).

  • [IMP] Revert dhparam bits size to 1024 bits in Windows WAPT Server because it

took too much time to generate. It can be generated afterward.

  • [IMP] Increase default clockskew for signed action to 6 hours (before it was

only 1 hour).

  • [FIX] waptcrypto: security fix: prevent infinite loop in SSLCABundle.certificate_chain

if issuer cert and signed cert have the same subject but one has no authority_key_identifier.

  • [FIX] waptcrypto : fix revoke_cert, handle list of DNS names for certificates,

fix AuthorityKeyIdentifier when neregating certificate from CSR.

  • [FIX] waptservice fix for verify_cert_ldap in waptagent.

  • [FIX] Patch pltis_utils to display properly long integer in WAPTWUA.

The wsusscn2.cab file may report KBs with incorrect huge download size up to 1TB.

  • [FIX] On a fresh install the admin ACL rights were not properly set up

which required a service restart to get fixed.

  • [FIX] Force admin password change on upgrade if the old hash is SHA-1.

  • [FIX] minor fixes for uWSGI support.

  • [FIX] Fix temporary directories not removed after package import or edit.

  • [FIX] Fix duplicated auth_module_ad.py module

in bad waptwaptenterprise directory on windows waptserver.

  • [IMP] Warning of wapt licence expiration message changed from 14 days

to 60 days before expiration.

  • [FIX] Fix broadcast for wakeonlan.

  • [FIX] fix additional server password issues when non ascii character.

Library changes
  • [UPD] Update OpenSSL binary from 1.0.2r to 1.0.2u.

  • [UPD] Update Python4Delphi lib to 20201020 release.

  • [UPD] Build now with Lazarus 2.0.8 and FPC 3.0.4.

WAPT-1.8.2.7269 (2020-06-16)

hash : 757cdc76

  • [FIX] Fix db schema upgrade script for upgrade from WAPT version 1.8.1-6742.

Fresh 1.8.2 installation or upgrade from 1.7 or from 1.8.0 or 1.8.1-6758 shouldn’t have the issue.

  • [IMP] Add key for install_msi_if_needed.

  • [FIX] Fix for no_fallback for waptwua (Enterprise only).

WAPT-1.8.2.7267 (2020-06-12)

hash : 46f40312

  • [FIX] Fix db schema upgrade script for upgrade from WAPT version 1.8.1-6742.

Fresh 1.8.2 installation or upgrade from 1.7 or from 1.8.0 or 1.8.1-6758 shouldn’t have the issue.

WAPT-1.8.2.7265 (2020-06-11)

hash : 339f1996

This is mostly a bugfix release. Support for Linux and Mac clients has also been greatly improved.

Notable enhancements
  • [IMP] improve support for WaptAgent on Linux and Mac.

Now the support is almost identical on Windows, Linux and MacOS (all versions):

  • waptagent installation as a service with kerberos registration.

  • waptselfservice gui available on the 3 platforms

(note: support for the latest version of MacOS, Catalina, is expected for 1.8.3).

  • waptexit (on Linux an Mac it is not yet started

on system shutdown, it can be triggered by a scheduled task).

  • session-setup for configuring user sessions.

  • send messagebox to users and propose upgrades (Enterprise only).

  • OU handling (Enterprise only).

  • waptselfservice authentication can be delegated

to the waptserver (Enterprise only).

  • better setuphelpers coverage.

  • [IMP] new supported platforms. Now WAPT for linux (server and agent)

and MacOS (agent only) supports:

  • Ubuntu 18.04 and 20.04;

  • Debian 8, 9 and 10;

  • Centos7 (CentOS 8 as a preview);

  • MacOS Sierra, HighSierra, Mojave (note: support for MacOS Catalina

expected for WAPT 1.8.3).

  • [IMP] streamlining of development environment

for packaging on Linux using VSCode.

  • [FIX] better handling of websocket cleanup when a host

is not properly registered. Should improve stability on large WAPT installations.

  • [IMP] selfservice can now be configured for external authentication

for desktops that are not in a AD Domain.

  • [IMP] selfservice users can now authenticate on waptserver

even when out of the corporate network.

  • [IMP] The session setup in run for all packages immediately

after upgrade or install, so that new packages are already configured in the context of each logged in users (no need to logout / login) (Enterprise only).

  • [IMP] If secondary repositories are defined in waptconsole.ini,

additional packages can be selected when editing hosts, groups or self-service packages.

  • [IMP] When editing group or self-service packages,

one can define the Target OS of the package.

  • [IMP] Remote message to logged in users is using the same custom dialog box

for Windows, Linux and macOS.

  • [IMP] Remote message to logged in users can display the same custom logo

as self-service (Enterprise only).

  • [IMP] The IP/Subnet match in repository access rules is based on the « main IP »

of the host (source IP from which the host is reaching the server, if the server is public, this is usually the external IP of the router) (Enterprise only).

  • [IMP] Added Remote host Shutdown and remote host Reboot from Waptconsole

if enabled in wapt-get.ini (allow_remote_shutdown and allow_remote_reboot) (Enterprise only).

  • [IMP] Add a no fallback checkbox in repositories access rule

to prevent host using main repository in case secondary ones are not reachable (when main repository bandwidth is limited, having all hosts reaching the main repository can slow down access to the main site) (Enterprise only).

  • [FIX] Make sure WUA install task are executed after packages install

(Enterprise only).

Other enhancements
  • [IMP] Cmd Console is hidden when session-setup is running,

to limit annoyance for users.

  • [IMP] WUA direct download option in waptconsole (Enterprise only).

  • [IMP] can now use microsoft url for WUA in rules (Enterprise only).

  • [FIX] Improved background icons loading in self-service.

  • [FIX] better inventory of lastboottime and get_domain_info.

  • [FIX] better handling of other local install of Python

on client computer (eg. conflict with local Anaconda Python installation).

  • [IMP] allows to have multiple private repo content displayed in waptconsole.

  • [IMP] remote repository: it is now possible to prevent a fallback.

  • [FIX] better handling of icons in selfservice.

  • [IMP] improved support for VSCode.

  • [FIX] better handling of ipv6 in console and inventory.

  • [IMP] wapt_admin_filter: local admin can be filtered out

like normal user in selfservice.

  • [IMP] add a larger support for setuphelpers on macOS.

  • [FIX] waptserver logs are properly redirected

to /var/log/waptserver.log.

  • [FIX] package caching: packages are deleted after each successful installation

(rather than at the end of the whole upgrade) to better keep local disk space.

  • [IMP] allows usage of url for changelog in control file.

  • [IMP] better support for Windows Update download directly

from Microsoft if WAPTServer is not reachable.

  • [FIX] better handling of upgrade from Community version

to Enterprise version.

  • [IMP] improved local store skin and translations.

  • [FIX] bugfixes and minor gui improvements.

Library changes in WAPT-1.8.2.7165
  • [CHANGE] replaced python-ldap with ldap3.

  • [FIX] upgraded ujson on waptagent and waptserver on Linux.

Removed features with WAPT-1.8.2.7165
  • [REMOVED] autoconfiguration of repositories based on SRV DNS fields

(it was not working anymore anyway).

Caveats when using WAPT-1.8.2.7165
  • [CAV] WaptExit is not run automatically on shutdown

on Linux or MacOS (current issue with systemd / launched integration).

  • [CAV] WaptTray is not yet available on Linux and macOS.

  • [CAV] MacOS Catalina is supported by the WaptAgent,

however WAPTSelfService and WaptExit are not yet supported.

WAPT-1.8.2.7265 RC2 (2020-05-29)

hash git : 339f1996

This is a Release Candidate version for testing and evaluation only and should not be installed on production system.

This is mostly a bugfix release. Support for Linux and Mac clients has greatly improved.

Notable enhancements over 1.8.2 RC1
  • [IMP] the session setup in run for all packages immediately after upgrade

or install, so that new packages are already configured in the context of each logged in users (no need to logout / login) (Enterprise only).

  • [IMP] if secondary repositories are defined in waptconsole.ini,

additional packages can be selected when editing hosts, groups or self-service packages.

  • [IMP] when editing group or self-service packages,

one can define the target OS of the package.

  • [IMP] remote message to logged in users is using the same custom dialog box

for windows, linux and macOS.

  • [IMP] remote message to logged in users can display the same custom logo

as self-service (Enterprise only).

  • [IMP] the IP / Subnet match in repository access rules is based

on the main IP of the host (source IP from which the host is reaching the server, if the server is public, this is usually the external IP of the router) (Enterprise only).

  • [IMP] added remote host shutdown and remote host reboot from Waptconsole

if enabled in wapt-get.ini (allow_remote_shutdown and allow_remote_reboot) (Enterprise only).

  • [IMP] added a no fallback checkbox in repositories access rule

to prevent hosts using main repository in case secondary repositories are not reachable (when main repository bandwidth is limited, having all hosts reaching the main repository can slow down access to the main site) (Enterprise only).

  • [FIX] make sure WUA install task are executed

after packages install (Enterprise only).

Other enhancements over 1.8.2 RC1
  • [IMP] cmd Console is hidden when session-setup is running,

to limit annoyance for users.

  • [IMP] WUA direct download option in waptconsole (Enterprise only).

  • [IMP] can now use Microsoft url for WUA in rules (Enterprise only).

  • [IMP] improved background icons loading in self-service.

Removed features

None

Caveats

Same as RC1

WAPT-1.8.2.7165 RC1 (2020-05-29)

hash git : 1387b38f

This is a Release Candidate version for testing and evaluation only and should not be installed on production system.

This is mostly a bugfix release. Support for Linux and macOS clients has greatly improved.

Notable enhancements in WAPT-1.8.2.7165 RC1
  • [IMP] improve support for WaptAgent on Linux and Mac.

Now the support is almost identical on Windows, Linux and MacOS (all versions):

  • waptagent installation as a service with kerberos registration.

  • waptselfservice gui available on the 3 platforms

(note: support for the lastest version of MacOS, Catalina, is expected for 1.8.3).

  • waptexit (on Linux an Mac it is not yet started

on system shutdown, it can be triggered by a scheduled task).

  • session-setup for configuring user sessions.

  • send messagebox to users and propose upgrades (Enterprise only).

  • OU handling (Enterprise only).

  • waptselfservice authentication can be delegated

to the waptserver (Enterprise only).

  • better setuphelpers coverage.

  • [IMP] add new supported platform. Now WAPT for linux (server and agent)

and MacOS (agent only) supports:

  • Ubuntu 18.04 and 20.04;

  • Debian 8, 9 and 10;

  • Centos7 (CentOS 8 as a preview);

  • MacOS Sierra, HighSierra, Mojave (note: support for MacOS Catalina

expected for WAPT 1.8.3);

  • [IMP] streamlining of development environment

for packaging on Linux using VSCode.

  • [FIX] better handling of websocket cleanup when a host

is not properly registered. Should improve stability on large WAPT installation.

  • [IMP] selfservice can now be configured for external authentication

for desktops that are not in an Active Directory Domain.

  • [IMP] selfservice users can now authenticate on selfserver

even when out of the corporate network.

Other enhancements in WAPT-1.8.2.7165 RC1
  • [FIX] better inventory of lastboottime and get_domain_info.

  • [FIX] better handling of other local install of Python

on client computer (eg. conflict with local Anaconda Python installation).

  • [IMP] allows to have multiple private repo content displayed in waptconsole.

  • [IMP] remote repository: it is now possible to prevent a fallback.

  • [FIX] better handling of icons in selfservice.

  • [IMP] improved support for VSCode.

  • [FIX] better handling of ipv6 in console and inventory.

  • [IMP] wapt_admin_filter: local admin can be filtered out

like normal user in selfservice.

  • [IMP] add a larger support for setuphelpers on macOS.

  • [FIX] waptserver logs are properly redirected

to /var/log/waptserver.log.

  • [FIX] package caching: packages are deleted after each successful installation

(rather than at the end of the whole upgrade) to better keep local disk space.

  • [IMP] allows usage of url for changelog in control file.

  • [IMP] better support for Windows Update download directly

from Microsoft if WAPTServer is not reachable.

  • [FIX] better handling of upgrade from Community version

to Enterprise version.

  • [IMP] improved local store skin and translation.

  • [FIX] bugfixes and minor gui improvements.

Library changes in WAPT-1.8.2.7165 RC1
  • [REF] replaced python-ldap with ldap3.

  • [FIX] upgraded ujson on waptagent and waptserver on Linux.

Caveats when using WAPT-1.8.2.7165 RC1
  • [CAV] WaptExit is not run automatically on shutdown

on Linux or MacOS (current issue with systemd / launched integration).

  • [CAV] WaptTray is not yet available on Linux and MacOS.

  • [CAV] MacOS Catalina is supported by the WaptAgent,

however WAPTSelfService and WaptExit are not yet supported.

WAPT-1.8.1-6758 (2020-03-06)

(hash bb93ce41)

On server:

  • [REF] refactoring for postconf.py / remove old migration from MongoDB;

  • [REF] refactoring for winsetup.py / create now a dhparam

for nginx on Windows;

  • [REF] refactoring for repositories: change repo_diff by remote_repo_diff /

add param remote_repo_websockets (by default to True) on server;

  • [IMP] disable cache on nginx for Windows and Linux on wapt packages / exe;

On agents:

  • [REF] change param waptservice_admin_auth_allow

by waptservice_admin_filter;

  • [REF] delete resync functions for remote repo;

  • [IMP] param local_repo_sync_task_period by default to « 2h »;

  • [FIX] wapt-get / waptservice debug when download a package on linux

when not sudo;

  • [FIX] fix for plist in macOS;

  • [IMP] can now have relative path for packages/directories

in wapt-get;

  • [IMP] templates have by default setup_uninstall / update etc…

  • [IMP] improvements with templates for vscode;

On waptconsole:

  • [IMP] add possibility of template packages for deb / rpm / pkg;

  • [FIX] Fix for msi, exe, etc in PackageWizard explorer;

  • [IMP] Can now choose editor_for_packages directly in waptconsole config;

  • [UPD] Some cosmetic / translations improvements for GUI to deploy waptagent;

WAPT-1.8.1-6756 (2020-02-17)

(hash 43394f3b)

Bug fixes and small improvements

  • [IMP] waptconsole: improve the refresh of hosts grid when a lot of hosts

are selected (improved by a factor of around 5)

  • [FIX] waptserver Database connections management: don’t close DB on teardown

as it should not occur, and seems to trigger some issue when triggering a lot of tasks on remote hosts (error db is closed)

  • [FIX] waptconsole: Don’t « force » install when triggering the upgrade

on remote hosts, to avoid reinstalling softwares when already up to date.

  • [IMP] use ldap auth only if session and admin fail (avoid waiting for timeout

when ldap is not available but one wants to login with plain admin user);

  • [FIX] wapt-get upload: encode user and password in http_upload_package

to allow non ascii in admin password;

  • [IMP] waptconsole: Disable auto search on keywords;

  • [IMP] use DMI System_Information.Serial_Number information

for serialnr Host field instead of Chassis_Information.Serial_Number because System_Information is more often properly defined;

  • [IMP] waptconsole: add uuid in the list of searched fields

when only “host” is checked in filters;

  • [IMP] nginx config: disable caching;

  • [IMP] fixes for vscode project template;

WAPT-1.8.1-6742 (2020-02-12)

(hash 80dbdbe7)

Major changes
  • waptconsole: Added a page to show packages install status summary (merge)

of all selected hosts, grouped by package, version, install status, with count of hosts;

Context menu allow to apply selectively the pending actions. On enterprise, one can apply safely the updates (only packages for which there is no running process on client side);

  • Prevent users from saving a host package if targeted host(s) do not accept

their personal certificate. (Checked on waptconsole when editing / mass updating host packages, and on server when uploding packages);

The personal certificate file .crt must contain at first the personal certificate, followed by the issuer CA certificates, so that wapt can rebuild the certificate chain and check intersection with host’s trusted certificates;

Important note about SSL client side authentication

In your nginx configuration, be sure to reset the headers X-Ssl-Authenticated and X-Ssl-Client-DN as waptserver trusts these headers if ssl cient side auth is enabled in waptserver.ini;

If SSL client side auth is setup these headers can be populated by proxy_set_header with result of ssl_verify_client as explained in ./wapt-security/security-configuration-certificate-authentication.html#enabling-client-side-certificate-authentication;

Fixes and detailed changelog
  • Security fix: update waitress module to 1.4.3

(CVE-2020-5236);

  • Security fix: blank X-Ssl* headers in default nginx templates;

  • Fix: regression: kerberos register_host did not work anymore;

  • On server, :file:”<repository root>/wapt/ssl” dir is moved automatically

on winsetup / postconf to (per default) :file:”<repository root>/ssl”, a /ssl location is added;

This /ssl should be accessible from clients at the location specified by the server parameter clients_signing_crl_url (in waptserver.ini);

  • Improved logs readability. Log count of used DB connections

from pool on waptserver to troubleshoot DB connection issues. Log level can be specified by subcomponent with loglevel_waptcore, loglevel_waptserver, loglevel_waptserver.app, loglevel_waptws, loglevel_waptdb defined in waptserver.ini;

  • Reworked explicit DB Open/close on waptserver to not get

a DB connection from pool if not useful. It prevents exhaustion of DB connections;

  • waptwinsetup: don’t create unused directories wapt-group

and waptserverlog;

  • Added .msu and .msix extensions

for Package wizard setup file dialog;

  • Fallback with os._exit(10) for waptservice restart.

Added a handler in nssm.exe configuration to honor the restart;

  • Increased waitress threads to 10 on waptservice;

  • Lowered the default number of pooled DB connections (db_max_connections)

to 90, to be lower than postgresql default of 100;

  • waptserver: allow kerberos or ssl auth check in waptserver

only if enabled in waptserver.ini config file;

  • waptconsole: Allow update of host package only if user certificate

is actually allowed on the host (based on last update of host status in database);

  • waptconsole / build waptagent: checkbox to specify to include or not

non certificate authority certificates in build. The normal setup would be to uncheck this, to not deploy non CA certificates, on wapt root CA;

  • [IMP] Add and option to disable automatic hiding of panels…

  • [IMP] Add explicit AllowUnauthenticatedRegistration task to waptserversetup windows

  • waptsetup: Remove explicit VCRedistNeedsInstall task. Use /VCRedistInstall=(0/1)

if you need to force install or force not install vcredist VC_2008_SP1_MFC_SEC_UPD_REDIST_X86;

  • [FIX] wapt-get.exe: use wapt-get.ini for :command:”scan-packages”

and :command:”update-packages” wapt-get actions;

  • [FIX] wapt-get: auth asked when checking if server is available (ping)

and client ssl auth is enabled;

  • [IMP] WAPT client: if client ssl auth failed with http error 400,

retry without ssl auth to be able to ask for new certificate signing;

  • [FIX] waptserver register behavior: revert over rev 6641: sign host certificate

if an authenticated user is provided or data is signed with a key which can be verified by existing certificate in database for this host uuid;

  • [IMP] waptserver register behavior: when receiving 401 from server when registering,

retry registering without ssl auth;

  • [IMP] wapt client: be sure to have proper host private key saved

on disk when receiving signed certificate from server;

  • [IMP] waptconsole: advanced filters for selected host packages status.

Filter on Install status and Section + keyword. Pending button to show only pending installations / removes;

  • [ADD] wapt-get make-template / edit package: Add .vscode directory.

Add template project for vscode;

  • [FIX] waptconsole: fix ssl auth for mass package dependencies

/ conflicts updates;

  • [FIX] waptconsole: fix import packages from external repos with ssl auth;

  • [IMP] backports from master:

  • target OS in import packages;

  • choose editor for packages in linux in cmdline;

  • [IMP] backports from master:

  • refactoring for HostCapabilities.waptos;

  • add new target_os unix for mac and linux;

  • so target_os: windows, darwin (for mac), linux or unix;

  • [FIX] WAPT.wapt_base_dir;

  • [FIX] makepath in linux/macOS;

  • [IMP] refactoring / fixes for setuphelpers;

  • [FIX] for rights_to_check in repo-sync client;

  • [FIX] for repo-sync;

  • [ADD] two setuphelpers for linux: type_debian and type_redhat

indent the local sync.json;

  • [IMP] use get_os_version and windows_version_from_registry

instead of windows_version;

  • [IMP] use windows_version_registry for get_os_version on windows;

  • [IMP] backport host_capabilities.os from master

  • [FIX] for make-template for malformed .exe installer;

  • [ADD] automatic maintenance of a CSR for client auth certificates

signed by server:

  • default CSR lifetime to 30 days;

  • check renewal of client cert CSR every hour;

  • added a parameter for the next update time of crl;

  • added clients_signing_crl_url, clients_signing_crl_days,

known_certificates_folder waptserver parameters;

  • added a /ssl location in nginx templates;

  • added crl_urls in client auth signed certificates;

  • added a scheduled task to renew server side crl;

  • added clients_signing_crl waptserver parameter to add client cert

to server crl when host is unregistered;

  • added revoke_cert method to SSLCRL class;

  • added a authorityKeyIdentifier to the client auth CSR;

  • force restart if windows task is broken;

  • waptservice: use sys._exit(10) to ask nssm to restart service

in case of unhandled exception in waptservice (loops, etc.);

  • wapt client: don’t log / store into db Wapt.runstatus if not changed;

  • waptserver postconf: fix for rights on some wapt directories;

  • Add mutual conflicts to deb/rpm packages for waptagent/waptserver

to avoid simultaneous install;

WAPT-1.8.0-6641 (2020-01-24)

(hash 3dbb3de8)

Major changes
  • [ADD] client Agent for Linux Debian 8, 9 , 10, Linux Centos 7, Ubuntu 18, 19

and MacOS. The packages are named wapt-agent and available in https://wapt.tranquil.it/wapt/releases/latest/;

  • [IMP] repository access rules defined in waptconsole. Depending of client IP,

site, computername, one can define which secondary repository URL to use (Enterprise only);

As a consequence, the DNS query method (with SRV records) is no more supported for repositories

  • [IMP] the package and signature process has been changed to be compatible

with python3. Serialization of dict is now sorted by key alphabetically to be deterministic across python versions. WAPT agents prior to version 1.7.1 will not be able to use new packages. (see git hash SHA-1: f571e55594617b43ed83003faeef4911474a84db);

  • [NEW] a WAPT agent can now be declared as a secondary remote repository.

Integrated syncing with main server repository is handled automatically. (Enterprise only);

  • [NEW] waptconsole can now run without elevated privileges.

The build of waptagent / waptupgrade package are done in a temporary directory. When editing a package from waptconsole, :program:`PyScripter` should be launched with elevated privileges;

One could deploy the agent with GPO without actually rebuilding a waptagent. Command line options are available on stock waptsetup-tis.exe to configure repo url (/repo_url=), server url (/wapt_server=), server certificate bundle location (/CopyServersTrustedCA=), packages certificates checking (/CopyPackagesTrustedCA=), /use_random_uuid, /StartPackages, /append_host_profiles, /DisableHiberBoot, /waptaudit_task_period;

Some options are still missing and may be added in a future release;

  • [IMP] package filename now includes a hash of package content to make it easier

to check if download is complete and if package has been scanned (improved speed for large number of packages);

  • [SEC] the WAPT admin password must be regenerated (with postconf);

if it is not pbkdf2 based. See in your waptserver.ini file, wapt_password must start with $pbkdf2-;

Fixes and detailed changelog
  • [SEC] waptagent can optionally be digitally signed,

if (1) Microsoft signtool.exe is present in <wapt>utils` and (2) if there is a pkcs#12 :mimetype:.p12` file with the same name as the personal certificate .crt file, and (3) the certificate is encrypted with the same password;

  • [IMP] wapt-get.py can be run on linux and macos in addition to windows;

  • [IMP] waptconsole host’s packages status reporting: now displays current version

with NEED-UPGRADE, NEED-REMOVE, ERROR status and future version with NEED-INSTALL status;

The status is stored in server’s DB HostPackagesStatus so it can be queried for reporting;

  • [IMP] setuphelpers: there now different setuphelpers

for each operating system family;

  • [ADD] waptconsole: added an action to safely trigger upgrades on remote hosts

only if associated processes (impacted_process control attribute) are not running, to avoid disturbing users (Enterprise only);

  • [ADD] wapt-get --service upgrade: added handling of --force,

--notify_server_on_start=0/1, notify_server_on_finish=0/1 switches;

  • [IMP] package signature’s date is now taken in account when comparing packages;

  • [ADD] host_ad_site key in [global] in wapt-get.ini to define

a fake Active Directory site for the host;

  • [ADD] waptconsole / packages grid: if multiple packages are selected,

the associated show clients grid shows the status of packages for all selected clients (Enterprise only);

  • [ADD] waptagent build: added checkbox to enable repository rules lookup

when installing agent (Enterprise only);

  • [ADD] waptconsole / import packages: don’t reimport existing dependencies.

Checkbox to disable import of dependencies;

  • [IMP] wapt-scanpackages speed optimizations: don’t re-extract certificates

and icon for skipped package entries. use md5 from filename if supplied when scanning.

  • [FIX] waptexit: fix arguments to waptexit for only_if_not_process_running

and install_wua_updates (bool);

  • [FIX] waptagent / waptwua fix wapt wua enabled setting reset to False

when upgrading with waptagent and enabled=don’t touch;

  • [FIX] waptserver / waptwua repository: all cabs files are now

in root directory instead of microsoft original file tree. The files are moved when upgrading to 1.8;

  • [IMP] waptupgrade package: increment build number if building

a new waptagent of the same main wapt version;

  • [NEW] waptserver parameter trusted_signers_certificates_folder:

Path to trusted signers certificate directory. If defined, only packages signed by this trusted CA are accepted on the server when uploading through server;

  • [NEW] waptserver parameter remote_repo_support: if true,

a task is scheduled to scan repositories (wapt, waptwua, wapt-hosts) that creates a sync.json file for remote secondary repositories;

  • [IMP] when building waptagent, don’t include non CA packages certificates

by default in waptagent. A checkbox is available to still enable non CA certificates to be scanned and added;

  • [IMP] when building waptagent, one can add or remove certificates

in the grid with Ctrl+Del or drag and drop;

  • [FIX] waptconsole / host packages status grid: fixed F5 refresh;

  • [IMP] waptconsole / build agent: build an enterprise agent even

if no valid licence (Enterprise only);

  • [FIX] forced_update_on control attribute: don’t take into account

for next_update_on if in the past;

  • [IMP] waptconsole: try to accept waptserver password with non ASCII characters;

  • [REMOVED] waptstarter: remove socle from default host profile;

  • [IMP] waptagent build: rework of server certificate path relocation

when building / installing;

  • [SEC] don’t sign agent certificate if no valid human authentication

(admin, passwd or ldap) or kerberos authentication has been provided:

  • be explicit on authentication methods;

  • store registration authentication method in db only

if valid human authentication or kerberos authentication has been provided;

  • when registering, be sure we trust an already signed certificate

with CN matching the host;

  • store the signed host certificate in server DB on proper registration;

  • [IMP] some syntax preparation work for future python3;

  • [IMP] some preparation work for detailed ACL handling (Enterprise only);

  • [FIX] don’t enable client ssl auth by default in waptserver as nginx reverse

proxy server is perhaps misconfigured;

Python libraries / modules updates
  • use waitress for waptservice wsgi server

instead of unmaintained Rocket`;

  • Flask-SocketIO 3.0.1 -> Flask-SocketIO 4.2.1;

  • MarkupSafe 1.0 -> MarkupSafe 1.1.1;

  • python_ldap-2.4.44 -> python_ldap-3.2.0;

WAPT 1.7 and older

(hash 1c00cefd)

  • [FIX] waptserver: add fix to workaround

flask-socketio bug (AttributeError: “Request” object has no attribute “sid”);

  • [IMP] waptserver: be sure db is closed before trying to open it

(for dev mode);

  • [IMP] waptserver: add logs messages when an exception message

is sent back to the user;

(hash ad237eee)

  • [IMP] waptserver: upgrade peewee DB python module to 3.11.2.

Explicit connection handling to DB to track potential limbo connections (which could lead to db pool exhaustion);

  • [FIX] waptwua: trap exception when pushing WU to Windows cache to allow

valid updates to be installed even if some could not be verified properly;

(hash2090b0e6d52cecfb04f8fa4c279e7c0a0252d6e2

  • [FIX] wapt-get session-setup: fix bad print in session_setup.

Regression introduced in b30b1b1a550a4 (1.7.4.6229);

(hash 391d382f)

  • [IMP] return server git hash version and edition in ping and usage_statistics;

  • [IMP] be sure to have server_uuid on windows when during setup;

  • [FIX] .git partially included in built package manifest;

(hash b30b1b1a)

  • [FIX] 100% cpu load on one core on waptserver even when Idle;

  • python-engineio upgrade to 3.10.0;

  • python-socketio upgraded to 4.3.1;

  • [IMP] don’t try run session_setup on packages

which don’t have one defined;

  • [IMP] limit text output on console (for faster output);

(hash 86ddeaa2d)

  • [FIX] Newlines in packages installs logged output;

  • [FIX] Allow nonascii utf8 encoded user and password for server basic auth;

  • [UPD] waptconsole: Default package filtering to x64 and console locale

to avoid mistakes when importing;

  • [IMP] waptconsole: increase default Port Socket listening test timeout

(for rdp, remote service access etc..) to 3s instead of 200ms;

  • [IMP] waptconsole: sort OU

by description in treeview:

Right click changes current row selection in OU treeview;

  • [NEW] option to set waptservice_password = NOPASSWORD

in waptstarter installer;

  • [FIX] grid sorting for package / version / size of packages;

  • [FIX] don’t create waptconsole link for starter;

  • [NEW] wapt-scanpackages: add an option to update

the local packages DB table from Packages file index;

  • [FIX] regression introduced in previous build: maturities = PROD

and maturities = “” are equivalent when filtering allowed packages;

  • [FIX] waptconsole: grid headers too small for highdpi;

  • [UPD] waptupgrade package filename: keep old naming

without all arch (for backward compatibility);

  • [IMP] waptservice_timeout = 20 seconds now;

  • [FIX] AD auth for waptconsole with non ASCII chars;

  • [IMP] missing french translations for columns

in Import packages grid;

  • [FIX] be sure to terminate output threads in waptwinutils.run;

  • [IMP] avoid showOnTop flickering for VisLoading;

  • [IMP] setuphelpers.run_powershell!

add $ProgressPreference = SilentlyContinue prefix command;

  • [SEC] waptservice: protect test of host_cert date if file is deleted

outside of service scope;

  • [IMP] WaptBaseRepo class:

  • packages cache handling when repo parameters (filters…) are changed;

  • allow direct setting of cabundle for WaptBaseRepo;

  • keep a fingerprint of input config parameters;

  • [UPD] set a fallback calculated package_uuid value in database

for compatibility with old package status reports;

(hash f9cb3ebd)

  • [IMP] revert package naming of waptupgrade to previous one to ease upgrade

from previous wapt;

  • [IMP] increase waptservice_timeout to 20 seconds per default;

  • [FIX] AD auth when there are non ascii chars (encoding);

  • [FIX] missing french translations for columns in Import packages grid;

  • [IMP] set a fallback calculated package_uuid in database

for old package without package_uuid attribute in db status report;

  • [NEW] wapt-scanpackages: add an option to update

the local Packages DB table from Packages file index;

  • [NEW] option to filters maturities;

(hash 3e00ac6688)

  • [SEC] update python modules python-engineio and werkzeug

to fix vulnerability CVE-2019-14806

GHSA-j3jp-gvr5-7hwq

  • [UPD] Python modules:

  • eventlet 0.24.1 -> eventlet 0.25.1;

  • flask 1.0.2 -> flask 1.1.1;

  • greenlet 0.4.13 -> greenlet 0.4.15;

  • itsdangerous 0.24 -> itsdangerous 1.1.0;

  • peewee 3.6.4 -> peewee 3.10;

  • python-socketio 1.9.0 -> python-socketio 4.3.1;

  • python-engineio 3.8.1 -> python-engineio 3.9.3;

  • websocket-client 0.50 -> websocket-client 0.56;

  • [UPD] default request_timeout = 15s for client websockets;

  • [FIX] when building packages, excluded directories (for example .git

or .svn) were still included in manifest file;

  • [UPD] don’t canonicalize package filenames by default when scanning

server repository to ease migration from previous buggy wapt;

  • [FIX] package filename not rewritten in Packages when renaming package;

  • [NEW] wapt-scanpackages: added explicit option to trigger rename

of packages filenames which do not comply with canonic form;

  • [NEW] wapt-scanpackages: added option to provide proxy;

  • [UPD] return OK by default in package’s audit skeleton;

  • [IMP] waptconsole cosmetic: minheight 18 pixels for grid headers

  • [FIX] waptserver database model: bad default datatype in model.py

for created_by and updated_by (were not used until now);

  • [FIX] ensure_unicode for .msi output: try cp850

before utf16 to avoid Chinese garbage in run output;

  • [NEW] added connected_users to hosts_for_package provider;

  • [FIX] use win32api to get local connected IPV4 IP address

instead of socket module. In some cases, socket can’t retrieve the IP;

  • [FIX] wapt-get unregister command not working properly;

  • [NEW] Waptselfservice: added option in wapt-get.ini

to disable unfiltered packages view of local admin;

  • [IMP] Waptselfservice: 4K improvements;

  • [FIX] Waptselfservice:

  • packages restricted were shown in selfservice / now corrected;

  • if the repo have no packages segmentation error / now corrected;

  • if the repo have changed segmentation error / now corrected;

(hash f153fab4)

  • [NEW] added unregister action to wapt-get;

  • [UPD] improvements with the alt logo in the self-service;

  • [UPD] use version to build the package name of unit, groups

and profile type package, like for base packages;

  • [UPD] added logs to uwsgi;

  • [FIX] bugfixes with the icons of the app self-service;

  • [FIX] bugfixes with the logos in the self-service;

  • [UPD] waptexit: don’t cancel tasks on CloseQuery;

  • [UPD] patch server.py earlier to avoid *execute cannot be used

while an asynchronous query is underway*;

  • [FIX] fix waptexit doing nothing if allow_cancel_upgrade = 0

and waptexit_disable_upgrade = 0;

  • [FIX] fix issue with merge of wsus rules (can cause memory errors

if more than one wsus package is applied on a host) (Enterprise only);

  • [FIX] fix wua auto install_scheduling issue;

  • [FIX] waptexit: add a watchdog to workaround

some cases where it hangs (threading issue ?);

(hash da870a2c)

  • [IMP] wapt self service application is now fully usable.

It is available in <wapt>waptself.exe;

  • [ADD] option to set a random UUID instead of BIOS UUID at setup.

This is to workaround for bugged BIOS with duplicated ids;

  • [IMP] better Sphinxdocs for WAPT Libraries;

  • [UPD] behavior change: Use computer FQDN from tcpip registry entry

(first NV Hostname key) then fixed domain then DHCP;

  • [FIX] inverted Zip and signature steps in package build operations

to workaround issue with Bad Magic Number when signing already zipped big packages;

  • [NEW] Add use_ad_groups wapt-get [global] parameter to activate groups

from AD (this is a time consuming task, so better not activate it…);

  • [FIX] appendprofile infinite loop during setup;

  • [FIX] read forced uuid from wapt-get.ini earlier to avoid loading

a bad host certificate in memory if changing from bios uuid to forced uuid;

  • [FIX] setting use_random_uuid in waptagent.iss;

  • [FIX] waptstarter setup: force deactivate server, hostpackages;

  • [FIX] include waptself in waptstarter, don’t include innosetup in waptstarter;

  • [FIX] ensure_unicode: add utf16 decoding test before cp850;

  • [FIX] add ensure_unicode for tasks logs to avoid unicode decode errors

in get_tasks_status callback;

  • [NEW] host status: add boot_count attribute;

  • [FIX] fix potential float / unicode error when scanning windows updates

(Enterprise only);

  • [FIX] handles properly excluded files in package signatures;

  • [FIX] waptexit: avoid some work after checking if waptservice is running

if it is not running;

  • [FIX] a case where WAPTLocalJsonGet could loop forever if auth fails;

  • [FIX] setup.pyc in manifest but not in zipped package:

  • exclude exactly [”.svn”,”.git”,

.gitignore”,”setup.pyc”] when signing and zipping;

  • inc_build before signing;

  • [UPD] add use_ad_groups setting in waptagent build.

Default to False (Enterprise only);

  • [FIX] better detection of waptbasedir for python27.dll loading;

  • [FIX] allow to sign source package directory to workaround a bug

in python zipfile (bad magic number);

  • [NEW] added a htpasswd password file method for restricted access

to only add_host method:

allows add_host if provided host certificate is already signed by server and content can be verified;

  • [FIX] wapt-get.exe crash with « can not load… « 

when python 3.7 is installed from MS store;

  • [FIX] load private_dir conf parameter earlier;

  • [UPD] put a rnd- in front of randomly generated uuid;

added a checkbox to use random uuid (if not already defined in wapt-get.ini);

  • [UPD] SSL CA certifi library;

  • [IMP] utf8 decode user /password in localservice authentication;

  • [UPD] allow authentication on local waptservice with token;

  • [NEW] filter packages on hosts based on the valid_from

and valid_until control attributes;

force update sooner if valid_from or valid_until or forced_install_on is sooner than regular planned update_period;

  • [FIX] events reporting from service tasks;

  • [FIX] waptexit not closing of writing for running tasks

but auto upgrade has been disabled;

  • [ADD] added waptexit_disable_upgrade option to waptexit

to remove the triggering of upgrade from waptexit, but keep the waiting for pending and running tasks:

“running_tasks” key in waptservice checkupgrades.json. Was not reflecting an up to date state;

  • [NEW] add new packages attributes: name, valid_from,

valid_until, forced_install_on;

  • [FIX] regression on profile packages not taken in account;

(hash 38e08433)

  • [FIX] waptexit not closing if waiting for running tasks

but auto upgrade has been disabled;

  • [FIX] events reporting from service’s tasks;

  • [ADD]] new packages attributes: name, valid_from, valid_until,

forced_install_on;

  • [ADD] waptexit_disable_upgrade option to waptexit to remove

the triggering of upgrade from waptexit, but keep the waiting for pending and running tasks;

  • [IMP] added running_tasks key in waptservice checkupgrades.json.

Was not reflecting an up to date state.

  • [IMP] waptself:

  • early support of high DPI;

  • loading of icons in the background;

(hash 5b6851ae)

  • [FIX] takes profile packages (AD based groups)

into account (Enterprise only)

(hash 4be40c534c4627)

  • [FIX]] regression on waptdeploy unable to read current waptversion

from registry;

  • [FIX] be more tolerant to broken or inexistent wmi layer

(for waptconsole on wine for example);

(hash 95a146c002)

  • [IMP] waptself.exe preview application updated.

Loads icons in the background.

Known issues:

  • does not work with repositories behind proxies and client side auth;

  • https server certificate is not checked when downloading icons);

  • High DPI not handled properly;

  • Cosmetic and ergonomic improvements still to come;

  • [IMP] waptserver setup on windows: open port 80 on firewall in addition to 443;

  • [IMP] waptserver on Debian. add www-data group to wapt user

even if user wapt already exists;

  • [IMP] waptserver on CentOS. add waptwua directory

to SELinux httpd_sys_content_t context;

  • [FIX] waptserver client auth: comment out ssl_client_certificate

and ssl_verify_client;

By default because old client’s certificate does not have proper clientAuth attribute (error http 400);

  • [FIX] problem accessing to 32bit uninstall registry view from 32bit wapt

on Windows server 2003 x64 and Windows server 2008 x64:

it looks like it is not advisable to try to access the virtual Wow6432Node virtual node with disabled redirection;

  • [FIX] setuphelpers installed_softwares regular expression search on name;

https://github.com/tranquilit/WAPT/issues/7

  • [IMP] waptservice: for planned periodic upgrade, use single WaptUpgrade task

like the one used in websocket;

  • [IMP] waptexit: cancel all tasks if closing waptexit form;

  • [FIX] wapt-get: wapt-get service mode with events:

refactor using uWAPTPollThreads;

  • [FIX] veyon cli executable name updated;

  • [IMP] wapt-get: check CN and subjectAltNames in lowercase

for enable-check-certificate action;

(todo: doesn’t take wildcard in account)

(hash 5ef3487)

  • upgrade urllib3 to 1.24.2 for

CVE-2019-11324 (high severity);

  • upgrade jinja2 to 2.10.1 for

CVE-2019-10906;

  • [NEW] Wapt self service application preview;

  • [IMP] propose to copy the newly created CA certificate

to ssl local service dir, and restart waptservice. Useful for first time use;

  • [FIX] sign_needed for wapt-signpackages.py;

  • [FIX] missing StoreDownload table create;

  • [FIX] bug in fallback package_uuid calculation.

It didn’t include the version;

(hash 4cdcaa06c83b)

  • [UPD] handling of subjectAltName attribute for https server certificates

checks in waptconsole (useful when certificate is a multi hostname commercial certificate). Before, only CN was checked against host’s name;

  • [UPD] client certificate auth for waptconsole;

  • [UPD] versioning of wapt includes now the Git revision count;

  • [FIX] replace openssl command line call with waptcrypto call

to create tls certificate on linux server wapt install;

  • [FIX] add dnsname subjectAltName extension

to self signed waptserver certificate on linux wapt nginx server configuration;

  • [FIX] pkcs12 export;

  • [NEW] handling of SubjectAlternativeName in certificates

for server X509 certificate check in addition to CN:

Added a SubjectAltName when creating self signed certificate on linux wapt nginx server in postconf;

For old installation, the certificate is not updated. It should be done manually;

  • [FIX] fix check_install returning additional packages

to install which are already installed (when private repository is using locale or maturities):

Added missing attributes in waptdb.installed_matching;

  • [NEW] added client certificate path and client private key path

for waptconsole access to client side ssl auth protected servers;

  • [FIX] fix regression with wapt-get edit <package>:

made filter_on_host_cap a global property of Wapt class instead of a function parameter;

  • [FIX] regression if there are spaces in OU name.

Console was stripping space for https://roundup.tranquil.it/wapt/issue911 and https://roundup.tranquil.it/wapt/issue908;

  • [IMP] allow “0”..”9”, “A”..”Z”, “a”..”z”, “-“,”_”,”=”,”~”,”.” in package names

for OU packages. Replaces space with ~ in package names and “,” with “_”;

  • [IMP] make sure we have a proper package name in packages edit dialogs;

  • [IMP] waptservice config: allow waptupdate_task_period to be empty

in wapt-get.ini to disable it in waptservice;

  • [FIX] waptutils: fix regression on wget() if user-agent is overridden;

  • [FIX] waptwua: fix an error in install progress % reporting for wua updates;

  • [IMP] wapttray: refactor tray for consistency.

Makes use of uwaptpollthreads classes;

  • [IMP] waptexit: some changes to try to fix cases

when it does not close automatically;

  • [IMP] build: add git Revcount (commit count) to exe metadata;

  • [FIX] waptconsole: fix hosts for package grid not refreshed if not focused;

  • [FIX] internal: use synapse httpsend for waptexit / wapt-get / wapttray

local service http queries to workaround auth retry problems with indy;

  • [ADD] wapt-get.exe: added --locales

to override temporarily locales form wapt-get.ini;

  • [ADD] wapt-get.exe: added WaptServiceUser

and WaptServicePassword / WaptServicePassword64 command line params:

fix timeout checking in checkopenport;

  • [ADD] core: added logs for self-service auth;

  • [ADD] waptservice: added /keywords.json service action;

  • [ADD] waptservice: added filter keywords (csv) on packages.json provider;

  • [IMP] waptconsole: replace tri-state checkbox by a radio group

for wua enabled setting in create waptagent dialog;

  • [IMP] waptservice local webservice: temporary workaround

to avoid costly icons retrieval in local service;

  • [FIX] simplify installed_wapt_version in waptupgrade package

to avoid potential install issues;

  • [IMP] waptconsole layout: anchors for running task memo;

  • [FIX] Makefullyvisible for main form:

avoid forms outside the visible area when disconnecting a second display;

  • [FIX] layout of tasks panel for Windows 10;

  • [FIX] add token_lifetime server side

(instead of using clockskew for token duration);

  • [UPD] default unit days instead of minutes

for wua scan download install and install_delay;

  • [ADD] optional export of key and certificate as PKCS12 file

in create key dialog. (to check SSL client auth in browsers…);

  • [FIX] winsetup.py fix for backslashes in nginx;

  • [FIX] wapt-get json output / flush error;

  • [IMP] cache host_certificate_fingerprint and issuer id in local db

so that we don’t need to read private directory to get host_capabilities. It allows to use wapt-get list-upgrade as normal user;

  • [UPD] don’t make DNS query in waptconsole Login / waptconfig

to avoid DNS timeout if domain dns server is not reachable;

  • [FIX] warning message introduced in previous revision

when adding a new ini config on login (Enterprise only);

  • [FIX] waptwua: handles redirect for wsusscn2 head request

(Enterprise only);

  • [UPD] Report only 3 members on the wapt_version capability attribute;

  • [IMP] core: refactor WaptUpgrade task: check task to append

and then append them to tasks queue in WaptUpgrade.run instead of doing it in caller code. Avoid timeout when upgrading;

  • [IMP] core: self service rules refactoring;

  • [IMP] core: notify server when audit on waptupgrade;

  • [IMP] core: fix update_status not working

when old packages have no persistent_dir in db;

  • [IMP] core: tasks, events waptservice action: timeout in milliseconds

instead of seconds for consistency;

(hash 92ccb177d5c)

  • [FIX] waptconsole: use repo specific ca bundle

to check remote repo server certificate (different from main wapt repo);

  • [FIX] waptconsole / hosts for packages: fixed F5 to do a local refresh;

  • [FIX] improved update performance with repositories with a lot of packages;

  • [FIX] improved wapttray reporting:

fix faulty inverted logic for notify_user parameter;

  • [FIX] waptconsole: fixed bad filtering of hosts for package

(Enterprise only);

  • [FIX] waptexit: fixed waptexit closes even if Running task

if no pending task / no pending updates;

  • [FIX] waptexit: fixed potential case where waptexit remains running

with high cpu load;

  • [FIX] waptconsole: fixed HostsForPackage grid not filtered properly

(was unproperly using Search expr from first page);

  • [FIX] waptservice: None has no check_install_is_running error

at waptservice startup;

  • [FIX] core: set persistent_dir and persistent_source_dir attributes

on setup module for install_wapt;

  • [FIX] core: fixed bug in guessed persistent_dir for dev mode;

  • [FIX] core: fixed error resetting status of stuck processes

in local db (check_install_running);

  • [FIX] waptservice: trap error setting runstatus in db in tasks manager loop:

Don’t send runstatus to server each time it is set;

  • [UPD] core: define explicitly the private_dir of Wapt object;

  • [UPD] server: don’t refuse to provide authtoken if FQDN has changed

(this does not introduce specific risk as request is signed against UUID);

  • [UPD] core: if package_uuid attribute is not set

in package’s control (old wapt), it is set to a reproductible hash when package is appended to local waptdb so we can use it to lookup packages faster (dict);

  • [NEW] waptconsole: added audit scheduling setup

in waptagent dialog (Enterprise only):

added set_waptaudit_task_period in innosetup installers;

  • [IMP] setuphelpers: add win32_displays to default wmi keys for report;

  • [IMP] server setup: create X509 certificate / RSA key

for hosts ssl certificate signing and authentication during setup of server;

  • [IMP] waptexit: add sizeable border and icons;

  • [IMP] show progress of long tasks;

  • [IMP] waptservice: process update of packages as a task instead of waiting

for its completion when upgrading (to avoid timeout when running upgrade waptservice task):

added update_packages optional (default True) parameter for upgrade waptservice action;

  • [NEW] added audit scheduling setup in waptagent compilation dialog

(Enterprise only);

  • [NEW] setuphelpers: added get_local_profiles setuphelpers;

  • [IMP] waptserver: don’t refuse to provide authtoken

for websockets auth if FQDN has changed;

  • [IMP] flush stdout before sending status to waptserver;

  • [IMP] waptcrypto handle alternative object names in

CSR build;

  • [IMP] wapt-get: --force option on wapt-get.exe service mode;

  • [NEW] use client side authentication for waptwua too;

  • [CHANGE] server setup: nginx windows config: relocate logs and pid;

  • [ADD] added conditional client side ssl auth in nginx config;

  • [CHANGE] waptconsole: refactor wget, wgets WaptRemoteRepo WaptServer

to use requests.Session object to handle specific ssl client auth and proxies:

Be sure to set privateKey password dialog callback to decrypt client side ssl auth key;

  • [IMP] waptcrypto: added waptcrypto.is_pem_key_encrypted;

  • [IMP] waptconsole: make sure waptagent window is fully visible;

  • [IMP] waptconsole: make sure Right click select row on all grids;

  • [ADD] waptconsole: import from remote repo: add certificate

and key for client side authentication;

(hash ec8aa25ef)

  • [UPD] upgraded OpenSSL dlls to 1.0.2r

for https://www.cert.ssi.gouv.fr/avis/CERTFR-2019-AVI-080/ (moderate risk);

  • [IMP] much reworked wizard pages embedded in waptserversetup.exe

windows server installer. Install of waptserver on Windows is easy again:

  • register server as a client of waptserver;

  • create new key / certificate pair;

  • build waptagent.exe and waptupgrade package;

  • configure package prefix;

  • [NEW] if client certificate signing is enabled on waptserver

(waptserver.ini config), the server will sign a CSR for the client when the client is first registered. See Configurer l’authentification par Certificat sur le Client.

  • [NEW] wapt-get: added new command create-keycert to create a pair

of RSA key / x509 certificate in batch mode. Self signed or signed with a CA key/cert:

(options are case sensitive…)

  • option /CommonName: CN to embed in certificate;

  • options /Email, /Country, /Locality, /Organization,

/OrgUnit: additional attributes to embed in certificate;

  • option /PrivateKeyPassword: specify the password

for private key in clear text form;

  • option /PrivateKeyPassword64: specify the password for private key

in base64 encoding form;

  • option /NoPrivateKeyPassword: ask to create

or use an unencrypted RSA private key;

  • option /CA = 1 (or 0)): create a certification authority

certificate if 1 (default to 1);

  • option /CodeSigning = 1 (or 0) ): create a code signing

certificate if 1 (default to 1);

  • option /ClientAuth = 1 (or 0): create a certificate

for authenticating a client on a https server with ssl auth. (default to 1);

  • option /CAKeyFilename: path to CA private key to use for signing

the new certificate (defaults to %LOCALAPPDATA%waptconsolewaptconsole.ini [global] default_ca_key_path setting);

  • option /CACertFilename: path to CA certificate to use for signing

the new certificate (defaults to %LOCALAPPDATA%waptconsolewaptconsole.ini [global] default_ca_cert_path setting);

  • option /CAKeyPassword: specify the password for CA private key

in clear text form to use for signing the new certificate (no default);

  • option /CAKeyPassword64: specify the password for CA private key

in base64 encoding form to use for signing the new certificate (no default);

  • option /NoCAKeyPassword: specify that the CA private to use

for signing the new certificate is unencrypted;

  • option /EnrollNewCert: copy the newly created certificate

in <wapt>ssl to be taken in account as an authorized packages signer certificate;

  • option /SetAsDefaultPersonalCert: set personal_certificate_path

in configuration inifile [global] section (default %LOCALAPPDATA%waptconsolewaptconsole.ini);

  • [NEW] wapt-get: added new commands build-waptagent

to compile a customized waptagent in batch mode:

  • copy waptagent.exe and pre-waptupgrade locally

(if not /DeployWaptAgentLocally, upload to server with https);

  • option /DeployWaptAgentLocally: copy the newly built waptagent.exe

and prefix-waptupgrade_xxx.wapt to local server WAPT repository directory .\waptserver\repository\wapt\;

  • [NEW] wapt-get register: added options for easy configuration of wapt

when registering:

  • --pin-server-cert: pin the server certificate.

(check that CN of certificate matches hostname of server and repo);

  • --wapt-server-url: set wapt_server setting in wapt-get.ini;

  • --wapt-repo-url: set repo_url setting in wapt-get.ini.

(if not provided, and there is not repo_url set in wapt-get.ini, extrapolate repo_url from wapt_server url);

  • [NEW] wapt-get: added check-valid-codesigning-cert /

CheckPersonalCertificateIsCodeSigning action;

  • python libraries updates

  • cryptography from 2.3.1 -> cryptography 2.5.0;

  • pyOpenSSL 18.0.0 -> pyOpenSSL 19.0.0;

  • [FIX] don’t reset host.server_uuid in server db

when host disconnect from websocket. Set host.server_uuid in server db when host gets a token;

  • [FIX] modify isAdminLoggedIn to try to fix cases

when we are admin but function return false;

  • [FIX] ensure valid package name in package wizard (issue959);

  • [FIX] regression when using python cryptography 2.4.2 openssl bindings

for windows XP agent (openssl bindings of the python cryptopgraphy default WHL >= 2.5 does not work on Windows XP);

  • [FIX] trap exception when creating db tables from scratch fails,

allowing upgrade of structure;

  • [FIX] reduce the risk of database is locked error;

  • [FIX] deprecation warning for verifier and signer when checking crl signature;

  • [FIX] persistent_dir calculation in package’s call_setup_hook

when package_uuid is None in local wapt DB (for clients migrated from pre 1.7 wapt, error None has no len() in audit log);

  • [FIX] regression don’t try to use host_certificate / key

for client side ssl authentication if they are not accessible;

  • [IMP] define proxies for crl download in wapt-get scan-packages;

  • [IMP] fixed bad normalization action icon;

  • [IMP] paste from clipboard action available in most packages editing grid;

  • [IMP] propose to define package root dev path, package prefix, waptagent

or new private key / certificate when launching waptconsole;

  • [IMP] remove the need to define waptdev directory

when editing groups / profiles / wua packages / self-service packages;

  • [IMP] grid columns translations in French;

  • [IMP] waptexit responsiveness improvements. Events check thread

and tasks check thread are now separated.

  • [NEW] added ClientAuth checkbox when building certificate in waptconsole;

  • [NEW] added --quiet -q option to postconf.py

  • [MISC] add an example of client side cert auth

  • [ADD] added clientAuth extended usage to x509 certificates (default True)

for https client auth using personal certificate;

  • [NEW] use of ssl client cert and key in waptconsole for server authentication;

  • [FIX] ssl client certificate auth not taken in account

for server api and host repository;

  • [ADD] added is_client_auth property for certificates;

  • default None for is_client_auth certificate /

CSR build;

  • don’t fallback to host’s client certificate authentication

if it is not clientAuth capable (if so, http error 400);

  • [MISC] waptcrypto: added SSLPKCS12 to encapsulate

pcks#12 key / certificate in certificate store;

  • [MISC] added splitter for log memo in Packages for hosts panel;

  • [FIX] store fixes;

  • [FIX] be tolerant when no persistent_dir in waptwua packages;

  • min wapt version 1.7.3 for self service packages and waptwua packages,

  • [FIX] WsusUpdates has no attribute downloaded;

(hash 373f7d92)

  • [FIX]] softs normalization dialog closed when typing F key

(Enterprise only);

  • [IMP] include waptwua in nginx wapt server windows locations

(Enterprise only);

  • [FIX] force option from service or websockets not being taken in account

in install_msi_if_needed or install_exe_if_needed;

  • [IMP] improved win updates reporting (uninstall behavior)

(Enterprise only);

  • [ADD] added uninstall action for winupdates in waptconsole

(Enterprise only);

  • [FIX] reporting from dmi « size type » fields with non integer content

(Enterprise only);

  • [IMP] waptexit: allow minimize button;

  • [IMP] waptexit: layout changes;

  • [IMP] AD Auth: less restrictive on user name sanity check

(Enterprise only);

  • [IMP] handling of updates of data for winupdates

with additional download urls (Enterprise only);

  • [ADD] added some additional info fields to WsusUpdates table

(Enterprise only);

  • [ADD] added filename to Packages table for reporting and store usage

(Enterprise only);

  • [ADD] added uninstall win updates to waptconsole (Enterprise only);

  • [ADD] added windows updates uninstall task capabilities (Enterprise only);

  • [ADD] added filename to Packages table;

  • [IMP] increased default clockskew tolerance for client socket io;

  • [FIX] regression in package filenames (missing _);

  • [FIX] mismatch for waptconsole [global] waptwua_enabled setting;

  • [FIX] default waptconsole EnableWaptWUAFeatures to True;

  • [FIX] waptexit: fixed install of and empty list of Windows Updates

(Enterprise only);

  • [FIX] wapt-get.exe WaptWUA commands: fixed import of waptwua client module

for waptwua-scan download install (Enterprise only);

  • [FIX] install_delay for Windows Updates stored

as a time_delta in waptdb (Enterprise only);

  • [ADD] versioning on group packages filenames;

  • [ADD] button to create AD Host profiles

(package automatically installed/removed based on AD Grouo memberships)

  • [IMP] reduce wapttray notifications occurrences.

notify_user = 0 per default

  • [FIX] waptexit: fixed details panel does not show the pending packages

to install;

  • [FIX] always install the missing dependencies in install

(even if upgrade action should have queued dependencies installs before) for some corner known cases;

  • [FIX] get server certificate chain popup action when building the waptagent;

  • [ADD] action to create a key / certificate in waptconsole conf;

  • [IMP] hide inactive / disabled WaptWUA actions in Host popup menu;

  • [ADD] checkbox to display newest only for groups;

  • [ADD] waptconsole config parameter licences_directory

to specify the location (directory) of licenses (Enterprise only);

  • [IMP] waptagent build dialog: Removed the Append host’s profiles

option;

  • [IMP] remove waptenterprise directory if waptsetup community is deployed

over a waptenterprise edition;

  • [IMP] Core:

  • better support for locales, maturities and architecture

packages filtering;

  • [NEW] Self service rule packages (Enterprise only):

  • Package to define which packages can be installed / remove

for groups of users;

  • WAPT Windows Updates rules packages (Enterprise only);

  • [NEW] package to define which Windows Updates are allowed / forbidden

to be deployed by Wapt WUA agents;

  • waptagent build:

  • [ADD] option for use_fqdn_as_uuid when building waptagent.exe;

  • [ADD] option to define the profile package to be deployed

upon Wapt install on hosts;

  • [ADD] options to enable WaptWUA (Windows updates with Wapt)

(Enterprise only);

  • Host Profile packages (Enterprise only):

  • [IMP] specific packages (like Group packages) which are installed

or removed depending of wapt-get.ini [global] host_profiles ini key;

  • [NEW] if a profile package name matches Computer’s AD Groups,

it is deployed automatically;

  • Reporting (Enterprise only):

  • [NEW] import / export queries as json files;

  • [IMP] softwares names normalization as a separate dialog;

  • waptexit:

  • [IMP] reworked to make it more robust;

  • [IMP] takes in account packages to remove;

  • [IMP] takes in account Wapt WUA Updates (Enterprise only):

  • command line switch: /install_wua_updates;

  • wapt-get.ini setting: [waptwua] install_at_shutdown = 1;

  • checkbox in waptexit to skip install of Windows Updates;

  • waptconsole Custom commands:

  • [NEW] ability to define custom popupmenu commands which are launched

for the selection of hosts. Custom variables {uid};

  • Other improvements:

  • [IMP] French translations fixes;

  • [NEW] Reporting (Enterprise only):

  • basic SQL reporting capability;

  • duplicate action / copy paste for reporting queries;

  • [ADD] setuphelpers: added helpers processes_for_file

and get_computer_domain;

  • python 2.7.15 on Windows;

  • openssl-1.0.2p;

  • upgraded to python-requests 2.20.0 (Security Fix);

  • [IMP] don’t refresh GridHostsForPackage if not needed

(Enterprise only);

  • [IMP] don’t add a newline to log text output for LogOutput;

  • [IMP] improved handling of update_host_data hashes to reduce amount of data

sent to server on each update_server_status;

  • [IMP] set python27.dll path in wapt-get and waptconsole.exe

(fix cases with multiple python installations);

  • [FIX] removal of packages when upgrading host via websockets;

  • [IMP] don’t get host capabilities if not needed when updating;

  • [IMP] don’t check package control signatures in wapt-get

when loading list of packages for development tasks;

  • [IMP] Moved static waptserver assets to a /static root

split base.html and index.html templates for blueprints;

  • [FIX] selective pending wua install or downloads (Enterprise only);

  • [FIX] wua updates filter logic (Enterprise only);

  • [IMP] uninstall host packages if use_hostpackages is set to false:

  • add a forced update in the task loop

when host capabilities have been changed;

  • include use_host_packages and host_profiles in host’s capabilities;

  • [FIX] regression not removing implicit packages.

  • [IMP] more tolerant to unicode errors in update_host_data

to avoid hiding actual exception behind an encoding exception.

  • [FIX] order of columns not kept when exporting reports (Enterprise only)

  • [IMP] install_msi_if_needed, install_exe_if_needed:

check if killbefore is not empty or None

  • [IMP] changed tasks’s progress and runstatus to property

  • [FIX] Audit aborted due to exception: “NoneType” object

is not iterable (Enterprise only)

  • [ADD] setuphelpers: Add get_app_path and get_app_install_location

  • add fix_wmi procedure to re-register WMI on broken machines

  • some wmi fallbacks to avoid unregistered machines when WMI is broken on them

  • [ADD] Online wua scans (Enterprise only)

  • [ADD] random package_uuid when signing a package metadata

which could be used later as a primary key:

  • creates a random package_uuid when installing in DEV mode;

  • creates a random package_uuid when installing

a package without package_uuid;

  • [IMP] moved and renamed EnsureWUAUServRunning to setuphelpers;

  • [ADD] pending_reboot_reasons to inventory;

  • [IMP] display package version for missing packages;

  • [ADD] wapt-get sign-packages: added setting maturity

and inc version in sign-packages action;

  • [ADD] WindowsUpdates’s host History grid below WindowsUpdate grid

(Enterprise only);

  • [IMP] store Host Windows update history in server DB (Enterprise only);

  • [IMP] keep selected or focused rows in grids;

  • [IMP] updates Packages table when uploading a Package / Group.

This table is meant mainly for reporting purpose;

  • [IMP] disable indexes for some BinaryJson fields;

  • [FIX] windows update install_date reporting (Enterprise only);

  • [ADD] checkbox to enable use_fqdn_as_uuid

when building waptagent.exe;

  • [IMP] change default value for upgrade_only_if_not_process_running;

  • [IMP] changed naming of organizational unit packages to remove ambiguity

with comma in package name and comma to describe the list of packages depends / conflicts:

Replace “,” with “_” when editing package (Enterprise only);

  • [ADD] waptexit: added priorities and only_if_not_process_running

command line switches;

  • [IMP] waptupgrade: changed windows_version and Version;

  • [ADD] setuphelpers windows_version: added members_count;

  • [IMP] waptutils.Version: strip members to members_count if not None;

  • [ADD] control attributes editor keywords license homepage package_uuid

to local waptservice db;

  • [ADD] short fingerprint to repr of SSLCertificate;

  • [IMP] be sure password gui is visible even if parent window is not;

  • [ADD] gui for private key password dialog if --use-ggui;

  • [ADD] --use-gui to wapt-get.exe command line arg

to force use of waptguihelper for server credentials when registering;

This is a bugfix release for 1.6.2.5:

  • [FIX] waptexit: changed the default value of

upgrade_only_if_not_process_running parameter to False instead of True:

if upgrade_only_if_not_process_running is True, the install tasks for packages with running processes (impacted_process) are skipped;

if upgrade_only_if_not_process_running is False, the install tasks for packages with running processes may impact the user if the installer kills the running processes;

  • [FIX] waptwua: take in account Windows Updates RevisionNumber attribute

to identify uniquely an Update in addition to UpdateID field (Enterprise only). This fixes the 404 error when downloading missing windows updates on a client.

This is a bugfix release for 1.6.2.5:

  • [FIX] WAPTServer Enterprise on Windows: added proper upgrade path from

PostgreSQL 9.4 (used in WAPT 1.5) to PostgreSQL 9.6 which is required for WAPT-Windows Update:

  • new database binary and data directory path are suffixed with -9.6;

  • old data is suffixed with -old after migration;

  • [FIX] upgrade script for MongoDB upgrade (WAPT 1.3)

to PostgreSQL used since WAPT 1.5;

  • [FIX] regression on WMI / DMI inventory which may be not properly

sent back to the server;

[NEW] Main new features if you are coming from 1.5:

  • per package Audit feature (Enterprise only);

  • WAPT managed Windows Updates tech preview (Enterprise only);

  • wizards to guide post configuration

of Windows server and first use of waptconsole;

  • waptconsole/ private repo page: added a grid which shows

the computers where the selected package is installed;

It includes numerous changes over the 1.5.1.26 version.

  • [NEW] per package audit feature:

  • def audit() hook function to add into package’s setup.py.

By default, check uninstall key presence in registry:

  • wapt-get audit;

  • wapt-get -S audit;

  • wapt-get audit <packagename>;

  • right click in waptconsole on machines or installed

packages/ Audit package;

  • synthetic audit status for each machine;

  • for each installed package: last_audit_status, last_audit_on,

last_audit_output, next_audit_on;

  • scheduled globally with wapt-get.ini parameter [global]:


waptaudit_task_period = 4h

or in package’s control file:


audit_schedule = 1d

  • audit log displayed in waptconsole below installed package grid

if Audit Status column is focused;

  • [UPD] updated python modules

  • [IMP] build with Lazarus 1.8.2 instead of CodeTyphon 2.8

for the Windows executables:

  • better strings encoding handling and easier to setup for the development;

  • PostgreSQL 9.6 is required for WAPT WUA tech preview

(Debian Jessie not supported);

  • WAPT 1.6 includes one more security layer in the agent to server connection.

After server upgrade, the client desktops won’t be able to connect to the server as long as they have not been upgraded themselves. If you require to be able to remotely manage the WAPT agent while the agent has not yet been upgraded, it is necessary to set allow_unauthenticated_connect to True in waptserver.ini;

  • [FIX] add AD Groups as Hosts dependencies in waptconsole;

  • [FIX] remove image on reachable column if no status has been sent yet;

  • [FIX] Organizational Units WAPT packages not being installed

when there are spaces in DN;

  • [FIX] Operational error when host are trying

to reconnect but are not registered;

  • [FIX] fill in created_on db fields on win updates data;

  • [IMP] debian server postinst: remove old pyc files;

  • [IMP] Improved WAPT console setup Wizard;

  • [ADD] allow_unauthenticated_connect defaults to

allow_unauthenticated_registration if it is not explicitly set in waptserver.ini file (This will ease migration from 1.5 to 1.6);

  • [IMP] Escape key on password edit of login moves focus

to configuration combo;

  • [IMP] PackageEntry.asrequirement(): removed space between package name

and version specification;

  • [IMP] missing install_date in insert_many for some updates;

  • [ADD] add force arg for WAPTUpdateServerStatus action;

  • [IMP] don’t includes setup.py in initial host’s

packages inventory, and full inventory;

  • [IMP] allow to use installed waptdeploy.exe

without retry/ignore dialog;

  • [IMP] be sure error is reported properly in socketio;

  • [IMP] added package_uuid and homepage package attributes;

  • [IMP] added installed on columns for host wsus updates;

  • [FIX] WUA grid layout saving;

  • PostgreSQL 9.6 is required for WAPT WUA tech preview

(Debian Jessie not supported);

  • the authentication of client connections to the WAPT websockets server

is not compatible with pre-1.6.2 wapt clients. During migration, if you want to keep the connection with clients, you have to disable the authentication with the parameter: allow_unauthenticated_connect = 0 in server’s configuration file waptserver.ini. When all clients have migrated, this can be removed;

  • [NEW] wizard for the initial configuration of waptserver on Windows;

  • [ADD] wizard for the initial configuration of waptconsole

connection parameters;

  • [ADD] Enterprise only: waptconsole/ private repo page: added a grid

which shows the computers where the selected package is installed;

  • [NEW] Enterprise only: WAPT WUA Windows Updates management

technical preview:

  • activate with waptwua_enabled = 1 in wapt-get.ini file

on the client;

  • scan of updates on Windows clients with the IUpdateSearcher Windows API

and the wsusscan2 cab file from Microsoft;

  • additional page in WAPTconsole host inventory for

Windows updates status reported (HostWsus model);

  • additional page in WAPTconsole for the consolidated view

of all updates reported by hosts (WsusUpdates model);

  • periodic task on server to check and download newer version

of wsusscan2 cab file from Microsoft (daemon/ service wapttasks);

  • periodic Task on server to download missing windows updates files

as reported by Windows client after scan:

  • missing files are downloaded if one of the client should install

it and has not yet a copy in its local windows update cache;

  • downloads are logged in WsusDownloadTasks model;

  • [ADD] field in hosts table to keep the hashes of sent host data,

so that clients can send only what needs to be updated;

  • [ADD] db_port server config parameter if posgresql server

is not running on standard port 5432;

  • [ADD] editor optional attribute for package control, used

in register_windows_uninstall helper if supplied;

  • [IMP] websocket authentication with a timestamped token obtained

from server with client SSL certificate on server with client SSL certificate;

  • [IMP] json responses from waptserver are gzipped;

  • [IMP] forced host uuid;

  • [IMP] forced computer AD Organizational unit;

  • [IMP] public certs dir;

  • [FIX] caching of negative result for certs chain validation;

  • [IMP] refactoring of server python modules (config, utils, auth, app,

common, decorators, model, server) for the enterprise modularity;

  • [FIX] timezone file timestamp handling for http download;

  • upgrade to peewee 3.4;

  • upgrade to eventlet==0.23.0;

  • upgrade to huey 1.9.1;

  • eventlet 0.20.1 -> eventlet 0.22.1;

0.22.1:

  • [IMP] event: Event.wait() timeout=None argument to be

compatible with upstream CPython;

  • [IMP] greendns: Treat /etc/hosts entries case-insensitive.

Thanks to Ralf Haferkamp;

0.22.0:

  • [IMP] dns: reading /etc/hosts raised DeprecationWarning for universal lines

on Python 3.4+. Thanks to Chris Kerr;

  • [IMP] green.openssl: Drop OpenSSL.rand support.

Thanks to Haikel Guemar;

  • [IMP] green.subprocess: keep CalledProcessError identity.

Thanks to Linbing@github;

  • [IMP] greendns: be explicit about expecting bytes from sock.recv.

Thanks to Matt Bennett;

  • [IMP] greendns: early socket.timeout was breaking IO retry loops;

  • [IMP] GreenSocket.accept does not notify_open.

Thanks to orishoshan;

  • [IMP] patcher: set locked RLocks” owner only when patching existing locks.

Thanks to Quan Tian;

  • [IMP] patcher: workaround for monotonic « no suitable implementation ».

Thanks to Geoffrey Thomas;

  • [IMP] queue: empty except was catching too much;

  • [IMP] socket: context manager support.

Thanks to Miguel Grinberg;

  • [IMP] support: update monotonic 1.3 (5c0322dc559bf);

  • [IMP] support: upgrade bundled to dnspython 1.16.0 (22e9de1d7957e)

https://github.com/eventlet/eventlet/issues/427;

  • [FIX] websocket leak when client did not close connection properly.

Thanks to Konstantin Enchant;

  • [IMP] websocket: support permessage-deflate extension.

Thanks to Costas Christofi and Peter Kovary;

  • [IMP] wsgi: close idle connections (also applies to websockets);

  • [IMP] wsgi: deprecated options are one step closer to removal;

  • [IMP] wsgi: handle remote connection resets.

Thanks to Stefan Nica;

0.21.0

  • [IMP] new timeout error API: .is_timeout=True on exception object.

It’s now easy to test if network error is transient and retry is appropriate. Please spread the word and invite other libraries to support this interface;

  • [IMP] hubs: use monotonic clock by default (bundled package);

Thanks to Roman Podoliaka and Victor Stinner

  • [IMP] dns: EVENTLET_NO_GREENDNS option is back, green is still default;

  • [IMP] dns: hosts file was consulted after nameservers;

  • [IMP] wsgi: log_output=False was not disabling startup and accepted messages;

  • [IMP] greenio: Fixed OSError: [WinError 10038] Socket operation on nonsocket;

  • [IMP] dns: EAI_NODATA was removed from RFC3493 and FreeBSD;

  • [IMP] green.select: fix mark_as_closed() wrong number of args;

  • [NEW] added zipkin tracing to eventlet;

  • [IMP] db_pool: proxy Connection.set_isolation_level();

  • Flask-socketio 2.9.2 -> Flask-socketio 3.0.1;

  • python-engineio 2.0.1 -> python-engineio 2.0.4;

  • python-socketio 1.8.3 -> python-socketio 1.9.0;

  • upgrade to websocket-client 0.47;

  • [ADD] def audit() optional hook in package is called periodically

to check compliance. Log and status is reported in server DB and displayed in console (Enterprise).

  • [ADD] WSUS tech preview: based on local Windows update engine and WSUSSCAN2

cab Microsoft file. WAPT server act as a caching proxy for updates. Scanning for, downloading and applying Windows updates can be triggered from console on workstations (Enterprise). A new wapttasks process is launched on the server to download updates and wsusscan cab from Internet.

  • [IMP] better utf8 handling;

  • [IMP] wapt-get make-template from a directory creates a basic installer for portable apps;

  • [IMP] wapt-get, waptexit: Removed ZeroMQ message queue on the client,

replaced by simple http long polling to monitor tasks status;

  • [IMP] waptconsole: Replaced blocking timer based http polling for tasks

status by threaded http long polling;

  • [IMP] waptconsole: Filter hosts on whether current personal certificate signature

is authorized for remote tasks (Enterprise). If same server is used for several organizations, it allows to focus on own machines. This supposes that different CA certificates are deployed depending on the client host’s organization. In this release, the filtering is not enforced and not cryptographically authenticated;

  • [CHANGE] renamed waptservice.py to service.py and waptserver.py to server.py,

activated absolute import for all python sourced absolute import for all python sources;

  • [REMOVED] use_http_proxy_for_template parameter

(setting is now in [wapt-templates] repo);

  • [ADD] handling of WUA tasks (Scan, download, apply updates) (Enterprise);

  • [ADD] handling of auditing tasks;

  • [ADD] tasks queue (Huey) for the WSUS background tasks

(Enterprise);

  • [IMP] gzip compression activated on the nginx configuration;

  • [ADD] option in wapt-get.ini to hide some items:

  • hidden_wapttray_actions: comma separated list of:

LaunchWAPTConsole, register, serviceenable, reloadconfig, cancelrunningtask, cancelalltasks, showtasks, sessionsetup, forceregister, localinfo, configure;

  • [CHANGE] use long polling instead of zmq;

  • [IMP] stop/ start/ query waptservice using a thread to avoid gui freeze;

  • [FIX] waptguihelper: be sure to load the proper python27.dll;

  • [FIX] core: forward force argument from console

to setup.py install() hook;

  • [FIX] overwrite psproj package file when editing a package

to fix path to WAPT python virtualenv and add new debug actions;

  • [UPD] GUI Binaries are built with Lazarus 1.8.2 / fpc 3.0.4

instead of CodeTyphon 2.8;

  • [UPD] peewee 3.0.4;

  • [UPD] eventlet 0.23.0;

  • [UPD] huey 1.9.1;

  • [UPD] pywin32 rev 223;

  • [UPD] Flask-socketio 2.9.6;

  • [UPD] engineio.socket 2.0.4;

  • [UPD] websocket-client 0.47;

  • [UPD] pyOpenSSL 17.5.0;

  • [UPD] request 2.19.1;

  • unit type of packages (with AD DN style names) are not well handled

by local WAPT self service, because of commas in name.

  • [FIX] av potential cause in wapttray;

  • [IMP] buffer LogOuput;

  • [FIX] wait task result loop in waptserver;

  • [FIX] bad acl on waptservice;

  • [FIX] repo timeout not taken in account;

  • [FIX] bad parameter for repo_url and [wapt-host] section;

  • [FIX] waptexit AV potential cause;

  • [FIX] make isAdmin non blocking as a workaround for false positive checks;

  • [FIX] use timeout parameter when importing external package;

  • [FIX] pass timeout parameter when importing;

  • [FIX] bad repo_url config naming;

  • [FIX] calc hash when compiling if file does not exist;

  • [FIX] repo timeout is float;

  • [FIX] custom zip corruption when signing a package with non ascii filenames;

  • [FIX] check wapt_db is assigned when rollbacking;

  • [IMP] logging in events;

  • [FIX] installed packages section is incorrectly reported as base

instead of unit or host in waptconsole;

  • [IMP] ensure manual service wua is running when using command line;

  • [UPG] Python modules updates:

  • upgrade to peewee 3.4;

  • upgrade to eventlet==0.23.0;

  • upgrade to huey 1.9.1;

  • [CHANGE] replace eventprintinfo with LogOutput;

  • [ADD] waptwua_enabled config parameter;

  • [IMP] missing ensure_list waptwua_enabled config parameter;

  • [IMP] default waptwua_enabled to None to avoid wuauserv

service configuration change;

  • [ADD] missing columns for window updates;

  • [ADD] action in waptconsole to show help on KB;

  • [IMP] wapttray cosmetic: hide duplicated separators

in tray popup menu when some actions are hidden;

  • [ADD] http_proxy ini setting for the server external download operations;

  • [IMP] wapttray: Start and stop WAPTservice using a thread to avoid gui freeze;

  • [IMP] Pure FPC PBKDF2 password hash calc for postconf;

  • [IMP] refactor server code to share app and socketio instances;

  • [FIX] forward the « force » argument (command line and through the websockets)

to the install() setup.py hook;

  • [FIX] do not display all missed events at tray startup in wapttray;

  • [FIX] no default audit_period;

  • [REMOVED] zeromq, replaced by long http polling between wapttray,

wapt-get and waptservice;

  • [IMP] revert monkey_patch for server on windows. No reason to exclude thread;

  • [ADD] allow_unauthenticated_connect server config (default false);

  • [FIX] CRITICAL update_host failed UnboundLocalError(« local variable “result”

referenced before assignment »,);

  • [FIX] zipfile python library bug for packages which contains files

with non-ascii filenames. Signed WAPT packages were corrupted in this case;

  • [FIX] deadlocks on server database when simultaneous DB connections

is larger than 100 (default maximum connections configured by default on postgresql);

  • [FIX] waptconsole crash on warning message when license

is about to expire (Enterprise only);

  • [FIX] %s -> %d format string for expiration warning message;

  • [FIX] host_certificate not found for waptstarter;

  • [FIX] waptserversetup.iss to include enterprise modules (Enterprise);

  • [FIX] download link to waptsetup and waptdeploy

on server index page for Windows;

  • requests 2.19.1;

  • Rocket 1.2.8 - Don’t try to resurrect connections that timeout.

Increase the timeout … to decrease the likelihood:

  • handle PyPi only supports HTTPS/TLS downloads now;

  • fix the problem that when body is empty no terminating;

chunk is sent for chunked encoding.

  • avoid sending the terminating chunk in case it’s a HEAD request;

  • fix the problem that when body is empty no terminating

chunk is sent for chunked encoding;

  • explicitly set the log level to warning;

  • fix bug « Threadpool grows by negative amount when max_threads = 0 »;

  • don’t try to resurrect connections that timeout. Increase the timeout

to decrease the likelihood;

  • [IMP] waptexit: display a custom PNG logo if one

is created in %WAPT_HOME%\templates\waptexit-logo.png;

  • [IMP] nssm.exe is signed with Tranquil IT code signing key;

  • waptconsole: Add locale and maturity columns in packages status grid;

  • waptconsole: wapagent wizard; be sure to get a relative path

when checking cert validity;

  • waptsetup: Add /CopyPackagesTrustedCA and /CopyServersTrustedCA command line

parameters to allow deployment of wapt with specific certificates with GPO for wapt without recompiling waptsetup;

Example:

C:\tmp\waptdeploy --hash=e17c4eddd45d34000df0cfe64af594438b0c3e1ee9791812516f116d4f4b9fa9 --minversion=1.5.1.23 --waptsetupurl=http://buildbot/~tisadmin/wapt/latest/waptsetup.exe --setupargs=/CopyPackagesTrustedCA=c:\tmp\tranquilit.crt --setupargs=/CopyServersTrustedCA=c:\tmp\srvwapt.mydomain.lan.crt --setupargs=/verify_cert=ssl\server\srvwapt.mydomain.lan.crt --setupargs=/repo_url=https://srvwapt.mydomain.lan/wapt --setupargs=/waptserver=https://srvwapt.mydomain.lan --setupargs=/DIR=c:\wapt

  • [FIX] waptconsole: regression introduced in 1.5.1.22. Unable to login if server

has not a FQDN;

  • [FIX] setuphelpers: winstartup_info fallback when COMMON_STARTUP

folder does not exist, preventing a client to register properly;

  • [FIX] version/ revision in wapttray dispkay the git hash instead

of old svn revision number;

  • [FIX] waptconsole: update French translation for certs bundle hint;

  • [FIX] waptconsole: compare properly packages when number of version

members differs 1.3 -<> 1.3.1 for example;

  • [FIX] add Active Directory groups;

  • [FIX] newest only with locale, architecture and maturity;

  • [FIX] Import from external repository with mixed locale,

architecture and maturity;

  • [ADD] --setupargs to waptdeploy;

  • [FIX] RPM;

  • [FIX] Enterprise build (Enterprise only);

  • [IMP] different icons for WAPT Community and Enterprise editions;

  • [IMP] switch to Community features when no licence instead of aborting

(Enterprise);

  • some up to date Installed Packages marked as upgradable because

of bad comparison maturity None/ maturity;

  • [IMP] depends and conflicts fields of HostsPackagesStatus table limited

to 800 chars -> type changed to ArrayField to handle unlimited number of dependencies;

  • [NEW] git python module added as part of WAPT libraries;

  • [IMP] list organizational unit packages in group package table

(Enterprise);

  • [FIX] MongoDB to PostgreSQL database upgrade script;

  • [FIX] licence/ hosts count/ expiry check (Enterprise);

  • [FIX] relative path for verify_cert;

  • When waptserver is searched with DNS SRV query (dnsdomain param),

kerberos register authentication is not working.

  • [IMP] multiple languages for description of packages. English, French, German,

Spanish, Polish are handled as a start point. More to be added in the future;

  • [IMP] the description columns in waptconsole displays either languages depending

on language setting in waptconsole.ini. In packages, description_fr, description_en, etc… have been added;

  • [IMP] when renaming hosts, old host package (matching previous host uuid)

is now « removed » instead of forgotten;

  • [NEW] Handle AD organizational unit packages (Enterprise only;)

  • [NEW] package attributes:

  • locale attribute: A computer can be configured to accept

only packages with a specific locale;

  • maturity attribute: stores status like DEV, PREPROD, PROD

to describe the level of completion of the package. Computers can be configured to accept packages with specified maturities. Default packages maturity of computer is both the empty one and PROD;

  • impacted_process attribute: csv list of process names which

would be killed before install (install_msi_if_needed, install_exe_if_needed) and uninstall (by the mean of uninstallkey list). Could be used too in the future for « soft » upgrade remote action which upgrade softwares while they are not running;

WAPTupgrade package:

  • [IMP] increased lifetime for upgrade task windows scheduler trigger

for computers which are down for many days when upgrading;

  • [ADD] trigger at start of the computer;

  • [IMP] display of the list of embedded trusted packages certificates

when building the custom waptagent installer;

  • [FIX] handle unicode filepaths for Packages Wizard;

  • [IMP] work in progress improvement of unicode handling globally in WAPTconsole;

  • [FIX] use proxy if needed for « download and edit » from external repo;

  • [FIX] bug in create_programs_menu_shortcut and

create_user_programs_menu_shortcut. Shortcuts were created in startup and not startup/programs.

There is now some additional support for packages localization.

In Package control file, the description_fr, description_en, description_de, description_pl, description_es can be used to give description in respective french, english, german, polish languages.

If not set, the base description is used.

There is a significant internal change on how python libraries are managed inside WAPT. This has implications on the way python scripts are launched. This change is only relevant for peoples launching WAPT processes manually.

We have removed the (not clean) sys.path manipulations inside wapt python scripts sources. The consequence is that all python scripts must be run with prior setting PYTHONHOME and PYTHONPATH pointing to WAPT home directory (/opt/wapt on Linux).

Failing to do so results in scripts claiming that libraries are missing.

On Linux waptserver, libs are now in the default /opt/wapt/lib/python2.7 location instead of using non standard former one.

  • [IMP] WAPT has its own full python environment for libraries,

even when debugging. Before, system wide python27 installation was needed for PyScripter to run.

Now, PyScripter can be started with a special batch file waptpyscripter.bat which sets the environment variables for python (PYTHONHOME and PYTHONPATH) and run PyScripter with python dll path set to wapt own copy.

  • [NEW] Command line scripts with proper environment:

  • wapt-serverpostconf on Linux server to start server postconf.py

  • wapt-scanpackages

  • wapt-signpackages

  • [NEW] debugging commandline tools which setup python environment

properly before running the python script.py before running the python script:

  • to debug waptservice, launch in cmd as admin: runwaptservice.bat;

  • to debug waptserver, launch in cmd: runwaptserver.bat

or under linux: runwaptserver.sh;

  • to launch PyScripter without the need for local

system wide python27 install, run waptpyscripter.bat;

  • [IMP] Add local wapt-get.ini settings packages_whitelist

and packages_blacklist to restrict accepted packages from repository based on their package’s name;

  • [IMP] More detailed reporting off host’s repositories configuration

(now includes dnsdomain, proxy, and list of trusted certificates);

  • [FIX] fixed display in the Windows task bar of the login window

(to allow in particular the autofill of the password by password managers); waptagent failing to compile if keys/ certificates already exist but the certificate had been removed from C:\wapt\ssl;

  • [NEW] Handle AD organizational unit packages (Enterprise edition)

  • [IMP] Fallback to basic auth when a host is registering on waptserver

if kerberos is enabled but authentication fails.

  • [IMP] for wapt-get.exe, allow to designate configuration

wapt-get.ini file with –config option with base name of user waptconsole ini file (without ini extension) instead of full path. Handy when switching between several configurations. Same behavior as for waptconsole. Example:

wapt-get -c site3 build-upload c:\\waptdev\\test-7zip-wapt;

  • [FIX] Be sure to not loop for ever in websockets retry loop if something

is wrong in host waptserver or websocket configuration.

  • [FIX] Update PyScripter project template to use project directory as parameter

for debug actions, and use relative paths for filenames.

  • [FIX] incorrect package version comparison. Return True when comparing 1.2-1

to 1.2.1-3 (note: this is not homogeneous with the Version() class behavior. todo: merge both);

  • [FIX] waptsetup: register and update must be launched with elevated

privileges. So remove runasoriginaluser option.

  • [NEW] Introduced attributes target_os and impacted_process for package’s

control file. They are not yet taken in account.

  • [NEW] Introduced machinery to handle X509 client certificates authentication

for repositories and waptserver (specially for public servers);

  • [NEW] Introduced classes to generate X509

CRL;

  • [UPD] setuphelpers.removetree: Try to remove readonly flag when remove_tree

reach a Access Denied error;

  • [FIX] unicode handling in shell startup shortcuts;

  • [IMP] waptutils.wget can check sha1 or sh256 hashes in addition to md5,

and can cache and resume partial downloads;

  • [NEW] action in WAPTconsole to plan in near future

a restart of waptservice on selected hosts;

  • [IMP] mass host update/upgrade in waptconsole actions are now launched

in single shot instead of one host at a time;

  • [NEW] allow to force a host_dn in wapt-get.ini

when host is not in a domain (Enterprise only);

  • [NEW] added timeout parameter for setuphelpers

service_start, service_stop and service_restart;

  • [IMP] group filter list box is now editable, and one can type

a partial group match and press enter to filter on all matching groups. Separator is comma (,). Handle * at the end of search to find all occurrences even if one group matches exactly;

  • [ADD] bat script migrate-hosts.bat to set environment

for migrate-hosts.py;

  • [ADD] trigger_action.py script to trigger action on pre 1.5 hosts with

reachable 8088 waptservice port from 1.5 server;

  • [FIX] registration_auth_user reset to None when reusing host certificate

for re-register;

  • [IMP] removed unnecessary dependencies krb5-user, msktutil, python-psutil

for waptserver package;

  • [IMP] increase client_max_body_size for http post on nginx

for large update/ upgrade trigger:

  • fix signature_clockskew waptserver config parameter

not taken in account;

  • unified loggers for server;

  • have waptserver ask wapt clients to update status using websockets

if websocket connection is up but database is not aware of given SID (case where waptserver is restarted but nginx is kept up, and restart of waptserver service is fast enough to not trigger a reconnection of the clients);

  • [FIX] disable proxy for migrate-hosts;

  • waptservice: if a system account level http proxy is defined in registry

on the windows host, websocket client library tries to use it and fails to connect to the server. Workaround: make an exception for waptserver;

  • waptconsole: if a http proxy is defined in waptconsole.ini,

section [global], key http_proxy, it is used by the waptconsole even if setting use_proxy_for_xxx is False Workround: set http_proxy to an empty string in waptconsole.ini;

  • when using a not self-signed personal certificate, depending of th issuer,

the certificate file <private_dir>mine_cert.crt can contain the full chain (own certificate, intermediate CA, and root CA). When waptconsole asks if the certificate should be put in authorized client certificate directory (<wapt-dir>ssl), the full crt file is copied as this. This means that all certificates in crt file are authorized, and not only the personal one. This is perhaps not desired;

Workaround: check if the personal pem encoded crt file contains the full certificates chain. If this is the case, copy in <wapt-dir>ssl only the parts of the PEM file matching the certificates you want to trust;

  • SNI is not properly handled by waptconsole code, leading to incorrect

error about certificate validation on https server with virtual hosts;

  • Certificates CSR updates

(periodical signature, …) must be managed manually using tools like easy-rsa. Only CSR accessible by a URL are supported;

  • proxies are not supported on the server, so

CRL can not be updated properly (as far as Distribution Point is defined in certificates) if the server has no direct http access to the distribution points;

  • https certificates are verified on the clients using the bundle defined

by the verify_cert ini settings. If this setting is simply True, the bundle supplied with python libraries is used to check issuers. This bundle is not updated unless WAPT is upgraded, so new issuers or no more trusted issuers are taken in account only at this point. So it is better to deploy your own CA bundle along with wapt and define the verify_cert path.

  • for 1.5.1.18 rc1, on the linux server, there are broken symbolic links

in lib/python2.7 folder. Next RC does not exhibit this problem;

  • [NEW] Historize in wapt_localstatus PostgreSQL table the dependencies

and conflicts of installed packages (to provide an easy way to warn when conflicting package will be installed or should be removed);

  • [FIX] load fill certificate chain from host packages to check control

(as it is the case for other types of packages);

  • [SEC] regression: check host package control signature

right after downloading (it is checked too when starting install);

  • [FIX] regression: don’t install host package if version is lower

than installed one;

  • [FIX] don’t raise an exception during session-setup if package

has no setup.py;

  • [FIX] intermediate CA pinning:

Allow to deploy intermediate CA as authorized package CA without root CA (segragation of rules between entities);

  • [FIX] old style print statement (without parentheses)

raising an error in setup-session or uninstall setup.py functions;

  • [IMP] Add cache_dir parameter to wget function;

  • [IMP] renamed cabundle parameter to trusted_bundle;

  • [NEW] Add python methods to create certificate

from CSR;

  • [ADD] checkbox in create waptagent to sign with sha1 in addition to sha256

for old wapt client upgrades;

  • [IMP] force host package version to be at least equal to already installed

host package (when host package is deleted, version was starting again at 0);

  • [FIX] regression: check existing host package signature before editing it;

  • [FIX] Force waptserver DB structure upgrade at each server startup;

  • [ADD] db_connect_timeout parameter for pool of

waptserver DB connections;

  • [NEW] Store depends and conflicts attributes in waptserver

HostPackagesStatus PotsgreSQL table;

  • SNI is not properly handled by waptconsole code, leading to

incorrect error about certificate validation on https server with virtual hosts;

  • certificates CSR updates

(periodical signature, …) must be managed manually using tools like easy-rsa. Only CSR accessible by a URL are supported;

  • Quelques fallback pour permettre l’utilisation de la console WAPT sous Wine

  • Ebauche architecture plugins dans waptconsole.

  • Interface GUI pour entrer les mots de passe dans PyScripter

  • Action make-template dans installeur crée un paquet vide

  • Inclusion de la chaine de certificats du signataire dans le paquet

au lieu du seul certificat final

  • IMPROVE: gestion des certificats signés par une autorité intermédiaire

pour les actions de la console Wapt

  • Ajout option pour spécifier fichier de configuration pour waptconsole.

  • [FIX] SNI pour la récupération de la chaine de certificats dans waptconsole.

  • [ADD] added actions to launch mass updates/ upgrades, offer updates

to the users (WAPT Enterprise);

  • F5 rafraîchit la liste des paquets

  • Changement à distance de la description de l’ordinateur

  • Possibilité de configurer plusieurs instances de serveurs Wapt

sur un serveur/ VM.

  • chunked http upload pour pouvoir uploader des gros paquets

sans passer par du scp.

  • Ajout installation forcée d’un paquet sur un poste dans la console.

  • Ajout option pour masquer les actions avancées

(simplication affichage console)

  • CN du Certificat / clé machine sont nommés comme l’UUID.

  • Si une ou plusieurs dépendances d’un paquet ne peuvent pas être installées,

le paquet parent n’est pas installé et est marqué en erreur.

  • Memory leak sur le serveur

  • Gestion timezone pour validité de certificats

  • [SECURITY] prend tous les fichiers en compte dans la vérification des hashes,

pas seulement ceux dans le répertoire racine (régression apparue en 1.5 mais non présente en 1.3)

  • [NEW] the host packages are now named with the BIOS UUID

of the machine instead of the FQDN (it is possible to use the FQDN as the UUID with the parameter use_fqdn_as_uuid but it may create duplicates in the console);

  • le service waptservice écoute sur l’adresse de loopback,

port 8088 et non plus sur toutes les interfaces. Cela réduit la surface d’attaque potentielle si un attaquant spoofe l’adresse IP du serveur WAPT;

  • le service waptservice crée au démarrage

une connexion Websockets (Socket.IO) vers le serveur pour permettre à la console de déclencher les Update/ Upgrade / Install/ Remove ; On ne pass plus par le port 8088 du service;

  • [NEW] the Websocket requests from the WAPT console to the WAPT agents are now

signed with the key of the Administrator. Before, security relied on source IP restriction and the validation of the Administrator’s login/ password;

  • la base de données d’inventaire est maintenant une base PostgreSQL

en remplacement de MongoDB. Cela facilite le requêtage pour un reporting personnalisé, le langage SQL étant mieux connu des administrateurs système;

  • l’affichage dans la console d’un grand nombre de machines a été amélioré.

L’affichage de plusieurs milliers de machines n’est plus un problème;

  • modifier la configuration d’un grand nombre de machines

a été rendu largement plus performant;

  • la reprise d’un téléchargement partiel de paquet est

maintenant possible (interruption lors de l’arrêt …);

  • les clés privées doivent maintenant obligatoirement être protégées

avec un mot de passe;

  • passage en Websockets;

  • gestion des écrans de haute résolution (ex: écrans 4k);

  • modernisation des jeux d’icônes dans la console;

  • changement à la volée de la description du poste;

  • option pour changer le mot de passe d’une clé;

  • la présence du fichier setup.py est optionnelle (plus particulièrement,

il n’est pas nécessaire pour les paquets groupes et machines qui ne contiennent que des dépendances);

  • [NEW] if the package contains a setup.py file, it MUST be signed with a

Code Signing certificate, otherwise the package WILL NOT be installed. The roles are now differenciated between the role of the Package Deployer (allowed to sign group and host packages) and the role of Package Developer (allowed to sign group, host AND base packages);

  • lors de la signature du paquet, le certificat du signataire est ajouté

dans le paquet (WAPT/certificate.crt);

  • le fichier manifest est renommé manifest.sha256 au lieu de

manifest.sha1 et signature.sha256 au lieu de signature;

  • ajout des attributs suivants au fichier control:

  • signed_attributes: pour la fiabilité de la vérification;

  • min_wapt_version: le paquet est ignoré (et ne s’installe pas)

si wapt n’est pas au moins à cette version;

  • installed_size: le paquet ne s’installe pas s’il n’y a pas au moins

cet espace disponible sur le disque système;

  • max_os_version: le paquet est ignoré si Windows

a une version supérieure à cet attribut;

  • min_os_version: le paquet est ignoré si Windows

a une version inférieure à cet attribut;

  • maturity: PROD, PREPROD, TEST;

  • locale; fr, en, etc ;

  • section explicite [wapt-host] pour le dépôt des paquets machines

sinon l’url est déduite de <repo_url>+”-host”;

  • section explicite [wapt] pour le dépôt principal,

sinon <repo_url> est pris en compte;

  • vérification des certificats activée par défaut

pour toutes les connexions https;

  • signature avec du sha256 au lieu de sha1;

  • prise en compte de paquets signés avec des certificats délivrés

par une autorité, déploiement uniquement du certificat de l’autorité;

  • utilisation de l’UUID du client pour le nom des paquets machine

au lieu du FQDN;

  • possibilité d’utiliser le FQDN comme UUID au lieu de l’UUID du Bios.

(paramètre use_fqdn_as_uuid) (ou uuid forcé: paramètre forced_uuid);

  • lorsqu’on signe, on désigne le signataire par son certificat et

non sa clé privée. La clé privée est recherchée par wapt dans le même répertoire que le certificat personnel. On incite à avoir un certificat par personne agissant sur WAPT;

  • possibilité de prendre en compte la révocation de certificats

(la CSR est fournie aux poste lors de l’update, dans le fichier Packages);

  • re-signature possible sous Linux avec

la commande wapt-signpackage.py;

  • installation dans Program Files(x86) par défaut;

  • running_as_admin, running_as_system;

  • correctif sur add_shutdown_script;

  • ajout paramètre remove_old_version pour install_msi_if_needed et

install_exe_if_needed;

  • ajout fonction update-package-sources qui lance

la fonction optionnelle update_package() du paquet;

  • remplacement de l’option –private-key par l’option –certificate

pour désigner le certificat à utiliser pour signer le paquet. La clé privée est recherchée dans le même répertoire que le certificat;

  • remplacement du fichier WAPT/wapt.psproj à chaque édition d’un paquet

(pour mettre à jour le chemin vers les modules WAPT suivant l’installation dans C:\wapt ou C:\Program Files (x86)\wapt);

  • vérification du certificat serveur lors du enable-check-certificate

pour éviter de mauvaises configurations;

  • ajout options


–if-needed –message-digest –scan-packages –message-digest


Usage: wapt-signpackages -c crtfile package1 package2

Re-sign a list of packages

Options: -h, –help show this help message and exit -c PUBLIC_KEY, –certificate=PUBLIC_KEY Path to the PEM RSA certificate to embed identitiy in control. (default: ) -k PRIVATE_KEY, –private-key=PRIVATE_KEY Path to the PEM RSA private key to sign packages. (default: ) -l LOGLEVEL, –loglevel=LOGLEVEL Loglevel (default: warning) -i, –if-needed Re-sign package only if needed (default: warning) -m MD, –message-digest=MD Message digest type for signatures. (default: sha256) -s, –scan-packages Rescan packages and update local Packages index after signing. (default: False)

  • [NEW] all actions sent to the hosts are signed with the Administrator’s key;

  • [NEW] generation of a key / certificate pair signed by

a Certificate Authority (WAPT Enterprise);

  • option de créer un certificat Code Signing ou non (version Enterprise);

  • option pour changer le mot de passe d’une clé RSA;

  • option de vérification des certificats lors de la

création du waptagent;

  • lancement TISHelp (version Enterprise);

  • limitation du nombre de machines retournées dans la console;

  • ajout filtre reachable = poste connecté au serveur WAPT;

  • possibilité de changer la description du poste

  • authentification sur une base LDAP (version Enterprise);

  • utilisation des Websockets pour les actions;

  • le Webservice http de waptservice écoute uniquement

sur la loopback 127.0.0.1 (donc plus de vérification si port 8088 ouvert sur firewall..);

  • le waptservice se connecte en websocket au serveur WAPT

si le paramètre waptserver est présent dans wapt-get.ini;

  • le paramètre websockets_verify_cert active la vérification SSL du certificat

pour la connexion websockets;

  • affichage de liste des certificats / CA autorisés pour les paquets;

  • affichage signataire paquet;

  • [NEW] allow_user_service_restart parameter allows a standard user to restart

the WAPT service on her computer;

  • lancement de tishelp en mode service par URL /tishelp;

  • suppression installation msvcrt;

  • restent uniquement 2 options: installer le service et lancer

wapttray;

  • options pour une installation silencieuse:

  • dnsdomain pour la recherche auto wapt et waptserver

  • wapt_server

  • repo_url

  • waptupgrade fait systématiquement une installation complète

(pas d’installation incrémentale);

  • setup.py pas obligatoire pour uninstall;

  • chemin unicode pour édition de paquets;

  • corrigé la recherche de dépots en s’appuyant sur les DNS;

  • corrigé \0000 pour PostgreSQL;

  • introduit une option pour avoir une double signature sha1 et sha256;

  • vérification https pour upload waptagent;

  • option –if-needed dans wapt-signpackages;

  • fix proxy dans import paquets;

  • gestion des révocations de certificats (CSR);

  • fix attributs requis dans signature actions;

  • max_clients;

  • fix option sans serveur (waptstarter);

  • ajout lancement tishelp;

  • force update à l’installation;

  • pas de release officielle;

  • [NEW] migration sur la base PostgreSQL à la place de MongoDB;

  • régression: Package files content check was skipped if signature of manifest

and Packages index file checksum was ok. This regression affects all 1.3.12 releases, but not WAPT <= 1.3.9 and >= upcoming 1.5. In order to exploit this bug, one would need to tamper the Packages files either through a MITM (if you do not have valid https certificate check) or a root access on the WAPT server.

  • compatibility with packages signed with upcoming WAPT 1.5.

With WAPT 1.5, package are signed with sha256 hashes. An option allows to sign them with sha1 too so that they can be used with WAPT 1.3 without signing them again.

  • new package certificate for Tranquil IT packages.

previous certificate for package on store.wapt.fr has expired. all packages on store.wapt.fr has been signed again with new key / certificate with both sha1 and sha256 hashes, and WAPT 1.5 signature style (control data is signed as well as files)

  • fix for local GPO add_shutdown_script() function (thanks jf-guillou!)

  • fix for waptsetup.exe postinstall actions (update / register)

when running waptsetup.exe installer without elevated privileges: added runascurrentuser flag

  • remove needless python libraries to make install package slimmer

  • [NEW] Assistant de création de paquets à partir d’un fichier MSI ou d’un Exe;

  • [NEW] Option dans le menu Outils ou par drag drop dans l’onglet dépôt privé;

  • [NEW] Découverte des options silencieuses;

  • [NEW] Utilisation des fonctions install_exe_if_needed et install_msi_if_needed

au lieu d’un simple run() pour les exes et les MSI (plusieurs templates de setup.py dans C:\wapt\templates);

  • [NEW] Amélioration significative de la vitesse de modification en masse des paquets machines;

  • [NEW] Vérification optionnelle de la signature des paquets que l’on importe d’un dépôt extérieur.

La liste des certificats autorisés se trouve par défaut dans %APPDATA%\waptconsole\ssl et peut-être précisée dans les paramètres de la waptconsole. Le paramètre ini se nomme authorized_certs_dir. Sinon, les certificats autorisés sont ceux dans C:\wapt\ssl;

  • [NEW] Vérification optionnelle du certificat https pour les dépôts extérieurs dans la console;

  • [NEW] Vérification de la signature des paquets machines, groupes et logiciels

avant leur modification dans la console ou dans PyScripter;

  • [NEW] Lors de l’import d’un dépôt extérieur, possibilité d’éditer le paquet

pour inspection plutôt que de le charger directement sur le dépôt de production;

  • [NEW] Changement des URL relatives à la documentation. https://www.wapt.fr/en/doc/;

  • [NEW] Possibilité d’actualiser le certificat sans recréer la paire de clés RSA

(en particulier pour préciser un Common Name correct, qui apparaît comme le signataire des paquets);

  • [NEW] HTTPS par défaut pour les URL de dépot.

  • [FIX] Paramètre AppNoConsole:1 pour NSSM (waptservice / waptserver)

pour permettre le fonctionnement sur Windows 10 Creators Updates;

  • [FIX] Problème de fichier Zip qui restent verrouillés si une erreur est déclenchée;

  • [FIX] Suppression répertoire temporaire lors de l’annulation d’édition d’un groupe;

  • [FIX] Gestion espace dans les fichiers de projet PyScripter;

  • [FIX] Gestion utf8 / unicode pour certaines fonctions;

  • [FIX] Fix gestion encoding quand run_not_fatal() renvoie une errreur;

  • [FIX] remplacement librairie mongo.bson par json natif de python ,

  • [FIX] bug dans la synchro des groupes AD avec les paquets WAPT;

  • [FIX] bug « La clé privée n’existe pas » la première fois qu’elle est renseignée

si on ne redémarre pas la console;

  • [FIX] bug « redémarrage service wapt » (merci à QGull);

  • [FIX] possibilité d’avoir des majuscules dans les noms de paquet

(toutefois pas recommandé, les noms des paquets sont sensibles à la casse);

  • [FIX] quelques actualisation des exemples de configuration wapt-get.ini.tmpl

  • [FIX] la compilation du waptagent échoue si les clés / certificats

existent déjà mais que le certificat a été supprimé de C:\wapt\ssl;

  • [FIX] affichage dans la barre des tâches de la fenêtre de login

(pour permettre en particulier l’autofill par des gestionnaires de mot de passe);

  • [FIX] Argument shell = True was not explicitly passed to the underlying

function as it occurred on previous versions.

  • [FIX] update code to follow more PEP8 recommandations;

  • [FIX] upgradedb locks sqlite database issue;

  • [FIX] Fix broken DNS SRV record discovery;

  • [FIX] Fix unicode handling of signer / CN / organization in certificates;

  • [FIX] Unzipped netifaces module;

  • [NEW] Expands wildcards args for install, show,

build-package, sign-package;

  • [FIX] Fix show-params wapt-get command;

  • [FIX] Fix register with description not working on some computers;

  • [FIX] Fix broken -c –config option;

  • [NEW] reg_key_exists;

  • [NEW] reg_value_exists;

  • [NEW] run_powershell;

  • [NEW] remove_metroapp;

  • [NEW] local_users_profiles;

  • [NEW] get_profiles_users;

  • [NEW] get_last_logged_on_user;

  • [NEW] get_user_from_sid;

  • [NEW] get_profile_path;

  • [NEW] wua_agent_version;

  • [NEW] local_admins;

  • [NEW] local_group_memberships;

  • [NEW] local_group_members;

  • [IMP] command:run: explicit default values for run command help in PyScripter.

Added return_stderr argument (overloaded str object);

  • [FIX] run_notfatal: fix unicode issue in use wmi module for wmi_info_basic

instead of wmic shell command;

  • [IMP] make_path: improved when first argument is a drive.

Be smart if an argument is a callable;

  • [FIX] CalledProcessError: restored command:CalledProcessError alias;

  • [ADD] host_infos: added profiles_users, last_logged_on_user,

local_administrators, wua_agent_version attributes;

  • [IMP] ensure_unicode: return None if None, for bytes strings,

try utf8 decoding before system locale decoding;

  • [FIX] restore allowed lowercase/uppercase package naming;

  • [ADD] 4 host popup menu actions:

  • Computer Mgmt;

  • Computer Users;

  • Computer Services;

  • RemoteAssist;

  • [FIX] fixed other issues in the WAPT console:

  • Don’t search host while typing;

  • utf8 search (accents…);

  • utf8 compare;

  • try to get localized versions of special folders;

  • [ADD] waptpythonw.exe binary in distribution for console less python scripts

(to avoid having cmd.exe windows poping up when invoking a python script);

  • [FIX] change default wapt templates URL to https://store.wapt.fr/wapt;

  • [FIX] when upgrading, (full waptagent.exe install) remove stalled

waptagent.exe installs;

  • [SEC] Fix inheritance of rights on wapt root folder for Windows 10 during setup

when installed in C:\wapt. On Windows 10, cacls.exe does not work and does not remove « Authenticated Users » from C:\wapt. cacls.exe has been replaced by icacls.exe:

  • on pre-wapt 1.3.7 systems, you can fix this by running the following command,

or upgrade to wapt 1.3.8 (you may check icacls.exe c:\wapt /inheritance:r) * This can be achieved with a GPO, or a wapt package

  • [IMP] in next versions of WAPT, the default install path of wapt will be changed

from root folder C:\wapt to a more standard C:\Program Files (x86)\wapt.

  • [IMP] By default, waptsetup.exe / waptsetup-tis.exe do not

distribute certificates to avoid to deploy directly packages from Tranquil IT. waptagent.exe by default distributes the certificates that are installed on the mangement desktop creating the waptagent.

  • [IMP] The database structure has changed between 1.3.8 and 1.3.8.2 to include

additional attributes from packages: signer, signer_fingerprint, locale, and maturity. signer and signer_fingerprint are populated when signing the package to identify the origin. This means local WAPT database is upgraded when first starting WAPT 1.3.8.2 and this is not backward compatible;

  • [IMP] Installers have a limited set of options, the most common use of WAPT is privileged;

  • [ADD] 3 new parameters for the waptexit policy behavior: hiberboot_enabled,

max_gpo_script_wait, pre_shutdown_timeout. These parameters are not set by default and should be added to wapt-get.ini [global] section if needed;

  • [IMP] Use user’s waptconsole.ini configuration file instead of wapt-get.ini

for the commands targeted to package development (sources, make-template, make-host-template, make-group-template, build-package, sign-package, build-upload, duplicate, edit, edit-host, upload-package, update-packages. This avoids the need to write these parameters in wapt-get.ini on the development workstation. These parameters are not shared across multiple users on same machine. One use case is to allow multiple profiles (key, upload location) depending on the maturity of package (development, test, production…);

  • [ADD] helper functions dir_is_empty, file_is_locked,

service_restart and WindowsVersions class

  • [IMP] Added referer and user_agent in wget and wgets

  • [IMP] run function: define stdin as PIPE to avoid lockup process waiting for input

or error like unable to duplicate handle when using for example powershell

  • [IMP] Version class: try to compare version using at least Version.members_count

  • [FIX] encoding fixes for registry functions, fix encoding

for registry_setstring key name

  • [FIX] install_exe_if_needed: don’t check uninstall_key

or min_version if not provided

  • [FIX] install_exe_if_needed and install_msi_if_needed

version check if –force

  • [UPD] Check version and uninstall key after install with install_exe_if_needed

and install_msi_if_needed

  • [UPD] inventory includes informations from WMI.Win32_OperatingSystem

  • [ADD] get_disk_free_space helper function

  • [UPD] check free disk space when downloading with wget.

Check http status before.

  • [UPD] Version class: Version(“7”)<Version(“7.1”) should return True

  • [ADD] 2 commands to get server SSL certificate and activate the certificate checking

when using https with waptserver

  • [FIX] get_sources to allow svn checkout of a new package project

  • [FIX] register problems with some BIOS with bitmaps

  • [UPD] Check uninstall key after package install if uninstallkey is provided

  • [FIX] added compatibility OS in manifest file for wapt-get

and waptconsole version windows

  • [FIX] erroneous error messages for session-setup in the WAPT console

  • [UPD] add « pattern » parameter to all_files function

  • [FIX] Install Date incorrectly registered by register_uninstall

  • [ADD] user_local_appdata function

  • [ADD] add the signer CN and signer_fingerprint

to control file when building package

  • [ADD] add control attributes min_wapt_version to trigger an exception

if Package requires a minimum level of libraries. The version is checked againts setuphelpers.py “s __version__ attribute.

  • [ADD] authorized_certificates attribute is sent to the WAPT server.

It contains the list of host’s signer certificates distributed on the host

  • [FIX] When signing, check if WAPT zip file has already a signature file.

(python zipfile can not replace the file inline)

  • [ADD] Show All Versions checkbox in Available Packages page

  • [UPD] Skin updated

  • [ADD] Filter searchbox for available packages

  • [ADD] Add NOT checkbox for keywords search in waptconsole

to search for hosts NOT having a specific package or software…

  • [FIX] fix integer limit for grid display of package size, use int64

for size of packages in waptconsole.

  • [UPD] don’t list packages of section « restricted » in local webservice

available packages list

  • [UPD] Common Name attribute should be populated now, so that signer identity

is not None in package control file.

  • [ADD] signer’s identity column in packages grid

  • [FIX] escape quotes in package’s description

  • [ADD] Check waptagent.exe version against waptsetup-tis version

at waptconsole startup.

  • [UPD] try to display a progress dialog

at waptconsole startup

  • [FIX] company not set when building customized waptagent.exe

  • [ADD] initialize Organization in waptagent.exe build with CN

from certificate.

  • [UPD] some text introduction changes

  • [NEW] Limit trayicon balloon popup when Windows version is above Windows 7

or if notify_user = 0 in wapt-get.ini

  • [UPD] Use broadcast address on interface for wakeonlan call

  • [FIX] remove the check of wapt server password which prevents

the proper registration of waptserver on Windows.

  • [UPD] when upgrading, reuse existing waptserver.ini file if it already exists,

don’t overwrite server_uuid and ask for password reset if it already exists

  • [FIX] waptdeploy not working on WinXP removed

DisableWow64FileSystemRedir on runtask.

  • [FIX] waptupgrade: Missing quotes for system account on Windows XP

  • [ADD] BeautifulSoup for wapt packages auto updates tasks

  • [UPD] winsys library update to “1.0b1”

  • [ADD] UUID parameter for direct requests to hosts from the WAPT Server;

  • [ADD] allow host to refuse request if not right target (if ip has changed

since last update_status for example)

  • [ADD] fallback on waptserver usage_statictics if mongodb lacks aggregate support

  • [IMP] register host on server in postconf using waptservice http

instead of command line wapt-get

  • [ADD] reset-uuid and generate-uuid for

https://roundup.tranquil.it/wapt/issue421 duplicated UUID issues

  • [IMP] mass hosts delete, added delete hosts package action. server >=1.2.2 only:

https://roundup.tranquil.it/wapt/issue433

  • [ADD] read the docs theme for sphinx setuphelpers API documentation. WIP

https://roundup.tranquil.it/wapt/issue427

  • [IMP] doc updates

  • [ADD] api/v1/hosts_delete method

  • [ADD] need_install, install_exe_if_needed,

install_msi_if_needed functions to setuphelpers

  • [ADD] parameters for waptdeploy.

  • [ADD] combobox for filtering on groups in waptconsole.

  • [ADD] Add ADS Groups as packages action

to WAPT host selection popup menu

  • [ADD] cleancache action to clean local waptconsole packages cache

  • [ADD] added notify_server on network reconfiguration

if waptserver is available;

  • [IMP] column groups shows only host’s direct dependencies with package’s

section == « group » instead of all direct dependencies.

  • [ADD] optional anonymous statistics (nb of machines, nb of packages, age of updates…)

sent to Tranquil IT to document the communication around WAPT (sent by waptconsole at most every 24h)

  • [IMP] improved mass hosts delete,

  • [ADD] delete hosts package action. server >=1.2.2 only:

https://roundup.tranquil.it/wapt/issue433

  • [IMP] big packages uploads (write uploaded packages by chunk)

(but still some issues on 32bits servers due to uwsgi)

  • [IMP] display version of mismatch when editing package

  • [FIX] host’s packages not saved when some dependencies don’t exist anymore

  • [FIX] restore working Cancel running task button

  • [FIX] canceling subprocesses not working in freepascal apps

(when waiting for InnoSetup compile for example)

  • [ADD] reset-uuid and generate-uuid for

https://roundup.tranquil.it/wapt/issue421 duplicated UUID issues

  • [IMP] find_wapt_repo_url processus to avoid waiting for all repos

if one repo is ok (improved response time in buggy networks)

  • [IMP] windows DNS resolver in wapt client (python part) instead of pure python resolver.

Should reduce issues when multiple network cards or inactive network connections.

  • [IMP] changed priority of server discovery using SRV dns records.

-> first priority ascending and weight descending. -> comply with standards.

  • [FIX] solved some issues with SQLite and threads

in local waptservice

  • [IMP] explicit transaction handling and isolation_level = None

for local waptDB (to try to avoid locks)

  • [IMP] teardown handler for waptservice to commit

or rollback thread local connections

  • [FIX] for waptrepo detection in freepascal parts: same processus as python part.

  • [FIX] for edit_package when supplying a wapt filename

instead of package request

  • [ADD] read the docs theme for sphinx setuphelpers API documentation.

WIP https://roundup.tranquil.it/wapt/issue427

  • [ADD] _all_ list to avoid importing unecessary names

in setup.py modules. Now only functions defined in setuphelpers are available when importing setuphelpers. This can break some WAPT packages if names were indirectly imported through setuphelpers module.

  • [ADD] need_install, install_exe_if_needed,

install_msi_if_needed functions to setuphelpers

  • [ADD] local_desktops function

  • [FIX] version class instances accept to be compared to str

  • [REM] processnames_list which is unused in setuphelpers

  • [ADD] add_ads_groups and get_computer_groups

to waptdevutils.py

  • [FIX] run helper

  • [FIX] on_write callback not working

  • [FIX] TimeoutExpired not formatted properly

  • [FIX] use closure for registry keys

  • [IMP] waptdeploy with more command line options

(in particular tasks to merge to default innosetup selected tasks)

  • [FIX] waptrepo detection using dns records

  • [FIX] waptagent upload error on windows

  • [FIX] debian packages should work for Jessie

  • [IMP] copytree2 for waptupgrade

  • [FIX] trap exception for version check on copy of exe and dll

  • [FIX] mongodb-server version should be >= 2.4

  • [IMP] the loading of the main grid has been optimized; only configured

columns are displayed;

  • [IMP] the WAPT server detects the hosts whose waptservice is listening.

Their Reachable status is shown with a green / grey indicator;

  • [IMP] the WAPT package to upgrade WAPT on hosts (???-waptupgrade.wapt)

is generated by the WAPT console at the same time as the WAPT agent installer (waptagent.exe), the two files are then uploaded on the WAPT server;

  • [ADD] the package dependencies of each host are displayed in the grid.

This allows to see what hosts have no package;

  • [ADD] possibility to trigger available package upgrades on hosts

that are listening from the WAPT console. In that case, the host sends its status to the WAPT server after the upgrade;

  • [ADD] possibility to filter hosts in the WAPT console according to their upgrade status

or whether they are « reachable » or not,

  • [ADD] when packages are flagged for install but are not yet installed on a host,

they appear with a blue « + » indicator. It is then possible to force the immediate install of the package with a right-click;

  • [ADD] cleaning of the cache on the hosts after each successful upgrade;

  • [ADD] the versions of the WAPT agent, WAPT Server are shown in the main web page

of the WAPT Server (with a red indicator if there is a problem);

  • [ADD] functions to setuphelpers to manage shortcuts:

  • remove_desktop_shortcut;

  • remove_user_desktop_shortcut;

  • remove_programs_menu_shortcut;

  • remove_user_programs_menu_shortcut;

  • [IMP] verification of used ports during the post-configuration of WAPT Server on a Windows machine;

  • [IMP] the waptserver no longer listen on 8080 port by default.

The Apache frontal web server listens in HTTP and HTTPS and relays action calls to the python waptservice that only listens locally.

It is therefore necessary to update wapt-get.ini files on WAPT agents and to replace wapt_server = http://srvwapt.mydomain.lan:8080 with wapt_server = https://srvwapt.mydomain.lan

If you can not make that change to your WAPT agents, it is possible to return to the previous behavior.

On Debian, edit the file /opt/wapt/waptserver/waptserver.ini, and in the [uwsgi] section, put:


http-socket = 0.0.0.0:8080

On Windows, edit C:\waptwaptserver\waptserver.ini and replace:


server = Rocket((“127.0.0.1”, port), “wsgi”, {« wsgi_app »:app})

with:


server = Rocket((“0.0.0.0”, port), “wsgi”, {« wsgi_app »:app})

The repository may stay in HTTP on port 80.

The calls to the WAPT Server are authenticated, but it is advized to restrict access to authorized sub-networks with a firewall.

  • [IMP] json calls to the webservice of the WAPT Server are now standardized;

  • [IMP] when launching command:update / command:upgrade / command:remove

/ command:forget / command:tasks_status actions from the WAPT console, the IP address of the host is no longer sent, but instead its UUID, and it is the WAPT Server that finds the IP address and the port to use; et c’est le serveur wapt qui s’occupe de déterminer quelle IP / port utiliser;

  • [ADD] verification in the WAPT console that the version of the WAPT Server is sufficient;

  • [ADD] the timeout to connect to WAPT agents and read the data are configurable in waptserver.ini;

  • [ADD] first public version of WAPT