VirtualBox

Opened 13 years ago

Closed 13 years ago

#9265 closed defect (fixed)

Setting NAT network to one with a mask that's >= 28 bits (e.g. /28) causes segfault in VBoxDD.so => Fixed in SVN

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

Description

I'm setting up a test environment to test a pfsense firewall configuration and one of the networks has a netmask of /28 - I did a quick test and up to /27 is fine, but any number greater and it crashes.

E.g. if I do:

VBoxManage modifyvm "PFSenseTest" --natnet1 "192.0.2.0/28"

The virtual machine fails to start and I see on the console e.g.:

[1369291.312959] VirtualBox[3275]: segfault at 44 ip 00007f5ba36a2f84 sp 00007f5ba5c8c680 error 4 in VBoxDD.so[7f5ba35c9000+223000]

If I used /27 instead then everything starts up ok.

I see from looking at http://www.virtualbox.org/manual/ch09.html#changenat that the host is allocated what looks like +15 from the network address, which in this case of /27 would be the broadcast address - that may be unrelated to the crash, but I figured it an observation worth making.

Change History (2)

comment:1 by Frank Mehnert, 13 years ago

Summary: Setting NAT network to one with a mask that's >= 28 bits (e.g. /28) causes segfault in VBoxDD.soSetting NAT network to one with a mask that's >= 28 bits (e.g. /28) causes segfault in VBoxDD.so => Fixed in SVN

Thanks for the report. This problem will be fixed in the next maintenance release.

comment:2 by Frank Mehnert, 13 years ago

Resolution: fixed
Status: newclosed

Fix included in VBox 4.1.2 and later.

Note: See TracTickets for help on using tickets.

© 2023 Oracle
ContactPrivacy policyTerms of Use