Re: Releasing a MINA 2.2.0-alpha soon ?

2022-04-01 Thread Christoph John
Just a quick question: are the 2.2.0-SNAPSHOT builds continously being uploaded or do you need to trigger this manually? Thanks Am 1. April 2022 18:56:35 MESZ schrieb "Emmanuel Lécharny" : >Yu didn't cause any problem. This is just a bug, anybody could have >been >caught by this one. I

Re: Releasing a MINA 2.2.0-alpha soon ?

2022-04-01 Thread Emmanuel Lécharny
Yu didn't cause any problem. This is just a bug, anybody could have been caught by this one. I didn't expect that the state would be squashed if you apply both NEED and WANT flag, and IMHO, it's a very bad API design from Sun. It was painful to find because I had to go deep into the Java SSL

Re: Releasing a MINA 2.2.0-alpha soon ?

2022-04-01 Thread Jonathan Valliere
Did I cause that problem because I remember there being a bug request because we weren’t applying the Need and Want from the Impl config. On Fri, Apr 1, 2022 at 10:55 AM Emmanuel Lécharny wrote: > Got it !!! > > What a nasty bug it was... > > The new SslFilter.createEngine() method was doing: >

Re: Releasing a MINA 2.2.0-alpha soon ?

2022-04-01 Thread Emmanuel Lécharny
Got it !!! What a nasty bug it was... The new SslFilter.createEngine() method was doing: protected SSLEngine createEngine(IoSession session, InetSocketAddress addr) { SSLEngine sslEngine = (addr != null) ? sslContext.createSSLEngine(addr.getHostString(), addr.getPort())

Re: Releasing a MINA 2.2.0-alpha soon ?

2022-04-01 Thread Emmanuel Lécharny
Some progress: With MINA 2.1.5, the SSLEngine.SSLConfiguration instance has the clientAuthType set to CLIENT_AUTH_REQUIRED, while in MINA 2.2.0, it's set to CLIENT_AUTH_NONE. That explain why the CertificateRequest is not sent to the client. Now to understand why this flag is improperly

Re: MINA and TLS 1.3 (1ms sleep hack?)

2022-04-01 Thread Jonathan Valliere
Another way to do that is to have the SslFilter -> Your Clear Text Control Plane Filter The Control Plane Filter can conditionally wrap a WriteRequest in a DisableEncryptWriteRequest. This guarantees that ONLY that message bypasses the SslFilter CONFIDENTIALITY NOTICE: The contents of this

Re: Releasing a MINA 2.2.0-alpha soon ?

2022-04-01 Thread Emmanuel Lécharny
Still fighting... When using MINA 2.1.6, I see that the client (FTPSCLient, a java class that is not using MINA) sends a client Certificate to the server after having received a CertificateRequest: javax.net.ssl|FINE|01|main|2022-04-01 09:58:48.544 CEST|CertificateRequest.java:692|Consuming

Looking for minimum threads solution in multi session multi channel SFTP & SSH client.

2022-04-01 Thread David Herschler Shvo
Hi Developers, I need to develop application that run sedulously many SFTP and SSH channels to many remote hosts servers. I saw that when creating session (usint SSHClient and channels associated with it), many threads(13) are created. 2022-04-01T11:37:52.289922900 group main 9

[jira] [Work logged] (SSHD-1257) Shell is not getting closed if the command has already closed the OutputStream it is using.

2022-04-01 Thread ASF GitHub Bot (Jira)
[ https://issues.apache.org/jira/browse/SSHD-1257?focusedWorklogId=751409=com.atlassian.jira.plugin.system.issuetabpanels:worklog-tabpanel#worklog-751409 ] ASF GitHub Bot logged work on SSHD-1257: Author: ASF GitHub Bot

[GitHub] [mina-sshd] lgoldstein commented on a change in pull request #214: [SSHD-1257] Make ChannelOutputStream#flush no-op if the stream is already closed

2022-04-01 Thread GitBox
lgoldstein commented on a change in pull request #214: URL: https://github.com/apache/mina-sshd/pull/214#discussion_r840270775 ## File path: sshd-core/src/main/java/org/apache/sshd/server/channel/ChannelSession.java ## @@ -908,7 +908,7 @@ protected void closeShell(int