VirtualBox

Ticket #9529 (new defect)

Opened 3 years ago

TCP connection killed is not detected inside Guest in NAT mode

Reported by: Pdufrene Owned by:
Priority: major Component: other
Version: VirtualBox 4.1.2 Keywords: NAT TCP Connection closed
Cc: Guest type: Windows
Host type: Windows

Description

I have the following configuration

A windows PC (IP address 192.168.10.200) running EchoTool Server ( http://bansky.net/echotool/) on port 8080 Launch by command line: echotool /p tcp /s 8080

Another Windows PC (windows 7 64Bit) (IP address 192.168.10.70) acting as Virtualbox Host (version 4.1.2) On this PC a VM is running (Guest Windows XP Pro) with network card in NAT mode and IP address set to 192.168.101.15

Inside the VM I launch a telnet session to the EchoTool server by doing telnet 192.168.10.200 8080

The echo is working fine.

Then I kill the EchoTool Server. The TCP RST frame is well received by the Host by not sent to the guest. So the telnet client do not detect the connection lost.

More strange is that if the telnet client send another TCP frame this frame is acknowledged (See attached Wireshark log).

Inside Telnet_Guest.pcap file the EchoTool server is running between from frames 1 to 8. Between frame 8 and 9 the server is killed. And after when the telnet client send a frame (nb 9 and 11) they are acknowledged by frames 10 and 12. but this frames are not visible on Host Wireshark traces (see Telnet_Host.pcap). The acknowledged frames seems to be generated by the NAT engine itself.

It seems that there is no way for the Guest to detect that the connection is lost.

Attachments

Telnet_Guest.pcap Download (904 bytes) - added by Pdufrene 3 years ago.
Telnet_Guest.pcap
Telnet_Host.pcap Download (1.2 KB) - added by Pdufrene 3 years ago.
Telnet_Host.pcap
VBox.log Download (70.7 KB) - added by Pdufrene 3 years ago.
VBox.log

Change History

Changed 3 years ago by Pdufrene

Telnet_Guest.pcap

Changed 3 years ago by Pdufrene

Telnet_Host.pcap

Changed 3 years ago by Pdufrene

VBox.log

Note: See TracTickets for help on using tickets.

www.oracle.com
ContactPrivacy policyTerms of Use