History log of /vbox/src/VBox/NetworkServices/NAT/pxtcp.c
Revision Date Author Comments Expand
23bcfa32fddbe29a8c4c40d3bcfa4693a555c177 54124 10-Feb-2015 vboxsync

NAT/Network: Add missing Id/@file/copyright headers.

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 /vbox/src/VBox/Main/src-server/win/HostDnsServiceWin.cpp /vbox/src/VBox/Main/webservice/samples/python/clienttest.py lwipopts.h portfwd.c proxy.c pxdns.c pxping.c pxping_win.c pxtcp.c 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
55c911fa5b506f1ad0d316dcffb441e2fbcf97f9 52650 09-Sep-2014 vboxsync

NAT/Net: pxtcp_pmgr_connect: Solaris doesn't report either POLLERR or POLLHUP for failed connect(2). Refactor code to always check SO_ERROR on Solaris so that we can reject failed connection attempt immediately instead of accepting it only to reset on the first socket operation.

7ab47b96268d2f9deec494cfc079642eb4df6c01 52287 06-Aug-2014 vboxsync

NAT/Net: Convert couple of missed checks to SOCKET_ERROR.

c9a29e9920de0f22f5385839ce14d2683ff87ab1 52284 05-Aug-2014 vboxsync

NAT Network: On Windows FD_CLOSE is reported for incoming FIN, not on full close, so define HAVE_TCP_POLLHUP accordingly.

84f02d62ffe92f79ec67dc9329b1a180ef339b9a 52008 13-Jul-2014 vboxsync

NAT/Net: Fix corner case of incorrect wraparound in ring buffer logic that may lead to loss of data.

336abf709b664cf025b12d41a0970c332e21b0c2 51974 10-Jul-2014 vboxsync

NAT/Net: Careful with that DWORD... It's unsigned, so assigning negative values to it is a bad idea, especially when a coercion to a wider signed type is about to happen. While here, don't test that DWORD values are <= 0, just test for zero instead. In particulat this fixes returning socket errors from pxtcp_sock_recv() and pxtcp_sock_send() wrappers on Windows.

b2a66dc0de65e17b0eb608b5bdd450286922ff61 51681 21-Jun-2014 vboxsync

NAT/Net: Solaris doesn't report POLLHUP for TCP sockets.

580b8f74ac39ad148a0c86ef7ac88c70dacf5922 51674 19-Jun-2014 vboxsync

NAT/Net: OS X reports POLLHUP when inbound closes, not when both sides are closed. Co-opt existing !HAVE_TCP_POLLHUP code written for NetBSD (where POLLHUP is never reported) to handle the case then inbound closes first. Makes inbound half-close work on OS X. Otherwise almost the same object code is generated, modulo trivial changes (exactly the same without them).

6e13ac42db24a89a0856c32fd2a192ba51bc49c4 51608 12-Jun-2014 vboxsync

NAT/Net: return negated errno from pxtcp_sock_recv()/pxtcp_sock_send() on error.

f9b7c399f212857656a229cce0d8335ab16798ec 51584 10-Jun-2014 vboxsync

NAT/Net: Hide checking for transient errors (EWOULDBLOCK &co) in an inline function to prevent #ifdef sprawl.

d5a9ad32d75e5aff807a76bffa77c8ebb6bbc308 51581 10-Jun-2014 vboxsync

NAT/Net: Start untangling errno vs. winsock mess. Don't refer errno directly, while here convert some perror() calls to DPRINTFs.

1c08b0ec28ca5c600c21c0ab5a53cae73f1c821d 51574 08-Jun-2014 vboxsync

NAT/Net: #define LOG_GROUP LOG_GROUP_NAT_SERVICE

660c5f59fd5949889bb8e13dc2feb93c2564a458 51332 22-May-2014 vboxsync

pxtcp_pcb_forward_outbound: move code to do sendmsg/WSASend to a separate function.

0e88d7d151e0778ad7b184c147b77f71db761599 51300 20-May-2014 vboxsync

pxtcp_sock_read: move code to do recvmsg/WSARecv to a separate function.

2bb28793306b866a6a07d0c7f97fa4cae1c3e3c7 49399 06-Nov-2013 vboxsync

Fix indentation.

de9350dcbc7b09d2b0b74c147153414a3c72bb1f 49398 06-Nov-2013 vboxsync

G/c leftover DPRINTFs for closesocket().

1dfaee10ae17359dff1dc2f3ed06fcf6fa2b3751 49203 21-Oct-2013 vboxsync

pxtcp_pmgr_chan_pollin: don't request POLLIN on the socket if we have already received EOF while the message was in transit.

f0c792e78a8bf77c28c7814441e514bea7c5362b 49016 10-Oct-2013 vboxsync

Change vestigial names proxytest.* to proxy.*

d5b5f09d8841828e647de9da5003fda55ca4cd5e 48956 08-Oct-2013 vboxsync

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

728c9caa0ba62c9738e7d36069968f5a9db27a3e 48438 11-Sep-2013 vboxsync

Check for PXREMAP_FAILED now that it can actually happen.

3529bf62b791dbf9c1d611cf6266d0911a073c48 48238 03-Sep-2013 vboxsync

pxtcp_pmgr_connect: delete forgotten old code for handling POLLNVAL, the new, right one is just below.

a218a3f92594b5f2beb9c8298c6fe6e3a8e502f8 48001 22-Aug-2013 vboxsync

Move proxy sources from Devices/Network/lwip-new/vbox to NetworkServices/NAT where they belong.