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

Commit Graph

  • d921d206f0 Create main config key before attempting to create interface config key. Daniel Collins 2012-11-11 22:48:56 +00:00
  • b453669229 Cleaned up most of the winsock code and removed the RETURN/RETURN_WSA macros. Daniel Collins 2012-11-11 22:21:22 +00:00
  • 9046a8ba1d Removed router_port option from main_config. Daniel Collins 2012-11-11 20:58:56 +00:00
  • 2a06601f53 Use a hash table instead of a linked list for storing the IPX sockets. Daniel Collins 2012-11-11 20:54:43 +00:00
  • 920b5ee2c3 Implemented new "address table" code for maintaining address uniqueness between multiple IPXWrapper processes without needing a shared router thread. Daniel Collins 2012-11-11 15:54:54 +00:00
  • 8dc0d0aaa3 Removed ipxrouter program. Daniel Collins 2012-11-11 14:01:09 +00:00
  • 1f77b0f90e Removed bcast_all, src_filter and iface_mode options. The former two are now implemented by the wildcard interface. Daniel Collins 2012-11-10 22:24:47 +00:00
  • 6c1ab421da Implemented wildcard interface support. Daniel Collins 2012-11-10 19:55:59 +00:00
  • 2aa64787ab Fixed ipx_to_string. Daniel Collins 2012-11-10 17:05:41 +00:00
  • 076792d94b Removed IP address fields from router_addr structure. Daniel Collins 2012-11-03 23:13:53 +00:00
  • 2dd19ce6d7 Perform source address filtering using the IPs registered with the IPX interface of the target address rather than the one in the router_addr structure. Daniel Collins 2012-11-03 23:07:42 +00:00
  • 2f9677c3d2 Replaced single_iface option with iface_mode. Daniel Collins 2012-11-03 13:11:16 +00:00
  • f72e88ea34 Iterate over interface broadcast addresses in sendto rather than storing a single address in ipx_socket during router bind. Daniel Collins 2012-11-03 12:57:34 +00:00
  • f087fc26b1 Removed addr_cache_ttl and iface_ttl from main_config structure. Daniel Collins 2012-11-03 02:14:14 +00:00
  • d8a0dcf5c8 Removed ip_is_local and associated code. Test for packets originating from us by attempting to fetch an interface using the IPX source address instead. Daniel Collins 2012-11-03 02:03:46 +00:00
  • 57e4f27bb8 Implemented (virtual) interface address cache and ipx_interface utility functions. Daniel Collins 2012-11-03 01:21:25 +00:00
  • bee68d52b9 Store zero or more IPs in ipx_interface structures rather than one. Daniel Collins 2012-11-02 20:45:10 +00:00
  • 7fe8d74f22 Implemented config saving functions and added log_level to main_config. Daniel Collins 2012-10-28 15:53:54 +00:00
  • 39c6e18b46 Implemented registry writing functions. Daniel Collins 2012-10-28 12:57:28 +00:00
  • 46b62c450c Added .gitignore file. Daniel Collins 2012-10-26 20:58:27 +01:00
  • 6c35bd884e Use "DEVELOPMENT BUILD" as the version string rather than trying to get the SVN revision number. Daniel Collins 2012-10-26 20:44:31 +01:00
  • b95d88a5c4 Generate header dependencies on the fly using gcc -MM. Daniel Collins 2012-10-21 12:08:31 +00:00
  • c6e1cc9665 Bugfix for addr48_from_string. Daniel Collins 2012-10-21 11:02:09 +00:00
  • 32bf06ebed Implemented string-to-addr{32,48} functions and added headers. Daniel Collins 2012-10-21 11:00:03 +00:00
  • e96c9db3e2 Moved address cache and interface TTL values into main_config. Daniel Collins 2012-10-21 10:33:20 +00:00
  • ebcf1673e2 REFACTOR ALL THE THINGS. Daniel Collins 2012-10-21 10:26:52 +00:00
  • c836c55ee4 Implemented function for formatting complete IPX addresses as strings. Daniel Collins 2012-10-20 19:21:59 +00:00
  • 0f6c458bcc Implemented new address cache. Daniel Collins 2012-10-20 18:06:11 +00:00
  • 7b2437ade3 Added ipxwrapper-0.4.x branch for heavy development work. Daniel Collins 2012-10-19 21:05:50 +00:00
  • 97b303822d Fixed a deadlock. Daniel Collins 2012-07-22 19:29:39 +00:00
  • 999500b865 Fixed a couple of interface ordering bugs. Daniel Collins 2012-07-22 18:57:06 +00:00
  • f000b16d03 Fixed bug causing closesocket() to crash if used on the oldest existing IPX socket when newer ones exist. Daniel Collins 2012-07-21 23:30:22 +00:00
  • 16c148c086 Fixed Makefile in 0.3.4 ipxwrapper-0.3.4 Daniel Collins 2012-05-10 14:07:19 +00:00
  • 7239a8ea63 Added 0.3.4 release tag. Daniel Collins 2012-05-10 14:03:38 +00:00
  • a5837f0fdc Added workaround for games that break WinSock IP support by clearing the environment (Carmageddon II). Daniel Collins 2012-05-10 01:18:25 +00:00
  • 23c934c192 Added some debug messages Daniel Collins 2012-05-09 23:35:21 +00:00
  • 618ec0b521 Added 0.3.3 release tag. ipxwrapper-0.3.3 Daniel Collins 2012-01-14 15:35:35 +00:00
  • 702a895d69 Updated changelog. Daniel Collins 2012-01-14 15:34:13 +00:00
  • 6169193e62 Fixed makefile Daniel Collins 2012-01-14 15:30:26 +00:00
  • b9dd65e736 Updated readme. Daniel Collins 2012-01-09 13:48:54 +00:00
  • 09a3f7e91a Added DirectPlay registry dump for win64 machines. Daniel Collins 2012-01-03 16:10:20 +00:00
  • 461572d331 Added 0.3.2 release tag. ipxwrapper-0.3.2 Daniel Collins 2011-11-17 15:08:10 +00:00
  • f1fa666c00 Log stub DLL name rather than target DLL when logging calls. Daniel Collins 2011-11-16 22:29:27 +00:00
  • e7c6358044 Updated logging API. Daniel Collins 2011-11-16 21:32:59 +00:00
  • 4266b85cc9 Cleaned up error handling in SPInit and updated changelog. Daniel Collins 2011-11-14 02:59:15 +00:00
  • 406b4710bc Log version/revision and compile time while initializing ipxwrapper.dll. Daniel Collins 2011-11-14 02:21:29 +00:00
  • 225f46948b Added some extra log messages for debugging. Daniel Collins 2011-11-13 18:31:22 +00:00
  • 91b6550a86 Updated changelog Daniel Collins 2011-11-13 02:21:12 +00:00
  • 4340e3f5b2 Bugfix: Don't choke on rpacket_header in ioctlsocket/FIONREAD. Daniel Collins 2011-11-13 02:12:39 +00:00
  • 57131bb5ff Bugfixes: Correctly check for broadcast address and set sa_flags when dealing with extended addresses. Daniel Collins 2011-11-13 01:45:32 +00:00
  • aa36058c1d Updated changelog and added some notes to service provider. Daniel Collins 2011-11-08 22:01:32 +00:00
  • b3db46de40 Fixed bug: Requesting single interface when disabled interfaces are present from get_interfaces. Daniel Collins 2011-11-07 16:14:10 +00:00
  • e82ffa87e2 Added workaround for Hamachi bug. Daniel Collins 2011-11-05 20:22:16 +00:00
  • 7a6c8e95da Cleaned up IPX_Send/IPX_SendEx. Daniel Collins 2011-10-08 20:14:16 +00:00
  • 4d9dd4b08e Added 0.3.1 release tag. ipxwrapper-0.3.1 Daniel Collins 2011-10-04 11:40:37 +00:00
  • fcdc62e784 Wrote basic winsock test program. Daniel Collins 2011-10-03 12:56:11 +00:00
  • 705ba9a71f Code cleanup. Daniel Collins 2011-10-03 11:17:05 +00:00
  • 8fd710578d Set 0x02 in sa_flags when packet is from a local (IPX) IP and free the hosts list while cleaning up. Daniel Collins 2011-10-03 11:13:45 +00:00
  • 4255a77898 Log address location/size in SPInit. Daniel Collins 2011-10-02 19:25:01 +00:00
  • 33b3e39a98 Added warning when unknown NSPROTO_IPX socket options are used and updated changelog. Daniel Collins 2011-09-28 22:05:36 +00:00
  • 5d1c56e5f1 Implemented IPX_EXTENDED_ADDRESS socket option. Daniel Collins 2011-09-28 21:49:31 +00:00
  • 0093259c1d Tweaked logging code. Daniel Collins 2011-09-28 19:48:56 +00:00
  • 49119b4831 Redesigned DirectPlay locking code as deadlocks could occur inside IDirectPlaySP_GetSPData call. Release more resources in IPX_ShutdownEx. Daniel Collins 2011-09-28 19:10:08 +00:00
  • 250e344cd7 Added 0.3 release tag. ipxwrapper-0.3 Daniel Collins 2011-09-27 13:14:19 +00:00
  • 7c822c97b6 Tweaked some code and updated changelog. Daniel Collins 2011-09-21 21:57:28 +00:00
  • 8820b7d478 Correctly initialise router_addr.remote_addr, use correct width for rpacket_header.src_ip and correctly set router copy of socket flags. Daniel Collins 2011-09-19 23:49:16 +00:00
  • 93ce7e3ea7 Fix segfault. Daniel Collins 2011-09-19 22:14:19 +00:00
  • c18a6747b3 Added DirectPlay registry key and updated readme. Daniel Collins 2011-09-19 13:23:54 +00:00
  • 82c3d8f242 Moved icon-related stuff to subdir. Daniel Collins 2011-09-19 00:49:31 +00:00
  • a8a700b6f2 Added option to change router control port. Daniel Collins 2011-09-19 00:43:16 +00:00
  • c5a3429d9a Fix ipxconfig icon loading. Daniel Collins 2011-09-18 22:47:45 +00:00
  • 881f433d50 Fixed ipxconfig icon text. Daniel Collins 2011-09-18 22:33:23 +00:00
  • f8b53b1d1b Added ipxconfig icon. Daniel Collins 2011-09-18 22:24:26 +00:00
  • a778b55e0a Updated SRC_FILES and changelog. Daniel Collins 2011-09-18 22:00:25 +00:00
  • d9684fd53b Added icon for ipxrouter. Daniel Collins 2011-09-18 15:43:13 +00:00
  • 322b2fe97d Added tray icon and menu with exit option to ipxrouter. Added filename argument to log_open. Daniel Collins 2011-09-18 14:36:24 +00:00
  • fd555ce7c2 Implemented IPX_RECEIVE_BROADCAST option, updated router/rclient API and added proper checks when receiving broadcast packets to the router main loop. Daniel Collins 2011-09-17 23:47:31 +00:00
  • 646ab3b011 Reduced packet data limit to 8192 bytes, the standard driver included with XP only supports 1467 anyway. Daniel Collins 2011-09-17 19:54:53 +00:00
  • f560fae7ad Added header to packets sent from router to loopback sockets. Daniel Collins 2011-09-17 19:17:13 +00:00
  • 3eaa114462 Keep registry open in router executable so interface settings are correctly loaded and load WSARecvEx from from mswsock.dll. Daniel Collins 2011-09-16 15:37:51 +00:00
  • db4d9060b1 Updated changelog. Daniel Collins 2011-09-15 19:07:02 +00:00
  • 412a4c3932 Implemented getpeername function. Daniel Collins 2011-09-15 18:59:23 +00:00
  • 3924db36b8 Implemented send function. Daniel Collins 2011-09-15 18:53:31 +00:00
  • 390663ba83 Implemented connect function. Daniel Collins 2011-09-15 18:47:31 +00:00
  • 18fda2a86c Correctly store protocol names at the end of the EnumProtocols buffer. Daniel Collins 2011-09-15 15:21:57 +00:00
  • 812e6cd2ad Load EnumProtocolsA/EnumProtocolsW functions directly from mswsock.dll to avoid stack overflow when the program uses mswsock.dll. Daniel Collins 2011-09-15 14:28:31 +00:00
  • 6fff1e839c Only call rclient_ functions on bound sockets and handle IPX_RECV/IPX_FILTER flags when binding. Daniel Collins 2011-09-15 01:02:20 +00:00
  • fdb9e69241 Updated BIN_FILES, SRC_FILES and changelog. Daniel Collins 2011-09-12 18:23:23 +00:00
  • 9c68c53421 Initialise common controls. Daniel Collins 2011-09-12 17:59:56 +00:00
  • a40d3da084 Updated getsockopt to call get_interfaces for each IPX_ADDRESS/IPX_MAX_ADAPTER_NUM call. Daniel Collins 2011-09-11 17:09:57 +00:00
  • 9ac1da252a Store IP address and netmask in router_addr structure and check each packet originates from the bound interface rather than testing against all IPX interfaces. Daniel Collins 2011-09-11 16:58:04 +00:00
  • 3455ee040b Fixed deadlocking bug in DirectPlay provider Daniel Collins 2011-09-11 15:31:02 +00:00
  • e91121bf02 Bugfix: router_bind() didn't set ->next properly, lost any existing binds. Daniel Collins 2011-09-11 14:38:12 +00:00
  • b888762538 Rewrote DLL loading code to avoid corrupting the system error code. Daniel Collins 2011-09-11 13:28:41 +00:00
  • ee30a6200f Some bugfixes in the DirectPlay service provider code. Daniel Collins 2011-09-11 12:03:38 +00:00
  • 616859cc13 Treat connection reset in router code as proper disconnect. Daniel Collins 2011-09-10 11:46:09 +00:00
  • b8c366a5ed Code cleanup Daniel Collins 2011-09-09 22:29:38 +00:00
  • 5b77e23815 Bugfixes and cleanup in router code. Daniel Collins 2011-09-09 22:10:32 +00:00
  • f1a6cf40a2 Bugfix: Setup socket for sending packets with new router code properly. Daniel Collins 2011-09-09 19:03:19 +00:00
  • 8e06150325 Completed changes to allow for separate router processes. Daniel Collins 2011-09-09 18:36:52 +00:00