SSH sessions terminate abruptly with message: Corrupted MAC on input. Disconnect

本文探讨了SSH会话突然中断的问题,并提出了两种可能性:一是传输过程中数据被篡改导致加密层出现错误;二是硬件故障(如CPU或RAM问题)在数据接收后损坏了数据。文中还提到了TCP卸载引擎可能导致此类错误的情况。

http://serverfault.com/questions/338439/ssh-sessions-terminate-abruptly-with-mes

 

On-the wire level errors should be eliminated by the Ethernet and TCP checksums. It is possible that corrupted Ethernet frame / IP packet could slip now and then up to the higher levels of the networking stack, but it really isn't very probable and definitely shouldn't lead to a repeatable issue. Therefore I see two main possibilities:

 

1) There's somebody fooling with your transmission, modifying in-transit data so that the Ethernet/IP checksums match, but encryption layer sees rubbish, or 

2) More probably, you have some hardware error, most probably CPU or RAM, that damages data after it has been taken off-the-wire. Again, ECC RAM should reduce probability of this happening, but overheating / dying CPU can play hell with data.

 

I don't know if TCP Offload Engine with a mis-behaving NIC/driver could produce such errors, but that line of thought could explain (changed driver?) the correlation of problems with the update.

 

tcp checksum offload:

http://blog.youkuaiyun.com/ixidof/article/details/6658125

08-03 16:06:20.769640 19957 19996 I Finsky:background: [1511] abos.i(257): DL: Data loader session turned off due to Incremental install not requested: com.vkontakte.android 08-03 16:06:20.771626 17853 17939 W [0]DCS : Common Record event failed. DCS reject event: [appId=20089,logTag=20089,eventId=high_power_notification] . Pls check server config. 08-03 16:06:20.771625 19957 20053 I Finsky:background: [1539] abos.i(257): DL: Data loader session turned off due to Incremental install not requested: com.vkontakte.android 08-03 16:06:20.772463 19957 20033 I Finsky:background: [1528] ahqg.accept(444): IV2: Setting install scenario: 1 08-03 16:06:20.775159 19957 20033 E Finsky:background: [1528] ahqk.e(13): SM: Session creation failed with errorCode=5404 08-03 16:06:20.775159 19957 20033 E Finsky:background: java.lang.IllegalStateException: Too many active sessions for UID 10105 08-03 16:06:20.775159 19957 20033 E Finsky:background: at android.os.Parcel.createExceptionOrNull(Parcel.java:3280) 08-03 16:06:20.775159 19957 20033 E Finsky:background: at android.os.Parcel.createException(Parcel.java:3256) 08-03 16:06:20.775159 19957 20033 E Finsky:background: at android.os.Parcel.readException(Parcel.java:3239) 08-03 16:06:20.775159 19957 20033 E Finsky:background: at android.os.Parcel.readException(Parcel.java:3181) 08-03 16:06:20.775159 19957 20033 E Finsky:background: at android.content.pm.IPackageInstaller$Stub$Proxy.createSession(IPackageInstaller.java:626) 08-03 16:06:20.775159 19957 20033 E Finsky:background: at android.content.pm.PackageInstaller.createSession(PackageInstaller.java:820) 08-03 16:06:20.775159 19957 20033 E Finsky:background: at aick.a(PG:1121) 08-03 16:06:20.775159 19957 20033 E Finsky:background: at azfu.d(PG:3) 08-03 16:06:20.775159 19957 20033 E Finsky:background: at azfw.run(PG:38) 08-03 16:06:20.775159 19957 20033 E Finsky:background: at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1156) 08-03 16:06:20.775159 19957 20033 E Finsky:background: at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:651) 08-03 16:06:20.775159 19957 20033 E Finsky:background: at qhu.run(PG:29) 08-03 16:06:20.775159 19957 20033 E Finsky:background: at java.lang.Thread.run(Thread.java:1119) 08-03 16:06:20.775659 19957 19996 E Finsky:background: [1511] vlg.a(744): IV2: failed to create session for [Package:com.vkontakte.android, isid:Zrt6iUigSkC5hZ276rtG0w] statusCode=5404. 08-03 16:06:20.776402 19957 19996 E Finsky:background: [1511] nob.a(1005): IV2: request install failure for [Package:com.vkontakte.android, isid:Zrt6iUigSkC5hZ276rtG0w] 08-03 16:06:20.776402 19957 19996 E Finsky:background: com.google.android.finsky.installercommon.InstallerException: Status: 5404 08-03 16:06:20.776402 19957 19996 E Finsky:background: at vlg.a(PG:751) 08-03 16:06:20.776402 19957 19996 E Finsky:background: at azfu.d(PG:3) 08-03 16:06:20.776402 19957 19996 E Finsky:background: at azfw.run(PG:38) 08-03 16:06:20.776402 19957 19996 E Finsky:background: at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1156) 08-03 16:06:20.776402 19957 19996 E Finsky:background: at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:651) 08-03 16:06:20.776402 19957 19996 E Finsky:background: at qhu.run(PG:29) 08-03 16:06:20.776402 19957 19996 E Finsky:background: at java.lang.Thread.run(Thread.java:1119) 08-03 16:06:20.776619 1489 15125 D PipelineWatcher: onInputBufferReleased: frameIndex not found (620); ignored 08-03 16:06:20.779817 19957 19996 I Finsky:background: [1511] afco.a(317): SCU: Failed to abandon the session for com.vkontakte.android[iid:571] [isid:Zrt6iUigSkC5hZ276rtG0w] due to 5426, msg: Optional[No open Session with Context {name=com.vkontakte.android versionCode=40084} was found.] 08-03 16:06:20.780957 1134 1134 E HWC2 : Invalid CT ID. displayId: 0 08-03 16:06:20.781598 19957 19996 I Finsky:background: [1511] vmc.k(23): IV2: stopping install timeout for 571 08-03 16:06:20.789833 19957 19996 E Finsky:background: [1511] mrz.apply(202): IV2: Rejecting request for [Package:com.vkontakte.android, isid:Zrt6iUigSkC5hZ276rtG0w] statusCode: 5404 08-03 16:06:20.789833 19957 19996 E Finsky:background: com.google.android.finsky.installercommon.InstallerException: Status: 5404 08-03 16:06:20.789833 19957 19996 E Finsky:background: at vlg.a(PG:751) 08-03 16:06:20.789833 19957 19996 E Finsky:background: at azfu.d(PG:3) 08-03 16:06:20.789833 19957 19996 E Finsky:background: at azfw.run(PG:38) 08-03 16:06:20.789833 19957 19996 E Finsky:background: at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1156) 08-03 16:06:20.789833 19957 19996 E Finsky:background: at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:651) 08-03 16:06:20.789833 19957 19996 E Finsky:background: at qhu.run(PG:29) 08-03 16:06:20.789833 19957 19996 E Finsky:background: at java.lang.Thread.run(Thread.java:1119) 08-03 16:06:20.792809 1489 15125 D PipelineWatcher: onInputBufferReleased: frameIndex not found (621); ignored 08-03 16:06:20.796250 19957 19992 I Finsky:background: [1507] vqq.Y(19): IQ: start evaluating install requests. 08-03 16:06:20.797786 1134 1134 E HWC2 : Invalid CT ID. displayId: 0 08-03 16:06:20.800636 19957 20004 I Finsky:background: [1518] vqq.Q(41): IQ: Notifying installation update. [Package:com.vkontakte.android, isid:Zrt6iUigSkC5hZ276rtG0w], status=INSTALL_ERROR, status_code=5404, reason=single_install, tsc=PT1.332S, attempt=0
最新发布
08-31
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值