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

55 Commits

Author SHA1 Message Date
Daniel Collins
4cf1ec88aa Implemented support for loading interfaces from WinPcap. 2014-04-18 00:31:59 +01:00
Daniel Collins
3974a2337c Added stub calls for WinPcap. 2014-04-14 23:19:36 +01:00
Daniel Collins
09aacc71f9 Wrote unit tests for connecting to SPX sockets. 2014-01-25 22:32:28 +00:00
Daniel Collins
390f83ddc0 Wrote unit tests for sending/receiving IPX packets. 2014-01-25 22:32:28 +00:00
Daniel Collins
942848cd4f Wrote socket creation unit tests. 2014-01-25 22:32:27 +00:00
Daniel Collins
533e35729d Refactored bind tests to use Test::More and prove. 2014-01-03 21:14:59 +00:00
Daniel Collins
e7c19c3d42 Fixed addr32_from_string and addr48_from_string. 2014-01-03 21:12:50 +00:00
Daniel Collins
223bfeb35a Automatically add exceptions to Windows Firewall
If enabled (default is off) and running as an admin, add the running executable
to the Windows Firewall exception list during DLL initialisation.
2013-12-11 20:23:48 +00:00
Daniel Collins
fab32bf974 Use get_main_config() to load correct log level from registry in stub DLLs. 2012-12-01 14:34:14 +00:00
Daniel Collins
d95b7d92b5 Replaced BIN_FILES/SRC_FILES variables in Makefile with external manifest files
and updated for current tree.
2012-11-30 21:01:32 +00:00
Daniel Collins
466c0e3f0d Implemented basic testing framework and tests for bind behaviour. 2012-11-30 20:21:10 +00:00
Daniel Collins
f29bbb7f06 Updated ipxconfig to use some C utility functions and new config variables. 2012-11-11 23:57:35 +00:00
Daniel Collins
920b5ee2c3 Implemented new "address table" code for maintaining address uniqueness between
multiple IPXWrapper processes without needing a shared router thread.

Replaced router/rclient code with a single, per-process router thread.

Add addresses to the cache in the router main loop rather than winsock recv
functions.

Packets are no longer preceeded by an rpacket_header structure when relayed to
the local UDP sockets.

Each IPXWrapper instance creates a "private" UDP socket bound to a random port
on INADDR_ANY which is used for sending all packets and receiving unicast.

Bugfix: Check source socket number before relaying to a connected socket.
2012-11-11 20:26:50 +00:00
Daniel Collins
8dc0d0aaa3 Removed ipxrouter program. 2012-11-11 14:01:09 +00:00
Daniel Collins
6c35bd884e Use "DEVELOPMENT BUILD" as the version string rather than trying to get the SVN revision number. 2012-10-26 20:44:31 +01:00
Daniel Collins
b95d88a5c4 Generate header dependencies on the fly using gcc -MM. 2012-10-21 12:08:31 +00:00
Daniel Collins
ebcf1673e2 REFACTOR ALL THE THINGS. 2012-10-21 10:26:52 +00:00
Daniel Collins
0f6c458bcc Implemented new address cache. 2012-10-20 18:06:11 +00:00
Daniel Collins
a5837f0fdc Added workaround for games that break WinSock IP support by clearing the environment (Carmageddon II). 2012-05-10 01:18:25 +00:00
Daniel Collins
6169193e62 Fixed makefile 2012-01-14 15:30:26 +00:00
Daniel Collins
406b4710bc Log version/revision and compile time while initializing ipxwrapper.dll. 2011-11-14 02:21:29 +00:00
Daniel Collins
c18a6747b3 Added DirectPlay registry key and updated readme. 2011-09-19 13:23:54 +00:00
Daniel Collins
82c3d8f242 Moved icon-related stuff to subdir. 2011-09-19 00:49:31 +00:00
Daniel Collins
f8b53b1d1b Added ipxconfig icon. 2011-09-18 22:24:26 +00:00
Daniel Collins
a778b55e0a Updated SRC_FILES and changelog. 2011-09-18 22:00:25 +00:00
Daniel Collins
d9684fd53b Added icon for ipxrouter. 2011-09-18 15:43:13 +00:00
Daniel Collins
322b2fe97d Added tray icon and menu with exit option to ipxrouter. Added filename argument to log_open. 2011-09-18 14:36:24 +00:00
Daniel Collins
fd555ce7c2 Implemented IPX_RECEIVE_BROADCAST option, updated router/rclient API and added proper checks when receiving broadcast packets to the router main loop. 2011-09-17 23:47:31 +00:00
Daniel Collins
fdb9e69241 Updated BIN_FILES, SRC_FILES and changelog. 2011-09-12 18:23:23 +00:00
Daniel Collins
9c68c53421 Initialise common controls. 2011-09-12 17:59:56 +00:00
Daniel Collins
b888762538 Rewrote DLL loading code to avoid corrupting the system error code. 2011-09-11 13:28:41 +00:00
Daniel Collins
5b77e23815 Bugfixes and cleanup in router code. 2011-09-09 22:10:32 +00:00
Daniel Collins
8928ae23cc Missed a line in last commit. 2011-09-09 00:59:16 +00:00
Daniel Collins
6f4bfb78f5 Updated Makefile to build with debug symbols when DEBUG is set, strip otherwise. 2011-09-09 00:56:25 +00:00
Daniel Collins
81ebe2191d Added standalone router executable, currently useless since the router code doesn't support running in another process. 2011-09-08 23:28:36 +00:00
Daniel Collins
6e94ae1a6b Fixed bugs in thread termination code. 2011-09-08 23:00:52 +00:00
Daniel Collins
dd1a6d3b02 Cleaned up some winsock includes, changed EnumProtocolsW to use correct PROTOCOL_INFO structure. 2011-09-07 23:03:14 +00:00
Daniel Collins
d046b6522d Switchover to new router code 2011-09-07 20:03:16 +00:00
Daniel Collins
8b1c53e0bd More code cleanup 2011-08-29 13:15:10 +00:00
Daniel Collins
9f62a21b30 Started rewrite of router code to be isolated from the rest of IPXWrapper. 2011-08-29 10:03:58 +00:00
Daniel Collins
2b1fe00e13 Updated SRC_FILES. 2011-08-28 21:31:19 +00:00
Daniel Collins
bbfbcb79cd Lots of code cleanup. 2011-08-28 21:27:06 +00:00
Daniel Collins
8a46fa60f6 Added DirectPlay source files to SRC_FILES. 2011-08-28 19:00:04 +00:00
Daniel Collins
e5271a3df6 Added (very) experimental DirectPlay support. 2011-08-28 15:56:05 +00:00
Daniel Collins
d3adf8efef Added missing exports to wsock32.dll/mswsock.dll and tweaked Makefile. 2011-08-10 01:44:13 +00:00
Daniel Collins
846327e61b Updated dist target to make source archives. 2011-07-22 18:09: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
ca9ba402db Cleaned up Makefile. 2011-06-17 02:07:23 +00:00
Daniel Collins
c40022a6af Added 'dist' target to Makefile. 2011-06-16 16:53:53 +00:00