History log of /vbox/src/VBox/Main/src-server/win/HostDnsServiceWin.cpp
Revision Date Author Comments Expand
a6ecd30c53f19c918ea045fa0cc632a68584e7a8 55224 13-Apr-2015 vboxsync

Main/HostDnsService: fix fallout from previous (r99529).

0fb953df159d21121359ff648e0ad4c3cb55a1cb 55085 02-Apr-2015 vboxsync

Main/HostDnsService: registry updates for multiple values are not atomic, so wait a bit after registry notification to avoid racing and reading partial update.

09fa98db5951e4a47e2f5dbfbef465a56a43c5c7 54662 06-Mar-2015 vboxsync

Main/HostDnsService: instead of keeping fragile state g/c notifyAll() and just notify proxy directly from setInfo() when info changed.

2b114c590cf5a19f8047cd7bde9c7e5ae00aa22b 53624 31-Dec-2014 vboxsync

scm automatic cleanups.

/vbox/.scm-settings /vbox/Config.kmk /vbox/include/VBox/shflsvc.h /vbox/include/iprt/asn1-generator-sanity.h /vbox/include/iprt/avl.h /vbox/include/iprt/cpp/ministring.h /vbox/include/iprt/crypto/rsa.h /vbox/include/iprt/crypto/tsp.h /vbox/src/VBox/Additions/WINNT/Graphics/Video/mp/Makefile.kmk /vbox/src/VBox/Additions/linux/Makefile.kmk /vbox/src/VBox/Additions/solaris/SharedFolders/vboxfs_prov.h /vbox/src/VBox/Additions/solaris/SharedFolders/vboxfs_vfs.c /vbox/src/VBox/Additions/x11/VBoxClient/clipboard.cpp /vbox/src/VBox/Additions/x11/VBoxClient/display.cpp /vbox/src/VBox/Additions/x11/VBoxClient/draganddrop.cpp /vbox/src/VBox/Additions/x11/VBoxClient/hostversion.cpp /vbox/src/VBox/Additions/x11/VBoxClient/main.cpp /vbox/src/VBox/Additions/x11/VBoxClient/seamless.cpp /vbox/src/VBox/Additions/x11/VBoxClient/seamless.h /vbox/src/VBox/Additions/x11/vboxvideo/getmode.c /vbox/src/VBox/Devices/Audio/DevIchAc97.cpp /vbox/src/VBox/Devices/Audio/DevIchHda.cpp /vbox/src/VBox/Devices/Audio/DrvAudio.cpp /vbox/src/VBox/Devices/Audio/DrvHostOSSAudio.cpp /vbox/src/VBox/Devices/Graphics/DevVGA-SVGA.cpp /vbox/src/VBox/Devices/Graphics/DevVGA-SVGA3d-ogl.cpp /vbox/src/VBox/Devices/Graphics/DevVGA-SVGA3d-shared.cpp /vbox/src/VBox/Devices/Graphics/DevVGA-SVGA3d-shared.h /vbox/src/VBox/Devices/Graphics/DevVGA-SVGA3d-win.cpp /vbox/src/VBox/Devices/Network/DevE1000.cpp /vbox/src/VBox/Devices/Network/SrvIntNetR0.cpp /vbox/src/VBox/Devices/Network/lwip-new/vbox/VBoxLwipCore.cpp /vbox/src/VBox/Devices/Network/lwip-new/vbox/VBoxLwipCore.h /vbox/src/VBox/Devices/Network/lwip-new/vbox/include/arch/cc.h /vbox/src/VBox/Devices/Network/lwip-new/vbox/include/lwip-namespace.h /vbox/src/VBox/Devices/Network/lwip-new/vbox/sys_arch.c /vbox/src/VBox/Devices/Network/lwipopts.h /vbox/src/VBox/Devices/Network/scripts/VBoxPortForwarding.py /vbox/src/VBox/Devices/Network/slirp/bootp.c /vbox/src/VBox/Devices/Network/slirp/dnsproxy/dnsproxy.h /vbox/src/VBox/Devices/Network/slirp/ip_icmpwin.c /vbox/src/VBox/Devices/Network/slirp/libslirp.h /vbox/src/VBox/Devices/Network/slirp/resolv_conf_parser.c /vbox/src/VBox/Devices/Network/slirp/resolv_conf_parser.h /vbox/src/VBox/Devices/Network/slirp/slirp.c /vbox/src/VBox/Devices/Network/slirp/slirp_dns.c /vbox/src/VBox/Devices/Network/slirp/slirp_state.h /vbox/src/VBox/Devices/Network/slirp/socket.c /vbox/src/VBox/Devices/PC/BIOS/floppy.c /vbox/src/VBox/Devices/Storage/DrvBlock.cpp /vbox/src/VBox/Devices/Storage/VSCSI/VSCSIInternal.h /vbox/src/VBox/Devices/USB/usbip/USBProxyDevice-usbip.cpp /vbox/src/VBox/Devices/build/VBoxDD.cpp /vbox/src/VBox/Devices/testcase/tstDeviceStructSizeRC.cpp /vbox/src/VBox/Frontends/VBoxManage/VBoxManageSnapshot.cpp /vbox/src/VBox/Frontends/VBoxSDL/VBoxSDL.cpp /vbox/src/VBox/Frontends/VBoxShell/vboxshell.py /vbox/src/VBox/Frontends/VirtualBox/src/platform/win/WinKeyboard.cpp /vbox/src/VBox/Frontends/VirtualBox/src/runtime/UIKeyboardHandler.cpp /vbox/src/VBox/Frontends/VirtualBox/src/runtime/UIMachineLogic.cpp /vbox/src/VBox/HostDrivers/Support/SUPLibLdr.cpp /vbox/src/VBox/HostDrivers/VBoxNetFlt/Makefile.kmk /vbox/src/VBox/HostDrivers/VBoxNetFlt/win/ndis6/VBoxNetAdp-win.cpp /vbox/src/VBox/HostDrivers/VBoxNetFlt/win/ndis6/VBoxNetLwf-win.cpp /vbox/src/VBox/HostServices/SharedClipboard/service.cpp /vbox/src/VBox/Installer/linux/install_service/init_template.sh /vbox/src/VBox/Installer/linux/install_service/install_service.sh /vbox/src/VBox/Installer/linux/testcase/tstInstallInit.sh /vbox/src/VBox/Main/Config.kmk /vbox/src/VBox/Main/include/QMTranslator.h /vbox/src/VBox/Main/src-client/RemoteUSBDeviceImpl.cpp /vbox/src/VBox/Main/src-server/HostDnsServiceResolvConf.cpp HostDnsServiceWin.cpp /vbox/src/VBox/Main/webservice/samples/python/clienttest.py /vbox/src/VBox/NetworkServices/NAT/lwipopts.h /vbox/src/VBox/NetworkServices/NAT/portfwd.c /vbox/src/VBox/NetworkServices/NAT/proxy.c /vbox/src/VBox/NetworkServices/NAT/pxdns.c /vbox/src/VBox/NetworkServices/NAT/pxping.c /vbox/src/VBox/NetworkServices/NAT/pxping_win.c /vbox/src/VBox/NetworkServices/NAT/pxtcp.c /vbox/src/VBox/NetworkServices/NAT/winutils.h /vbox/src/VBox/Runtime/common/asn1/asn1-ut-time-template.h /vbox/src/VBox/Runtime/common/checksum/alt-sha1.cpp /vbox/src/VBox/Runtime/common/checksum/openssl-sha512.cpp /vbox/src/VBox/Runtime/common/checksum/x509.cpp /vbox/src/VBox/Runtime/common/crypto/pkcs7-init.cpp /vbox/src/VBox/Runtime/common/crypto/pkix-signature-builtin.cpp /vbox/src/VBox/Runtime/common/crypto/rsa-internal.h /vbox/src/VBox/Runtime/common/crypto/rsa-template.h /vbox/src/VBox/Runtime/common/crypto/spc-init.cpp /vbox/src/VBox/Runtime/common/crypto/spc-sanity.cpp /vbox/src/VBox/Runtime/common/crypto/tsp-core.cpp /vbox/src/VBox/Runtime/common/crypto/tsp-sanity.cpp /vbox/src/VBox/Runtime/common/crypto/x509-core.cpp /vbox/src/VBox/Runtime/common/ldr/Makefile.kup /vbox/src/VBox/Runtime/common/net/netaddrstr2.cpp /vbox/src/VBox/Runtime/common/string/unidata-flags.cpp /vbox/src/VBox/Runtime/common/string/unidata-lower.cpp /vbox/src/VBox/Runtime/common/string/unidata-upper.cpp /vbox/src/VBox/Runtime/common/zip/pkzipvfs.cpp /vbox/src/VBox/Runtime/common/zip/tarvfs.cpp /vbox/src/VBox/Runtime/common/zip/unzipcmd.cpp /vbox/src/VBox/Runtime/r3/socket.cpp /vbox/src/VBox/Runtime/r3/win/process-win.cpp /vbox/src/VBox/Runtime/testcase/tstRTZip.cpp /vbox/src/VBox/Storage/VD.cpp /vbox/src/VBox/VMM/VMMR0/CPUMR0.cpp /vbox/src/VBox/VMM/VMMR3/PDMUsb.cpp /vbox/src/VBox/VMM/VMMR3/cpus/AMD_Athlon_64_3200.h /vbox/src/VBox/VMM/VMMR3/cpus/AMD_FX_8150_Eight_Core.h /vbox/src/VBox/VMM/VMMR3/cpus/AMD_Phenom_II_X6_1100T.h /vbox/src/VBox/VMM/VMMR3/cpus/Intel_Core_i5_3570.h /vbox/src/VBox/VMM/VMMR3/cpus/Intel_Core_i7_2635QM.h /vbox/src/VBox/VMM/VMMR3/cpus/Intel_Core_i7_3820QM.h /vbox/src/VBox/VMM/VMMR3/cpus/Intel_Core_i7_3960X.h /vbox/src/VBox/VMM/VMMR3/cpus/Intel_Pentium_4_3_00GHz.h /vbox/src/VBox/VMM/VMMR3/cpus/Intel_Pentium_M_processor_2_00GHz.h /vbox/src/VBox/VMM/VMMR3/cpus/Intel_Xeon_X5482_3_20GHz.h /vbox/src/VBox/VMM/VMMR3/cpus/Quad_Core_AMD_Opteron_2384.h /vbox/src/VBox/VMM/VMMR3/cpus/VIA_QuadCore_L4700_1_2_GHz.h /vbox/src/VBox/ValidationKit/testdriver/win-vbox-net-drvstore-cleanup.ps1 /vbox/src/VBox/ValidationKit/testdriver/win-vbox-net-uninstall.ps1 /vbox/src/VBox/ValidationKit/testmanager/webui/wuihlpgraphgooglechart.py /vbox/src/VBox/ValidationKit/testmanager/webui/wuihlpgraphmatplotlib.py /vbox/src/VBox/ValidationKit/testmanager/webui/wuihlpgraphsimple.py /vbox/src/recompiler/target-i386/exec.h /vbox/src/recompiler/target-i386/op_helper.c
1c4e90385ee797af9a47c1e4c5e727865a813bc5 53242 05-Nov-2014 vboxsync

Main/HostDnsService: Tcpip\Parameters\NameServer value is not updated when the list of name servers is statically configured, so don't inspect NameServer and DhcpNameServer directly - instead use DnsQueryConfig(DnsConfigDnsServerList, ...) from DnsAPI.dll

2d38607d73f5000c2e0913e1a896a8478a5fa1d7 53165 29-Oct-2014 vboxsync

Main/HostDnsService: brush up old Windows code. In general no functional change is intended, but make search list handling follow Windows behavior.

510229a86fcdcdf2eb0b9540e2981460eab322d5 53159 28-Oct-2014 vboxsync

Main/HostDnsService: revert windows code back to r91891. The rewrite in r96327 is wrong. I can't seem to find any paper trail for what was the problem with the original code, but at least it monitors the right place in the registry.

b1c0100f7504f8b8be1f75cfc67a7537ff75408c 53154 27-Oct-2014 vboxsync

Spell "changed" correctly in an identifier.

735076496e14763dcdef4b43202e7665d4a8da43 53151 27-Oct-2014 vboxsync

Main/HostDnsService: bring back Windows changes of r96331 but with plain std::string in HostDnsInformation and using explicit Unicode API and wchar_t when dealing with registry (we always compile with -DUNICODE, so no need for TCHAR shim). No changes to the original except minor const correctness tweaks.

510b14148124a664875cdb3a996433bd92c9324e 53122 22-Oct-2014 vboxsync

Main/HostDnsService: revert r96327 and follow-up r96329 and r96331 to revert conversion of HostDnsInformation to Unicode. HostDnsServiceWin.cpp behavioral changes will be redone as a separate commit against old definition of HostDnsInformation. Intervening SafeArray cleanup in r96372 is preserved, hopefully without errors. Please review.

bca22f037c4fa4df62f7244c27686c0a491821b8 52900 30-Sep-2014 vboxsync

Main: HostDnsMonitor for Windows: remove extra spaces.

75db06bb2439280f956fee47d8a499d4169d4872 52899 30-Sep-2014 vboxsync

Main: HosDnsMonitor for Windows: fix event indexes handling.

63fdb92b88f31446f6ea53241c0d127677c71c7e 52897 30-Sep-2014 vboxsync

Main: DnsMonitorService: step on unicode rails: store network configuration in unicode-compatible containner (std::wstring) (preliminary tested on Linux, Mac and Windows); DnsMonitorService for Windows: reworked in order to subscribe to correct events and filter-out those ones we don't interested in. (Experimantal, needs more testing and review).

dbbd0cae65188dffbd927bdde2d88cbeec2e26da 50263 28-Jan-2014 vboxsync

Main/HostDnsService: - Generic part could be used with threading on or off: OS which can monitor changes on DNS structures might need this (e.g. Windows, Darwin, Linux) - ResolvConf based (Linux, Solaris, FreeBSD ans Os/2) doesn't use scanf based resovl.conf parsing new Slirp's parser used instead. It's configured to provide strings instead of addresses. (to resolve xtracker/7034c2) - Darwin monitoring code has been refactored. - linux changed to handle cases described in xtracker/7034c3 - Windows monitors changes on register changes.

9f52526783f7b74ada6fcc1d8ba7916c6a144783 49445 12-Nov-2013 vboxsync

Main/HostDnsServiceWin: use sizeof() here

4240a598ac2cb22c56027b5bca5a25ef9f166461 49444 12-Nov-2013 vboxsync

Main/HostDnsServiceWin: initlialization of local variables in HostDnsServiceWin::updateInfo(): abDomain, abNameServers, abSearchList.

cf3059114e5c5c6ed5c8308b1ec759377fb5b885 49241 22-Oct-2013 vboxsync

Main/HostDnsServiceWin.cpp: cast-hummer (char *)BYTE.

0faefdb9edd752514d5dfed8353118e47e57f0eb 49240 22-Oct-2013 vboxsync

Main/HostDnsServiceWin: Monitoring code dont need VirtualBox obj (aParent)

e9745a6011708caa5cf92ce0eb03496c0a76b7ed 49239 22-Oct-2013 vboxsync

Main/HostDnsServiceWin.cpp: update->updateInfo

7a0e5c38eeca5147034ace6fe624de57ac2988dd 49236 22-Oct-2013 vboxsync

Main/HostDnsServiceWin.cpp: Attemp of Windows build fix.

3f2299591cfeb8a37a3578bef9c44c1790860948 49235 22-Oct-2013 vboxsync

Main/HostDnsService: splits HostDnsService on "singleton" HostDnsMonitor which monitors host changes and share DnsInformation to per HostImpl/VirtualBoxImpl objects HostDnsMonitorProxy. TODO: Win/Darwin parts might burn (not tested) TODO: find good place to call HostDnsMonitor::shutdown() to stop monitoring thread. (ref counting could be used on HostDnsMonitor::addMonitorProxy and HostDnsMonitor::releaseMonitorProxy, but it better to pausing monitoring on no --auto-shutdown launches of VBoxSVC).

8dfc5e89cd3421bb0602f33768f00c1f1d40b1d2 48955 07-Oct-2013 vboxsync

Main: Whitespace (including tabs!) and svn:keywords cleanups by scm.

/vbox/src/VBox/Main/include/ApplianceImpl.h /vbox/src/VBox/Main/include/ApplianceImplPrivate.h /vbox/src/VBox/Main/include/DHCPServerImpl.h /vbox/src/VBox/Main/include/DisplayImpl.h /vbox/src/VBox/Main/include/EmulatedUSBImpl.h /vbox/src/VBox/Main/include/HostVideoInputDeviceImpl.h /vbox/src/VBox/Main/include/Performance.h /vbox/src/VBox/Main/include/TokenImpl.h /vbox/src/VBox/Main/include/VirtualBoxImpl.h /vbox/src/VBox/Main/include/ovfreader.h /vbox/src/VBox/Main/src-client/RemoteUSBBackend.cpp /vbox/src/VBox/Main/src-server/ApplianceImplExport.cpp /vbox/src/VBox/Main/src-server/ApplianceImplIO.cpp /vbox/src/VBox/Main/src-server/ApplianceImplImport.cpp /vbox/src/VBox/Main/src-server/HostDnsService.cpp /vbox/src/VBox/Main/src-server/HostDnsService.h /vbox/src/VBox/Main/src-server/HostDnsServiceResolvConf.cpp /vbox/src/VBox/Main/src-server/HostImpl.cpp /vbox/src/VBox/Main/src-server/MachineImplCloneVM.cpp /vbox/src/VBox/Main/src-server/NATNetworkImpl.cpp /vbox/src/VBox/Main/src-server/NATNetworkServiceRunner.cpp /vbox/src/VBox/Main/src-server/NetworkAdapterImpl.cpp /vbox/src/VBox/Main/src-server/Performance.cpp /vbox/src/VBox/Main/src-server/VirtualBoxImpl.cpp /vbox/src/VBox/Main/src-server/darwin/HostDnsServiceDarwin.cpp /vbox/src/VBox/Main/src-server/linux/NetIf-linux.cpp /vbox/src/VBox/Main/src-server/linux/USBGetDevices.cpp HostDnsServiceWin.cpp /vbox/src/VBox/Main/testcase/tstAPI.cpp /vbox/src/VBox/Main/testcase/tstMediumLock.cpp
5218e94d899f948d3def7109e05a93fc6d590037 48805 02-Oct-2013 vboxsync

Main: HostDnsServiceWin::init(void) -> HostDnsServiceWin::init(const VirtualBox *aParent) and firing event on update.

18b1f1bb3429f8bfc1a52cfaeb2445e9fb1f55cd 48330 06-Sep-2013 vboxsync

Main/DNS: general host specific DNS and Co handling added. Darwin implementation has self-update mechanism, for other hosts it's in todo list.