I'm trying to upload file to server with the scp program in OpenSolaris guest (SunOS opensolaris 5.11 snv_111b i86pc i386 i86pc Solaris), but obtain the following errors: "Write failed: Broken pipe" and most frequently "Received disconnect from xxx.xxx.xxx.xxx: 2: Corrupted MAC on input".
The size of file is about 1.5Mb. I've tried two virtual network cadrs: PCnet-FAST III and Intel Pro/1000 MT Desktop. Network configured as NAT.
I do not have OpenSolaris system on real hardware so can not check if this problem related to VirtualBox or not.
Can anybody reproduce this error?
Upd: VirtualBox version is 3.0.6 OSE. Host -- Linux Debian testing x86_64.
scp: Corrupted MAC on input
-
- Volunteer
- Posts: 1003
- Joined: 5. Sep 2008, 14:40
- Primary OS: Debian other
- VBox Version: PUEL
- Guest OSses: Solaris, Linux, Windows, OS/2, MacOSX, FreeBSD
- Contact:
Re: scp: Corrupted MAC on input
i've had this with scp and rsync (over ssh) and the "MAC" bit does not mean mac address, its part of the encryption.
i don't think i ever solved it as i couldn't find any solutions on the web, dunno what i did though, i haven't seen it for a while, think i switched to plain old rsync (on the lan not wan) as i guessed it was ssh not coping with large files over gigabit.
i didn't have it with virtualbox, i had it with physical servers - not solaris/debian either, they were both redhat.
i don't think i ever solved it as i couldn't find any solutions on the web, dunno what i did though, i haven't seen it for a while, think i switched to plain old rsync (on the lan not wan) as i guessed it was ssh not coping with large files over gigabit.
i didn't have it with virtualbox, i had it with physical servers - not solaris/debian either, they were both redhat.
-
- Posts: 5
- Joined: 3. Oct 2009, 16:31
- Primary OS: Debian Lenny
- VBox Version: OSE Debian
- Guest OSses: Windows,Linux,OS/2,OpenSolaris
Re: scp: Corrupted MAC on input
I've found an article
which states that this problem can arise due to:
firewall, or
NAT, or
NIC device driver, or
NIC itself, or
switch/router along the way, or
...something else that corrupted the data in between the two SSH parties
That is why I tested two different network devices.
And I have to note that scp works fine from another guest operating systems.
Code: Select all
http://blogs.sun.com/janp/entry/ssh_messages_code_bad_packet
firewall, or
NAT, or
NIC device driver, or
NIC itself, or
switch/router along the way, or
...something else that corrupted the data in between the two SSH parties
That is why I tested two different network devices.
And I have to note that scp works fine from another guest operating systems.
-
- Volunteer
- Posts: 1003
- Joined: 5. Sep 2008, 14:40
- Primary OS: Debian other
- VBox Version: PUEL
- Guest OSses: Solaris, Linux, Windows, OS/2, MacOSX, FreeBSD
- Contact:
Re: scp: Corrupted MAC on input
yeah typical "erm, it could be anything really, dunno" response, nobody seems to know what it is, i guess if its host->guest in bridge mode you can rule out nic/firewall/switch/router/nat, so must be device driver or something else.Rarruga wrote:I've found an articlewhich states that this problem can arise due to:Code: Select all
http://blogs.sun.com/janp/entry/ssh_messages_code_bad_packet
firewall, or
NAT, or
NIC device driver, or
NIC itself, or
switch/router along the way, or
...something else that corrupted the data in between the two SSH parties
-
- Posts: 5
- Joined: 3. Oct 2009, 16:31
- Primary OS: Debian Lenny
- VBox Version: OSE Debian
- Guest OSses: Windows,Linux,OS/2,OpenSolaris
Re: scp: Corrupted MAC on input
Well, thanks for replies.
-
- Posts: 31
- Joined: 19. Jul 2008, 18:54
Re: scp: Corrupted MAC on input
sorry to drag up an old post but I can sort of confirm the firewall theory, because when I pfctl -d she works fine.
time for more research now
time for more research now