[jira] [Commented] (SSHD-964) SSH_MSG_CHANNEL_EOF never sent or received for local and remote port forwarding

2020-01-21 Thread Lyor Goldstein (Jira)


[ 
https://issues.apache.org/jira/browse/SSHD-964?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=17020431#comment-17020431
 ] 

Lyor Goldstein commented on SSHD-964:
-

Thanks [~roberto.deandrea] I  will consider this change - as well as maybe some 
other options. This may take some time though since I am extremely busy and I 
would like to award this issue some thorough thinking...

> SSH_MSG_CHANNEL_EOF never sent or received for local and remote port 
> forwarding
> ---
>
> Key: SSHD-964
> URL: https://issues.apache.org/jira/browse/SSHD-964
> Project: MINA SSHD
>  Issue Type: Bug
>Affects Versions: 2.3.0, 2.3.1
>Reporter: Roberto Deandrea
>Assignee: Lyor Goldstein
>Priority: Major
>
> We found that the message SSH_MSG_CHANNEL_EOF is never sent or received for 
> local and remote port forwarding connections.
> We found probably the issue and we changed the code locally in a couple of 
> java classes to fix this issue.
> Let me know if we can commit our changes in a pull request (into a specific 
> Apache SSHD branch) so that you can peer review the changes  and decide if 
> you can accept them...
>  
> Kind Regards
> Roberto Deandrea
>  



--
This message was sent by Atlassian Jira
(v8.3.4#803005)

-
To unsubscribe, e-mail: dev-unsubscr...@mina.apache.org
For additional commands, e-mail: dev-h...@mina.apache.org



Call for presentations for ApacheCon North America 2020 now open

2020-01-21 Thread Rich Bowen

Dear Apache enthusiast,

(You’re receiving this message because you are subscribed to one or more 
project mailing lists at the Apache Software Foundation.)


The call for presentations for ApacheCon North America 2020 is now open 
at https://apachecon.com/acna2020/cfp


ApacheCon will be held at the Sheraton, New Orleans, September 28th 
through October 2nd, 2020.


As in past years, ApacheCon will feature tracks focusing on the various 
technologies within the Apache ecosystem, and so the call for 
presentations will ask you to select one of those tracks, or “General” 
if the content falls outside of one of our already-organized tracks. 
These tracks are:


Karaf
Internet of Things
Fineract
Community
Content Delivery
Solr/Lucene (Search)
Gobblin/Big Data Integration
Ignite
Observability
Cloudstack
Geospatial
Graph
Camel/Integration
Flagon
Tomcat
Cassandra
Groovy
Web/httpd
General/Other

The CFP will close Friday, May 1, 2020 8:00 AM (America/New_York time).

Submit early, submit often, at https://apachecon.com/acna2020/cfp

Rich, for the ApacheCon Planners

-
To unsubscribe, e-mail: dev-unsubscr...@mina.apache.org
For additional commands, e-mail: dev-h...@mina.apache.org



[jira] [Commented] (SSHD-964) SSH_MSG_CHANNEL_EOF never sent or received for local and remote port forwarding

2020-01-21 Thread Roberto Deandrea (Jira)


[ 
https://issues.apache.org/jira/browse/SSHD-964?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=17020059#comment-17020059
 ] 

Roberto Deandrea commented on SSHD-964:
---

Hi Lyor,

For local and remote port forwarding tunnels when sendEof() is executed, 
isClosing() is always true because the channel is not in Opened state and the 
SSH_MSG_CHANNEL_EOF is never sent.

 _protected void sendEof() throws IOException {_
   _if (isClosing()) {_
 _if (log.isDebugEnabled()) {_
 _log.debug("sendEof({}) already closing or closed", this);_
   _}_
   _return;_
 _}_

...


 _public final boolean isClosing() {_
   _return state.get() != State.Opened;_
 _}_

 

When a SSH_MSG_CHANNEL_EOF is received In TcpipClientChannel.handleEof() 
serverSession.shudownOutputStream() causes the socket between SSH client and 
SSH server to be closed, and this is not the rigth behaviour.

 _@Override_
 _public void handleEof() throws IOException {_
   _super.handleEof();_
   _serverSession.shudownOutputStream();_
 _}_

 

I hope this can clarify this issue.

 

Kind Regards

Roberto

 

> SSH_MSG_CHANNEL_EOF never sent or received for local and remote port 
> forwarding
> ---
>
> Key: SSHD-964
> URL: https://issues.apache.org/jira/browse/SSHD-964
> Project: MINA SSHD
>  Issue Type: Bug
>Affects Versions: 2.3.0, 2.3.1
>Reporter: Roberto Deandrea
>Assignee: Lyor Goldstein
>Priority: Major
>
> We found that the message SSH_MSG_CHANNEL_EOF is never sent or received for 
> local and remote port forwarding connections.
> We found probably the issue and we changed the code locally in a couple of 
> java classes to fix this issue.
> Let me know if we can commit our changes in a pull request (into a specific 
> Apache SSHD branch) so that you can peer review the changes  and decide if 
> you can accept them...
>  
> Kind Regards
> Roberto Deandrea
>  



--
This message was sent by Atlassian Jira
(v8.3.4#803005)

-
To unsubscribe, e-mail: dev-unsubscr...@mina.apache.org
For additional commands, e-mail: dev-h...@mina.apache.org