Re: [SSHD] dynamic port forwarding

2013-07-11 Thread Guillaume Nodet
Port forwarding is supported both in both directions.
On the client side, you can use ClientSession#startLocalPortForwarding.
On the server side, you need to configure a ForwardingFilter object on the
SshServer.


2013/7/11 Sean Zhang zss...@gmail.com

 Hi,

 I am looking for dynamic port forwarding feature in sshd. I don't think it
 is supported now. Can anyone give some hints on where to start and how
 complicated it is?

 Thanks,
 Sean



Re: [VOTE] release Apache MINA 3.0.0-M1

2013-07-11 Thread Julien Vermillard
The question is : should we have NOTICE for test dependencies ?
--
Julien Vermillard  http://people.apache.org/~jvermillard/


On Thu, Jul 11, 2013 at 12:59 AM, Emmanuel Lécharny elecha...@gmail.com wrote:
 Le 7/10/13 9:03 PM, Julien Vermillard a écrit :
 I heard (from Emmanuel I think) we don't need to put notice files for
 apache products (thrift and log4j).
 Yes. The are apache projects, covered by the MINA NOTICE file. No need
 to add an extra file for each one of them, or to list them all.

 So (if true) the only missing is netty used for benchmark which is
 just tests no ?

 slf4j is not an Apache project, AFAICT.

 We are also using junit and mockito...


 --
 Regards,
 Cordialement,
 Emmanuel Lécharny
 www.iktek.com



[MINA3] NOTICE content (was Re: [VOTE] release Apache MINA 3.0.0-M1)

2013-07-11 Thread Emmanuel Lécharny
Le 7/11/13 10:43 AM, Julien Vermillard a écrit :
 The question is : should we have NOTICE for test dependencies ?
I do think so. We do have a NOTICE-bin.txt in MINA 2 which contains a
reference to those libs (see below).

Reading
http://www.apache.org/dev/licensing-howto.html#overview-of-files, here
are the few rules we should follow (as I interpret them) :

- The file name should be NOTICE, not NOTICE.txt
- every dependency we include in a package *must* be listed in the
NOTICE file, including the transitive dependencies... (yeah, sorry...)
- as we may distribute a package without tests, the associated NOTICE
file should not contain the reference to JUNIT, etc. But if we
distribute a package containing the tests -and we do-  then we must add
those dependencies into the NOTICE file. As a matter of fact, we do have
2 NOTICE files in MINA2, to cover those two cases (and we have a
specific module to generate those two packages)

Hope it helps... And sorry for the burdan !



Apache MINA
Copyright 2007-2012 The Apache Software Foundation.

This product includes software developed at
The Apache Software Foundation (http://www.apache.org/).

Please refer to each LICENSE.component.txt file for the
license terms of the components that Apache MINA depends on.

Message logging is provided by the SLF4J library package,
which is open source software, written by Ceki Gülcü, and
copyright by SLF4J.ORG and QOS.ch.  The original software is
available from

   http://www.slf4j.org/

Data compression support is provided by the JZLib library package,
which is open source software, written by JCraft, and copyright
by JCraft.  The original software is available from

   http://www.jcraft.com/jzlib/

Spring framework is provided by the Spring framework library
package, which is open source software, written by Rod Johnson
et al, and copyright by Springframework.org.  The original
software is available from

   http://www.springframework.org/

OGNL is provided by the OGNL library package, which is open source
software, written by Drew Davidson and Luke Blanshard.  The original
software is available from

   http://www.ognl.org/






 --
 Julien Vermillard  http://people.apache.org/~jvermillard/


 On Thu, Jul 11, 2013 at 12:59 AM, Emmanuel Lécharny elecha...@gmail.com 
 wrote:
 Le 7/10/13 9:03 PM, Julien Vermillard a écrit :
 I heard (from Emmanuel I think) we don't need to put notice files for
 apache products (thrift and log4j).
 Yes. The are apache projects, covered by the MINA NOTICE file. No need
 to add an extra file for each one of them, or to list them all.
 So (if true) the only missing is netty used for benchmark which is
 just tests no ?
 slf4j is not an Apache project, AFAICT.

 We are also using junit and mockito...


 --
 Regards,
 Cordialement,
 Emmanuel Lécharny
 www.iktek.com



-- 
Regards,
Cordialement,
Emmanuel Lécharny
www.iktek.com 



Re: [SSHD] dynamic port forwarding

2013-07-11 Thread Sean Zhang
LocalPortForwarding is the '-L' option of ssh command.
RemoteForwarding is the '-R' option of the ssh command.

I want to know how to implement -D option. any suggestions?

Sean


On Thu, Jul 11, 2013 at 1:36 AM, Guillaume Nodet gno...@apache.org wrote:

 Port forwarding is supported both in both directions.
 On the client side, you can use ClientSession#startLocalPortForwarding.
 On the server side, you need to configure a ForwardingFilter object on the
 SshServer.


 2013/7/11 Sean Zhang zss...@gmail.com

  Hi,
 
  I am looking for dynamic port forwarding feature in sshd. I don't think
 it
  is supported now. Can anyone give some hints on where to start and how
  complicated it is?
 
  Thanks,
  Sean