Home » General Discussions » General Discussion » Renegade FDS Running on Linux - on XWIS/WOL!!!
() 1 Vote
Re: Renegade FDS Running on Linux - on XWIS/WOL!!! [message #197402 is a reply to message #192004] |
Sun, 23 April 2006 01:57 |
|
Blazer
Messages: 3322 Registered: February 2003 Location: Phoenix, AZ
Karma:
|
General (3 Stars) Administrator/General |
|
|
Okay, sorry for so long since last update, but there has been no progress until tonight.
Thanks to combined effort from jonwil and v00d00, the LFDS now has automatic, built-in support for responding to what is internalled called "Firewall Packet Probes".
Basically, before a game client can connect to the FDS, it sends a UDP packet that basically says "Hey server...this is me contacting you on what I think is your game port. If you can hear me, please respond". The FDS then has to send a special UDP packet back to the client, using the same IP and port the probe came in on - "Hey this is the Server...I read you loud and clear, if you can hear this come on in!". The game client then connects to the server and logs the player in.
Now, to explain the problem I was having.
1. I had already learned via various reverse engineering methods (packet sniffing, dissassembly, debugging) of this special packet that was required to connect.
2. Jonwil and v00d00 collaborated on adding an additional console command to the LFDS (via latest scripts.dll), called "wolsend". Using this command you could specify an IP and port and it would send a properly formatted packet to the remote game client, so it could then connect.
3. This seemed to work, and thought all our problems were solved. However I discovered another problem, when certain types of NAT (firewalled) players tried to join the server.
4. For normal clients, I got their IP address and UDP port from the XWIS/WOL protocol that their client sent to the game channel.
5. However, these NAT players, something funky was happening. Basically their game client would send info to the game channel indicating they were using a certain port, but then the actual firewall probe packet would come in from a DIFFERENT port! This totally screwed me up, as now I had no way to easily intercept these packets and verify which source port they were using.
6. Jonwil and v00d00 came to the rescue. v00d00 found a function within the FDS code that specifically handles the firewall probe packets. Once this info was given to Jonwil, he was able to add code to scripts.dll that "hooked" this function. Basically since the LFDS runs in GSA mode, the function wasn't even doing anything, so we basically overrode it with our own function, that would automatically examine firewall probe packets, collect the necessary info from them, and automatically send the proper response packet. So the wolsend command was no longer needed, and was removed.
7. The end result is that the LFDS, combined with XWISP, now automatically fully supports XWIS/WOL, with all of the functionaly of the Win32 FDS, including XWIS specific things like bans and paging.
The only thing lacking still is ladder support, but as that will involve more reverse engineering and basically a project of itself, it's last on my list.
[Updated on: Sun, 23 April 2006 02:02] Report message to a moderator
|
|
|
|
|
Renegade FDS Running on Linux - on XWIS/WOL!!!
By: Blazer on Mon, 06 March 2006 12:13
|
|
|
Re: Renegade FDS Running on Linux - on XWIS/WOL!!!
By: Goztow on Mon, 06 March 2006 12:22
|
|
|
Re: Renegade FDS Running on Linux - on XWIS/WOL!!!
By: Stumpy on Mon, 06 March 2006 12:26
|
|
|
Re: Renegade FDS Running on Linux - on XWIS/WOL!!!
By: SODPaddy on Mon, 06 March 2006 12:47
|
|
|
Re: Renegade FDS Running on Linux - on XWIS/WOL!!!
|
|
|
Re: Renegade FDS Running on Linux - on XWIS/WOL!!!
By: sterps on Mon, 06 March 2006 15:15
|
|
|
Re: Renegade FDS Running on Linux - on XWIS/WOL!!!
|
|
|
Re: Renegade FDS Running on Linux - on XWIS/WOL!!!
|
|
|
Re: Renegade FDS Running on Linux - on XWIS/WOL!!!
By: Blazer on Mon, 06 March 2006 22:40
|
|
|
Re: Renegade FDS Running on Linux - on XWIS/WOL!!!
By: howang on Tue, 07 March 2006 05:56
|
|
|
Re: Renegade FDS Running on Linux - on XWIS/WOL!!!
By: Blazer on Tue, 07 March 2006 08:24
|
|
|
Re: Renegade FDS Running on Linux - on XWIS/WOL!!!
By: howang on Tue, 07 March 2006 19:27
|
|
|
Re: Renegade FDS Running on Linux - on XWIS/WOL!!!
By: Sir Kane on Wed, 08 March 2006 11:57
|
|
|
Re: Renegade FDS Running on Linux - on XWIS/WOL!!!
By: howang on Wed, 08 March 2006 21:18
|
|
|
Re: Renegade FDS Running on Linux - on XWIS/WOL!!!
By: xptek on Mon, 06 March 2006 19:38
|
|
|
Re: Renegade FDS Running on Linux - on XWIS/WOL!!!
By: jonwil on Mon, 06 March 2006 22:09
|
|
|
Re: Renegade FDS Running on Linux - on XWIS/WOL!!!
|
|
|
Re: Renegade FDS Running on Linux - on XWIS/WOL!!!
By: Blazer on Tue, 07 March 2006 01:40
|
|
|
Re: Renegade FDS Running on Linux - on XWIS/WOL!!!
|
|
|
Re: Renegade FDS Running on Linux - on XWIS/WOL!!!
By: RTsa on Tue, 07 March 2006 06:59
|
|
|
Re: Renegade FDS Running on Linux - on XWIS/WOL!!!
By: Blazer on Tue, 07 March 2006 08:29
|
|
|
Re: Renegade FDS Running on Linux - on XWIS/WOL!!!
By: jonwil on Tue, 07 March 2006 21:06
|
|
|
Re: Renegade FDS Running on Linux - on XWIS/WOL!!!
|
|
|
Re: Renegade FDS Running on Linux - on XWIS/WOL!!!
By: Crimson on Wed, 08 March 2006 09:34
|
|
|
Re: Renegade FDS Running on Linux - on XWIS/WOL!!!
|
|
|
Re: Renegade FDS Running on Linux - on XWIS/WOL!!!
By: howang on Wed, 08 March 2006 21:14
|
|
|
Re: Renegade FDS Running on Linux - on XWIS/WOL!!!
By: xptek on Wed, 08 March 2006 21:36
|
|
|
Re: Renegade FDS Running on Linux - on XWIS/WOL!!!
By: howang on Thu, 09 March 2006 04:33
|
|
|
Re: Renegade FDS Running on Linux - on XWIS/WOL!!!
By: Crimson on Wed, 08 March 2006 14:42
|
|
|
Re: Renegade FDS Running on Linux - on XWIS/WOL!!!
|
|
|
Re: Renegade FDS Running on Linux - on XWIS/WOL!!!
By: jonwil on Wed, 08 March 2006 20:52
|
|
|
Re: Renegade FDS Running on Linux - on XWIS/WOL!!!
By: Crimson on Thu, 09 March 2006 01:47
|
|
|
Re: Renegade FDS Running on Linux - on XWIS/WOL!!!
By: Sir Kane on Thu, 09 March 2006 07:08
|
|
|
Re: Renegade FDS Running on Linux - on XWIS/WOL!!!
|
|
|
Re: Renegade FDS Running on Linux - on XWIS/WOL!!!
|
|
|
Re: Renegade FDS Running on Linux - on XWIS/WOL!!!
By: howang on Thu, 09 March 2006 18:05
|
|
|
Re: Renegade FDS Running on Linux - on XWIS/WOL!!!
By: Crimson on Thu, 09 March 2006 19:46
|
|
|
Re: Renegade FDS Running on Linux - on XWIS/WOL!!!
By: howang on Fri, 10 March 2006 03:27
|
|
|
Re: Renegade FDS Running on Linux - on XWIS/WOL!!!
By: Goztow on Fri, 10 March 2006 00:39
|
|
|
Re: Renegade FDS Running on Linux - on XWIS/WOL!!!
By: dead6re on Fri, 10 March 2006 03:53
|
|
|
Re: Renegade FDS Running on Linux - on XWIS/WOL!!!
By: MXrave on Fri, 10 March 2006 11:26
|
|
|
Re: Renegade FDS Running on Linux - on XWIS/WOL!!!
By: MXmurdoc on Fri, 10 March 2006 12:24
|
|
|
Re: Renegade FDS Running on Linux - on XWIS/WOL!!!
|
|
|
Re: Renegade FDS Running on Linux - on XWIS/WOL!!!
By: Blazer on Sun, 12 March 2006 22:52
|
|
|
Re: Renegade FDS Running on Linux - on XWIS/WOL!!!
By: Blazer on Mon, 13 March 2006 23:35
|
|
|
Re: Renegade FDS Running on Linux - on XWIS/WOL!!!
By: Goztow on Mon, 13 March 2006 00:53
|
|
|
Re: Renegade FDS Running on Linux - on XWIS/WOL!!!
By: Blazer on Mon, 13 March 2006 01:02
|
|
|
Re: Renegade FDS Running on Linux - on XWIS/WOL!!!
By: Blazer on Mon, 13 March 2006 02:47
|
|
|
Re: Renegade FDS Running on Linux - on XWIS/WOL!!!
By: Goztow on Mon, 13 March 2006 02:51
|
|
|
Re: Renegade FDS Running on Linux - on XWIS/WOL!!!
By: Blazer on Mon, 13 March 2006 03:08
|
|
|
Re: Renegade FDS Running on Linux - on XWIS/WOL!!!
By: howang on Mon, 13 March 2006 04:21
|
|
|
Re: Renegade FDS Running on Linux - on XWIS/WOL!!!
|
|
|
Re: Renegade FDS Running on Linux - on XWIS/WOL!!!
|
|
|
Re: Renegade FDS Running on Linux - on XWIS/WOL!!!
By: Blazer on Thu, 16 March 2006 19:27
|
|
|
Re: Renegade FDS Running on Linux - on XWIS/WOL!!!
By: forcee on Fri, 17 March 2006 11:46
|
|
|
Re: Renegade FDS Running on Linux - on XWIS/WOL!!!
By: Blazer on Sat, 18 March 2006 23:32
|
|
|
Re: Renegade FDS Running on Linux - on XWIS/WOL!!!
|
|
|
Re: Renegade FDS Running on Linux - on XWIS/WOL!!!
By: Blazer on Tue, 21 March 2006 16:43
|
|
|
Re: Renegade FDS Running on Linux - on XWIS/WOL!!!
|
|
|
Re: Renegade FDS Running on Linux - on XWIS/WOL!!!
|
|
|
Re: Renegade FDS Running on Linux - on XWIS/WOL!!!
By: Blazer on Wed, 22 March 2006 12:19
|
|
|
Re: Renegade FDS Running on Linux - on XWIS/WOL!!!
By: jonwil on Wed, 22 March 2006 15:21
|
|
|
Re: Renegade FDS Running on Linux - on XWIS/WOL!!!
|
|
|
Re: Renegade FDS Running on Linux - on XWIS/WOL!!!
By: xptek on Fri, 24 March 2006 16:09
|
|
|
Re: Renegade FDS Running on Linux - on XWIS/WOL!!!
By: Blazer on Sat, 25 March 2006 19:13
|
|
|
Re: Renegade FDS Running on Linux - on XWIS/WOL!!!
By: howang on Sun, 02 April 2006 22:05
|
|
|
Re: Renegade FDS Running on Linux - on XWIS/WOL!!!
By: SODPaddy on Fri, 31 March 2006 13:30
|
|
|
Re: Renegade FDS Running on Linux - on XWIS/WOL!!!
By: Blazer on Mon, 03 April 2006 11:55
|
|
|
Re: Renegade FDS Running on Linux - on XWIS/WOL!!!
|
|
|
Re: Renegade FDS Running on Linux - on XWIS/WOL!!!
By: DaN#GW on Fri, 14 April 2006 10:56
|
|
|
Re: Renegade FDS Running on Linux - on XWIS/WOL!!!
By: Goztow on Fri, 14 April 2006 14:12
|
|
|
Re: Renegade FDS Running on Linux - on XWIS/WOL!!!
|
|
|
Re: Renegade FDS Running on Linux - on XWIS/WOL!!!
By: Blazer on Sun, 23 April 2006 01:57
|
|
|
Re: Renegade FDS Running on Linux - on XWIS/WOL!!!
|
|
|
Re: Renegade FDS Running on Linux - on XWIS/WOL!!!
By: Blazer on Sun, 23 April 2006 07:42
|
|
|
Re: Renegade FDS Running on Linux - on XWIS/WOL!!!
|
|
|
Re: Renegade FDS Running on Linux - on XWIS/WOL!!!
By: xptek on Mon, 24 April 2006 05:05
|
|
|
Re: Renegade FDS Running on Linux - on XWIS/WOL!!!
By: Blazer on Mon, 24 April 2006 10:04
|
|
|
Re: Renegade FDS Running on Linux - on XWIS/WOL!!!
|
|
|
Re: Renegade FDS Running on Linux - on XWIS/WOL!!!
By: Blazer on Thu, 27 April 2006 17:30
|
|
|
Re: Renegade FDS Running on Linux - on XWIS/WOL!!!
By: Stumpy on Fri, 28 April 2006 06:52
|
|
|
Re: Renegade FDS Running on Linux - on XWIS/WOL!!!
By: xptek on Thu, 27 April 2006 20:07
|
|
|
Re: Renegade FDS Running on Linux - on XWIS/WOL!!!
By: Blazer on Fri, 28 April 2006 00:16
|
|
|
Re: Renegade FDS Running on Linux - on XWIS/WOL!!!
|
|
|
Re: Renegade FDS Running on Linux - on XWIS/WOL!!!
By: Blazer on Fri, 28 April 2006 20:13
|
|
|
Re: Renegade FDS Running on Linux - on XWIS/WOL!!!
By: xptek on Fri, 28 April 2006 19:56
|
|
|
Re: Renegade FDS Running on Linux - on XWIS/WOL!!!
By: Blazer on Mon, 08 May 2006 02:37
|
|
|
Re: Renegade FDS Running on Linux - on XWIS/WOL!!!
By: DaN#GW on Sat, 13 May 2006 09:54
|
|
|
Re: Renegade FDS Running on Linux - on XWIS/WOL!!!
By: Blazer on Sat, 13 May 2006 14:55
|
|
|
Re: Renegade FDS Running on Linux - on XWIS/WOL!!!
|
|
|
Re: Renegade FDS Running on Linux - on XWIS/WOL!!!
|
|
|
Re: Renegade FDS Running on Linux - on XWIS/WOL!!!
|
|
|
Re: Renegade FDS Running on Linux - on XWIS/WOL!!!
By: jnz on Mon, 24 July 2006 14:03
|
|
|
Re: Renegade FDS Running on Linux - on XWIS/WOL!!!
By: xptek on Fri, 28 July 2006 10:20
|
|
|
Re: Renegade FDS Running on Linux - on XWIS/WOL!!!
By: xptek on Sat, 19 August 2006 10:59
|
|
|
Re: Renegade FDS Running on Linux - on XWIS/WOL!!!
By: MXrave on Sat, 19 August 2006 11:35
|
|
|
Re: Renegade FDS Running on Linux - on XWIS/WOL!!!
By: Blazer on Sun, 20 August 2006 00:10
|
|
|
Re: Renegade FDS Running on Linux - on XWIS/WOL!!!
|
|
|
Re: Renegade FDS Running on Linux - on XWIS/WOL!!!
By: Stumpy on Tue, 22 August 2006 07:57
|
|
|
Re: Renegade FDS Running on Linux - on XWIS/WOL!!!
|
|
|
Re: Renegade FDS Running on Linux - on XWIS/WOL!!!
By: MXrave on Tue, 12 September 2006 01:51
|
|
|
Re: Renegade FDS Running on Linux - on XWIS/WOL!!!
By: Goztow on Tue, 12 September 2006 03:07
|
|
|
Re: Renegade FDS Running on Linux - on XWIS/WOL!!!
By: MXrave on Tue, 12 September 2006 04:10
|
Goto Forum:
Current Time: Wed Nov 27 07:01:54 MST 2024
Total time taken to generate the page: 0.01855 seconds
|