<?xml version="1.0"?><?xml-stylesheet type="text/xsl" href="/rss.xsl"?><rss version="2.0"><channel><title>sshnet Source Code Rss Feed</title><link>http://sshnet.codeplex.com/SourceControl/list/changesets</link><description>sshnet Source Code Rss Description</description><item><title>Patch Uploaded: #14339</title><link>https://sshnet.codeplex.com/SourceControl/list/patches</link><description>
&lt;p&gt;&lt;a href='https://www.codeplex.com/site/users/view/pmilin'&gt;pmilin&lt;/a&gt; has uploaded a patch.&lt;/p&gt;
&lt;p&gt;&lt;b&gt;Description:&lt;/b&gt;&lt;br /&gt;I was looking at the code for the local port forward and see that a TCPListener is being used with the address and port that is passed in. If the TCPListener is given port 0, it will find the first available. I am currently using this method to find the first available port in my code. &lt;br /&gt;&lt;br /&gt;The trouble is that trying to find the first availabale port outside of the port forward class results in a race condition &amp;#40;the port could be taken in the time between when it is discovered as free and when the port forward class creates the listener on that port&amp;#41;. &lt;br /&gt;&lt;br /&gt;I was thinking it would be nice to have the BoundPort property on the ForwardedPortLocal class be used to get the port from the IPEndPoint that is created when Start&amp;#40;&amp;#41; is called on the ForwardedPortClass. I can then use the resulting port when creating a socket connection, which is what I am doing in my code. &lt;br /&gt;&lt;br /&gt;The code for getting the port from the listener is simply&amp;#58; BoundPort &amp;#61; &amp;#40;&amp;#40;IPEndPoint&amp;#41; listener.LocalEndpoint&amp;#41;.Port &lt;br /&gt;&lt;br /&gt;In cases where the port passed in is not zero, then the endpoint port should be the same as what was passed in. If the port passed in is zero, then BoundPort will return the actual port that is being used. &lt;br /&gt;&lt;br /&gt;To go a step further, I created a new constructor that doesn&amp;#39;t take a port parameter at all for the boundPort. In this case zero is the default. &lt;br /&gt;&lt;br /&gt;The patch file in the attached zip shows the changes to the ForwardedPortLocal classes.&lt;br /&gt;&lt;br /&gt;&lt;/p&gt;</description><author>pmilin</author><pubDate>Fri, 19 Apr 2013 17:07:08 GMT</pubDate><guid isPermaLink="false">Patch Uploaded: #14339 20130419050708P</guid></item><item><title>Source code checked in, #25006</title><link>http://sshnet.codeplex.com/SourceControl/changeset/changes/25006</link><description>Update version number&amp;#13;&amp;#10;</description><author>olegkap</author><pubDate>Sat, 06 Apr 2013 17:41:50 GMT</pubDate><guid isPermaLink="false">Source code checked in, #25006 20130406054150P</guid></item><item><title>Source code checked in, #24900</title><link>http://sshnet.codeplex.com/SourceControl/changeset/changes/24900</link><description>Improve thread-safe event handling&amp;#13;&amp;#10;Replace Task.Factory.StartNew with ThreadPool.QueueUserWorkItem&amp;#13;&amp;#10;</description><author>olegkap</author><pubDate>Thu, 04 Apr 2013 15:33:47 GMT</pubDate><guid isPermaLink="false">Source code checked in, #24900 20130404033347P</guid></item><item><title>Source code checked in, #24719</title><link>http://sshnet.codeplex.com/SourceControl/changeset/changes/24719</link><description>Fix SshAuthenticationException by handling PartialSuccess response and continue authentication proccess in that case&amp;#13;&amp;#10;</description><author>olegkap</author><pubDate>Tue, 02 Apr 2013 00:48:38 GMT</pubDate><guid isPermaLink="false">Source code checked in, #24719 20130402124838A</guid></item><item><title>Source code checked in, #24446</title><link>http://sshnet.codeplex.com/SourceControl/changeset/changes/24446</link><description>Fix thread synchronization issue when uploading files using SCP&amp;#13;&amp;#10;</description><author>olegkap</author><pubDate>Wed, 27 Mar 2013 17:34:59 GMT</pubDate><guid isPermaLink="false">Source code checked in, #24446 20130327053459P</guid></item><item><title>Source code checked in, #23481</title><link>http://sshnet.codeplex.com/SourceControl/changeset/changes/23481</link><description>Fix and remove orphan threads when using port forwarding.&amp;#13;&amp;#10;</description><author>olegkap</author><pubDate>Thu, 07 Mar 2013 21:35:37 GMT</pubDate><guid isPermaLink="false">Source code checked in, #23481 20130307093537P</guid></item><item><title>Source code checked in, #23469</title><link>http://sshnet.codeplex.com/SourceControl/changeset/changes/23469</link><description>Replace previouse fix with Connection test vs if disposed&amp;#13;&amp;#10;</description><author>olegkap</author><pubDate>Thu, 07 Mar 2013 16:40:29 GMT</pubDate><guid isPermaLink="false">Source code checked in, #23469 20130307044029P</guid></item><item><title>Source code checked in, #23468</title><link>http://sshnet.codeplex.com/SourceControl/changeset/changes/23468</link><description>Dont call Channel Close&amp;#40;&amp;#41; during dispose phase&amp;#13;&amp;#10;</description><author>olegkap</author><pubDate>Thu, 07 Mar 2013 16:36:50 GMT</pubDate><guid isPermaLink="false">Source code checked in, #23468 20130307043650P</guid></item><item><title>Source code checked in, #23466</title><link>http://sshnet.codeplex.com/SourceControl/changeset/changes/23466</link><description>Fix differnt SCP Upload issue.&amp;#13;&amp;#10;Remove not SCP feature of creating directory structure for uploaded files or directories&amp;#13;&amp;#10;</description><author>olegkap</author><pubDate>Thu, 07 Mar 2013 16:14:36 GMT</pubDate><guid isPermaLink="false">Source code checked in, #23466 20130307041436P</guid></item><item><title>Source code checked in, #23337</title><link>http://sshnet.codeplex.com/SourceControl/changeset/changes/23337</link><description>Lock _incoming object where performing Enqueue&amp;#13;&amp;#10;Rollback previouse commit&amp;#13;&amp;#10;</description><author>olegkap</author><pubDate>Sat, 02 Mar 2013 14:37:53 GMT</pubDate><guid isPermaLink="false">Source code checked in, #23337 20130302023753P</guid></item><item><title>Source code checked in, #23336</title><link>http://sshnet.codeplex.com/SourceControl/changeset/changes/23336</link><description>Lock _encoding in ShellStream when GetString operation is performed&amp;#13;&amp;#10;</description><author>olegkap</author><pubDate>Sat, 02 Mar 2013 14:29:40 GMT</pubDate><guid isPermaLink="false">Source code checked in, #23336 20130302022940P</guid></item><item><title>Patch Applied: #13964</title><link>http://sshnet.codeplex.com/SourceControl/list/patches</link><description>
&lt;p&gt;&lt;a href='http://www.codeplex.com/site/users/view/olegkap'&gt;olegkap&lt;/a&gt; has applied patch #13964.&lt;/p&gt;
&lt;p&gt;&lt;b&gt;Comment:&lt;/b&gt;&lt;br /&gt;Applied in 23335 commit&lt;/p&gt;</description><author>olegkap</author><pubDate>Sat, 02 Mar 2013 13:58:20 GMT</pubDate><guid isPermaLink="false">Patch Applied: #13964 20130302015820P</guid></item><item><title>Source code checked in, #23335</title><link>http://sshnet.codeplex.com/SourceControl/changeset/changes/23335</link><description>Improve HTTP proxy error handling, regarding issue &amp;#35;1509&amp;#13;&amp;#10;Apply 13964 patch to improve handling of multiple authentication methods&amp;#13;&amp;#10;</description><author>olegkap</author><pubDate>Sat, 02 Mar 2013 13:57:32 GMT</pubDate><guid isPermaLink="false">Source code checked in, #23335 20130302015732P</guid></item><item><title>Patch Uploaded: #13964</title><link>http://sshnet.codeplex.com/SourceControl/list/patches</link><description>
&lt;p&gt;&lt;a href='http://www.codeplex.com/site/users/view/StrAbZ'&gt;StrAbZ&lt;/a&gt; has uploaded a patch.&lt;/p&gt;
&lt;p&gt;&lt;b&gt;Description:&lt;/b&gt;&lt;br /&gt;I found that in the Authenticate methods in the ConnectionInfo class, we got kicked out of the while whenever an authentication failed, without trying the others.&lt;br /&gt;&lt;br /&gt;So I changed it a bit, it breaks only when the auth fails, and all the allowed auth have been tried. It will also, as usual, exit on success &amp;#40;the while condition&amp;#41; and when no method is provided that match the allowed authentication methods.&lt;/p&gt;</description><author>StrAbZ</author><pubDate>Fri, 01 Mar 2013 15:49:02 GMT</pubDate><guid isPermaLink="false">Patch Uploaded: #13964 20130301034902P</guid></item><item><title>Source code checked in, #22965</title><link>http://sshnet.codeplex.com/SourceControl/changeset/changes/22965</link><description>Commiting files that were not commited on previous commit&amp;#13;&amp;#10;</description><author>olegkap</author><pubDate>Thu, 07 Feb 2013 20:00:07 GMT</pubDate><guid isPermaLink="false">Source code checked in, #22965 20130207080007P</guid></item><item><title>Source code checked in, #22964</title><link>http://sshnet.codeplex.com/SourceControl/changeset/changes/22964</link><description>Improve internal server window size managment&amp;#13;&amp;#10;Fix exception handeling when multiple threads share one channel that can caus application hanging&amp;#13;&amp;#10;Improve cipher perfomance&amp;#13;&amp;#10;Other fixes&amp;#13;&amp;#10;</description><author>olegkap</author><pubDate>Thu, 07 Feb 2013 19:47:47 GMT</pubDate><guid isPermaLink="false">Source code checked in, #22964 20130207074747P</guid></item><item><title>Source code checked in, #22899</title><link>http://sshnet.codeplex.com/SourceControl/changeset/changes/22899</link><description>Improve SftpClient Exists method&amp;#13;&amp;#10;</description><author>olegkap</author><pubDate>Sat, 02 Feb 2013 22:39:46 GMT</pubDate><guid isPermaLink="false">Source code checked in, #22899 20130202103946P</guid></item><item><title>Source code checked in, #22898</title><link>http://sshnet.codeplex.com/SourceControl/changeset/changes/22898</link><description>Fix problem when huge files could be cut off in the middle&amp;#13;&amp;#10;</description><author>olegkap</author><pubDate>Sat, 02 Feb 2013 21:16:30 GMT</pubDate><guid isPermaLink="false">Source code checked in, #22898 20130202091630P</guid></item><item><title>Source code checked in, #22896</title><link>http://sshnet.codeplex.com/SourceControl/changeset/changes/22896</link><description>Fix SCP to handle root path&amp;#13;&amp;#10;</description><author>olegkap</author><pubDate>Sat, 02 Feb 2013 15:41:52 GMT</pubDate><guid isPermaLink="false">Source code checked in, #22896 20130202034152P</guid></item><item><title>Source code checked in, #22833</title><link>http://sshnet.codeplex.com/SourceControl/changeset/changes/22833</link><description>Add IPAddress as parameter to ForwardedPortRemote&amp;#13;&amp;#10;Allow all projects to generate xml documentation files&amp;#13;&amp;#10;Add GetIPAddress method and other minor refactoring&amp;#13;&amp;#10;</description><author>olegkap</author><pubDate>Thu, 31 Jan 2013 04:45:14 GMT</pubDate><guid isPermaLink="false">Source code checked in, #22833 20130131044514A</guid></item></channel></rss>