Opened 16 years ago
Closed 16 years ago
#2932 closed defect (fixed)
2.1.0 NAT code breaks FTP
Reported by: | Lawrence Rust | Owned by: | |
---|---|---|---|
Component: | network/NAT | Version: | VirtualBox 2.1.0 |
Keywords: | NAT FTP | Cc: | |
Guest type: | other | Host type: | Linux |
Description
The latest 2.1.0 NAT code doesn't translate FTP PORT or PASV commands.
- When an FTP client running in a guest sends a PORT command to a remote FTP server, the command must be translated to replace the guest's IP address with that of the host.
- When an FTP server running in a guest replies to a PASV command, the response must be translated to replace the guest's IP address with that of the host.
The changes on SLiRP code from 2.0 to 2.1 prevent these translations. In addition the code in 2.0 incorrectly translates the IP address, using the host's NAT address rather than its real network address. The attached diffs fix these problems.
Attachments (2)
Change History (4)
by , 16 years ago
Attachment: | tcp_input.diff added |
---|
by , 16 years ago
Attachment: | tcp_subr.diff added |
---|
comment:1 by , 16 years ago
Component: | network → network/NAT |
---|
comment:2 by , 16 years ago
Resolution: | → fixed |
---|---|
Status: | new → closed |
Note:
See TracTickets
for help on using tickets.
Should be fixed in 2.1.4.