# ASHNET2

> [HTML Version](ashnet2.htm)

ASHNET2, like ASHNET, is a wrapper for various third-party library functions, making them conveniently accessible to A-Shell and ATE. In particular, ASHNET2.DLL provides SSH services to ATE which are built around the open source libraries LIBSSH2 and OpenSSL.

| | | | | |
|------|------|------|------|------|
| **ASHNET2**  <br>**Edit** | **ASHNET2**  <br>**Version** | **A-Shell**  <br>**Version** | **Release**  <br>**Date** | **Description** |
| 212 | 2.5 | 7.0.1757 | 2024 Mar | Library Updates:<br>•  LIBSSH2 1.11.0; drop OpenSSL, now using WinCNG backend<br>•  OpenSSL 1.1.1w; from Shining Light Productions; superseded by WinCNG above<br>•  ZLIB 1.3.1; compiled from source; zlib.lib renamed to zlibstat.lib |
| 211 | 2.4 | 6.5.1724 | 2023 Jan | •  Retry in RECV routine to reduce spurious unexpected receive error (-43) disconnects (didn't help)<br>•  Library Updates:<br>•  OpenSSL 1.1.1s (from Shining Light Productions) |
|  |  | 6.5.1688 | 2020 Sept | ATE transport library upgraded to OpenSSL 1.1.1g to incorporate many accumulated protocol and security upgrades, bug fixes, etc. The updated ASHNET.DLL 1.1.173 now supports SHA3 hash algorithms in the CRYPTO[xs](keyword-types.md) CRYPTOP\_HMAC operation via new mode parameter symbols in [crypto.def](https://bitbucket.org/microsabio/soslib/src/master/907016/crypto.def). |
| 210 |  | 6.5.1686 | 2020 July | Replace straggler sprintf() with sprintf\_s().<br>Library updates:<br>•  OpenSSL 1.1.1g; now just libcrypto32MD and libssl32MD; no more libeay32MD or ssleay32MD<br>•  ZLIB 1.2.11; compiled zlibstat.lib from source<br>•  LIBSSH2 1.9.0; same as before<br>•  link with crypt32 |
| 209 | 2.3 | 6.3 | 2017 Sept | Fix bug failing to do DNS conversion on hostnames starting with #. |
| 208 |  |  | 2017 Feb | Recompile/link to update:<br>•  OpenSSL from 1.0.1g to 1.0.2k<br>•  LIBSSH2 from 1.4.3 to 1.8.0<br>•  Switch to VC2013 (required for OpenSSL package)<br>•  Don't allow connection if fingerprint needs update (and not auto-accept) but user doesn't have access. Pprevents unsecure connection by non-privileged user. |
| 207 |  |  | 2017 Feb | Recompile/link to update:<br>•  ZLIB 1.2.8<br>•  Return better error details on connection failure (ASHNET2.LOG)<br>•  Allow read access to stored ssh fingerprint for all-user configs in non-admin mode /jdm |
| 206 | 2.2 |  | 2014 Dec | Return better error details on recv error. |
| 205 | 2.2 | 6.1.1385 | 2014 May | Security-related enhancement:<br>•  supports public/private key authentication for SFTP via AG\_FTP or FTPDLX.<br>•  fixes problems with SFTP downloads without explicit local paths.<br>•  fixes a bug in CRYPTO[xs](keyword-types.md) where the dst parameter was being truncated if needed to allow for an explicit trailing null.<br>•  supports new CRYPTO[xs](keyword-types.md) function to generate public/private key files.<br>Note: requires ASHW32.EXE 6.1.1385.0+ and should be updated at same time. |


