VirtualBox

Opened 13 years ago

Last modified 10 years ago

#9346 closed defect

Network outages — at Version 20

Reported by: ndastur Owned by:
Component: network/NAT Version: VirtualBox 4.1.0
Keywords: Cc:
Guest type: Linux Host type: Linux

Description (last modified by vasily Levchenko)

I can't put a set of reproducible steps but every so often I can't access my VM. There is one network interface configured for NAT

When the network goes down a netstat shows that a large number of UDP listeners seem to be present for machine. I have NO UDP listening ports defined in my NAT setup and when the network is working "correctly" these UDP listen sockets do not exist.

To be honest I don't really understand why VB is creating UDP listen sockets of it's own accord at all!

sudo netstat -lnp
Active Internet connections (only servers)
Proto Recv-Q Send-Q Local Address               Foreign Address             State       PID/Program name   
tcp        0      0 0.0.0.0:xxxxx               0.0.0.0:*                   LISTEN      3460/VBoxHeadless   
tcp        0      0 0.0.0.0:xxxxx               0.0.0.0:*                   LISTEN      9945/VBoxHeadless   
udp        0      0 0.0.0.0:33664               0.0.0.0:*                               9945/VBoxHeadless   
udp        0      0 0.0.0.0:54400               0.0.0.0:*                               9945/VBoxHeadless   
udp        0      0 0.0.0.0:52608               0.0.0.0:*                               9945/VBoxHeadless   
udp        0      0 0.0.0.0:57089               0.0.0.0:*                               9945/VBoxHeadless   
udp        0      0 0.0.0.0:52737               0.0.0.0:*                               9945/VBoxHeadless   
udp        0      0 0.0.0.0:38017               0.0.0.0:*                               9945/VBoxHeadless   
udp        0      0 0.0.0.0:45313               0.0.0.0:*                               9945/VBoxHeadless   
udp        0      0 0.0.0.0:39297               0.0.0.0:*                               9945/VBoxHeadless   
udp        0      0 0.0.0.0:43393               0.0.0.0:*                               9945/VBoxHeadless   
udp        0      0 0.0.0.0:41473               0.0.0.0:*                               9945/VBoxHeadless   
udp        0      0 0.0.0.0:59010               0.0.0.0:*                               9945/VBoxHeadless   
udp        0      0 0.0.0.0:53890               0.0.0.0:*                               9945/VBoxHeadless   
udp        0      0 0.0.0.0:56322               0.0.0.0:*                               9945/VBoxHeadless   
udp        0      0 0.0.0.0:58754               0.0.0.0:*                               9945/VBoxHeadless   
udp        0      0 0.0.0.0:40450               0.0.0.0:*                               9945/VBoxHeadless   
udp        0      0 0.0.0.0:60547               0.0.0.0:*                               9945/VBoxHeadless   
udp        0      0 0.0.0.0:47363               0.0.0.0:*                               9945/VBoxHeadless   
udp        0      0 0.0.0.0:54276               0.0.0.0:*                               9945/VBoxHeadless   
udp        0      0 0.0.0.0:36228               0.0.0.0:*                               9945/VBoxHeadless   
udp        0      0 0.0.0.0:36869               0.0.0.0:*                               9945/VBoxHeadless   
udp        0      0 0.0.0.0:39686               0.0.0.0:*                               9945/VBoxHeadless   
udp        0      0 0.0.0.0:38022               0.0.0.0:*                               9945/VBoxHeadless   
udp        0      0 0.0.0.0:59142               0.0.0.0:*                               9945/VBoxHeadless   
udp        0      0 0.0.0.0:58759               0.0.0.0:*                               9945/VBoxHeadless   
udp        0      0 0.0.0.0:54407               0.0.0.0:*                               9945/VBoxHeadless   
udp        0      0 0.0.0.0:60553               0.0.0.0:*                               9945/VBoxHeadless   
udp        0      0 0.0.0.0:55689               0.0.0.0:*                               9945/VBoxHeadless   
udp        0      0 0.0.0.0:39178               0.0.0.0:*                               9945/VBoxHeadless   
udp        0      0 0.0.0.0:57739               0.0.0.0:*                               9945/VBoxHeadless   
udp        0      0 0.0.0.0:44939               0.0.0.0:*                               9945/VBoxHeadless   
udp        0      0 0.0.0.0:54539               0.0.0.0:*                               9945/VBoxHeadless   
udp        0      0 0.0.0.0:48139               0.0.0.0:*                               9945/VBoxHeadless   
udp        0      0 0.0.0.0:34956               0.0.0.0:*                               9945/VBoxHeadless   
udp        0      0 0.0.0.0:59148               0.0.0.0:*                               9945/VBoxHeadless   
udp        0      0 0.0.0.0:49164               0.0.0.0:*                               9945/VBoxHeadless   
udp        0      0 0.0.0.0:36877               0.0.0.0:*                               9945/VBoxHeadless   
udp        0      0 0.0.0.0:48653               0.0.0.0:*                               9945/VBoxHeadless   
udp        0      0 0.0.0.0:50830               0.0.0.0:*                               9945/VBoxHeadless   
udp        0      0 0.0.0.0:53774               0.0.0.0:*                               9945/VBoxHeadless   
udp        0      0 0.0.0.0:37776               0.0.0.0:*                               9945/VBoxHeadless   
udp        0      0 0.0.0.0:48016               0.0.0.0:*                               9945/VBoxHeadless   
udp        0      0 0.0.0.0:39184               0.0.0.0:*                               9945/VBoxHeadless   
udp        0      0 0.0.0.0:36496               0.0.0.0:*                               9945/VBoxHeadless   
udp        0      0 0.0.0.0:50065               0.0.0.0:*                               9945/VBoxHeadless   
udp        0      0 0.0.0.0:42001               0.0.0.0:*                               9945/VBoxHeadless   
udp        0      0 0.0.0.0:39313               0.0.0.0:*                               9945/VBoxHeadless   
udp        0      0 0.0.0.0:34706               0.0.0.0:*                               9945/VBoxHeadless   
udp        0      0 0.0.0.0:57618               0.0.0.0:*                               9945/VBoxHeadless   
udp        0      0 0.0.0.0:35858               0.0.0.0:*                               9945/VBoxHeadless   
udp        0      0 0.0.0.0:41747               0.0.0.0:*                               9945/VBoxHeadless   
udp        0      0 0.0.0.0:52499               0.0.0.0:*                               9945/VBoxHeadless   
udp        0      0 0.0.0.0:48915               0.0.0.0:*                               9945/VBoxHeadless   
udp        0      0 0.0.0.0:59923               0.0.0.0:*                               9945/VBoxHeadless   
udp        0      0 0.0.0.0:40979               0.0.0.0:*                               9945/VBoxHeadless   
udp        0      0 0.0.0.0:48147               0.0.0.0:*                               9945/VBoxHeadless   
udp        0      0 0.0.0.0:54676               0.0.0.0:*                               9945/VBoxHeadless   
udp        0      0 0.0.0.0:55828               0.0.0.0:*                               9945/VBoxHeadless   
udp        0      0 0.0.0.0:54292               0.0.0.0:*                               9945/VBoxHeadless   
udp        0      0 0.0.0.0:44436               0.0.0.0:*                               9945/VBoxHeadless   
udp        0      0 0.0.0.0:39573               0.0.0.0:*                               9945/VBoxHeadless   
udp        0      0 0.0.0.0:55445               0.0.0.0:*                               9945/VBoxHeadless   
udp        0      0 0.0.0.0:53909               0.0.0.0:*                               9945/VBoxHeadless   
udp        0      0 0.0.0.0:37270               0.0.0.0:*                               9945/VBoxHeadless   
udp        0      0 0.0.0.0:38166               0.0.0.0:*                               9945/VBoxHeadless   
udp        0      0 0.0.0.0:38294               0.0.0.0:*                               9945/VBoxHeadless   
udp        0      0 0.0.0.0:43671               0.0.0.0:*                               9945/VBoxHeadless   
udp        0      0 0.0.0.0:43415               0.0.0.0:*                               9945/VBoxHeadless   
udp        0      0 0.0.0.0:57239               0.0.0.0:*                               9945/VBoxHeadless   
udp        0      0 0.0.0.0:38295               0.0.0.0:*                               9945/VBoxHeadless   
udp        0      0 0.0.0.0:53655               0.0.0.0:*                               9945/VBoxHeadless   
udp        0      0 0.0.0.0:41879               0.0.0.0:*                               9945/VBoxHeadless   
udp        0      0 0.0.0.0:55960               0.0.0.0:*                               9945/VBoxHeadless   
udp        0      0 0.0.0.0:56472               0.0.0.0:*                               9945/VBoxHeadless   
udp        0      0 0.0.0.0:36248               0.0.0.0:*                               9945/VBoxHeadless   
udp        0      0 0.0.0.0:53913               0.0.0.0:*                               9945/VBoxHeadless   
udp        0      0 0.0.0.0:50329               0.0.0.0:*                               9945/VBoxHeadless   
udp        0      0 0.0.0.0:56218               0.0.0.0:*                               9945/VBoxHeadless   
udp        0      0 0.0.0.0:35354               0.0.0.0:*                               9945/VBoxHeadless   
udp        0      0 0.0.0.0:57755               0.0.0.0:*                               9945/VBoxHeadless   
udp        0      0 0.0.0.0:36251               0.0.0.0:*                               9945/VBoxHeadless   
udp        0      0 0.0.0.0:59164               0.0.0.0:*                               9945/VBoxHeadless   
udp        0      0 0.0.0.0:47388               0.0.0.0:*                               9945/VBoxHeadless   
udp        0      0 0.0.0.0:58140               0.0.0.0:*                               9945/VBoxHeadless   
udp        0      0 0.0.0.0:42397               0.0.0.0:*                               9945/VBoxHeadless   
udp        0      0 0.0.0.0:34845               0.0.0.0:*                               9945/VBoxHeadless   
udp        0      0 0.0.0.0:42781               0.0.0.0:*                               9945/VBoxHeadless   
udp        0      0 0.0.0.0:36509               0.0.0.0:*                               9945/VBoxHeadless   
udp        0      0 0.0.0.0:60958               0.0.0.0:*                               9945/VBoxHeadless   
udp        0      0 0.0.0.0:45598               0.0.0.0:*                               9945/VBoxHeadless   
udp        0      0 0.0.0.0:42270               0.0.0.0:*                               9945/VBoxHeadless   
udp        0      0 0.0.0.0:59935               0.0.0.0:*                               9945/VBoxHeadless   
udp        0      0 0.0.0.0:58399               0.0.0.0:*                               9945/VBoxHeadless   
udp        0      0 0.0.0.0:57375               0.0.0.0:*                               9945/VBoxHeadless   
udp        0      0 0.0.0.0:48543               0.0.0.0:*                               9945/VBoxHeadless   
udp        0      0 0.0.0.0:35872               0.0.0.0:*                               9945/VBoxHeadless   
udp        0      0 0.0.0.0:51872               0.0.0.0:*                               9945/VBoxHeadless   
udp        0      0 0.0.0.0:54689               0.0.0.0:*                               9945/VBoxHeadless   
udp        0      0 0.0.0.0:52385               0.0.0.0:*                               9945/VBoxHeadless   
udp        0      0 0.0.0.0:59809               0.0.0.0:*                               9945/VBoxHeadless   
udp        0      0 0.0.0.0:38818               0.0.0.0:*                               9945/VBoxHeadless   
udp        0      0 0.0.0.0:46498               0.0.0.0:*                               9945/VBoxHeadless   
udp        0      0 0.0.0.0:35106               0.0.0.0:*                               9945/VBoxHeadless   
udp        0      0 0.0.0.0:38050               0.0.0.0:*                               9945/VBoxHeadless   
udp        0      0 0.0.0.0:59042               0.0.0.0:*                               9945/VBoxHeadless   
udp        0      0 0.0.0.0:34594               0.0.0.0:*                               9945/VBoxHeadless   
udp        0      0 0.0.0.0:33059               0.0.0.0:*                               9945/VBoxHeadless   
udp        0      0 0.0.0.0:54691               0.0.0.0:*                               9945/VBoxHeadless   
udp        0      0 0.0.0.0:34084               0.0.0.0:*                               9945/VBoxHeadless   
udp        0      0 0.0.0.0:35620               0.0.0.0:*                               9945/VBoxHeadless   
udp        0      0 0.0.0.0:60964               0.0.0.0:*                               9945/VBoxHeadless   
udp        0      0 0.0.0.0:47781               0.0.0.0:*                               9945/VBoxHeadless   
udp        0      0 0.0.0.0:54694               0.0.0.0:*                               9945/VBoxHeadless   
udp        0      0 0.0.0.0:53798               0.0.0.0:*                               9945/VBoxHeadless   
udp        0      0 0.0.0.0:34726               0.0.0.0:*                               9945/VBoxHeadless   
udp        0      0 0.0.0.0:39334               0.0.0.0:*                               9945/VBoxHeadless   
udp        0      0 0.0.0.0:55462               0.0.0.0:*                               9945/VBoxHeadless   
udp        0      0 0.0.0.0:58919               0.0.0.0:*                               9945/VBoxHeadless   
udp        0      0 0.0.0.0:59815               0.0.0.0:*                               9945/VBoxHeadless   
udp        0      0 0.0.0.0:39976               0.0.0.0:*                               9945/VBoxHeadless   
udp        0      0 0.0.0.0:43688               0.0.0.0:*                               9945/VBoxHeadless   
udp        0      0 0.0.0.0:51496               0.0.0.0:*                               9945/VBoxHeadless   
udp        0      0 0.0.0.0:53416               0.0.0.0:*                               9945/VBoxHeadless   
udp        0      0 0.0.0.0:49064               0.0.0.0:*                               9945/VBoxHeadless   
udp        0      0 0.0.0.0:41896               0.0.0.0:*                               9945/VBoxHeadless   
udp        0      0 0.0.0.0:50985               0.0.0.0:*                               9945/VBoxHeadless   
udp        0      0 0.0.0.0:43945               0.0.0.0:*                               9945/VBoxHeadless   
udp        0      0 0.0.0.0:34345               0.0.0.0:*                               9945/VBoxHeadless   
udp        0      0 0.0.0.0:51754               0.0.0.0:*                               9945/VBoxHeadless   
udp        0      0 0.0.0.0:55466               0.0.0.0:*                               9945/VBoxHeadless   
udp        0      0 0.0.0.0:42538               0.0.0.0:*                               9945/VBoxHeadless   
udp        0      0 0.0.0.0:47787               0.0.0.0:*                               9945/VBoxHeadless   
udp        0      0 0.0.0.0:56619               0.0.0.0:*                               9945/VBoxHeadless   
udp        0      0 0.0.0.0:58411               0.0.0.0:*                               9945/VBoxHeadless   
udp        0      0 0.0.0.0:47403               0.0.0.0:*                               9945/VBoxHeadless   
udp        0      0 0.0.0.0:38059               0.0.0.0:*                               9945/VBoxHeadless   
udp        0      0 0.0.0.0:37548               0.0.0.0:*                               9945/VBoxHeadless   
udp        0      0 0.0.0.0:49580               0.0.0.0:*                               9945/VBoxHeadless   
udp        0      0 0.0.0.0:39212               0.0.0.0:*                               9945/VBoxHeadless   
udp        0      0 0.0.0.0:46764               0.0.0.0:*                               9945/VBoxHeadless   
udp        0      0 0.0.0.0:43180               0.0.0.0:*                               9945/VBoxHeadless   
udp        0      0 0.0.0.0:60973               0.0.0.0:*                               9945/VBoxHeadless   
udp        0      0 0.0.0.0:56749               0.0.0.0:*                               9945/VBoxHeadless   
udp        0      0 0.0.0.0:50093               0.0.0.0:*                               9945/VBoxHeadless   
udp        0      0 0.0.0.0:58542               0.0.0.0:*                               9945/VBoxHeadless   
udp        0      0 0.0.0.0:47662               0.0.0.0:*                               9945/VBoxHeadless   
udp        0      0 0.0.0.0:36143               0.0.0.0:*                               9945/VBoxHeadless   
udp        0      0 0.0.0.0:51887               0.0.0.0:*                               9945/VBoxHeadless   
udp        0      0 0.0.0.0:46895               0.0.0.0:*                               9945/VBoxHeadless   
udp        0      0 0.0.0.0:44336               0.0.0.0:*                               9945/VBoxHeadless   
udp        0      0 0.0.0.0:35888               0.0.0.0:*                               9945/VBoxHeadless   
udp        0      0 0.0.0.0:50480               0.0.0.0:*                               9945/VBoxHeadless   
udp        0      0 0.0.0.0:58416               0.0.0.0:*                               9945/VBoxHeadless   
udp        0      0 0.0.0.0:56369               0.0.0.0:*                               9945/VBoxHeadless   
udp        0      0 0.0.0.0:38450               0.0.0.0:*                               9945/VBoxHeadless   
udp        0      0 0.0.0.0:58674               0.0.0.0:*                               9945/VBoxHeadless   
udp        0      0 0.0.0.0:52402               0.0.0.0:*                               9945/VBoxHeadless   
udp        0      0 0.0.0.0:56243               0.0.0.0:*                               9945/VBoxHeadless   
udp        0      0 0.0.0.0:40499               0.0.0.0:*                               9945/VBoxHeadless   
udp        0      0 0.0.0.0:59955               0.0.0.0:*                               9945/VBoxHeadless   
udp        0      0 0.0.0.0:49460               0.0.0.0:*                               9945/VBoxHeadless   
udp        0      0 0.0.0.0:39092               0.0.0.0:*                               9945/VBoxHeadless   
udp        0      0 0.0.0.0:36917               0.0.0.0:*                               9945/VBoxHeadless   
udp        0      0 0.0.0.0:59701               0.0.0.0:*                               9945/VBoxHeadless   
udp        0      0 0.0.0.0:56630               0.0.0.0:*                               9945/VBoxHeadless   
udp        0      0 0.0.0.0:41142               0.0.0.0:*                               9945/VBoxHeadless   
udp        0      0 0.0.0.0:49590               0.0.0.0:*                               9945/VBoxHeadless   
udp        0      0 0.0.0.0:43958               0.0.0.0:*                               9945/VBoxHeadless   
udp        0      0 0.0.0.0:50870               0.0.0.0:*                               9945/VBoxHeadless   
udp        0      0 0.0.0.0:43702               0.0.0.0:*                               9945/VBoxHeadless   
udp        0      0 0.0.0.0:36535               0.0.0.0:*                               9945/VBoxHeadless   
udp        0      0 0.0.0.0:53303               0.0.0.0:*                               9945/VBoxHeadless   
udp        0      0 0.0.0.0:59064               0.0.0.0:*                               9945/VBoxHeadless   
udp        0      0 0.0.0.0:58808               0.0.0.0:*                               9945/VBoxHeadless   
udp        0      0 0.0.0.0:60089               0.0.0.0:*                               9945/VBoxHeadless   
udp        0      0 0.0.0.0:58169               0.0.0.0:*                               9945/VBoxHeadless   
udp        0      0 0.0.0.0:60090               0.0.0.0:*                               9945/VBoxHeadless   
udp        0      0 0.0.0.0:60859               0.0.0.0:*                               9945/VBoxHeadless   
udp        0      0 0.0.0.0:55739               0.0.0.0:*                               9945/VBoxHeadless   
udp        0      0 0.0.0.0:58811               0.0.0.0:*                               9945/VBoxHeadless   
udp        0      0 0.0.0.0:57915               0.0.0.0:*                               9945/VBoxHeadless   
udp        0      0 0.0.0.0:44476               0.0.0.0:*                               9945/VBoxHeadless   
udp        0      0 0.0.0.0:35004               0.0.0.0:*                               9945/VBoxHeadless   
udp        0      0 0.0.0.0:56636               0.0.0.0:*                               9945/VBoxHeadless   
udp        0      0 0.0.0.0:38204               0.0.0.0:*                               9945/VBoxHeadless   
udp        0      0 0.0.0.0:33341               0.0.0.0:*                               9945/VBoxHeadless   
udp        0      0 0.0.0.0:41533               0.0.0.0:*                               9945/VBoxHeadless   
udp        0      0 0.0.0.0:51133               0.0.0.0:*                               9945/VBoxHeadless   
udp        0      0 0.0.0.0:58557               0.0.0.0:*                               9945/VBoxHeadless   
udp        0      0 0.0.0.0:49213               0.0.0.0:*                               9945/VBoxHeadless   
udp        0      0 0.0.0.0:55998               0.0.0.0:*                               9945/VBoxHeadless   
udp        0      0 0.0.0.0:57663               0.0.0.0:*                               9945/VBoxHeadless   
udp        0      0 0.0.0.0:49343               0.0.0.0:*                               9945/VBoxHeadless   
udp        0      0 0.0.0.0:48319               0.0.0.0:*                               9945/VBoxHeadless   
udp        0      0 0.0.0.0:51647               0.0.0.0:*                               9945/VBoxHeadless   
udp        0      0 0.0.0.0:41664               0.0.0.0:*                               9945/VBoxHeadless   
udp        0      0 0.0.0.0:58944               0.0.0.0:*                               9945/VBoxHeadless   
udp        0      0 0.0.0.0:55232               0.0.0.0:*                               9945/VBoxHeadless   
udp        0      0 0.0.0.0:54593               0.0.0.0:*                               9945/VBoxHeadless   
udp        0      0 0.0.0.0:42177               0.0.0.0:*                               9945/VBoxHeadless   
udp        0      0 0.0.0.0:50625               0.0.0.0:*                               9945/VBoxHeadless   
udp        0      0 0.0.0.0:51266               0.0.0.0:*                               9945/VBoxHeadless   
udp        0      0 0.0.0.0:37442               0.0.0.0:*                               9945/VBoxHeadless   
udp        0      0 0.0.0.0:38082               0.0.0.0:*                               9945/VBoxHeadless   
udp        0      0 0.0.0.0:49474               0.0.0.0:*                               9945/VBoxHeadless   
udp        0      0 0.0.0.0:50243               0.0.0.0:*                               9945/VBoxHeadless   
udp        0      0 0.0.0.0:33987               0.0.0.0:*                               9945/VBoxHeadless   
udp        0      0 0.0.0.0:39363               0.0.0.0:*                               9945/VBoxHeadless   
udp        0      0 0.0.0.0:35395               0.0.0.0:*                               9945/VBoxHeadless   
udp        0      0 0.0.0.0:59843               0.0.0.0:*                               9945/VBoxHeadless   
udp        0      0 0.0.0.0:59715               0.0.0.0:*                               9945/VBoxHeadless   
udp        0      0 0.0.0.0:50116               0.0.0.0:*                               9945/VBoxHeadless   
udp        0      0 0.0.0.0:56389               0.0.0.0:*                               9945/VBoxHeadless   
udp        0      0 0.0.0.0:41541               0.0.0.0:*                               9945/VBoxHeadless   
udp        0      0 0.0.0.0:34501               0.0.0.0:*                               9945/VBoxHeadless   
udp        0      0 0.0.0.0:43589               0.0.0.0:*                               9945/VBoxHeadless   
udp        0      0 0.0.0.0:59717               0.0.0.0:*                               9945/VBoxHeadless   
udp        0      0 0.0.0.0:50886               0.0.0.0:*                               9945/VBoxHeadless   
udp        0      0 0.0.0.0:41030               0.0.0.0:*                               9945/VBoxHeadless   
udp        0      0 0.0.0.0:40518               0.0.0.0:*                               9945/VBoxHeadless   
udp        0      0 0.0.0.0:35270               0.0.0.0:*                               9945/VBoxHeadless   
udp        0      0 0.0.0.0:41543               0.0.0.0:*                               9945/VBoxHeadless   
udp        0      0 0.0.0.0:57415               0.0.0.0:*                               9945/VBoxHeadless   
udp        0      0 0.0.0.0:55367               0.0.0.0:*                               9945/VBoxHeadless   
udp        0      0 0.0.0.0:49479               0.0.0.0:*                               9945/VBoxHeadless   
udp        0      0 0.0.0.0:51144               0.0.0.0:*                               9945/VBoxHeadless   
udp        0      0 0.0.0.0:39240               0.0.0.0:*                               9945/VBoxHeadless   
udp        0      0 0.0.0.0:49736               0.0.0.0:*                               9945/VBoxHeadless   
udp        0      0 0.0.0.0:56649               0.0.0.0:*                               9945/VBoxHeadless   
udp        0      0 0.0.0.0:56393               0.0.0.0:*                               9945/VBoxHeadless   
udp        0      0 0.0.0.0:42826               0.0.0.0:*                               9945/VBoxHeadless   
udp        0      0 0.0.0.0:46282               0.0.0.0:*                               9945/VBoxHeadless   
udp        0      0 0.0.0.0:49866               0.0.0.0:*                               9945/VBoxHeadless   
udp        0      0 0.0.0.0:32842               0.0.0.0:*                               9945/VBoxHeadless   
udp        0      0 0.0.0.0:57162               0.0.0.0:*                               9945/VBoxHeadless   
udp        0      0 0.0.0.0:33739               0.0.0.0:*                               9945/VBoxHeadless   
udp        0      0 0.0.0.0:59083               0.0.0.0:*                               9945/VBoxHeadless   
udp        0      0 0.0.0.0:42187               0.0.0.0:*                               9945/VBoxHeadless   
udp        0      0 0.0.0.0:40779               0.0.0.0:*                               9945/VBoxHeadless   
udp        0      0 0.0.0.0:34380               0.0.0.0:*                               9945/VBoxHeadless   
udp        0      0 0.0.0.0:59084               0.0.0.0:*                               9945/VBoxHeadless   
udp        0      0 0.0.0.0:47052               0.0.0.0:*                               9945/VBoxHeadless   
udp        0      0 0.0.0.0:52172               0.0.0.0:*                               9945/VBoxHeadless   
udp        0      0 0.0.0.0:37708               0.0.0.0:*                               9945/VBoxHeadless   
udp        0      0 0.0.0.0:48076               0.0.0.0:*                               9945/VBoxHeadless   
udp        0      0 0.0.0.0:60877               0.0.0.0:*                               9945/VBoxHeadless   
udp        0      0 0.0.0.0:51533               0.0.0.0:*                               9945/VBoxHeadless   
udp        0      0 0.0.0.0:58701               0.0.0.0:*                               9945/VBoxHeadless   
udp        0      0 0.0.0.0:57934               0.0.0.0:*                               9945/VBoxHeadless   
udp        0      0 0.0.0.0:45134               0.0.0.0:*                               9945/VBoxHeadless   
udp        0      0 0.0.0.0:42575               0.0.0.0:*                               9945/VBoxHeadless   
udp        0      0 0.0.0.0:57935               0.0.0.0:*                               9945/VBoxHeadless   
udp        0      0 0.0.0.0:56528               0.0.0.0:*                               9945/VBoxHeadless   
udp        0      0 0.0.0.0:57936               0.0.0.0:*                               9945/VBoxHeadless   
udp        0      0 0.0.0.0:34128               0.0.0.0:*                               9945/VBoxHeadless   
udp        0      0 0.0.0.0:35537               0.0.0.0:*                               9945/VBoxHeadless   
udp        0      0 0.0.0.0:58193               0.0.0.0:*                               9945/VBoxHeadless   
udp        0      0 0.0.0.0:49234               0.0.0.0:*                               9945/VBoxHeadless   
udp        0      0 0.0.0.0:46162               0.0.0.0:*                               9945/VBoxHeadless   
udp        0      0 0.0.0.0:40274               0.0.0.0:*                               9945/VBoxHeadless   
udp        0      0 0.0.0.0:49874               0.0.0.0:*                               9945/VBoxHeadless   
udp        0      0 0.0.0.0:38354               0.0.0.0:*                               9945/VBoxHeadless   
udp        0      0 0.0.0.0:41554               0.0.0.0:*                               9945/VBoxHeadless   
udp        0      0 0.0.0.0:38355               0.0.0.0:*                               9945/VBoxHeadless   
udp        0      0 0.0.0.0:38356               0.0.0.0:*                               9945/VBoxHeadless   
udp        0      0 0.0.0.0:41685               0.0.0.0:*                               9945/VBoxHeadless   
udp        0      0 0.0.0.0:43093               0.0.0.0:*                               9945/VBoxHeadless   
udp        0      0 0.0.0.0:36181               0.0.0.0:*                               9945/VBoxHeadless   
udp        0      0 0.0.0.0:42838               0.0.0.0:*                               9945/VBoxHeadless   
udp        0      0 0.0.0.0:35030               0.0.0.0:*                               9945/VBoxHeadless   
udp        0      0 0.0.0.0:57046               0.0.0.0:*                               9945/VBoxHeadless   
udp        0      0 0.0.0.0:44374               0.0.0.0:*                               9945/VBoxHeadless   
udp        0      0 0.0.0.0:35543               0.0.0.0:*                               9945/VBoxHeadless   
udp        0      0 0.0.0.0:42583               0.0.0.0:*                               9945/VBoxHeadless   
udp        0      0 0.0.0.0:38615               0.0.0.0:*                               9945/VBoxHeadless   
udp        0      0 0.0.0.0:46679               0.0.0.0:*                               9945/VBoxHeadless   
udp        0      0 0.0.0.0:54743               0.0.0.0:*                               9945/VBoxHeadless   
udp        0      0 0.0.0.0:59096               0.0.0.0:*                               9945/VBoxHeadless   
udp        0      0 0.0.0.0:34264               0.0.0.0:*                               9945/VBoxHeadless   
udp        0      0 0.0.0.0:60889               0.0.0.0:*                               9945/VBoxHeadless   
udp        0      0 0.0.0.0:53721               0.0.0.0:*                               9945/VBoxHeadless   
udp        0      0 0.0.0.0:39129               0.0.0.0:*                               9945/VBoxHeadless   
udp        0      0 0.0.0.0:46426               0.0.0.0:*                               9945/VBoxHeadless   
udp        0      0 0.0.0.0:48475               0.0.0.0:*                               9945/VBoxHeadless   
udp        0      0 0.0.0.0:58203               0.0.0.0:*                               9945/VBoxHeadless   
udp        0      0 0.0.0.0:45403               0.0.0.0:*                               9945/VBoxHeadless   
udp        0      0 0.0.0.0:38492               0.0.0.0:*                               9945/VBoxHeadless   
udp        0      0 0.0.0.0:40028               0.0.0.0:*                               9945/VBoxHeadless   
udp        0      0 0.0.0.0:60124               0.0.0.0:*                               9945/VBoxHeadless   
udp        0      0 0.0.0.0:57565               0.0.0.0:*                               9945/VBoxHeadless   
udp        0      0 0.0.0.0:53469               0.0.0.0:*                               9945/VBoxHeadless   
udp        0      0 0.0.0.0:44509               0.0.0.0:*                               9945/VBoxHeadless   
udp        0      0 0.0.0.0:58461               0.0.0.0:*                               9945/VBoxHeadless   
udp        0      0 0.0.0.0:56925               0.0.0.0:*                               9945/VBoxHeadless   
udp        0      0 0.0.0.0:33118               0.0.0.0:*                               9945/VBoxHeadless   
udp        0      0 0.0.0.0:55902               0.0.0.0:*                               9945/VBoxHeadless   
udp        0      0 0.0.0.0:50910               0.0.0.0:*                               9945/VBoxHeadless   
udp        0      0 0.0.0.0:40799               0.0.0.0:*                               9945/VBoxHeadless   
udp        0      0 0.0.0.0:45663               0.0.0.0:*                               9945/VBoxHeadless   
udp        0      0 0.0.0.0:44128               0.0.0.0:*                               9945/VBoxHeadless   
udp        0      0 0.0.0.0:34784               0.0.0.0:*                               9945/VBoxHeadless   
udp        0      0 0.0.0.0:53088               0.0.0.0:*                               9945/VBoxHeadless   
udp        0      0 0.0.0.0:45793               0.0.0.0:*                               9945/VBoxHeadless   
udp        0      0 0.0.0.0:37986               0.0.0.0:*                               9945/VBoxHeadless   
udp        0      0 0.0.0.0:42594               0.0.0.0:*                               9945/VBoxHeadless   
udp        0      0 0.0.0.0:57827               0.0.0.0:*                               9945/VBoxHeadless   
udp        0      0 0.0.0.0:37987               0.0.0.0:*                               9945/VBoxHeadless   
udp        0      0 0.0.0.0:52452               0.0.0.0:*                               9945/VBoxHeadless   
udp        0      0 0.0.0.0:46692               0.0.0.0:*                               9945/VBoxHeadless   
udp        0      0 0.0.0.0:44260               0.0.0.0:*                               9945/VBoxHeadless   
udp        0      0 0.0.0.0:44645               0.0.0.0:*                               9945/VBoxHeadless   
udp        0      0 0.0.0.0:49510               0.0.0.0:*                               9945/VBoxHeadless   
udp        0      0 0.0.0.0:37222               0.0.0.0:*                               9945/VBoxHeadless   
udp        0      0 0.0.0.0:33382               0.0.0.0:*                               9945/VBoxHeadless   
udp        0      0 0.0.0.0:58215               0.0.0.0:*                               9945/VBoxHeadless   
udp        0      0 0.0.0.0:57831               0.0.0.0:*                               9945/VBoxHeadless   
udp        0      0 0.0.0.0:36583               0.0.0.0:*                               9945/VBoxHeadless   
udp        0      0 0.0.0.0:51943               0.0.0.0:*                               9945/VBoxHeadless   
udp        0      0 0.0.0.0:40040               0.0.0.0:*                               9945/VBoxHeadless   
udp        0      0 0.0.0.0:58856               0.0.0.0:*                               9945/VBoxHeadless   
udp        0      0 0.0.0.0:48744               0.0.0.0:*                               9945/VBoxHeadless   
udp        0      0 0.0.0.0:59368               0.0.0.0:*                               9945/VBoxHeadless   
udp        0      0 0.0.0.0:42728               0.0.0.0:*                               9945/VBoxHeadless   
udp        0      0 0.0.0.0:48617               0.0.0.0:*                               9945/VBoxHeadless   
udp        0      0 0.0.0.0:51689               0.0.0.0:*                               9945/VBoxHeadless   
udp        0      0 0.0.0.0:38249               0.0.0.0:*                               9945/VBoxHeadless   
udp        0      0 0.0.0.0:55402               0.0.0.0:*                               9945/VBoxHeadless   
udp        0      0 0.0.0.0:36074               0.0.0.0:*                               9945/VBoxHeadless   
udp        0      0 0.0.0.0:50026               0.0.0.0:*                               9945/VBoxHeadless   
udp        0      0 0.0.0.0:58091               0.0.0.0:*                               9945/VBoxHeadless   
udp        0      0 0.0.0.0:35435               0.0.0.0:*                               9945/VBoxHeadless   
udp        0      0 0.0.0.0:33131               0.0.0.0:*                               9945/VBoxHeadless   
udp        0      0 0.0.0.0:40555               0.0.0.0:*                               9945/VBoxHeadless   
udp        0      0 0.0.0.0:52843               0.0.0.0:*                               9945/VBoxHeadless   
udp        0      0 0.0.0.0:44140               0.0.0.0:*                               9945/VBoxHeadless   
udp        0      0 0.0.0.0:55148               0.0.0.0:*                               9945/VBoxHeadless   
udp        0      0 0.0.0.0:53613               0.0.0.0:*                               9945/VBoxHeadless   
udp        0      0 0.0.0.0:42733               0.0.0.0:*                               9945/VBoxHeadless   
udp        0      0 0.0.0.0:52845               0.0.0.0:*                               9945/VBoxHeadless   
udp        0      0 0.0.0.0:57454               0.0.0.0:*                               9945/VBoxHeadless   
udp        0      0 0.0.0.0:40430               0.0.0.0:*                               9945/VBoxHeadless   
udp        0      0 0.0.0.0:54766               0.0.0.0:*                               9945/VBoxHeadless   
udp        0      0 0.0.0.0:35822               0.0.0.0:*                               9945/VBoxHeadless   
udp        0      0 0.0.0.0:55023               0.0.0.0:*                               9945/VBoxHeadless   
udp        0      0 0.0.0.0:50031               0.0.0.0:*                               9945/VBoxHeadless   
udp        0      0 0.0.0.0:34671               0.0.0.0:*                               9945/VBoxHeadless   
udp        0      0 0.0.0.0:48879               0.0.0.0:*                               9945/VBoxHeadless   
udp        0      0 0.0.0.0:49263               0.0.0.0:*                               9945/VBoxHeadless   
udp        0      0 0.0.0.0:60144               0.0.0.0:*                               9945/VBoxHeadless   
udp        0      0 0.0.0.0:54769               0.0.0.0:*                               9945/VBoxHeadless   
udp        0      0 0.0.0.0:42228               0.0.0.0:*                               9945/VBoxHeadless   
udp        0      0 0.0.0.0:45428               0.0.0.0:*                               9945/VBoxHeadless   
udp        0      0 0.0.0.0:52597               0.0.0.0:*                               9945/VBoxHeadless   
udp        0      0 0.0.0.0:45301               0.0.0.0:*                               9945/VBoxHeadless   
udp        0      0 0.0.0.0:49653               0.0.0.0:*                               9945/VBoxHeadless   
udp        0      0 0.0.0.0:43637               0.0.0.0:*                               9945/VBoxHeadless   
udp        0      0 0.0.0.0:56310               0.0.0.0:*                               9945/VBoxHeadless   
udp        0      0 0.0.0.0:33910               0.0.0.0:*                               9945/VBoxHeadless   
udp        0      0 0.0.0.0:44662               0.0.0.0:*                               9945/VBoxHeadless   
udp        0      0 0.0.0.0:50807               0.0.0.0:*                               9945/VBoxHeadless   
udp        0      0 0.0.0.0:49399               0.0.0.0:*                               9945/VBoxHeadless   
udp        0      0 0.0.0.0:40695               0.0.0.0:*                               9945/VBoxHeadless   
udp        0      0 0.0.0.0:38903               0.0.0.0:*                               9945/VBoxHeadless   
udp        0      0 0.0.0.0:41976               0.0.0.0:*                               9945/VBoxHeadless   
udp        0      0 0.0.0.0:49784               0.0.0.0:*                               9945/VBoxHeadless   
udp        0      0 0.0.0.0:32889               0.0.0.0:*                               9945/VBoxHeadless   
udp        0      0 0.0.0.0:43257               0.0.0.0:*                               9945/VBoxHeadless   
udp        0      0 0.0.0.0:35705               0.0.0.0:*                               9945/VBoxHeadless   
udp        0      0 0.0.0.0:52729               0.0.0.0:*                               9945/VBoxHeadless   
udp        0      0 0.0.0.0:35065               0.0.0.0:*                               9945/VBoxHeadless   
udp        0      0 0.0.0.0:53498               0.0.0.0:*                               9945/VBoxHeadless   
udp        0      0 0.0.0.0:54906               0.0.0.0:*                               9945/VBoxHeadless   
udp        0      0 0.0.0.0:45434               0.0.0.0:*                               9945/VBoxHeadless   
udp        0      0 0.0.0.0:43898               0.0.0.0:*                               9945/VBoxHeadless   
udp        0      0 0.0.0.0:43899               0.0.0.0:*                               9945/VBoxHeadless   
udp        0      0 0.0.0.0:50172               0.0.0.0:*                               9945/VBoxHeadless   
udp        0      0 0.0.0.0:53245               0.0.0.0:*                               9945/VBoxHeadless   
udp        0      0 0.0.0.0:44542               0.0.0.0:*                               9945/VBoxHeadless   
udp        0      0 0.0.0.0:40702               0.0.0.0:*                               9945/VBoxHeadless   
udp        0      0 0.0.0.0:43646               0.0.0.0:*                               9945/VBoxHeadless   
udp        0      0 0.0.0.0:60798               0.0.0.0:*                               9945/VBoxHeadless   
udp        0      0 0.0.0.0:39294               0.0.0.0:*                               9945/VBoxHeadless   
udp        0      0 0.0.0.0:39167               0.0.0.0:*                               9945/VBoxHeadless   
udp        0      0 0.0.0.0:54399               0.0.0.0:*                               9945/VBoxHeadless   
udp        0      0 0.0.0.0:57343               0.0.0.0:*                               9945/VBoxHeadless   
raw        0      0 0.0.0.0:1                   0.0.0.0:*                   7           9945/VBoxHeadless   
raw        0      0 0.0.0.0:1                   0.0.0.0:*                   7           3460/VBoxHeadless   
Active UNIX domain sockets (only servers)
Proto RefCnt Flags       Type       State         I-Node PID/Program name    Path
unix  2      [ ACC ]     STREAM     LISTENING     15303988 3396/VBoxXPCOMIPCD  /tmp/.vbox-vboxguests-ipc/ipcd
unix  2      [ ACC ]     STREAM     LISTENING     7614   3841/hald           @/var/run/hald/dbus-tLyOtV9KXX
unix  2      [ ACC ]     STREAM     LISTENING     6277   2558/dbus-daemon    /var/run/dbus/system_bus_socket
unix  2      [ ACC ]     STREAM     LISTENING     7382   3653/acpid          /var/run/acpid.socket
unix  2      [ ACC ]     STREAM     LISTENING     7613   3841/hald           @/var/run/hald/dbus-xlQLQ2Qu9b

The virtualbox machine log files are empty and the host log files do not contain anything relating to virtualbox either

Change History (21)

comment:1 by vasily Levchenko, 13 years ago

Interesting observation. Could you please attach the log file of the session when the issue occurs?

by ndastur, 13 years ago

Attachment: VBox.log.3 added

Logfile as requested.

comment:2 by ache, 13 years ago

I'm seeing the same issue here with VirtualBox 4.1.2 on amd64 Ubuntu lucid kernel 2.6.35. It is completely reproducible for me. The network hang corresponds with the increase in number of udp sockets and unfreezes as soon as the sockets are released, presumably due to timeout.

Before starting VM, netstat -lnup | wc -l = 17. After starting VM and waiting for ~1 minute doing nothing, the same command on the host gives 18. After doing some activity in the guest quickly (some mysql queries), the number of open ports reaches 401. The guest VM network hangs and comes back the moment the number above drops below 401 (e.g. 400). I assume virtualbox is reaching some limit in the maximum number of sockets it can open.

in reply to:  2 comment:3 by vasily Levchenko, 13 years ago

Replying to ache:

I'm seeing the same issue here with VirtualBox 4.1.2 on amd64 Ubuntu lucid kernel 2.6.35. It is completely reproducible for me. The network hang corresponds with the increase in number of udp sockets and unfreezes as soon as the sockets are released, presumably due to timeout.

Before starting VM, netstat -lnup | wc -l = 17. After starting VM and waiting for ~1 minute doing nothing, the same command on the host gives 18. After doing some activity in the guest quickly (some mysql queries), the number of open ports reaches 401. The guest VM network hangs and comes back the moment the number above drops below 401 (e.g. 400). I assume virtualbox is reaching some limit in the maximum number of sockets it can open.

Thanks for description. So in you case this is "mysql queries", right? But does it mean that you open ~400 connection and do ~400 queries, or you open 1 connection and do ~400 queries?

in reply to:  2 comment:4 by vasily Levchenko, 13 years ago

Replying to ndastur: Thanks for log, what application you're running inside the guest?

comment:5 by ache, 13 years ago

Some more testing. The same VM on a similar 32-bit host system does not seem to have this problem. mysql is irrelevant to the problem. I've reproduced the problem using a vanilla lucid32 base, installing ruby on rails, creating a default vanilla rails application, running the rails server, and connecting to it from the host. Continually reloading the web page from the host will cause the number of open ports to increase until the network hangs.

in reply to:  5 comment:6 by vasily Levchenko, 13 years ago

Replying to ache:

Some more testing. The same VM on a similar 32-bit host system does not seem to have this problem. mysql is irrelevant to the problem. I've reproduced the problem using a vanilla lucid32 base, installing ruby on rails, creating a default vanilla rails application, running the rails server, and connecting to it from the host. Continually reloading the web page from the host will cause the number of open ports to increase until the network hangs.

Can I borrow your vm? If yes, please export it to ova and drop me mail on [vasily _dot_ levchenko _at_ oracle _dot_ com] I'll send you instructions how to deliver vm image to us.

comment:7 by ache, 13 years ago

My network connection isn't so great to send the whole image, but I can provide detailed instructions or script to run on a vanilla lucid box. Also, I was wrong before. The same problem does show up on a 32-bit host linux system. And it also showed up on two OS X machines. Here's also a much easier way to reproduce the problem. Start with vanilla lucid box. wget some random file, I used wget "http://download.virtualbox.org/virtualbox/4.1.2/virtualbox-4.1_4.1.2-73507~Ubuntu~natty_amd64.deb". Ctrl-C it. Repeat. Each time you do this, the number of listening ports increases (4 for me). It's much harder to reach the limit this way but this should be enough to figure out why those extra listening ports are being created.

comment:8 by ache, 13 years ago

I should clarify that the wget is being run inside the guest VM and the number of listening ports on the host increases.

in reply to:  8 comment:9 by vasily Levchenko, 13 years ago

Replying to ache:

I should clarify that the wget is being run inside the guest VM and the number of listening ports on the host increases.

Well, it's acceptable behavior for TCP connections, while initial reporter has mentioned UDP.

comment:10 by ache, 13 years ago

I am referring to UDP. Running wget inside the guest causes the number of listening UDP ports on the host to increase.

in reply to:  10 comment:11 by vasily Levchenko, 13 years ago

Replying to ache:

I am referring to UDP. Running wget inside the guest causes the number of listening UDP ports on the host to increase.

Hm interesting, it should be DNS only, but why listening.

comment:12 by ndastur, 13 years ago

Looking though the comments above it probably doesn't matter any more but I'm running a LAMP setup in the guest. Both host and guest are CentOS 5.6 I will try the above, but for me seems to be related to external SSL connections coming into the guest machine.

Also: Is there anyway to "track" a ticket with email notifications. I only saw all this when checking back to see progess

in reply to:  12 comment:13 by ndastur, 13 years ago

Replying to ndastur:

Looking though the comments above it probably doesn't matter any more but I'm running a LAMP setup in the guest. Both host and guest are CentOS 5.6

Sorry I should also have said they are both the 64bit version

comment:14 by ache, 13 years ago

bug still present in v4.1.4

comment:15 by Frank Mehnert, 12 years ago

Does changing the chipset type from ICH9 to PIIX3 change anything?

comment:16 by ache, 12 years ago

I'm already using PIIX3

comment:17 by Seb, 12 years ago

Hi there,

I have the same issue with a 32bit Windows XP host and a 64 bit ubuntu oneiric guest.

I'm not sure whether it is related, but even existing TCP connections through the NAT disconnect for me once the 400 UDP ports are open. It is 100% reproducible for me when I try to ping a host through the NAT. However, I believe that it is not the pinging that's the issue but rather the resulting reverse DNS queries.

So for example, I start an xterm in the guest that displays on the host through the NAT (seems to the Xserver on the host to be a localhost connection). Then I start a ping www.google.co.nz in that xterm. The ping gets to request 102 then the xterm becomes unresponsive. A netstat -a in a windows command prompt shows about 400 open UDP ports. A short while later the Xwindow vanishes (Xserver timeout).

My VBox version is 4.1.8.

Seb

comment:18 by Seb, 12 years ago

Just an update to my last post in case anybody else runs into this.

I'm convinced by now that this would be triggered by any program in the guest that rapidly sends UDP packets from many different source ports. VirtualBox has to open a socket for each one on the host and since UDP isn't connection oriented, VirtualBox doesn't know when the application in the guest is done and has closed its socket. So VB has to keep the host socket open until it has seen no traffic for a certain time (seems to be in the order of minutes). The problem is, if VB exhausts its max open sockets limit it starts behaving very erratically. Ideally it should start closing UDP sockets in an LRU order, but I think it simply hangs trying to open the new socket which causes all sorts of issues (including the TCP connection drops I've described in my last post).

Now, the one app that is very prone to behaving exactly like that are DNS resolvers in libc. They fire off a new DNS query on a new port every time a name needs to be looked up.

Knowing this, I have worked around this VB Nat problem, by installing both resolvconf (from ubuntu precise! the oneiric one has a bug) and dnsmasq and adding the line query-port=0 to /etc/dnsmasq.conf. This has the effect of channeling all DNS queries from the VM through dnsmasq and using a single UDP 'connection' from dnsmasq to the upstream DNS server(s).

So far I haven't had a single glitch since.

comment:19 by ache, 12 years ago

I can confirm that Seb's solution gets around the issue. Thanks!

comment:20 by vasily Levchenko, 12 years ago

Description: modified (diff)

Does

VBoxManage modifyvm <your-vm> --natdnshostresolver1 on

or

VBoxManage modifyvm <your-vm> --natdnsproxy1 on

solve issue caused by DNS guest activity?

Last edited 12 years ago by Frank Mehnert (previous) (diff)
Note: See TracTickets for help on using tickets.

© 2023 Oracle
ContactPrivacy policyTerms of Use