VirtualBox

Opened 13 years ago

Closed 8 years ago

#9529 closed defect (obsolete)

TCP connection killed is not detected inside Guest in NAT mode

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

Description (last modified by aeichner)

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 (3)

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

Download all attachments as: .zip

Change History (4)

by Pdufrene, 13 years ago

Attachment: Telnet_Guest.pcap added

Telnet_Guest.pcap

by Pdufrene, 13 years ago

Attachment: Telnet_Host.pcap added

Telnet_Host.pcap

by Pdufrene, 13 years ago

Attachment: VBox.log added

VBox.log

comment:1 by aeichner, 8 years ago

Description: modified (diff)
Resolution: obsolete
Status: newclosed

Please reopen if still relevant with a recent VirtualBox release.

Note: See TracTickets for help on using tickets.

© 2024 Oracle Support Privacy / Do Not Sell My Info Terms of Use Trademark Policy Automated Access Etiquette