mina-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Guillaume Nodet <gno...@apache.org>
Subject Re: MAC error
Date Fri, 05 Apr 2013 13:50:16 GMT
It seems you're using sshd 0.5.
Could you try with 0.8 and see if it helps ?


2013/4/5 Anurag Panda <panurag@in.ibm.com>

>
> Hi,
>
>
> We are using Apache MINA SSHD. We want to enable use of hmac-sha2-256 &
> hmac-sha2-512 algorithms as per RFC 6668. We have created Factory classes
> for these algorithms and have set the factory classes in the SshServer
> class. But following exception is being thrown:
>
> org.apache.sshd.common.SshException: MAC Error
> at org.apache.sshd.common.session.AbstractSession.decode
> (AbstractSession.java:481)
> at org.apache.sshd.common.session.AbstractSession.messageReceived
> (AbstractSession.java:230)
> at org.apache.sshd.common.AbstractSessionIoHandler.messageReceived
> (AbstractSessionIoHandler.java:72)
> at org.apache.mina.core.filterchain.DefaultIoFilterChain
> $TailFilter.messageReceived(DefaultIoFilterChain.java:713)
> at
>
> org.apache.mina.core.filterchain.DefaultIoFilterChain.callNextMessageReceived
> (DefaultIoFilterChain.java:434)
> at org.apache.mina.core.filterchain.DefaultIoFilterChain.access$5
> (DefaultIoFilterChain.java:429)
> at org.apache.mina.core.filterchain.DefaultIoFilterChain$EntryImpl
> $1.messageReceived(DefaultIoFilterChain.java:793)
> at org.apache.mina.core.filterchain.IoFilterAdapter.messageReceived
> (IoFilterAdapter.java:119)
> at
>
> org.apache.mina.core.filterchain.DefaultIoFilterChain.callNextMessageReceived
> (DefaultIoFilterChain.java:434)
> at
> org.apache.mina.core.filterchain.DefaultIoFilterChain.fireMessageReceived
> (DefaultIoFilterChain.java:426)
> at org.apache.mina.core.polling.AbstractPollingIoProcessor.read
> (AbstractPollingIoProcessor.java:638)
> at org.apache.mina.core.polling.AbstractPollingIoProcessor.process
> (AbstractPollingIoProcessor.java:598)
> at org.apache.mina.core.polling.AbstractPollingIoProcessor.process
> (AbstractPollingIoProcessor.java:587)
> at org.apache.mina.core.polling.AbstractPollingIoProcessor.access$7
> (AbstractPollingIoProcessor.java:584)
> at org.apache.mina.core.polling.AbstractPollingIoProcessor$Processor.run
> (AbstractPollingIoProcessor.java:969)
> at org.apache.mina.util.NamePreservingRunnable.run
> (NamePreservingRunnable.java:64)
> at java.util.concurrent.ThreadPoolExecutor$Worker.runTask
> (ThreadPoolExecutor.java:897)
> at java.util.concurrent.ThreadPoolExecutor$Worker.run
> (ThreadPoolExecutor.java:919)
> at java.lang.Thread.run(Thread.java:736)
>
>
>
> From the client library, we were able to connect to another server
> successfully using hmac-sha2-256. So why is this exception being thrown in
> Apache SSHD server & how can it be resolved?
>
>
>
> Thanks & regards,
>
> Anurag,
>
> Advisory Software Engineer,
> B2B & Commerce, Industry Solutions, ISL, IBM,
> #4/1, 2nd floor, Tower D, IBC Knowledge Park, Bannerghatta road, Bangalore,
> India - 560029.
> Phone (O): +91-80-49126451, ext: 26451, Tie-line: 26451.
>
>

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message