svn commit: r1095809 - /mina/sshd/trunk/sshd-core/src/main/java/org/apache/sshd/server/session/ServerSession.java

2011-04-21 Thread spearce
Author: spearce Date: Thu Apr 21 20:30:17 2011 New Revision: 1095809 URL: http://svn.apache.org/viewvc?rev=1095809&view=rev Log: [SSHD-117] Ignore "keepal...@jcraft.com" Modified: mina/sshd/trunk/sshd-core/src/main/java/org/apache/sshd/server/session/ServerSession.java Modifi

svn commit: r1033260 - /mina/sshd/trunk/sshd-core/src/main/java/org/apache/sshd/server/session/ServerSession.java

2010-11-09 Thread spearce
Author: spearce Date: Tue Nov 9 22:07:40 2010 New Revision: 1033260 URL: http://svn.apache.org/viewvc?rev=1033260&view=rev Log: Support keepal...@lag.net from paramiko client The paramiko python SSH client sends "keepal...@lag.net" for its keepalive requests. Like the OpenSSH c

svn commit: r1031886 - /mina/sshd/trunk/sshd-core/src/main/java/org/apache/sshd/server/channel/ChannelSession.java

2010-11-05 Thread spearce
Author: spearce Date: Sat Nov 6 00:02:30 2010 New Revision: 1031886 URL: http://svn.apache.org/viewvc?rev=1031886&view=rev Log: SSHD-19: Avoid NullPointerException when sftp is disabled If a subsystem is disabled the server won't be able to create the subsystem command object and init

svn commit: r897373 - /mina/sshd/trunk/sshd-core/src/main/java/org/apache/sshd/common/channel/ChannelOutputStream.java

2010-01-08 Thread spearce
Author: spearce Date: Sat Jan 9 02:45:45 2010 New Revision: 897373 URL: http://svn.apache.org/viewvc?rev=897373&view=rev Log: Correctly compute the lastSize member in ChannelOutputStream If we have to split the current Buffer, because its too large for the session's window or packet si

svn commit: r897374 - /mina/sshd/trunk/sshd-core/src/main/java/org/apache/sshd/common/channel/ChannelOutputStream.java

2010-01-08 Thread spearce
Author: spearce Date: Sat Jan 9 02:45:47 2010 New Revision: 897374 URL: http://svn.apache.org/viewvc?rev=897374&view=rev Log: SSHD-73: Avoid infinite loop when the window is full If the window has no more free space, we can't flush any more data until we receive a window adjust from

svn commit: r897372 - /mina/sshd/trunk/sshd-core/src/main/java/org/apache/sshd/common/channel/ChannelOutputStream.java

2010-01-08 Thread spearce
Author: spearce Date: Sat Jan 9 02:45:39 2010 New Revision: 897372 URL: http://svn.apache.org/viewvc?rev=897372&view=rev Log: SSHD-73: Remove pointless newBuffer during flush During flush we invoke newBuffer() to ensure that the Buffer we pass down into the outgoing encode and transmit queu

svn commit: r895332 - /mina/sshd/trunk/sshd-core/src/main/java/org/apache/sshd/server/session/ServerSession.java

2010-01-02 Thread spearce
Author: spearce Date: Sun Jan 3 04:34:35 2010 New Revision: 895332 URL: http://svn.apache.org/viewvc?rev=895332&view=rev Log: Remove server TODO about user identity Its available in the authenticators, and on the ServerSession, so shells can obtain it through a few different means. Modi

svn commit: r893394 - /mina/sshd/trunk/sshd-core/src/main/java/org/apache/sshd/agent/AprLibrary.java

2009-12-22 Thread spearce
Author: spearce Date: Wed Dec 23 03:39:25 2009 New Revision: 893394 URL: http://svn.apache.org/viewvc?rev=893394&view=rev Log: SSHD-8: Secure the agent socket against race conditions Binding a UNIX domain socket creates the socket file with the current umask. This may permit evil members of

svn commit: r893393 - /mina/sshd/trunk/sshd-core/src/main/java/org/apache/sshd/agent/AprLibrary.java

2009-12-22 Thread spearce
Author: spearce Date: Wed Dec 23 03:39:23 2009 New Revision: 893393 URL: http://svn.apache.org/viewvc?rev=893393&view=rev Log: Use tomcat-jni to set permissions on its own socket MINA SSHD builds against Java 1.5, but setReadable(boolean,boolean) isn't available until Java 1.6. Since

svn commit: r893392 - in /mina/sshd/trunk/sshd-core/src/main/java/org/apache/sshd: SshServer.java agent/AprLibrary.java client/channel/ChannelShell.java common/util/OsUtils.java

2009-12-22 Thread spearce
Author: spearce Date: Wed Dec 23 03:39:19 2009 New Revision: 893392 URL: http://svn.apache.org/viewvc?rev=893392&view=rev Log: Abstract windows OS platform tests into a common location This is hairy stuff, testing the os.name to verify its some flavor of Windows vs. a POSIX environ

svn commit: r891122 - /mina/sshd/trunk/sshd-core/src/main/java/org/apache/sshd/SshServer.java

2009-12-15 Thread spearce
Author: spearce Date: Wed Dec 16 04:20:04 2009 New Revision: 891122 URL: http://svn.apache.org/viewvc?rev=891122&view=rev Log: SSHD-54: Use OS default receive buffer to improve throughput MINA itself is actually forcing the receive buffer size to be 1024 bytes, rather than the operating sy

svn commit: r890974 - in /mina/sshd/trunk/sshd-core/src: main/java/org/apache/sshd/ main/java/org/apache/sshd/client/channel/ main/java/org/apache/sshd/server/ main/java/org/apache/sshd/server/channel

2009-12-15 Thread spearce
Author: spearce Date: Tue Dec 15 20:24:15 2009 New Revision: 890974 URL: http://svn.apache.org/viewvc?rev=890974&view=rev Log: Filter agent and X11 port forwarding requests Some server embeddings might not want to permit agent or X11 port forwarding from clients, as they could consume lim

svn commit: r890630 - /mina/sshd/trunk/sshd-core/src/main/java/org/apache/sshd/server/channel/ChannelSession.java

2009-12-14 Thread spearce
Author: spearce Date: Tue Dec 15 03:56:25 2009 New Revision: 890630 URL: http://svn.apache.org/viewvc?rev=890630&view=rev Log: Skip LoggingFilterOutputStream if logging is disabled If the log channel isn't enabled at trace level when the streams are being constructed, don'

svn commit: r890631 - in /mina/sshd/trunk/sshd-core/src/main/java/org/apache/sshd: client/auth/ client/channel/ client/kex/ client/session/ common/ common/channel/ common/session/ server/auth/ server/

2009-12-14 Thread spearce
Author: spearce Date: Tue Dec 15 03:56:32 2009 New Revision: 890631 URL: http://svn.apache.org/viewvc?rev=890631&view=rev Log: Allocate the next ChannelOutputStream buffer sized to last buffer If an output stream has just received a large burst of data from the application, its buffer will

svn commit: r890632 - /mina/sshd/trunk/sshd-core/src/main/java/org/apache/sshd/common/channel/ChannelOutputStream.java

2009-12-14 Thread spearce
Author: spearce Date: Tue Dec 15 03:56:35 2009 New Revision: 890632 URL: http://svn.apache.org/viewvc?rev=890632&view=rev Log: Aggressively flush during write if the buffer is full Instead of queuing up all data until the next flush() call made by the application, queue data until we r

svn commit: r881338 - in /mina/sshd/trunk/sshd-core/src/main/java/org/apache/sshd/server: channel/ChannelDirectTcpip.java session/TcpipForwardSupport.java

2009-11-17 Thread spearce
Author: spearce Date: Tue Nov 17 15:35:36 2009 New Revision: 881338 URL: http://svn.apache.org/viewvc?rev=881338&view=rev Log: Treat invalid port forwarding as administratively prohibited A client may request a port outside of the range [0, 65535] as the protocol uses a 32 bit intege

svn commit: r881138 - in /mina/sshd/trunk/sshd-core/src: main/java/org/apache/sshd/ main/java/org/apache/sshd/server/ main/java/org/apache/sshd/server/channel/ main/java/org/apache/sshd/server/session

2009-11-16 Thread spearce
Author: spearce Date: Tue Nov 17 03:26:29 2009 New Revision: 881138 URL: http://svn.apache.org/viewvc?rev=881138&view=rev Log: SSHD-60: Filter TCP/IP port forwarding requests and fix stream close Aside from filtering the port forwarding requests we also now notify a client when the peer it