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

194 Commits

Author SHA1 Message Date
Daniel Collins
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.

Bugfix: Don't overwrite packet IP address on first relay.
2012-11-03 23:07:42 +00:00
Daniel Collins
2f9677c3d2 Replaced single_iface option with iface_mode. 2012-11-03 13:11:16 +00:00
Daniel Collins
f72e88ea34 Iterate over interface broadcast addresses in sendto rather than storing a
single address in ipx_socket during router bind.
2012-11-03 12:57:34 +00:00
Daniel Collins
f087fc26b1 Removed addr_cache_ttl and iface_ttl from main_config structure. 2012-11-03 02:14:14 +00:00
Daniel Collins
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.
2012-11-03 02:03:46 +00:00
Daniel Collins
57e4f27bb8 Implemented (virtual) interface address cache and ipx_interface utility functions. 2012-11-03 01:21:25 +00:00
Daniel Collins
bee68d52b9 Store zero or more IPs in ipx_interface structures rather than one. 2012-11-02 20:45:10 +00:00
Daniel Collins
7fe8d74f22 Implemented config saving functions and added log_level to main_config. 2012-10-28 15:53:54 +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
46b62c450c Added .gitignore file. 2012-10-26 20:58:27 +01: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
c6e1cc9665 Bugfix for addr48_from_string. 2012-10-21 11:02:09 +00:00
Daniel Collins
32bf06ebed Implemented string-to-addr{32,48} functions and added headers. 2012-10-21 11:00:03 +00:00
Daniel Collins
e96c9db3e2 Moved address cache and interface TTL values into main_config. 2012-10-21 10:33:20 +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
0f6c458bcc Implemented new address cache. 2012-10-20 18:06:11 +00:00
Daniel Collins
7b2437ade3 Added ipxwrapper-0.4.x branch for heavy development work. 2012-10-19 21:05:50 +00:00
Daniel Collins
97b303822d Fixed a deadlock. 2012-07-22 19:29:39 +00:00
Daniel Collins
999500b865 Fixed a couple of interface ordering bugs. 2012-07-22 18:57:06 +00:00
Daniel Collins
f000b16d03 Fixed bug causing closesocket() to crash if used on the oldest existing IPX socket when newer ones exist. 2012-07-21 23:30:22 +00:00
Daniel Collins
7239a8ea63 Added 0.3.4 release tag. 2012-05-10 14:03:38 +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
23c934c192 Added some debug messages 2012-05-09 23:35:21 +00:00
Daniel Collins
702a895d69 Updated changelog. 2012-01-14 15:34:13 +00:00
Daniel Collins
6169193e62 Fixed makefile 2012-01-14 15:30:26 +00:00
Daniel Collins
b9dd65e736 Updated readme. 2012-01-09 13:48:54 +00:00
Daniel Collins
09a3f7e91a Added DirectPlay registry dump for win64 machines. 2012-01-03 16:10:20 +00:00
Daniel Collins
f1fa666c00 Log stub DLL name rather than target DLL when logging calls. 2011-11-16 22:29:27 +00:00
Daniel Collins
e7c6358044 Updated logging API. 2011-11-16 21:32:59 +00:00
Daniel Collins
4266b85cc9 Cleaned up error handling in SPInit and updated changelog. 2011-11-14 02:59:15 +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
225f46948b Added some extra log messages for debugging. 2011-11-13 18:31:22 +00:00
Daniel Collins
91b6550a86 Updated changelog 2011-11-13 02:21:12 +00:00
Daniel Collins
4340e3f5b2 Bugfix: Don't choke on rpacket_header in ioctlsocket/FIONREAD. 2011-11-13 02:12:39 +00:00
Daniel Collins
57131bb5ff Bugfixes: Correctly check for broadcast address and set sa_flags when dealing with extended addresses. 2011-11-13 01:45:32 +00:00
Daniel Collins
aa36058c1d Updated changelog and added some notes to service provider. 2011-11-08 22:01:32 +00:00
Daniel Collins
b3db46de40 Fixed bug: Requesting single interface when disabled interfaces are present from get_interfaces. 2011-11-07 16:14:10 +00:00
Daniel Collins
e82ffa87e2 Added workaround for Hamachi bug. 2011-11-05 20:22:16 +00:00
Daniel Collins
7a6c8e95da Cleaned up IPX_Send/IPX_SendEx. 2011-10-08 20:14:16 +00:00
Daniel Collins
fcdc62e784 Wrote basic winsock test program. 2011-10-03 12:56:11 +00:00
Daniel Collins
705ba9a71f Code cleanup. 2011-10-03 11:17:05 +00:00
Daniel Collins
8fd710578d Set 0x02 in sa_flags when packet is from a local (IPX) IP and free the hosts list while cleaning up. 2011-10-03 11:13:45 +00:00
Daniel Collins
4255a77898 Log address location/size in SPInit. 2011-10-02 19:25:01 +00:00
Daniel Collins
33b3e39a98 Added warning when unknown NSPROTO_IPX socket options are used and updated changelog. 2011-09-28 22:05:36 +00:00
Daniel Collins
5d1c56e5f1 Implemented IPX_EXTENDED_ADDRESS socket option. 2011-09-28 21:49:31 +00:00
Daniel Collins
0093259c1d Tweaked logging code. 2011-09-28 19:48:56 +00:00
Daniel Collins
49119b4831 Redesigned DirectPlay locking code as deadlocks could occur inside IDirectPlaySP_GetSPData call. Release more resources in IPX_ShutdownEx. 2011-09-28 19:10:08 +00:00
Daniel Collins
7c822c97b6 Tweaked some code and updated changelog. 2011-09-21 21:57:28 +00:00