Opened 7 years ago
Closed 7 years ago
#17556 closed defect (wontfix)
Virtual Router makes TCP
Reported by: | RolandMinde | Owned by: | |
---|---|---|---|
Component: | network/NAT | Version: | VirtualBox 5.2.6 |
Keywords: | Cc: | ||
Guest type: | Linux | Host type: | Windows |
Description
- A TCP port forwarding is configured.
- The guest system is running.
- The application on the guest system, normally listening on this port, is not running.
- Trying a TCP connection from outer network succeeds.
- After sending the first message over this connection, the connection is closed from partner site.
This behavior seems incorrect, because a router supports level 3 and may not serve level 4 TCP connections. The expected behavior is an instant rejection of the connection establishment.
Change History (3)
follow-up: 2 comment:1 by , 7 years ago
comment:2 by , 7 years ago
Replying to vushakov:
Is it NAT or NAT Network?
It is NAT Network
Does the reset happen if the client doesn't send any data immediately after the connection is established?
No, the reset comes after sending of data; but this may be an effect of the Java Virtual Maschine of my Java program.
comment:3 by , 7 years ago
Resolution: | → wontfix |
---|---|
Status: | new → closed |
I guess by "reset comes" you mean that Java reports the reset to the program when the program tries to send some data. The actual reset should have come immediately after connection. Unfortunately this is an inherent limitation.
Is it NAT or NAT Network? Does the reset happen if the client doesn't send any data immediately after the connection is established?
Note that "NAT" is a bit of misnomer, it's not really NAT, so the incoming connection is always accepted, but if the guest is not listening, the established connection will be immediately reset.