Incorrect MAC received on packet.

Advertisement

webmaster33
Joined:
Posts:
17

Incorrect MAC received on packet.

File move (SCP) from server to local.
Result: Incorrect MAC received on packet.
Error happens: randomly

Copying file 'backup_2012-03-19_mysql.zip' fatally failed.
Copying files from remote side failed.

Winscp v5.1 (from Windows 7 Enterprise)
Debian Lenny (server)
OpenSSL 0.9.8g 19 Oct 2007 (Library: OpenSSL 0.9.8o 01 Jun 2010)
OpenSSH_4.7p1 Debian-2, OpenSSL 0.9.8o 01 Jun 2010
Putty v0.60


How to fix this "Incorrect MAC received on packet." problem?


How can I send you the log file securely?
Email?


Thanks,
Webmaster33

Reply with quote

Advertisement

martin
Site Admin
martin avatar
Joined:
Posts:
27,226
Location:
Prague, Czechia

Re: Incorrect MAC received on packet.

Have you tried using SFTP instead of SCP?

Reply with quote

martin
Site Admin
martin avatar
Joined:
Posts:
27,226
Location:
Prague, Czechia

Re: Incorrect MAC received on packet.

Thanks for sharing this. Though it does not look related. WinSCP does not use OpenSSL for SFTP. And it uses the up to date version anyway.

Reply with quote

webmaster33
Joined:
Posts:
17

Re: Incorrect MAC received on packet.

martin wrote:

Thanks for sharing this. Though it does not look related. WinSCP does not use OpenSSL for SFTP. And it uses the up to date version anyway.

Finally I had to change from SCP to SFTP.
SCP was simply unusable because the often errors.

SFTP does not have errors, but the speed is very poor.

SCP had even over 2Mbyte/s copy speed
SFTP has a maximum of 400-450 kbyte/s speed.

Also I had to downgrade back to v4.1.9, which seems to be more stable, than WinSCP v5.1 :(
WinSCP v5.1 seems to have some GUI draw problems, sometimes does not refresh correctly the server side panel, so it results a white frame with empty content.

I do beta test it, if do you need my help.

Reply with quote

martin
Site Admin
martin avatar
Joined:
Posts:
27,226
Location:
Prague, Czechia

Re: Incorrect MAC received on packet.

webmaster33 wrote:

Also I had to downgrade back to v4.1.9, which seems to be more stable, than WinSCP v5.1 :(
WinSCP v5.1 seems to have some GUI draw problems, sometimes does not refresh correctly the server side panel, so it results a white frame with empty content.
Can you please open a new thread and post some screenshots? What version of WinSCP are you using?
_________________
Martin Prikryl

Reply with quote

webmaster33
Joined:
Posts:
17

Re: Incorrect MAC received on packet.

martin wrote:

webmaster33 wrote:

Also I had to downgrade back to v4.1.9, which seems to be more stable, than WinSCP v5.1 :(
WinSCP v5.1 seems to have some GUI draw problems, sometimes does not refresh correctly the server side panel, so it results a white frame with empty content.
Can you please open a new thread and post some screenshots? What version of WinSCP are you using?

The bug happened in WinSCP v5.1.

Reply with quote

webmaster33
Joined:
Posts:
17

Re: Incorrect MAC received on packet.

webmaster33 wrote:


SCP had even over 2Mbyte/s copy speed
SFTP has a maximum of 400-450 kbyte/s speed.

When using WinSCP v5.1 with SFTP mode, there is no speed degradation.
Just wanted to let you know this.


I will try to reproduce the other problem: "GUI draw problem: sometimes does not refresh correctly the server side panel, so it results a white frame with empty content."
When I do, will start a new thread, as you suggested.

Reply with quote

Nirupam
Joined:
Posts:
2

Incorrect MAC received on packet

We are experiencing this problem too and wondering if anybody knows about the fix. We have a nightly batch downloading files through SFTP and occasionally receive this error and the download aborts.

Here are the details:
OS: Windows Server 2008 R2 Standard SP1
WinSCP: V5.5.0 (Build 3839)

Error log:
. 2014-03-01 04:32:16.211 Incorrect MAC received on packet
. 2014-03-01 04:32:16.227 Connection was lost, asking what to do.
. 2014-03-01 04:32:16.227 Asking user:
. 2014-03-01 04:32:16.227 Incorrect MAC received on packet ()
< 2014-03-01 04:32:16.227 Script: Incorrect MAC received on packet
< 2014-03-01 04:32:16.227 Script: Incorrect MAC received on packet
< 2014-03-01 04:32:16.227 Script: Copying files from remote side failed.

Screenshots of some relevant configs attached.

Any advice would be greatly appreciated.

Thanks!
Description: Screenshots

Reply with quote

martin
Site Admin
martin avatar
Joined:
Posts:
27,226
Location:
Prague, Czechia

Re: Incorrect MAC received on packet

Nirupam wrote:

We are experiencing this problem too and wondering if anybody knows about the fix. We have a nightly batch downloading files through SFTP and occasionally receive this error and the download aborts.
Please attach a full log file showing the problem (using the latest version of WinSCP).

To generate log file, use /log=path_to_log_file command-line argument. Submit the log with your post as an attachment. Note that passwords and passphrases not stored in the log. You may want to remove other data you consider sensitive though, such as host names, IP addresses, account names or file names (unless they are relevant to the problem). If you do not want to post the log publicly, you may email it to me. You will find my address (if you log in) in my forum profile. Please include link back to this topic in your email. Also note in this topic that you have emailed the log.

_________________
Martin Prikryl

Reply with quote

Nirupam
Joined:
Posts:
2

Re: Incorrect MAC received on packet

Hello!

The log file is attached (sensitive data removed). We are at WinSCP 5.5.0 and it would be nice to know if this bug is fixed in the latest 5.5.1 version before we upgrade it or is it something we could fix by changing any config at 5.5.0.

Many thanks,
Nirupam
Description: Log file

Reply with quote

Guest

Re: Incorrect MAC received on packet.

webmaster33 wrote:

File move (SCP) from server to local.
Result: Incorrect MAC received on packet.
Error happens: randomly

Copying file 'backup_2012-03-19_mysql.zip' fatally failed.
Copying files from remote side failed.

Winscp v5.1 (from Windows 7 Enterprise)
Debian Lenny (server)
OpenSSL 0.9.8g 19 Oct 2007 (Library: OpenSSL 0.9.8o 01 Jun 2010)
OpenSSH_4.7p1 Debian-2, OpenSSL 0.9.8o 01 Jun 2010
Putty v0.60


How to fix this "Incorrect MAC received on packet." problem?


How can I send you the log file securely?
Email?


Thanks,
Webmaster33


did have this issue before
wss solved after change the NIC setting as fix instead of autosense

Reply with quote

Advertisement

You can post new topics in this forum