2016-01-11 Version 2016 R1 #
(build number 5855)
TLS 1.2 enhancements
TLS 1.2 is now enabled by default in all our TLS/SSL enabled components. We fixed several interoperability issues as well.
Experimental assemblies for Windows Store Apps
Experimental binaries of many Rebex components (SFTP, FTP/SSL, Time, ZIP, File Transfer Pack, Terminal Emulation) for "Windows 8 Store", "Windows 8.1 PCL", and "Windows Universal Platform" are now available.
The are suitable for "Store Apps" targeting Windows 8.0, Windows 8.1, Windows Phone 8.1, Windows 10, Windows 10 Mobile and Windows 10 IoT.
Visit Rebex Labs for additional information.
Mitigation of Logjam attacks
Check for minimum allowed Diffie-Hellman key size (1024 bits) has been added to SSH and TLS/SSL to mitigate Logjam attacks.
The minimum value can be changes using
Complete list of changes of version 2016 R1
- All: Added workaround for Xamarin.Android whose Dns.GetHostEntry resolves 'localhost' to device's external IP address.
- All: Rebex assemblies are now signed with SHA-256 signatures in addition to legacy SHA-1 signatures.
- FTP: Added workaround for broken MLSD command on CC-patched WU-FTPD server.
- FTP: Added workaround for GlobalScape EFT Server 6.5-7.1 with broken OPTS MLST command.
- FTP: TLS 1.2 is now enabled by default.
- FTP: Improved port selection algorithm when using PortRange objects.
- FTP: Added support for FileCatalyst FTP server listings.
- FTP: Added Ftp.Settings.CompressionLevel property that specifies compression level for MODE Z uploads.
- Proxy: Fixed a bug in SOCKS4/SOCKS5 response reading code that triggered an infinite loop with buggy proxy servers.
- Proxy: Enhanced DNS resolution error messages.
- SSH: Enhanced interactive authentication support to make it possible to use AuthenticationRequest event to ask for username and password.
- SSH: Enhanced rejected authentication logging and error reporting.
- SSH: Added SshParameters.MinimumDiffieHellmanKeySize value (set to 1024 by default to mitigate Logjam attacks).
- SSH: No exception is thrown when the server aborts connection instead of closing it (unless a packet is being received).
- SSH: Enhanced 'no common algorithms' error message.
- SSH: Refactored SSH core to handle multi-thread scenarios more efficiently.
- SSH: Added certificate-based constructor to SshPublicKey class.
- SSH: Added support for certificate-based server authentication (using 'x509v3-sign-rsa algorithm').
- SSH: Fixed misleading error message when user interactive authentication attempt is rejected.
- SSH: Added support for one additional 'keyboard-interactive' authentication prompt ('Password for [user@server]:').
- SSH: Added Settings.PostponeChannelClose option to enable workaround for servers that send channel data or exit code after the channel has been closed.
- SSH: Added EnableSignaturePadding option that forces signature padding (workaround for SSH servers that got signature padding wrong).
- SSH: Added logging of debug messages received from SSH server.
- SSL: TLS 1.2 made compatible with Microsoft's implementation.
- SSL: Fixed client certificate authentication in TLS 1.2.
- SSL: Added Settings.SslMinimumDiffieHellmanKeySize value (set to 1024 by default to mitigate Logjam attacks).
- SSL: Added reliable detection of SHA-2 certificate support.
- Cryptography: Enhanced cryptographic provider initialization error message.
- Cryptography: Added workaround for PuTTY keys with bad data at the end.
- Core: Fixed multi-file operations to never modify input FileSet's BasePath.
- Core: ThreadPool is now used to handle background operations instead of a custom implementation.
- Core: Enhanced multithread operation support in log writers.
2015-08-24 Version 2015 R4.1 #
(build number 5715)
Fixed Xamarin mobile platform detection
Fixed platform detection code on Xamarin.iOS and Xamarin.Android.
Complete list of changes of version 2015 R4.1
- All: Fixed platform detection on Xamarin.Android and Xamarin.iOS.
- All: Version and platform added to assembly description.
2015-08-09 Version 2015 R4 #
(build number 5700)
Support for Windows 10, .NET Framework 4.6 and Visual Studio 2015
All Rebex components now ship with full support for Windows 10, .NET Framework 4.6
and Microsoft Visual Studio 2015.
Older Visual Studio versions (2005 and higher) and .NET Framework versions (2.0 and higher)
are still supported as well.
Faster TLS/SSL and SSH negotiation on Xamarin.Android
Our SSH and TLS/SSL libraries now use Java-based Diffie-Hellman on Xamarin.Android, which substantially speeds up SSH and TLS/SSL negotiation
when Diffie-Hellman algorithm is used.
File creation date support in FTP
Items returned by Ftp object's GetList and GetItems methods now provide creation time (if supported by the FTP server).
Complete list of changes of version 2015 R4
- All: Enhanced platform detection code.
- FTP: Added OPTS MLST support to enable non-default attributes.
- FTP: Added link support to MLSD/MLST parsers.
- FTP: Added FtpWebRequest.LogWriter property.
- FTP: Default value of Ftp.Settings.ReuseControlConnectionSession changed to True to enhance compatibility.
- FTP: Some legacy methods and properties now emit a warning when compiling.
- SSH: Added support for message authentication algorithms based on SHA-2 on .NET Compact Framework (when supported natively).
- SSH: Fixed NullReferenceException thrown by some SshSession properties (such as IsConnected) when not connected.
- SSH: SHA-2 is now the preferred message authentication algorithm.
- SSH: Added support for larger SSH packets.
- SSL: Unified status handling in ValidatingCertificate events and ICertificateVerifier interface.
- SSL: Enhanced TLS/SSL version mismatch handling.
- Cryptography: Fixed final empty block handling in Twofish/Blowfish/ArcTwo TransformFinalBlock with PKCS #7 padding.
- Cryptography: SSH and TLS/SSL now use Java-based Diffie-Hellman objects on Xamarin.Android platform to speed up negotiation.
- Core: Fixed end-of-line sequences in LogWriterBase, optimized FileLogWriter.
- Core: Added workaround for broken ASN.1 time values with the second part of "60".
2015-04-15 Version 2015 R3.1 #
(build number 5584)
This release disables "arcfour" cipher in SSH client core. Unless you are running FTP, IMAP, POP3 or SMTP
over an SSH channel, there is no need to upgrade.
Complete list of changes of version 2015 R3.1
- SSH: Disabled legacy "arcfour" SSH cipher by default.
- SSH: Fixed a bug that caused an algorithm list set by Settings.SshParameters.SetEncryptionAlgorithms to be ignored in FIPS-compliant mode.
2015-04-08 Version 2015 R3 #
(build number 5577)
Disabled RC4 in TLS/SSL
The security of RC4 symmetric encryption algorithm has been questionable for many years.
Recently, researchers have been able to exploit RC4's invariance weakness vulnerability
to retrieve about 64 bytes of encrypted information of a very small fraction of TLS/SSL connections that happen to use weak keys.
Since RC4 is no longer believed to be secure, it has been disabled by default.
Complete list of changes of version 2015 R3
- All: Fixed Version property of Ftp, Imap, Pop3, Scp, Sftp, Smtp and Ssh classes to return a proper version number. Changed Ftp.Version to a static propery to match the other objects.
- FTP: Added a workaround for broken firewalls that send an invalid response of "27 Entering passive mode (...)" when initiating a data transfer.
- SSH: Enhanced some authentication error messages.
- SSL: Disabled ciphers based on RC4 to prevend Bar Mitzvah attack on TLS/SSL.
- Cryptography: Enhanced weak signature algorithm detection during certificate validation on Xamarin.iOS.
- Core: Connect methods no longer require FileIOPermission (used to determine the assembly version for a log).
2015-03-17 Version 2015 R2 #
(build number 5555)
Fix for FREAK vulnerability
This release fixes vulnerability to FREAK exploit.
The vulnerable 512-bit legacy 'exportable' TLS/SSL ciphers have been disabled.
Support for TLS 1.2
Support for TLS 1.2 has been added, along with support for AES/SHA-256 cipher suites.
Complete list of changes of version 2015 R2
- SSL: Added support for TLS 1.2.
- SSL: Added support for AES ciphers with SHA-256 checksums.
- SSL: Disabled legacy 'exportable' ciphers (by default) to prevent FREAK security exploit.
- Cryptography: Added support for SSLeay private keys with AES-256-CBC encryption.
- Cryptography: Fixed broken HashSize property in SHA-2 CSP on .NET Compact Framework.
2015-02-02 Version 2015 R1 #
(build number 5512)
Support for Xamarin Unified API
Added support for the new Unified API.
This includes unified 32-bit and 64-bit platform support and makes it simple to share code between iOS and Mac.
Complete list of changes of version 2015 R1
- All: Added support for Xamarin.iOS unified API.
- FTP: Compatibility enhancements in Ftp.FileExists and Ftp.GetInfo methods.
2014-12-18 Version 2014 R3 #
(build number 5466)
Legacy SSL 3.0 disabled by default in TLS/SSL-enabled components.
TLS 1.1 is now used by default in TLS/SSL-enabled components. Legacy SSL 3.0 support is disabled by default
because it is no longer considered secure. Its use is strongly discouraged after disclosure of
This update brings several improvements, workarounds and bugfixes.
Complete list of changes of version 2014 R3
- All: Added more overloads to asynchronous Connect and Login methods.
- All: Removed legacy Connect methods and enumerations from Xamarin.iOS and Xamarin.Android version (should never have been there).
- FTP: Fixed improper logging of data received over FTP control connection.
- FTP: Fixed a bug that caused Ftp.DataPortRange to be ignored.
- FTP: Enhanced DataPortRange to better handle multiple Ftp objects with overlapping data port ranges.
- FTP: Added workaround for WinFtp Server's incorrect MDTM response which does not contain the milliseconds delimiter.
- FTP: Fixed MLST quoting workaround for the ProFTPD server. It is now only applied in 1.3.2x versions of ProFTPD server.
- FTP: Added workaround for WinFTP's server broken MDTM command.
- FTP: Made it possible to enabling wrong passive mode IP address workaround when using a proxy (if DNS resolution works locally).
- SSH: Added workaround for wrong SSH_MSG_USERAUTH_PK_OK packet in Cisco SSH.
- SSL: TLS 1.1 is now used by default in TLS/SSL-enabled components. Legacy SSL 3.0 support is disabled by default.
- SSL: Added experimental support for AES and Twofish based anonymous ciphers.
- Cryptography: Fixed SymmetricKeyAlgorithm.Padding for non-CBC modes.
- Cryptography: Added support for base-64 encoded P7B certificate chains.
- Cryptography: Changed padding of parameters exported by DSAManaged.ExportParameters to match DSACryptoServiceProvider.
- Cryptography: Added AsymmetricKeyAlgorithm.PublicOnly property.
- Cryptography: Added workaround for non-working HMACSHA256/384/512 on some FIPS-only systems.
- Cryptography: Added CertificateExtension.EnhancedKeyUsage method Useful when constructing certificate requests using CertificateRequest object.
- Cryptography: Fixed DiffieHellmanManaged.KeySize that sometimes reported shorter bit lengths.
- Cryptography: Several new AsymmetricKeyAlgorithm-based methods added to Certificate and CertificationRequest.
- Core: Added LocalItem.Attributes property.
- Core: PKCS #12 key loading routines changed to not persist keys in Windows key storage by default.
- Core: Added ConsoleLogWriter, a console-based log writer class.
2014-07-03 Version 2014 R2 #
(build number 5298)
This update brings several improvements, workarounds and bugfixes.
Complete list of changes of version 2014 R2
- All: Eliminated "Unknown heap type" warnings in Mono.
- FTP: Multi-file operations only try to determine the current remote path if it is actually needed.
- FTP: Added an option to force EPSV/EPRT commands.
- Networking: Enhanced logging of failed certificate validation errors.
- Proxy: Fixed ProxySocket's Connect method behavior with disabled timeout.
- SSL: Enhanced TlsVersion and TlsCipherSuite parameters checking.
- SSL: Fixed alert names in TlsException messages.
- Cryptography: Added Load, Save and Generate methods to PrivateKeyInfo and PublicKeyInfo classes.
- Cryptography: Enhanced CertificationRequest class to support request generating in addition to parsing.
- Cryptography: Fixed behavior with disabled UseFipsAlgorithmOnly on FIPS-only systems.
2014-02-26 Version 2014 R1 #
(build number 5171)
This update brings several improvements, workarounds and bugfixes.
Complete list of changes of version 2014 R1
- All: Various small low-level optimizations.
- FTP: Added workaround for small chunks of data received while uploading.
- Networking: Added static NetworkSession.DefaultLogWriter property to make it easily possible to set a shared log writer for all Ftp/Sftp/Imap/Smtp/Pop3/Scp/Ssh/SshSession objects.
- Proxy: Enhanced logging capabilities of ProxySocket class (Socket4/Socks5 proxies).
- SSH: Added support for SHA-2 (SHA-256 and SHA-512) message authentication codes.
- SSH: Enhanced CTR mode workaround for OpenSSH 4.x.
- SSH: Fixed missing MAC algorithm ID in SshCipher.ToString().
- SSH: Standard form of SSH_MSG_KEX_DH_GEX_REQUEST packets is used with recent OpenSSH servers instead of its legacy form.
- SSL: Added new Certificate-based CertificateRequestHandler.CreateRequestHandler overloads.
- Cryptography: Fixed a bug in MD5SHA1 signature validation on .NET Compact Framework.
- Cryptography: Fixed AES CSP availability detection in FIPS-compliant mode.
- Cryptography: Fixed sorting of PKCS #7 signature attributes.
- Cryptography: Added support for AES-128-CBC SSLeay private keys.
- Cryptography: Added workaround for certificates and keys in Base64-encoded format ending with a zero octet.
- Core: Assemblies made more obfuscator-friendly.
- Core: Fixed null value comparisons in FileSystemItemComparer.
2013-12-02 Version 2013 R3 #
(build number 5085)
Support for Xamarin.iOS and Xamarin.Android
Rebex components now support Xamarin.iOS and Xamarin.Android,
making it possible to target iPad/iPhone and Android devices!
(The only exception is the Terminal Emulation component whose TerminalControl
object relies heavily on Windows Forms and is only available for Windows and Linux
at the moment.)
Support for .NET Compact Framework 3.9
In addition to .NET CF 2.0 and 3.5, we now support .NET CF 3.9 as well.
This makes it possible to target Windows Embedded Compact 2013,
Microsoft's latest incarnation of Window CE.
Assemblies for every supported platform for all
With every purchase, you now get binaries for all supported platforms.
Users with active support contract were upgraded for free.
This will make it easy to embrace the new trends - we offer a single API
that works with .NET, .NET Compact Framework, Mono, Xamarin.iOS and Xamarin.Android.
Support for Visual Studio 2013
All Rebex components now ship with full support for Microsoft Visual Studio 2013.
Older Visual Studio versions (2005 and higher) and .NET Framework versions (2.0 and higher)
are still supported as well.
Complete list of changes of version 2013 R3
- All: Xamarin.iOS and Xamarin.Android officially supported in all components except Rebex Terminal Emulation.
- All: .NET Compact Framework 3.9 officially supported.
- All: Visual Studio 2013 officially supported.
- FTP: Added FtpSetting.RecheckItemExistence option to verify remote item existence before using it.
- FTP: Support for checksum-based file modification checking added to Upload and Download methods (ActionOnExistingFiles.ChecksumDiffers).
- FTP: Added support for AS/400 to batch operations (uses NAMEFMT extension).
- FTP: Ftp.GetInfo method now always returns .Path and .Name parsed from the input "path" argument (instead of parsing MLST output when available).
- FTP: FtpBatchTransferException made obsolete (use FtpException instead).
- FTP: Enhanced SSCN mode handling in server-to-server transfers (FXP), making it more compatible.
- FTP: Fixing time checking in SetFileDateTimeSync (incorrectly used millisecond precision).
- FTP: Asynchronous version of the GetRemoteChecksum method added.
- FTP: Fixed assignment of default reaction in response to a problem encountered during Upload/Download methods.
- Networking: On Windows 8 and 8.1, larger TCP receive buffer size is used by default. The default value caused low transfer speeds in many cases with FTP and SFTP.
- Networking: Added IsAuthenticated and IsConnected properties to NetworkSession (Ftp, Sftp, Scp, Imap, Smtp, Pop3, Ssh and SshSession objects).
- Proxy: Added support for digest authentication to HTTP CONNECT proxies.
- Proxy: Fixed ProxySocket.BeginSend and BeginReceived methods which used to fail in some scenarios.
- SSH: Added support for additional formats to SshPublicKey/SshPrivateKey object's SavePublicKey method and SshPublicKey constructor.
- SSH: Enhanced error checking to report a more meaningful error instead of "Invalid decoder state" in case of some connection failures.
- SSH: Enhanced GSSAPI/Kerberos support to be compatible with OpenSSH.
- SSH: Added Kerberos ticket delegation support.
- SSH: Added GSSAPI/Kerberos support to .NET CF version of SSH core.
- Cryptography: Changed Certificate.FindCertificates method not to include subordinate CAs in the search by default.
- Cryptography: Fixed CertificateStore.Exists on non-Windows platforms.
- Cryptography: Added workaround for opening certificate stores in .NET CF that don't exist yet.
- Cryptography: Added workaround for problem with DSA certificate in .PFX importing code on Windows Embedded Compact 2013.
- Cryptography: Added .NET CF support for Certificate.Associate(privateKey, permanentBind)
- Cryptography: Added Certificate.GetAuthorityKeyIdentifier() method.
- Cryptography: Changed SignerInfo and SignerInfo objects to use NULL parameters for hash algorithms (in order to match RSACryptoServiceProvider behavior).
- Core: Added FileLogWriter.Path to replace FileLogWriter.Filename.
- Core: Added LocalItem.ComputeCrc32() method.
- Core: Signed and encrypted message parsing made more compatible with broken messages.
2013-08-20 Version 2013 R2 #
(build number 4981)
This update brings several improvements and workarounds.
Complete list of changes of version 2013 R2
- Networking: Added support for IPv6 hostnames with zone IDs.
- SSL: Added workaround for MS FTP's TLS 1.1 bug in close_notify handling.
2013-07-29 Version 2013 R1 #
(build number 4959)
Official support for Mono
All Rebex components now officially support Mono, an open source, cross-platform, implementation
of C# and the CLR that is binary compatible with Microsoft.NET. The same assemblies that work
on Windows now work on Mono in Linux or Apple's OS X as well.
Unified FTP and SFTP item comparers
SftpItemCollection objects have been derived from
a shared base class since the introduction of IFtp
(a common interface for SFTP and FTP/SSL), a common base class for
has been missing. In this release, we added
FileSystemItemComparer to fix this inconvenience.
Complete list of changes of version 2013 R1
- All: Added support for Mono.
- All: Fixed finalizers that used to call state-changed events in some cases.
- FTP: GetItems now returns links instead of resolved items.
- FTP: Ftp.Settings.RestoreDateTime now applies to PutFile and GetFile methods as well.
- FTP: Fixed handling of broken links when deleting.
- FTP: Fixed a conflict of ConnectPassiveLater option and XFB server workaround.
- FTP: Added Ftp.Settings.TimeComparisonGranularity property.
- FTP: Ftp.Settings.UploadCommand now used in GetUploadStream and Upload methods as well.
- FTP: Multi-file operations use relative paths if possible.
- FTP: Sanity check for GetCurrentDirectory return value added to multi-file operations.
- FTP: Added proxy authentication support to FtpSite and FtpOpen proxy types.
- FTP: Improved Ftp.FileExists to work with servers that return code 553 to indicate non-existent file or directory.
- FTP: Fixed Gene6 FTP server version detection (v3.10 was detected as v3.1).
- FTP: Ftp.GetConnectionState() method made more reliable.
- FTP: Added Ftp.Settings.KeepAliveDuringTransferInterval to replace Ftp.KeepAliveDuringTransferInterval.
- FTP: When using TransferMethod.Move, only successfully transferred files are deleted.
- FTP: Enhanced TLS connection error handling - FtpException with ConnectionClosed state is thrown.
- FTP: Fixed possible race condition on multi-file methods.
- FTP: Optimized directory existence detection for current directory.
- FTP: Added workaround for server that appends 'bytes' to the end of response to the SIZE command.
- FTP: GetList and GetInfo return a path in the Path property.
- FTP: Item type order of FtpItemComparer reversed to match Rebex SFTP.
- FTP: Added workaround for ncFTPd's partially-broken MLST command.
- FTP: TransferType and TransferMode now persist through sessions.
- FTP: Enhanced multi-file operation logging.
- FTP: Added FileSystemItemComparer to replace FtpItemComparer and SftpItemComparer.
- FTP: Multi-file operations fixed to work properly with '.'-based FileSets.
- FTP: Several options shared by Ftp and Sftp objects added to IFtpSettings.
- FTP: Fixed Delete("dir/.") that used to delete "dir" as well.
- Proxy: Added support for HTTP CONNECT proxy communication logging.
- SSH: Fixed SshException.Data["ProtocolCode"] and .Data["ProtocolMessage"] values.
- SSH: Added verbose logging of raw data during welcome message exchange.
- SSL: SslInsertEmptyFragments property added to SslSettings.
- SSL: Fixed null TlsParameters.Certificate handling in server-side TlsSocket.
- Cryptography: Added support for anyExtendedKeyUsage attribute (in X509 certificates).
- Cryptography: Added DiffieHellmanCryptoServiceProvider class.
- Cryptography: Added PrivateKeyFormat.RawPkcs8 format for PrivateKeyInfo.Save and PrivateKeyInfo.Encode methods.
- Cryptography: RSAManaged.VerifyHash returns false on error.
- Cryptography: Fixed ArcTwoTransform to treat EffectiveKeySize of 0 as "current KeySize".
- Cryptography: HMAC fixed to use block length of 128 for algorithms with hashes larger than 256 bits.
- Cryptography: Fixed certificate verification to better handle server certificate with missing common name (used to throw NullReferenceException).
- Cryptography: Fixed handle leak in CertificateStore constructor.
- Core: Enhanced workaround for Stream.Seek on .NET CF.
- Core: FileLogWriter enhanced to log assembly version when opening log file.
- Core: Added missing PublicKeyInfo() constructor.
- Core: Added FileSet.ContainingDirectoriesIncluded option.
- Core: Added workaround for instances of FileStream that return "[Unknown]" name.
- Core: EncodingTools support IBM437 charset on all platforms.
- Core: Added CertificateFindOptions.None.
- Core: Added FileSystemItemCollection.UsePath property.
2012-11-12 Version 2012 R3 #
(build number 4700)
Official support for Visual Studio 2012
All Rebex components now ship with full support for Microsoft Visual Studio 2012.
Samples and and tutorials were updated for a new project file format.
Older Visual Studio and .NET Framework versions are still supported too.
Task-based asynchronous methods
The major change is the addition of new Task-based asynchronous methods to .NET 4.0/4.5 variant of our components.
This brings our API up-to-date with the current trends and makes it possible to utilize the new await keyword available in .NET 4.5 and Visual Studio 2012.
Finally, asynchronous programming became easy and seamless.
Check out some of the updated samples to see this in action!
Events now using SynchronizationContext
Previously, events raised by asynchronous methods were running in a background thread, making them hard to use in GUI applications.
Now, events are raised using the SynchronizationContext captured when the asynchronous method was started,
which basically means the events will run on application's GUI thread, making it possible to update application's controls directly from the event code.
Simplified Connect methods
We simplified even the most common task - connecting to a server. All you have to supply to the Connect method of Ftp, Imap, Pop3 or Smtp object is the server hostname and an SslMode.
The Connect method automatically chooses the port according to the communication protocol and the specified SSL mode.
Simplified custom certificate validation
We added a new ValidatingCertificate event to Ftp, Imap, Pop3 and Smtp.
It makes it much easier to write custom certificate validation routines - all you have to do is add an event handler which either calls
Complete list of changes of version 2012 R3
- All: Added .NET 4.x-style task-based asynchronous methods to objects previously using .NET 1.x-style Begin/End asynchronous pattern.
- All: Asynchronous method events are raised using the current synchronization context for the asynchronous operation.
- All: Added options to force the old-style event behavior (not using the current synchronization context).
- All: Added Rebex.Legacy namespace to .NET 4.x builds to allow compiling code that uses old-style asynchronous methods.
- All: Added official support for Visual Studio 2012.
- FTP: Added Ftp.Settings.As400ListingDateFormat property to make it possible to specify AS/400 listing date format.
- FTP: Added Ftp.Settings.UploadCommand to make it possible to specify a different upload command to be used instead of STOR.
- FTP: Removed deprecated Ftp.SetTransferType and Ftp.Logoff methods.
- FTP: Removed unused FtpBatchTransferOperation.FileDataBlockProcessed value.
- FTP: FtpException.Response is now set for some OperationFailure errors as well.
- FTP: Ftp.DirectoryExists/FileExists methods enhanced to support more servers.
- FTP: Added a support for "cdir" field on MLST command results (fixed NullReferenceException in GetFileDateTime method with some FTP servers).
- FTP: Added Ftp.Settings.UseLegacyPaths flag to enable old-style path reporting in multi-file operation events.
- FTP: Fixed ActionOnExistingFiles.ResumeIfPossible behavior to skip existing files if already transferred.
- FTP: Multi-file operation events always report absolute paths.
- FTP: Enhanced source path checking in multi-file operations.
- FTP: Fixed a bug in AS/400 listing parser that caused the last modified datetime to be parsed incorrectly.
- FTP: Added simplified Connect method overload with SslMode argument.
- FTP: FtpBatchTransferException object was made redundant (its properties were moved to FtpException).
- FTP: Added Ftp.Settings.RestoreDateTime property to make it possible to restore source date/time on target.
- FTP: Fixed argument checks in GetUploadStream/GetDownloadStream methods.
- FTP: Added Rename value to ActionOnExistingFiles enum (used in Upload/Download methods).
- FTP: Events Traversing, TransferProgressChanged, DeleteProgressChanged and ProblemDetected added into Ftp to make it possible to get notified about significant actions and to be able to react to a problem in multi-file operations.
- FTP: Added Ftp.Settings.SslReuseSessions option to make it possible to disable TLS/SSL session reusing for data transfers.
- Networking: NetworkSessionException is now the base class for all network protocol exceptions.
- Networking: Task-based asynchronous methods added to IFtp interface.
- Networking: Removed several Socket.Available calls, resulting in higher speed and Windows Azure compatibility.
- Networking: Events Traversing, TransferProgressChanged, DeleteProgressChanged and ProblemDetected added into IFtp to make it possible to get notified about significant actions and to be able to react to a problem in multi-file operations.
- SSH: Better error message for unsuccessful keyboard-interactive fallback workaround.
- SSH: Enhanced "Invalid decoder state" error reporting.
- SSH: Added support for diffie-hellman-group-exchange-sha256 key exchange algorithm.
- SSH: Added SshPublicKey class, SshSession.ServerKey property and FingerprintCheck.ServerKey property (to make it possible to determine server host key in addition to fingerprint).
- SSL: Fixed a bug in server-side TLS/SSL that caused it to fail when session resuming was enabled.
- SSL: Fixed TlsException serialization that failed for some errors.
- SSL: Fixed a bug that caused problems with TLS/SSL in FIPS-only mode.
- Cryptography: Fixed a bug in TransformFinalBlock method of Rebex.Security.Cryptography ciphers that caused interoperability issues with CryptoStream.
- Cryptography: Fixed PKCS#7 padding check in built-in ciphers.
- Cryptography: Added EncodingTools class that adds support for all the charsets needed on all platforms.
- Cryptography: Added auto-detection of a bug in unpatched .NET 3.5's AesCryptoServiceProvider object.
- Cryptography: Implicit ObjectIdentifier(string) constructor added.
- Cryptography: Fixed CryptoHelper.CreateAlgorithm to return CSP version of SHA-2 hash algorithms when available.
- Cryptography: Fixed CertificateFinder property behavior to keep old certificates if no certificates are found by the new finder.
- Cryptography: Server certificate verification routine now allows certificates with '*.domain.net' names to be used for 'domain.net' in addition to '*.domain.net'.
- Cryptography: Fixed a bug in private key decryption routine which failed with keys encrypted with PKCS #12 key derivation algorithm.
- Core: Fixed P/Invokes in NTLM/Kerberos code.
- Core: AddRange method added to file item collections.
- Core: FIPS 140-2 compliant mode enhancements.
- Core: Fixed certificate validation issue on Windows XP and Windows Server 2003.
- Core: Added Certificate.Thumbprint property.
- Core: Fixed a bug in certificate chain building routine that caused it to ignore additional stores in some cases.
2012-06-11 Version 2012 R2 #
(build number 4546)
Complete list of changes of version 2012 R2
- FTP: Added support for "double-login" FTP proxy servers.
- FTP: Added Ftp.GetItems(string, ...) methods.
- FTP: Link resolving code enhanced to better handle FTP servers on Un*x-like platforms.
- FTP: Added support for additional MLSD attributes (creation time, Unix mode/owner/group and Windows file attributes).
- FTP: Added support for OPTS UTF8 on RaidenFTPD server.
- FTP: Added Download/Upload(string, string) method overload.
- FTP: Added support for common names with '*' wildcard to CertificateChain.Validate.
- FTP: Added support for instances of MS FTP 7.5 which request hostname.
- FTP: MLST is now used in Ftp.GetFileDateTime by default.
- FTP: Added workaround to SetFileDateTime that checks whether the correct time was set and fixes it if it was not.
- FTP: Compatibility enhancements in multifile methods.
- FTP: Fixed FtpProxy serialization where Encoding was omitted.
- Networking: UseLargeBuffers option added into IFtpSettings.
- SSH: Added SshPrivateKey(AsymmetricAlgorithm) constructor that makes it possible to initialize it from RSACryptoServiceProvider/DSACryptoServiceProvider (useful for SmartCard-based keys).
- SSH: Fixed wrong handling of large remote SSH channel window sizes (used by mod_sftp server).
- SSH: Client certificate authentication added (compatible with VanDyke VShell server).
- SSH: ZLIB support announced even when not preferred (without that, we were unable to connect to servers that refuse uncompressed sessions).
- SSH: Fixed a bug that causes a misleading error to be reported on immediately-closed connections.
- SSH: Added workaround for mod_sftp/0.9.7 which occasionally produces broken DSA signatures.
- SSL: Fixed a misleading error message which was reported when certificate revocation status could not be checked.
- SSL: When ProtocolVersion error occurs, data received prior to it is logged.
- Cryptography: Fixed local/UTC time comparison in Certificate.IsTimeValid.
- Cryptography: Added implicit conversion between Certificate object and X509Certificate/X509Certificate2 objects.
- Cryptography: Enhanced compatibility with Mono on non-Windows platforms - Certificate validation now works!
- Cryptography: Support for saving .PFX/.P12 files added to Certificate.Save method.
- Cryptography: Added new overloads of Certificate.Associate that make it possible to permanently bind the private key to the certificate.
- Cryptography: Added Certificate.FriendlyName property.
- Cryptography: Fixed Certificate.SignHash method which used to fail on .NET 2.0 when an associated key was used for MD5SHA1 signature generation.
- Cryptography: Fixed MD5Managed.HashSize property which used to return 0.
- Cryptography: Certificate.HasPrivateKey code in .NET CF version changed to behave identically to .NET version.
- Core: Added FileSet.Flatten option (makes it possible to ignore source directory structure and copy all files into single target directory).
- Core: Enhanced error reporting of file-path-based methods.
- Core: Added LocalItem and LocalItemCollection classes (used by FileSet.GetLocalItems method).
2012-03-01 Version 2012 R1 #
(build number 4444)
Components DLLs have been renamed
We found out that the DLL naming scheme we decided to use back in 2003 was no longer sustainable and decided to change it.
we now have
Most of the other DLLs were renamed as well during the process (
Rebex.Ftp.dll, for example).
We are sorry for any inconvenience this may have caused, but an alternative solution - introduction of a new DLL for shared functionality - would not be hassle-free either.
Fortunately, in order to upgrade to the new version, most customers will only need to remove references to the old DLLs and add references to the new ones because the API is still backward-compatible.
New multi-file methods in Rebex SFTP and FTP/SSL
FTP/SSL and SFTP got several new methods: Upload, Download, Delete and GetItems.
The first two are replacements for PutFiles/GetFiles (and support move operation in addition to copy),
Delete makes it possible to delete multiple files (or even a directory tree) at once
and GetItems makes it possible to retrieve a list of files for the whole directory tree in one call.
Common API for SFTP and FTP/SSL (experimental)
Lot of our customers have been asking for a common API capable of both SFTP and FTP/SSL.
Even though Ftp and Sftp objects provide a very similar API, they are still two distinct classes and writing code that can use either of them was hard.
Now, it got much better with the introduction of IFtp interface.
Complete list of changes of version 2012 R1
- All: SecurityRuleSet.Level2 is used for .NET 4.0 binaries.
- All: Added a Stream.Flush() call after each Stream.Seek() or Stream.Position call in .NET Compact Framework (workaround for .NET CF FileStream bug).
- FTP: Auto-resume capability added for PutFiles/GetFiles methods.
- FTP: Fixed a bug in handling some NOOP responses.
- FTP: DoNotDetectFeatures option now turns off server feature detection completely, not only the one using the FEAT command.
- FTP: Fixed a bug in PutFiles method that caused incorrect behavior when a root-based masked path was specified.
- FTP: Better GlobalScape server detection.
- FTP: Ftp.GetFile called with non-zero localOffset creates the local file if it doesn't exists.
- FTP: String comparison methods use StringComparison.Ordinal.
- FTP: GetList/GetRawList methods log the list content at Debug log level.
- FTP: Added workaround to GetFiles method for servers that return full paths in file listings.
- FTP: New values related to Upload, Download, Delete and GetItems methods added to FtpBatchTransferOperation enum.
- FTP: Added a workaround for servers that append a dot to their SIZE response.
- FTP: Fixed date parsing in 24h DOS-like file listings.
- FTP: Fixed problems with synchronization when EnableMultipleBlockingCalls option is enabled.
- FTP: FTP no longer attempts to resume TLS/SSL session for data connection when TlsOptions.DoNotCacheSessions option is used.
- FTP: New Download, Upload, Delete and GetItems methods added to Ftp object (along with associated enums and classes).
- FTP: Added Ftp.Settings property that replaces and extends Ftp.Options.
- FTP: Ftp object implements IFtp interface to make it easier to write code which works with both FTP and SFTP.
- FTP: Multi-file operations optimized by omitting existence check of items found during the operation.
- FTP: Added a workaround for GlobalScape servers that used to ignore the last packet in some circumstances.
- Networking: Socket.NoDelay is used by default in non-CF version of Rebex components.
- SSH: Fixed error handling in SshSession.OpenTcpIpTunnel method that caused troubles when multiple channels were active at the same time.
- SSH: SshChannel no longer attempts to adjust window size after the channel has been closed.
- SSL: Fixed non-working TlsSocket.BeginSend and BeginReceive methods.
- Cryptography: Faster Blowfish and Twofish algorithms.
- Cryptography: SubjectPublicKeyInfo.Load method now supports binary keys.
- Cryptography: Removed lots of CryptoApi dependencies from Certificate code.
- Cryptography: 4096-bit DSA keys (used by some SSH servers) are no longer rejected.
- Cryptography: Diffie-Hellman and DSA algorithms fall back to managed ModPow calculation on .NET CF with missing "Enhanced DSA and Diffie-Hellman" CSPs.
- Cryptography: Added Certificate.Associate(PrivateKeyInfo) method.
- Cryptography: Certificates associated with a private key using Associate method now support MD5SHA1 hash algorithm and suitable for TLS/SSL client certificate authentication.
- Core: Fixed a bug in TraceLogWriter that caused an additional newline to be written at the end of each message.
- Core: Added FileSystemItem and FileSystemItemCollection classes.
- Core: Better readability in Verbose-level logs.
- Core: Thread ID added to all log messages.
2011-03-09 Version 3.0.4086.0 #
(build number 4086)
Complete list of changes of version 3.0.4086.0
- FTP: Missing end-of-data blocks in are ignored in MODE Z transfers (some FTP servers failed to send them).
- FTP: GetList, GetRawList and GetNameList methods with empty arguments now behave like their parameter-less variants.
2011-02-11 Version 3.0.4060.0 #
(build number 4060)
Complete list of changes of version 3.0.4060.0
- FTP: Group, Owner and Permissions properties added to FtpItem class.
- FTP: Added support for Transnet FTP Gateway's list format.
- FTP: BytesTotal and ProgressPercentage properties added to Ftp.TransferProgress event arguments.
- FTP: Added a new overload for the Login method that accepts account in addition to username and password.
- FTP: Added FtpOptions.ForceListHiddenFiles option to force using "LIST -la" instead of "LIST" command to retrieve file and directory listings.
- FTP: Fixed a bug that caused a list parser to failed for symlinks with missing target path.
- FTP: Added support for Tandem Guardian FTP server list format.
- FTP: FtpItemComparer class added to ease sorting of FtpList items.
- FTP: Enabling FtpOptions.EnableControlConnectionFlushing option doesn't cause a noticeable slowdown now.
- FTP: Ftp.PutFiles method (in ThrowExceptionOnLinks mode) correctly detects the links in Windows 7 which were
not detected previously.
- FTP: Added a workaround for servers that advertise MLST support but report a "Can't check for file existence" error later.
- FTP: Ftp.IsAuthenticated property added to make it easily possible to skip calling Ftp.Login method for users already authenticated using a certificate.
- FTP: Fixed a bug in ZLIB decompression routines.
- FTP: Fixed improper TLS/SSL session reusing. FtpOptions.FtpReuseControlConnectionSession option added to make it possible to re-use the control connection session for subsequent data connections as well.
- FTP: Support for IBM AS/400 FTP listing format added.
- FTP: Added workaround for FTP servers which don't properly end the ZLIB stream when MODE Z is used.
- ProxySocket: Added a new ILogWriter implementation that logs all messages to .NET's System.Diagnostics.Trace.
- Cryptography: Added a new overload of SshPrivateKey.Save to make it possible to save keys in SSLEay/OpenSSH format (in addition to PuTTY .ppk and PKCS #8 formats).
- Cryptography: Added CertificateChain.Save method to save the chain in .p7b format.
- Cryptography: Fixed a bug in DistinguishedName object that caused the elements of string representation of DNs to be reversed.
- Cryptography: Added CryptoHelper.ForceManagedAes flag as a workaround to .NET's leaking AesCryptoServiceProvider.
2010-07-20 Version 3.0.3854.0 #
(build number 3854)
Complete list of changes of version 3.0.3854.0
- FTP: Ftp class inherits from NetworkSession base class that implements some common properties.
- FTP: Added a workaround for an FTP server with broken MLST output.
- FTP: SITE command is no longer used to detect MS IIS FTP 7.x because it caused problems to some firewalls.
- FTP: FtpList.GetEnumerator is now an implementation of IEnumerable<FtpItem>.
- FTP: Better error handling in GetFiles/PutFiles methods.
- FTP: Added FIPS 140-2 compliant mode that is automatically enabled on systems where only compliant algorithms are allowed.
2010-05-20 Version 3.0.3793.0 #
(build number 3793)
Complete list of changes of version 3.0.3793.0
- All: Packages for .NET 4.0 and Visual Studio 2010 now available.
- FTP: A more meaningful exception is raised when a premature OK response is received while still uploading data.
- FTP: Information about invalid data IP address detection is now written to the log.
- FTP: Fixed a bug that caused "/" local path argument of PutFiles/GetFiles methods to be treated as current directory.
- FTP: More information is logged when a FTP connection is broken.
- FTP: A full local path is passed in FtpBatchTransferProgressEventArgs.
- FTP: Added experimental FtpOptions.UseLargeBuffers to use larger internal buffers (doesn't seem to make substantial difference on most systems).
- FTP: Fixed a bug in PRET command implementation that caused problems with DrFTPd servers.
- FTP: FtpTransferProgressEventArgs now contain RemotePath and LocalPath when available.
- FTP: FtpBatchTransferException is now serializable.
- FTP: On .NET Compact Framework, SO_LINGER option is enabled for data sockets.
- FTP: Added support for Tumbleweed's SSL-like encrypted tunnel encryption.
- FTP: Useless pre-authentication feature check in implicit SSL mode removed.
2010-03-11 Version 3.0.3723.0 #
(build number 3723)
Complete list of changes of version 3.0.3723.0
- FTP: Maximum allowed UploadBufferLength changed from 64KB to 16MB.
- FTP: Ftp.Connect method no longer throws UriFormatException when invalid proxy hostname is specified.
- FTP: Added support for OTC S/KEY(tm) (One-Time Password System) authentication according to RFC 2289 (optionally used by Serv-U FTP Server). (S/KEY is a trademark of Bellcore.)
- FTP: Added FtpBatchTransferOptions.XCopy batch transfer mode. This is an alternative form of FtpBatchTransferOptions.Recursive that traverses all subdirectories but only transfers files that match the specified mask.
- FTP: New Ftp.DataAddress property to make it possible to specify active mode IP address transmitted to the FTP server.
- FTP: FtpTransferProgressEventArgs.BytesPerSecond property added that contains the estimated current speed.
- FTP: HierarchyRetrieve events are no longer raised when only a single file is transferred.
- FTP: A more meaningful exception is thrown when a directory path is passed to Ftp.GetFile method instead of file path.
- FTP: Ftp.TransferProgress event is called less often on high-speed connections now (several times per second is sufficient).
- FTP: FtpOptions.SendDataAsynchronously is deprecated and ignored.
- FTP: Fixed PutFiles method to accept all kinds of root paths (such as "c:", "c:/", or "c:\" - previously, only "c:\." worked).
- FTP: Added Ftp.DefaultImplicitSslPort constant.
- ProxySocket: The underscore character is now allowed in hostnames (this is non-standard, but used by Windows).
- ProxySocket: FileLogWriter is capable of logging into a single file from multiple applications now.
- ProxySocket: ProxySocket.Send behavior changed to always send all the data or fail.
- Cryptography: Added Certificate.LoadDerWithKey method to make it possible to easily load certificates with private keys in external file (Unix-style).
- Cryptography: Support for PKCS #7 EnvelopedData encrypted using RC2 with effective key length not equal to key data length.
- Cryptography: Fixed a bug in EnvelopedData class that cause a NullReferenceException to be raised when unsupported encryption algorithm is encoutered.
- Cryptography: Internal ModPow method optimized.
- Cryptography: Key generation support removed from RSAManaged a DSAManaged. No part of any of our components ever used it at it was prohibitively slow anyway.
- TLS/SSL: TlsSocket.SessionID is deprecated because its global cache was unsuitable for most applications. TlsSocket.Session (and the associated TlsSession class) should be used instead.
2009-10-27 Version 3.0.3588.0 #
(build number 3588)
Complete list of changes of version 3.0.3588.0
- FTP: Added a workaround for bad PASV implementation at ftp-edi.pubnet.org.
- FTP: Enhanced MODE Z support.
- FTP: CCC command no longer actively sends close_notify TLS message by default.
- FTP: Fixed a bug in proxy code that caused data transfers to fail when using HTTP CONNECT proxy with NTLM authentication.
- FTP: Added FtpOptions.ConnectPassiveLater option - makes the passive mode transfer initialize the connection only after the LIST/NLST/RETR/STOR commands are sent (instead of after PASV).
- ProxySocket: Proxy object now has Encoding property that makes it possible to specify character set to be used for parsing server responses.
- ProxySocket: ProxySocketException.ErrorCode property now returns HTTP and Socket4/Socks5 error codes when available.
- ProxySocket: SspiAuthentication and GssApiProvider classes added that provide GSSAPI/SSPI functionality.
- Cryptography: Certificate's CRL distribution point list can be accessed using GetCrlDistributionPoints method.
2009-07-10 Version 3.0.3479.0 #
(build number 3479)
Complete list of changes of version 3.0.3479.0
- FTP: Added automated UTF-8 detection on modern FTP servers.
- FTP: Listing parser enhanced to support some non-English month names that sometimes occur in file listings of broken servers.
- FTP: Fixed a bug that might cause an active FTP connection to immediately time out when executed on an existing but idle connection.
- FTP: IEnumerable<T> support added to collections for .NET 2.0 and higher.
- FTP: Ftp.CopyToAnotherServer method can now handle Abort requests.
- FTP: Bandwidth throttling functionality slowed down the transfer too much when a limited but high speed was requested.
- Cryptography: .PFX/P12 private key file loading support for Windows Mobile 5 and newer.
- Cryptography: Added support for signatures based on SHA-2 (SHA-256, SHA-384 and SHA-512).
- Cryptography: If .NET 3.5 is available, a new and much faster AES implementation is used instead of RijndaelManaged.
- Cryptography: Behavior of certificate finders in CMS/PKCS #7 was enhanced - embedded certificates are always searched now.
- TLS/SSL: Enhanced logging of certificate-related actions during the TLS/SSL negotiation.
2009-05-20 Version 3.0.3428.0 #
(build number 3428)
Complete list of changes of version 3.0.3428.0
- FTP: Fixed a bug in GetRemoteChecksum method that caused it not to work for filenames that contain space characters.
- FTP: Disposing Ftp object from another thread while an operation is in progress no longer causes NullReferenceException and other similar errors to occur in the operation thread.
- FTP: Better URL handling in the Connect method (although it is hostname-only by design, lot of users actually pass URLs to it).
- FTP: Enhanced logging of incoming connection in active mode.
- FTP: Added a workaround for WS_FTP that requires MLST/MLSD arguments to be quoted if they contain spaces.
- FTP: Added FtpException.Transferred property as a replacement for the misspelled FtpException.Transfered property.
- FTP: Fixed a bug that caused FtpException's BytesTransferred property not to be set for exceptions thrown by asynchronous methods.
- FTP: Fixed a bug in MODE B transfer mode that might cause an improper block length to be received in rare circumstances.
- FTP: Fixed a bug in GetFiles and PutFiles method that caused a wrong path to be used when a filename only was specified or when a root path was specified.
- TLS/SSL: Exception thrown by the certificate verifier because of certificate hostname mismatch is more descriptive.
- TLS/SSL: Added a workaround for vsftpd that occasionally leaks unencrypted error messages while TLS/SSL is in use, which causes an error when the client tries to decode them as proper TLS/SSL messages.
- TLS/SSL: Fixed a bug that could cause a deadlock when closing a socket from one thread that is currently sending data using another thread.
- TLS/SSL: Fixed possible NullReferenceException in TlsSocket class.
- TLS/SSL: BeginSend and BeginReceive methods work again.
2009-02-14 Version 3.0.3333.0 #
(build number 3333)
Complete list of changes of version 3.0.3333.0
- FTP: Asynchronous operations now use a thread pool.
- FTP: FileExists and DirectoryExists methods modified to return the result for "." and "/" arguments instantly without asking the server.
- FTP: Fixed a workaround for problem with local IP address announced by the server when connecting through ActiveSync to an FTP server that runs on the same machine.
- FTP: KeepAliveDuringTransfer option made compatible with more FTP servers.
- FTP: When client certificate authentication is done with Tumbleweed FTP server, an automated login attempt is performed.
- ProxySocket: Fixed a bug in Socks4/Socks5 proxy code that made it impossible to use FTP in active mode with these proxies.
- Cryptography: CertificateStore.FindCertificate overloads that accept DistinguishedName now search for certificates signed by intermediate CAs as well.
- Cryptography: Enhanced treatment of empty passwords in the PFX loader.
- Cryptography: Certificates with SubjectAlternativeName extension marked as critical are now treated as not having any e-mail address assigned to them if no e-mail address is found in the extension data.
- Cryptography: Fixed a bug in DiffeHellmanManaged.ImportParameters method that made it impossible to import key with all parameters filled.
2009-01-12 Version 3.0.3300.0 #
(build number 3300)
Complete list of changes of version 3.0.3300.0
- FTP: Added PutFiles and GetFiles method to make it possible to transfer multiple files easily by transferring a whole directory tree or use wildcards.
- FTP: Packages for .NET Compact Framework 3.5 added.
- FTP: Transfer compression support added to .NET CF 3.5 build (it has only been available for .NET 2.0 and higher previously).
- FTP: Added a workaround for Serv-U FTP that ungracefully closes data connection for zero-length files.
- FTP: A better exception is now thrown by a method that has been terminated by calling Dispose from another thread.
- FTP: Substantial transfer speed increase on fast networks.
- FTP: Fixed a bug that caused the KeepAliveDuringTransfer option not to work properly.
- FTP: Asynchronous method threads are now named.
- FTP: Added a workaround for misconfigured FTP servers that send an unusable private network address when initializing a data transfer.
- FTP: Disabled control connection flushing when sending commands because it caused a noticeable slowdown on fast networks.
- FTP: FtpOptions.KeepAliveDuringTransfer option code enhanced by adding the '200 No-operation ...' response to the list of possible NOOP command responses.
- FTP: SetTransferType method changed to behave just like TransferType property and marked obsolete.
- FTP: Added workaround for some releases of SecureTransport server - ForceSilentCcc option is enabled automatically.
- FTP: Fixed a bug in CopyToAnotherServer method that caused it to fail unless SecureTransfers property was set to false.
- Cryptography: Added support for reading and setting private key comment.
- Cryptography: Added RootCertificate and LeafCertificate properties to CertificateChain class.
- Cryptography: Added GetCommonName method to DistinguishedName class.
- Cryptography: Added IEnumerator support to CertificateChain.
- Cryptography: Added Equals method to DistinguishedName class.
- Cryptography: Fixed a bug in OID decoding routine that cased it to occasionally hang on broken input data.
- Cryptography: Added new Certificate.LoadPfx to make it possible to load keys into machine store.
- Cryptography: Fixed a problem in Certificate.Decrypt method that made the decryption fail with some rare certificates.
- Cryptography: Added Certificate.Associate method to make it possible to associate a RSA/DSA crypto service provider with access to a private key with a certificate.
- TLS/SSL: Anonymous TLS/SSL ciphers are now supported (but disabled by default).
- TLS/SSL: Fixed an internal static method that was not thread safe.
2008-07-23 Version 2.5.3127.0 #
(build number 3127)
Complete list of changes of version 2.5.3127.0
- FTP: Fixed a bug introduced in the last release that caused a bad InvalidOperationException to be thrown when FTP server reported an error during upload.
2008-06-14 Version 2.5.3087.0 #
(build number 3087)
Complete list of changes of version 2.5.3087.0
- FTP: Finished property added to FtpTranferProgressEventArgs class.
- FTP: New variants of GetDownloadStream and GetUploadStream added.
- FTP: New tutorial for file transfer resume functionality.
- FTP: Added detection for SFTP and SSH servers that are often mistaken forh SFTP to produce better exception messages. FTP servers in wrong modes are also detected.
- FTP: Fixed a bug that caused the DoNotDetectFeatures option to fail.
- FTP: Added hostname validity checking to Connect method.
- FTP: Added support for unusual way of data channel SSL initialization used by XFB Gateway FTP Server.
- SecureSocket: Fixed a bug that caused data loss when a TLS/SSL connection was closed in a certain way.
- ProxySocket: New ISocket interface to make it possible to easily implement custom transport layers.
- ProxySocket: Fixed an unhandled exception that occured during a failed connection to a proxy specified by an IP address.
2007-12-06 Version 2.5.2896.0 #
(build number 2896)
Complete list of changes of version 2.5.2896.0
- All: Packages for .NET 3.5 and Visual Studio 2008 now available.
- FTP: Added support for IBM 4690 file and directory listing format.
- FTP: Fixed several bugs in MODE Z (compressed transfers) code.
- FTP: Fixed several bugs in MODE B (block transfer) code.
- FTP: Fixed a bug that caused an invalid exception to be raised on specific type of transfer failures.
2007-11-11 Version 2.5.2871.0 #
(build number 2871)
Complete list of changes of version 2.5.2871.0
- FTP: Support for MODE B (block mode) with MS FTP7 that makes it possible to re-use a single data connection for multiple transfers.
- FTP: Experimental support for MODE Z (data transfer compression) added to .NET 2.0 build.
- FTP: Support for HOST command (multiple virtual FTP hosts on a single IP address). (Disabled by default).
- FTP: Data channel now maintains a separate session from control channel.
- SecureSocket: Added built-in PFX-based client certificate request handler.
- SecureSocket: Fixed a bug in the negotiation part of the TlsSocket class that caused problems when handling large packets.
- Cryptography: Added support for loading PuTTY private keys.
2007-08-30 Version 2.5.2800.0 #
(build number 2800)
Complete list of changes of version 2.5.2800.0
- FTP: Added Bandwidth throttling support - MaxUploadSpeed and MaxDownloadSpeed properties.
- FTP: Added CRC32, MD5 and SHA-1 checksum support - GetSupportedChecksums, CalculateLocalChecksum (static) and GetChecksum methods.
- FTP: GetCurrentDirectory enhanced to support another non-standard reply format.
- FTP: Added FtpOptions.EnableMultipleBlockingCalls option to change the way multiple concurrent calls are handled.
- FTP: Added FtpOptions.PauseBeforeUploadClose option to enable workaround for a problem of a missing last data block before SSL data channel close.
- FTP: Added workaround for several MS FTP7 Beta problems.
- SecureSocket: Fixed a bug in the server-side TLS/SSL code that caused a SSL2-style ClientHello message to be parsed incorrectly.
- Cryptography: Added support for Blowfish and Twofish ciphers.
- Cryptography: Added new CertificateIssuer class for certificate creation.
- Cryptography: Added new CertificateChain-based certificate finder.
- Cryptography: Certificate revocation list is now available in EnvelopedData and SignedData classes.
- Cryptography: When the CertificateFinder property is changed in EnvelopedData and SignedData Certificate, the new finder is now immediately used to find any missing certificates.
- Cryptography: Several serialization bugs in EnvelopedData and SignedData classes were fixed.
- Cryptography: Certificate class has a new Extensions property that makes the extension collection accessible.
- Cryptography: Various other changes that do not affect the FTP protocol.
2007-05-24 Version 2.5.2700.0 #
(build number 2700)
Complete list of changes of version 2.5.2700.0
- FTP: Added support for direct server-to-server transfers, also known as FXP! Check out the new CopyToAnotherServer method.
- FTP: Added ListItemReceived event. This makes it possible to display the list items as they are received, to filter them or to abort the transfer based on previously received items.
- FTP: NameList added to FtpListingType.
- FTP: SetTransferType/BeginSetTransferType/EndSetTransferType methods were marked as obsolete. Please use the TransferType property instead.
- FTP: Added support for DrFTPD's PRET command.
- FTP: Added a workaround for occasional problems with uploads to GlobalScape FTP Server using TLS/SSL in .NET CF.
- Cryptography: CertificateFinder can now be changed even after an EnvelopedData or SignedData has been loaded.
2007-04-20 Version 2.3.2666.0 #
(build number 2666)
Complete list of changes of version 2.3.2666.0
- FTP: Added SetFileDateTime method.
- FTP: Added FileExists and DirectoryExists methods. These simple operations are very hard to achieve using the FTP protocol and we use a combination of several commands to achieve the desired functionality.
- FTP: Added DataPortRange property to specify local data port range for active and passive mode transfers.
- FTP: GetFile/PutFile methods refactorred to use the same infrastructure as GetDownloadStream/GetUploadStream methods.
- FTP: GetList method optimized to parse the list on-the-fly, resulting in enhanced speed.
- FTP: Removed unnecessary control channel checking code that caused a noticeable slowdown of data transfers.
- FTP: Fixed a bug in MLSD list parser - date/time was treated as local time.
- FTP: In active mode, when waiting for the server to connect, error response is now processed as soon as it arrives, without waiting for the connection attempt to time out.
- FTP: GetConnectionState no longer fails on disconnected objects.
- SecureSocket: Speed drop caused by the data receiving loop introduced in the previous build was fixed.
2007-03-06 Version 2.0.2621.0 #
(build number 2621)
Complete list of changes of version 2.0.2621.0
- FTP: Enhanced handling of uploads terminated by the server. More meaningful exceptions are now reported.
- FTP: Compatibility enhancements in download aborting code.
- FTP: Fixed a bug that caused the Close method of the Stream returned by GetDownloadStream to fail with some servers on fast networks.
- FTP: Fixed a minor bug in FtpResponse class.
- FTP: IPv6 support with .NET Framework 1.1/2.0/3.0 and .NET Compact Framework 2.0.
- SecureSocket: New refactorred TLS/SSL core introduced.
2007-01-11 Version 2.0.2567.0 #
(build number 2567)
Complete list of changes of version 2.0.2567.0
- FTP: Fixed a bug in the Close method of the stream returned by GetUploadStream and GetDownloadStream method.
- FTP: Rebex Secure FTP renamed to Rebex FTP/SSL in order to avoid confusion with Rebex SFTP.
- Cryptography: Added PrivateKeyInfo class and an ability to load and save private keys.
- Cryptography: Fixed a bug in DSAManaged class that made impossible to use keys of some sizes.
- Cryptography: Random big integer generator optimized.
- Cryptography: Several typos in documentation fixed.
2006-12-12 Version 2.0.2537.0 #
(build number 2537)
Complete list of changes of version 2.0.2537.0
- FTP: Fixed bad ArgumentExceptions in Ftp.Connect and FtpList.GetFiles methods.
2006-11-27 Version 2.0.2522.0 #
(build number 2522)
Complete list of changes of version 2.0.2522.0
- FTP: GetUploadStream/GetDownloadStream methods optimized. They no longer use a background thread and should be faster and more reliable.
- SecureSocket: Fixed a bug in the Compact Framework version that caused an unnecessary slowdown when using SSL/TLS.
2006-10-18 Version 2.0.2482.0 #
(build number 2482)
Complete list of changes of version 2.0.2482.0
- FTP: Default transfer mode is now binary.
- FTP: Added setter to TransferType property, making SetTransferType method obsolete.
- FTP: Added CheckConnectionState/GetConnectionState methods to check the state of the connection without sending any command to the server.
- FTP: MLSD file and directory listing parser is now able to parse legacy mlst-05 style listings.
- FTP: Added UploadBufferLength property to manipulate the size of the upload bufffer.
- FTP: Added a workaround to the CF version for a transfer problem that often occurs when using ActiveSync to connected to a FTP server running on the same machine as ActiveSync. This makes the IgnorePassiveModeAddress option unnecessary in these cases.
- FTP: The workaround for legacy FTP servers that don't understand 'PBSZ' command was extended to cover sessions explicitly secured using 'AUTH SSL' command. It only used to apply to implicitly secured FTP sessions.
- Cryptography: Fixed a bug in DSAManaged class that made impossible to use keys of less common sizes.
2006-09-15 Version 2.0.2449.0 #
(build number 2449)
Complete list of changes of version 2.0.2449.0
- FTP: Fixed a bug in the VB.NET version of WinFormGet sample that made it fail in .NET 2.0.
- FTP: Fixed a minor bug in WinFormClient sample that made it possible for ClearCommandChannel command to be called for unsecured connections.
2006-09-05 Version 2.0.2439.0 #
(build number 2439)
Complete list of changes of version 2.0.2439.0
- SecureSocket: Several TLS/SSL optimization changes.
- ProxySocket: Added support for NTLM authentication through HTTP CONNECT proxies.
- Cryptography: Several new methods.
2006-08-25 Version 2.0.2428.0 #
(build number 2428)
Complete list of changes of version 2.0.2428.0
- FTP: Fixed a bug that made the VMS file and directory listing parser fail in rare circumstances.
- FTP: Added IgnorePassiveModeAddress option as a workaround for FTP servers or firewalls that instruct the client to connect to an unaccessible IP address when initializing passive mode data connection.
- FTP: Fixed a bug in the finalizer that could cause an exception when the Ftp object using TLS/SSL was finalized.
- FTP: Added workaround for FileZilla FTP server. FileZilla FTP server is seriously broken and reports an error with 25-50% probability when an upload using TLS/SSL is finished. (This also happens when its own FTP client is used.)
- SecureSocket: Fixed a bug that could cause a failure or timeout on extremely fast connections.
- Cryptography: A PKCS#7 parser and encoder added.
- Cryptography: Several new methods added to Certificate and CertificateStore classes.
2006-07-10 Version 2.0.2382.0 #
(build number 2382)
Complete list of changes of version 2.0.2382.0
- FTP: File and directory listings parser was optimized, it is now much faster.
- FTP: SupportedExtensions and EnabledExtensions added to make it possible to determine and enable/disable FTP protocol extensions.
- FTP: Support for MLSD file and directory listings added. GetList now uses this as default on servers that support this extension.
- FTP: The LF character is now treated as an end-of-line marker, just like CRLF sequence, to enable Rebex FTP to work with buggy servers that send LF instead of CRLF.
- SecureSocket: Fixed a bug that caused the connection not to be closed correctly under special circumstances.
- ProxySocket: Fixed a bug that caused the proxy password to be ignored (since build 2305).
- Cryptography: Several new methods and classes added.
- Cryptography: Internal ASN.1 parser replaced by a recent version.
- Cryptography: Fixed a bug in RSA signature format for MD5 and SHA-1.
2006-06-12 Version 2.0.2354 #
(build number 2354)
Complete list of changes of version 2.0.2354
- FTP: Server feature detection added (the FEAT command). Can be disabled using DoNotDetectFeatures option for complete compatibility with previous versions.
- FTP: Added workaround for Nofeel FTP Server in TLS/SSL mode that is unable to handle the final handshake message and first block of data in the same packet.
- SecureSocket: Fixed a bug that caused the connection not to be closed correctly if the server ignores TLS/SSL close notifications.
- Cryptography: GetSubjectKeyIdentifier method added to Certificate class.
- Cryptography: Added several missing argument checks.
- Cryptography: Certificates other than RSA and DSS now load as well.
2006-04-24 Version 2.0.2305.0 #
(build number 2305)
Complete list of changes of version 2.0.2305.0
- FTP: Version numbering scheme changed.
- FTP: DefaultPort constant with a value of 21 added to Ftp class.
- FTP: Custom directory list parser is now allowed to set the FtpItem to null, which causes the line not to be parsed.
- FTP: Internal asynchronous methods framework upgraded to the latest version.
- FTP: Several missing connection state checks added.
- FTP: Most ArgumentExceptions enhanced and some missing added.
- FTP: Overall code beautification.
- FTP: Added TimeoutAsynchronousMethods option to make asynchronous methods optionally time out in the same way the synchronous methods do. (By default, only synchronous methods time out.)
- FTP: Size of sent blocks in .NET Compact Framework changed to 1460, which seems to be more compatible.
- FTP: ResumableClient sample added to Compact Framework version.
- FTP: A .NET Compact Framework version of Rebex FTP/SSL is now available as well.
- SecureSocket: Changes for compatibility with .NET Compact Framework's implementation of System.Net.Sockets.
2005-11-14 Version 188.8.131.52 #
(build number 19)
Complete list of changes of version 184.108.40.206
- FTP: FtpException is now based on Exception instead of InvalidOperationException.
- FTP: FtpList is now serializable.
- FTP: Fixed a bug that caused the PutUniqueFile method to throw an exception.
- FTP: Added several COM-interop related attributes to some classes to allow basic FTP functionality to be used through COM.
- FTP: Disconnect method changed to not throw an exception unless another operation is in progress to reflect the way most people use this method.
- FTP: Added KeepAliveDuringTransferInterval property to allow specifying the interval for KeepAliveDuringTransfer option.
- FTP: Behavior of Begin.../End... methods changed so that a call to End... is required after an end of the operation prior to additional calls to Begin... methods.
- FTP: Ftp properties IsSecured, TlsSocket, LocalEndPoint and RemoreEndPoint now LocalEndPoint and RemoreEndPoint now throw InvalidOperationException when not connected.
- FTP: Added SendDataAsynchronously option to upload data using BeginSend/EndSend instead of Send to deal with hanging Send on some Windows Mobile devices.
- FTP: The component and samples support .NET 2.0 and Visual Studio .NET 2005.
- FTP: Fixed a missing Data property in FtpTlsDebugEventArgs class.
- FTP: Added ForceSilentCcc option to deal with buggy FTP servers that have a habit of not sending CloseNotify messages while shutdowning SSL after a response to CCC command.
- FTP: Fixed a bug that caused the Connect or Secure method to close the connection if the FTP server replies to AUTH SSL command by an obsolete 3xx response.
- FTP: BeginClearCommand method now actually returns the IAsyncResult.
- FTP: TlsDebug event is now being called from the same thread that the current operation runs in.
- SecureSocket: Added new TlsDebugEventType UnexpectedException for easier handling of unexpected exceptions thrown from inside the SSL/TLS code.
- SecureSocket: Added SilentUnprotect option to enable shutdown of SSL channel without sending the CloseNotify message. Needed to deal with buggy SSL implementations.
- SecureSocket: Added DoNotBufferDate option for enhanced control over the SSL channel.
- SecureSocket: Minor internal changes towards the forthcoming Compact Framework support.
- Cryptography: Fixed a bug that caused the Certificate.Decrypt method to return an array of wrong length.
2005-07-29 Version 220.127.116.11 #
(build number 18)
Complete list of changes of version 18.104.22.168
- FTP: Added ClearCommandChannel method to revert from protected to unprotected control channel.
- FTP: Component doesn't assume anything about the protection state upon connection, which makes it compatible with Covalent FTP Server.
- FTP: Enhancements in unix file list parser to support more variants of unix file listings.
- FTP: Added KeepAliveDuringTransfer option to deal with buggy firewalls that have a habit of terminating idle control connection during long file transfers.
- FTP: FtpWebRequest.GetResponse now returns an empty response for FTP upload instead of throwing an exception.
- FTP: Compact Framework FTP running on full .NET now sends TCP signals with ABOR command during transfer.
- FTP: Removed workaround for ActiveSync (prior to build 4034) bug from the CF version that made it impossible to close data connections successfully.
- FTP: Changes to enable C# 2.0 compilation with no warnings.
- FTP: Trial version for .NET Compact Framework now works with .NET CF 2.0.
- FTP: Exception handling code in several places cleaned a bit. Other minorchanges. Few lines of unnecessary code removed.
- FTP: 'Cannot change state' exception messages modified to be more understandable.
- FTP: Fixed a bug that caused the component not to detect closed control connection in some cases.
- FTP: Asynchronous method framework enhanced to allow null arguments to be passed to asynchronous Ftp methods.
- FTP: FtpException, ProxySocketException, FtpProxy, FtpItem and FtpList classes are serializable.
- SecureSocket: Added TlsSocket.Unprotect method to allow reverting back from TLS to unencrypted socket.
- ProxySocket: ProxySocketException, FtpProxy classes are serializable.
- Cryptography: Various changes in Rebex Security to make Secure FTP for .NET completely compatible with 64bit version of .NET Framework 2.0.
- Cryptography: CertificateChain enhanced to allow certificate validation using local machine chain engine in addition to current user chain engine.
- Cryptography: CertificateStore constructor now accepts certificate store location, making it possible to use local machine store and others.
- Cryptography: CertificateStore class now cleans all unmanaged resources when disposed.
- Cryptography: Certificate, CertificateChain, CertificateException, DistinguishedName, TlsCipher and TlsException classes are serializable.
2004-12-08 Version 22.214.171.124 #
(build number 17)
Complete list of changes of version 126.96.36.199
- FTP: First release of FTP over TLS/SSL.
2004-11-10 Version 188.8.131.52 #
(build number 16)
Complete list of changes of version 184.108.40.206
- FTP: Fixed a bug that caused Timeout exception to be thrown instead of OperationAborted exception in special circumstances.
- FTP: List parser understands a rare variant of Unix directory listing with interchanged month and day parts.
- FTP: Ftp.Disconnect method always closes the connection, even if the object is not in ready state.
- ProxySocket: Fixed a bug in Socks5 authentication code (incorrect version in authentication messages).
2004-09-23 Version 220.127.116.11 #
(build number 15)
Complete list of changes of version 18.104.22.168
- FTP: Fixed a bug that caused the component to remain in a wrong state when disconnected by the server.
2004-09-01 Version 22.214.171.124 #
(build number 14)
Complete list of changes of version 126.96.36.199
- FTP: Underlying locking/unlocking/async/aborting code fixed to get rid of 'Another operation is pending' exception after timeouts.
- FTP: Abort method can be called at any time, even inside callbacks.
- FTP: ChangeDirectory accepts an empty path.
- FTP: Assembly have been marked as CLS-compliant.
- ProxySocket: Fixed a bug in ProxySocket's Accept method that could cause active mode transfers to hang under rare circumstances with some servers
- ProxySocket: Assembly have been marked as CLS-compliant.
2004-04-02 Version 188.8.131.52 #
(build number 13)
Complete list of changes of version 184.108.40.206
- ProxySocket: Lots of changes and improvements to the proxy code.
- ProxySocket: GetAddressLong and GetAddressBytes methods added to ProxySocket class to overcome differences between .NET 1.0 and 1.1.
- FTP: Added a new override for Ftp.GetList method to allow arguments.
- FTP: Added a new property BytesSinceLastEvent to TransferProgress event. It contains the number of bytes transferred since the last call.
- FTP: Enhancements in file transfer routines, allowing higher transfer rate on high-speed connections.
- FTP: All references to obsolete IPAddress.Address in Socks4/Socks5 and FTP code replaced either with calls to ProxySocket.GetAddressLong or ProxySocket.GetAddressBytes.
- FTP: All references to DateTime.Now.Ticks replaced by more appropriate Environment.TickCount.
- FTP: Logoff method was renamed to Reinitialize and a new empty Logoff method was added to solve the confusion it caused.
- FTP: Fixed a bug that caused TransferProgress event not to be raised with FtpTransferState.None when the transfer is finished.
- FTP: Fixed problems in trial version key check on PocketPC 2003 emulator.
2003-11-24 Version 220.127.116.11 #
(build number 11)
Complete list of changes of version 18.104.22.168
- ProxySocket: Enhancement in Available property of the ProxySocket class.
- FTP: Fixed a bug that caused trial version not to work in ASP.NET with impersonation enabled.
2003-11-07 Version 22.214.171.124 #
(build number 10)
Complete list of changes of version 126.96.36.199
- ProxySocket: Fixed a bug in synchronous methods of the ProxySocket that caused them to hang.
- FTP: New overloads for Sort method added to FtpList.
- FTP: Corrected the Version property of the Ftp class that returned wrong version number.
- FTP: No IP addresses are resolved using DNS now.
2003-11-01 Version 188.8.131.52 #
(build number 9)
Complete list of changes of version 184.108.40.206
- ProxySocket: Assembly divided into two parts: FTP and Proxy Socket.
- FTP: Tested with Mono 0.28.
- FTP: Event handlers can now also be used for FtpWebRequest.
- FTP: Fixed a bug that could cause a file transfer to fail with some servers and hang under certain circumstances.
- FTP: Fixed a bug in FTP stream code that caused an exception to be thrown if the transfer was too fast.
- FTP: More characters are now allowed in remote paths (better interoperability with VMS).
- FTP: Fixed a bug that caused Ftp class to become unusable if unable to open a local file during asynchronous PutFile or GetFile.
- FTP: Few missing error messages fixed.
- FTP: Minor fixes in FtpProxy class.
- FTP: Server compatibility enhancements in data transfer and aborting code.
2003-09-01 Version 220.127.116.11 #
(build number 8)
Complete list of changes of version 18.104.22.168
- FTP: New overloads for GetNameList and GetRawList methods added.
2003-08-28 Version 22.214.171.124 #
(build number 7)
Complete list of changes of version 126.96.36.199
- FTP: Many enhancements in the underlying proxy code.
- FTP: Abort command is more reliable.
- FTP: Large number of smaller cosmetic changes in the code.
- FTP: Changes towards better portability.
2003-08-20 Version 188.8.131.52 #
(build number 6)
Complete list of changes of version 184.108.40.206
- FTP: Fixed a bug in HttpConnect proxy code that caused the beginning of the data stream to be discarded under certain circumstances.
2003-08-12 Version 220.127.116.11 #
(build number 4)
Complete list of changes of version 18.104.22.168
- FTP: Minor bug fixed in EPLF list parser (invalid handling of dates > 2038).
- FTP: Fixed a bug that caused an unexpected exception to be thrown when calling Ftp.Connect with an empty hostname.
2003-07-03 Version 22.214.171.124 #
(build number 2)
Complete list of changes of version 126.96.36.199
- FTP: Server compatibility enhancements in file transfer aborting code. (There were problems with WarFTPd and some older versions of Serv-U.)
- FTP: Ftp.Disconnect method now does not throw exception if an error is encountered.
- FTP: Fixed a bug in Unix list parser that caused an exception while parsing ftp://ftp.netscape.com/dev/.
- FTP: Fixed a bug in Socks4/Socks5 proxy code that caused an exception to be thrown for some IP addresses.
- FTP: Removed few lines of unused code in HTTP proxy code.
- FTP: Default character encoding is now Encoding.Default instead of Encoding.ASCII.
- FTP: Several bugfixes in WinFormClient sample.
- FTP: ConsoleClient code sample now supports resuming aborted transfers and uploading directory trees.
2003-04-14 Version 188.8.131.52 #
(build number 1)
Complete list of changes of version 184.108.40.206