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

75 Commits

Author SHA1 Message Date
Daniel Collins
8f97a8b8ad Fixed logic error from r76. 2011-08-06 16:23:43 +00:00
Daniel Collins
5f06b2250c Correctly order interfaces when first interface has the force primary flag set. 2011-08-06 16:18:44 +00:00
Daniel Collins
1e71883c3e Removed "Settings saved successfully" dialog and cleaned up registry code. Registry key will only be created if necessary upon saving the configuration. 2011-08-06 16:08:47 +00:00
Daniel Collins
12a1004429 Set NIC list column width correctly. 2011-08-06 15:19:52 +00:00
Daniel Collins
81e05cfb62 Redesigned ipxconfig program. 2011-08-06 14:45:45 +00:00
Daniel Collins
846327e61b Updated dist target to make source archives. 2011-07-22 18:09:52 +00:00
Daniel Collins
b08c4383cc Replaced single use of std::cerr with fprintf in ipxconfig, reduced binary size by ~400kB. Yay C++! 2011-07-22 00:56:13 +00:00
Daniel Collins
aa65b02627 Updated readme. 2011-07-21 21:27:51 +00:00
Daniel Collins
7b50221c63 Changed format of log timestamp and fixed buffer overflow when converting some IPX addresses to text. 2011-07-21 18:41:52 +00:00
Daniel Collins
fb68a9a593 Cleaned up logging code, added log timestamps (using GetTickCount) and changed calls in router code to prevent it from generating extra log messages. 2011-07-13 22:56:19 +00:00
Daniel Collins
3f80578310 Added -static-libgcc and -static-libstdc++ so newer versions of MinGW don't link to their DLLs. 2011-07-13 16:14:42 +00:00
Daniel Collins
6484e69571 Code cleanup in ipxconfig to make it cross compile under Linux 2011-07-13 15:41:25 +00:00
Daniel Collins
6a288558b0 Fixed undefined behaviour warning from typo. 2011-07-12 13:28:57 +00:00
Daniel Collins
877edb3d85 Replaced remaining asserts in ipxconfig with error messages 2011-07-09 03:31:54 +00:00
Daniel Collins
8228b5af49 Updated changelog. 2011-07-09 03:19:16 +00:00
Daniel Collins
81c54ce285 Changed debug messages in socket/closesocket. 2011-07-09 02:20:46 +00:00
Daniel Collins
9aba673989 Fixed typo: mkstubs.pl generated all stub DLLs with wsock32.dll as the internal DLL name. 2011-07-09 02:00:37 +00:00
Daniel Collins
82f3aeb9b8 More error handling added to ipxconfig. 2011-07-09 00:28:06 +00:00
Daniel Collins
fe731a5d9b Started replacing assert() calls in ipxconfig with proper error handling. 2011-07-05 15:32:10 +00:00
Daniel Collins
ca9ba402db Cleaned up Makefile. 2011-06-17 02:07:23 +00:00
Daniel Collins
898c0bd1cb Added call logging option to config tool. 2011-06-17 01:17:56 +00:00
Daniel Collins
f2ca6e3028 Log all stub DLL calls in winsock_calls.txt if enabled in the registry. 2011-06-16 23:55:20 +00:00
Daniel Collins
c40022a6af Added 'dist' target to Makefile. 2011-06-16 16:53:53 +00:00
Daniel Collins
7cab37479e Updated changelog 2011-06-13 14:07:47 +00:00
Daniel Collins
4646bfd6c8 Updated recv_packet to be usable in WSARecvEx. 2011-05-30 03:33:39 +00:00
Daniel Collins
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. 2011-05-30 02:44:17 +00:00
Daniel Collins
7aa42f5f78 Removed potential deadlocking bug from WSARecvEx and cleaned up a bit. 2011-05-30 02:08:31 +00:00
Daniel Collins
cbbc7f13b1 Terminate stub symbol names correctly and optionally log calls 2011-05-10 00:21:38 +00:00
Daniel Collins
8ebce5612d Release mutex before calling r_recv() in recvfrom() due to deadlocking. Locking code needs rewriting at some point... 2011-05-08 21:32:54 +00:00
Daniel Collins
f0ea3fbea9 Call LoadLibrary() in first find_sym() call rather than DllMain() in stub DLLs as it causes crashes in some conditions. 2011-05-08 20:57:07 +00:00
Daniel Collins
a1eff83b9a Build stripped ipxconfig.exe and added changelog. 2011-04-30 16:25:52 +00:00
Daniel Collins
74162be22d Updated readme. 2011-04-30 16:07:42 +00:00
Daniel Collins
46255d75f5 Updated readme. 2011-04-30 14:17:28 +00:00
Daniel Collins
c3f2dc352c Changed Makefile to build stripped DLLs and fixed typo in ipxwrapper.c 2011-04-30 13:56:52 +00:00
Daniel Collins
9f14ffce42 Free receive buffer used by router thread in DllMain() rather than leaving 64KiB floating about every time ipxwrapper.dll is unloaded... 2011-04-24 23:49:58 +00:00
Daniel Collins
84527b7eda Moved shared configuration stuff into config.h 2011-04-24 23:40:52 +00:00
Daniel Collins
6167cdcb7e Added code to filter out packets not received from the subnet of an enabled interface and a checkbox to enable/disable it. 2011-04-24 23:32:10 +00:00
Daniel Collins
ba30c0d92b Forgot to set state of bcast_all checkbox at startup. 2011-04-24 23:07:53 +00:00
Daniel Collins
424832af16 Changed configuration program layout slightly 2011-04-24 22:05:13 +00:00
Daniel Collins
057a2aa844 Added checkbox to toggle broadcasting to all subnets in configuration program. 2011-04-24 22:01:04 +00:00
Daniel Collins
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(). 2011-04-24 21:55:57 +00:00
Daniel Collins
c2e26c7cab Updated sendto() to only broadcast on enabled interfaces 2011-04-24 21:01:59 +00:00
Daniel Collins
39233b20a1 Added missing break statement 2011-04-24 20:17:18 +00:00
Daniel Collins
b7f03eabeb Added code for setting UDP port in configuration tool and changed layout slightly. 2011-04-24 19:28:06 +00:00
Daniel Collins
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) 2011-04-24 18:44:31 +00:00
Daniel Collins
963dd51938 Updated config tool 2011-04-24 18:35:36 +00:00
Daniel Collins
c15064aca1 Updated recvfrom() to use correct byte order 2011-04-24 17:50:15 +00:00
Daniel Collins
8f4a5e1c6f Cleaned up socket() 2011-04-24 17:40:25 +00:00
Daniel Collins
53346c2536 Updated how router thread checks packet sizes, cleaned up code 2011-04-24 16:59:21 +00:00
Daniel Collins
42b3f7ce13 Send packets with destination network number set to that of the network card when 00:00:00:00 is used. 2011-04-24 16:32:09 +00:00