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

14 Commits

Author SHA1 Message Date
Daniel Collins
574094050c Moved reg_{get,set}_addr{32,48} from src/addr.[ch] to src/common.[ch] 2014-01-03 01:19:24 +00:00
Daniel Collins
50bb5a3868 Implemented reg_check_value to check if a value exists. 2012-11-12 20:42:55 +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
39c6e18b46 Implemented registry writing functions.
Implemented random (locally-administered) MAC address generator.

Added config options for single interface mode.
2012-10-28 13:08:36 +00:00
Daniel Collins
ebcf1673e2 REFACTOR ALL THE THINGS. 2012-10-21 10:26:52 +00:00
Daniel Collins
c836c55ee4 Implemented function for formatting complete IPX addresses as strings.
Bugfix: mkstubs.pl used wrong DLL number for calls to log_call.
2012-10-20 19:21:59 +00:00
Daniel Collins
e7c6358044 Updated logging API. 2011-11-16 21:32:59 +00:00
Daniel Collins
7c822c97b6 Tweaked some code and updated changelog. 2011-09-21 21:57:28 +00:00
Daniel Collins
a8a700b6f2 Added option to change router control port. 2011-09-19 00:43:16 +00:00
Daniel Collins
812e6cd2ad Load EnumProtocolsA/EnumProtocolsW functions directly from mswsock.dll to avoid stack overflow when the program uses mswsock.dll. 2011-09-15 14:28:31 +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
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
bbfbcb79cd Lots of code cleanup. 2011-08-28 21:27:06 +00:00