1
0
mirror of https://github.com/solemnwarning/ipxwrapper synced 2024-12-30 16:45:37 +01:00

Commit Graph

  • 11af1ba5d5 Added call handling to router code Daniel Collins 2011-09-09 17:38:57 +00:00
  • 6d6ac5f2c3 Listen for and accept/close client connections in router code. Daniel Collins 2011-09-09 15:50:55 +00:00
  • 8928ae23cc Missed a line in last commit. Daniel Collins 2011-09-09 00:59:16 +00:00
  • 6f4bfb78f5 Updated Makefile to build with debug symbols when DEBUG is set, strip otherwise. Daniel Collins 2011-09-09 00:56:25 +00:00
  • 8e5b68ab49 Fixed typo, tried to use NULL pointer. Daniel Collins 2011-09-09 00:45:16 +00:00
  • 81ebe2191d Added standalone router executable, currently useless since the router code doesn't support running in another process. Daniel Collins 2011-09-08 23:28:36 +00:00
  • 6e94ae1a6b Fixed bugs in thread termination code. Daniel Collins 2011-09-08 23:00:52 +00:00
  • f837ac123d Continued DirectPlay code tweaks Daniel Collins 2011-09-08 22:23:00 +00:00
  • 431d0b8047 Began cleanup/overhaul of DirectPlay service provider. Removed last of the "extended bind" kludge implemented for previous code. Daniel Collins 2011-09-08 18:42:27 +00:00
  • b1828e0958 Implemented proper SO_REUSEADDR support and fixed getsockopt to return proper value when SOL_SOCKET/SO_BROADCAST is requested. Daniel Collins 2011-09-08 18:28:01 +00:00
  • 48b141d7e9 Updated changelog. Daniel Collins 2011-09-08 00:43:45 +00:00
  • b3d911abea Partial cleanup of locking code. Daniel Collins 2011-09-08 00:20:34 +00:00
  • eec97eee76 Use service provider GUID defined in dplay.h. Daniel Collins 2011-09-07 23:37:57 +00:00
  • 3c9d1870c8 Merged EnumProtocolsA and EnumProtocolsW into a single function. Daniel Collins 2011-09-07 23:29:14 +00:00
  • dd1a6d3b02 Cleaned up some winsock includes, changed EnumProtocolsW to use correct PROTOCOL_INFO structure. Daniel Collins 2011-09-07 23:03:14 +00:00
  • 0b73241fe8 Check packet size and cache source IP in recv_packet. Destination network number is replaced with the source IP of the packet by the router thread. Daniel Collins 2011-09-07 20:37:18 +00:00
  • d046b6522d Switchover to new router code Daniel Collins 2011-09-07 20:03:16 +00:00
  • 37e9db8fba New router code on verge of completion Daniel Collins 2011-08-29 13:58:45 +00:00
  • bcbaea33c4 New router code nearing completion. Daniel Collins 2011-08-29 13:41:10 +00:00
  • 2674e3356f More code cleanup and a couple of files I forgot to add last commit. Daniel Collins 2011-08-29 13:21:18 +00:00
  • 8b1c53e0bd More code cleanup Daniel Collins 2011-08-29 13:15:10 +00:00
  • 1a54e5208d More work on new router code. Daniel Collins 2011-08-29 10:57:19 +00:00
  • 9f62a21b30 Started rewrite of router code to be isolated from the rest of IPXWrapper. Daniel Collins 2011-08-29 10:03:58 +00:00
  • bca5c8f978 Only update sp_data.ns_addr in IPX_Reply when idNameServer changes. Daniel Collins 2011-08-28 21:39:51 +00:00
  • 2b1fe00e13 Updated SRC_FILES. Daniel Collins 2011-08-28 21:31:19 +00:00
  • bbfbcb79cd Lots of code cleanup. Daniel Collins 2011-08-28 21:27:06 +00:00
  • 8a46fa60f6 Added DirectPlay source files to SRC_FILES. Daniel Collins 2011-08-28 19:00:04 +00:00
  • 4bbf47721c Cleaned up error handling a bit and changed DirectPlay discovery socket number. Daniel Collins 2011-08-28 18:49:37 +00:00
  • e5271a3df6 Added (very) experimental DirectPlay support. Daniel Collins 2011-08-28 15:56:05 +00:00
  • 14e7e08dda Added 0.2.2 release tag. ipxwrapper-0.2.2 Daniel Collins 2011-08-22 07:12:51 +00:00
  • bfa611ae6e Correctly terminate strings in stub DLLs. Daniel Collins 2011-08-12 01:12:10 +00:00
  • adfdff8fb7 Log DLL and function names in ipxwrapper.log instead of seperate log file. Daniel Collins 2011-08-11 20:36:35 +00:00
  • d3adf8efef Added missing exports to wsock32.dll/mswsock.dll and tweaked Makefile. Daniel Collins 2011-08-10 01:44:13 +00:00
  • e017c98ffd Highlight text boxes with invalid values. Daniel Collins 2011-08-06 16:35:03 +00:00
  • 8f97a8b8ad Fixed logic error from r76. Daniel Collins 2011-08-06 16:23:43 +00:00
  • 5f06b2250c Correctly order interfaces when first interface has the force primary flag set. Daniel Collins 2011-08-06 16:18:44 +00:00
  • 1e71883c3e Removed "Settings saved successfully" dialog and cleaned up registry code. Registry key will only be created if necessary upon saving the configuration. Daniel Collins 2011-08-06 16:08:47 +00:00
  • 12a1004429 Set NIC list column width correctly. Daniel Collins 2011-08-06 15:19:52 +00:00
  • 81e05cfb62 Redesigned ipxconfig program. Daniel Collins 2011-08-06 14:45:45 +00:00
  • 01b43a9d71 Updated dist target to make source archives. ipxwrapper-0.2.1 Daniel Collins 2011-07-22 18:09:52 +00:00
  • 846327e61b Updated dist target to make source archives. Daniel Collins 2011-07-22 18:09:52 +00:00
  • 1b8c92f198 Added 0.2.1 release tag. Daniel Collins 2011-07-22 17:57:19 +00:00
  • b08c4383cc Replaced single use of std::cerr with fprintf in ipxconfig, reduced binary size by ~400kB. Yay C++! Daniel Collins 2011-07-22 00:56:13 +00:00
  • aa65b02627 Updated readme. Daniel Collins 2011-07-21 21:27:51 +00:00
  • 7b50221c63 Changed format of log timestamp and fixed buffer overflow when converting some IPX addresses to text. Daniel Collins 2011-07-21 18:41:52 +00:00
  • fb68a9a593 Cleaned up logging code, added log timestamps (using GetTickCount) and changed calls in router code to prevent it from generating extra log messages. Daniel Collins 2011-07-13 22:56:19 +00:00
  • 3f80578310 Added -static-libgcc and -static-libstdc++ so newer versions of MinGW don't link to their DLLs. Daniel Collins 2011-07-13 16:14:42 +00:00
  • 6484e69571 Code cleanup in ipxconfig to make it cross compile under Linux Daniel Collins 2011-07-13 15:41:25 +00:00
  • 6a288558b0 Fixed undefined behaviour warning from typo. Daniel Collins 2011-07-12 13:28:57 +00:00
  • 877edb3d85 Replaced remaining asserts in ipxconfig with error messages Daniel Collins 2011-07-09 03:31:54 +00:00
  • 8228b5af49 Updated changelog. Daniel Collins 2011-07-09 03:19:16 +00:00
  • 81c54ce285 Changed debug messages in socket/closesocket. Daniel Collins 2011-07-09 02:20:46 +00:00
  • 9aba673989 Fixed typo: mkstubs.pl generated all stub DLLs with wsock32.dll as the internal DLL name. Daniel Collins 2011-07-09 02:00:37 +00:00
  • 82f3aeb9b8 More error handling added to ipxconfig. Daniel Collins 2011-07-09 00:28:06 +00:00
  • fe731a5d9b Started replacing assert() calls in ipxconfig with proper error handling. Daniel Collins 2011-07-05 15:32:10 +00:00
  • ca9ba402db Cleaned up Makefile. Daniel Collins 2011-06-17 02:07:23 +00:00
  • 898c0bd1cb Added call logging option to config tool. Daniel Collins 2011-06-17 01:17:56 +00:00
  • f2ca6e3028 Log all stub DLL calls in winsock_calls.txt if enabled in the registry. Daniel Collins 2011-06-16 23:55:20 +00:00
  • c40022a6af Added 'dist' target to Makefile. Daniel Collins 2011-06-16 16:53:53 +00:00
  • 7cab37479e Updated changelog Daniel Collins 2011-06-13 14:07:47 +00:00
  • 4646bfd6c8 Updated recv_packet to be usable in WSARecvEx. Daniel Collins 2011-05-30 03:33:39 +00:00
  • cbf1dad417 Moved most of code from recv and recvfrom into recv_packet to save on duplicate code, remove potential deadlock from recv in the process. Daniel Collins 2011-05-30 02:44:17 +00:00
  • 7aa42f5f78 Removed potential deadlocking bug from WSARecvEx and cleaned up a bit. Daniel Collins 2011-05-30 02:08:31 +00:00
  • cbbc7f13b1 Terminate stub symbol names correctly and optionally log calls Daniel Collins 2011-05-10 00:21:38 +00:00
  • 8ebce5612d Release mutex before calling r_recv() in recvfrom() due to deadlocking. Locking code needs rewriting at some point... Daniel Collins 2011-05-08 21:32:54 +00:00
  • f0ea3fbea9 Call LoadLibrary() in first find_sym() call rather than DllMain() in stub DLLs as it causes crashes in some conditions. Daniel Collins 2011-05-08 20:57:07 +00:00
  • d8aba5bd80 Added IPXWrapper 0.2 tag. ipxwrapper-0.2 Daniel Collins 2011-04-30 16:31:16 +00:00
  • a1eff83b9a Build stripped ipxconfig.exe and added changelog. Daniel Collins 2011-04-30 16:25:52 +00:00
  • 74162be22d Updated readme. Daniel Collins 2011-04-30 16:07:42 +00:00
  • 46255d75f5 Updated readme. Daniel Collins 2011-04-30 14:17:28 +00:00
  • c3f2dc352c Changed Makefile to build stripped DLLs and fixed typo in ipxwrapper.c Daniel Collins 2011-04-30 13:56:52 +00:00
  • 9f14ffce42 Free receive buffer used by router thread in DllMain() rather than leaving 64KiB floating about every time ipxwrapper.dll is unloaded... Daniel Collins 2011-04-24 23:49:58 +00:00
  • 84527b7eda Moved shared configuration stuff into config.h Daniel Collins 2011-04-24 23:40:52 +00:00
  • 6167cdcb7e Added code to filter out packets not received from the subnet of an enabled interface and a checkbox to enable/disable it. Daniel Collins 2011-04-24 23:32:10 +00:00
  • ba30c0d92b Forgot to set state of bcast_all checkbox at startup. Daniel Collins 2011-04-24 23:07:53 +00:00
  • 424832af16 Changed configuration program layout slightly Daniel Collins 2011-04-24 22:05:13 +00:00
  • 057a2aa844 Added checkbox to toggle broadcasting to all subnets in configuration program. Daniel Collins 2011-04-24 22:01:04 +00:00
  • 3d72ad087d Send broadcasts only to the bound subnet unless option is set in registry, then use INADDR_BROADCAST. Store subnet mask in ipx_nic in load_nics(). Daniel Collins 2011-04-24 21:55:57 +00:00
  • c2e26c7cab Updated sendto() to only broadcast on enabled interfaces Daniel Collins 2011-04-24 21:01:59 +00:00
  • 39233b20a1 Added missing break statement Daniel Collins 2011-04-24 20:17:18 +00:00
  • b7f03eabeb Added code for setting UDP port in configuration tool and changed layout slightly. Daniel Collins 2011-04-24 19:28:06 +00:00
  • 7ba8d989a3 Load UDP port number from registry and only require SO_BROADCAST to be set for receiving packets when the win95 broadcast bug is enabled. (Currently enabled by default) Daniel Collins 2011-04-24 18:44:31 +00:00
  • 963dd51938 Updated config tool Daniel Collins 2011-04-24 18:35:36 +00:00
  • c15064aca1 Updated recvfrom() to use correct byte order Daniel Collins 2011-04-24 17:50:15 +00:00
  • 8f4a5e1c6f Cleaned up socket() Daniel Collins 2011-04-24 17:40:25 +00:00
  • 53346c2536 Updated how router thread checks packet sizes, cleaned up code Daniel Collins 2011-04-24 16:59:21 +00:00
  • 42b3f7ce13 Send packets with destination network number set to that of the network card when 00:00:00:00 is used. Daniel Collins 2011-04-24 16:32:09 +00:00
  • 62b2fada8f Updated sendto() Daniel Collins 2011-04-24 02:08:37 +00:00
  • cb8dd19c5d Updated getsockopt() Daniel Collins 2011-04-24 01:37:25 +00:00
  • fdbd65ba1b Updated getsockname() for correct ipx_socket.socket endianness. Daniel Collins 2011-04-24 01:26:21 +00:00
  • 033c7b0752 Rewrote most of the bind() function, it (should) now match the winsock API and IPX standards better. Daniel Collins 2011-04-24 01:23:10 +00:00
  • a4e0add8c7 Small amount of code cleanup Daniel Collins 2011-04-24 00:24:10 +00:00
  • b11036bc14 Store IPX net/node numbers in ipx_net structure during startup. Daniel Collins 2011-04-24 00:01:38 +00:00
  • 4afad85e3c Host list entries are now identified by both network AND node numbers and expire after TTL (60) seconds of not receiving any packets. Daniel Collins 2011-04-23 23:42:14 +00:00
  • 983265ffc0 Removed redundant values from ipx_nic structure and fixed bug in NIC list code. Daniel Collins 2011-04-23 20:13:21 +00:00
  • e4534b91eb Load interface options from registry and handle enabled/primary flags. Daniel Collins 2011-04-23 19:49:53 +00:00
  • ad80c8177f Cleaned up address dialog code and added warnings when 00:... or FF:... are entered as network/node numbers. Daniel Collins 2011-04-23 18:52:16 +00:00
  • ae7d2ced03 Wrote IPX configuration tool, not completely finished Daniel Collins 2011-04-23 02:24:34 +00:00
  • a3fba1773d Implemented ioctlsocket() wrapper with support for FIONREAD. Daniel Collins 2010-01-09 16:20:18 +00:00
  • 0c703e2b88 Added 0.1 release tag ipxwrapper-0.1 Daniel Collins 2009-01-29 20:34:55 +00:00