Skip to forum content

You are not logged in. Please login or register.


forums.pvpgn.pro → [EN] Diablo → Introducing D2GS Admin

Pages 1

You must login or register to post a reply

RSS topic feed

Posts: 23

1

Topic: Introducing D2GS Admin

Welcome to D2GS Admin, a basic utility to help Windows server admins better manage their server.

Inspired by GecKoTDF's fix to an issue which was found to be an attack by simply sending a packet to crash D2GS, I wanted to make an easy to use Windows solution for those not running Linux or the knowledge to implement their own proxy.

I've also bundled in a simple D2GS.exe watcher that will look for the process and bring it back alive if it dies.

The goal with this software is to add additional tools over time so we can protect our servers, feel free to suggest some ideas or give me some feedback!


-=-=-= v1.0 =-=-=-

-Ability to block the hex crash attack
-Ability to block the overhead text feature in-game, !shall we do den? (this will instant kick the user)
-D2GS.exe watcher, brings it back if dead
-Configuration JSON file to set things up
    -D2GS directory selector
    -Delay in searching for D2GS
    -Set D2GS port
    -Hex strings should be converted to their decimal value
-Logs to file.


-=-=-= Download =-=-=-

Simply download the .msi and install it. If you want to remove it, head to the add/remove programs and delete it there.

Download here


-=-=-= Issues/Working on =-=-=-

-Doesn't like  Windows Server 2008, will investigate and release a new version
-The installers final screen may have a few issues with config and readme opening, maybe best to untick them and open manually
-Will split out the log file with what packets were blocked, perhaps pulling their name from the config json.

Admin of SlashDiablo - Large vanilla-like server
Founder of Diablo2.org - Dedicated Discord server for PvPGN/D2GS questions

2

Re: Introducing D2GS Admin

Whoa. This is great. Thanks for putting the work in!

3

Re: Introducing D2GS Admin

#block the overhead text
D2Game.dll 0XD00A0 8B 31C0C208009090909090 1

COPY to d2gs.script

You can try it.

Added: 06.03.2019 11:56

I just tested your tools.

I found that for "ff01" outsourcing, or will run away

Packet Delay Option 200MS

4

Re: Introducing D2GS Admin

MxCen wrote:

#block the overhead text
D2Game.dll 0XD00A0 8B 31C0C208009090909090 1

COPY to d2gs.script

You can try it.

Added: 06.03.2019 11:56

I just tested your tools.

I found that for "ff01" outsourcing, or will run away

Packet Delay Option 200MS

Thanks for testing and providing some feedback. How do you mean by runaway?

For overhead text, yeah multiple ways of blocking this but thought it’d be neat to have it all in one single package.

Admin of SlashDiablo - Large vanilla-like server
Founder of Diablo2.org - Dedicated Discord server for PvPGN/D2GS questions

5

Re: Introducing D2GS Admin

Invalid for "FF01"

6

Re: Introducing D2GS Admin

MxCen wrote:

Invalid for "FF01"

I'm confused, it was already setup to block this packet? Did you convert it to the deciminal value?

Admin of SlashDiablo - Large vanilla-like server
Founder of Diablo2.org - Dedicated Discord server for PvPGN/D2GS questions

7 (edited by Feofilaktt 07.03.2019 14:22)

Re: Introducing D2GS Admin

"FF01" and "Overflow Text Overhead" are distinct collision crash failures.

Diablo 2 Online

Itens - Armory - Market - Clans - Builds - Chat

8

Re: Introducing D2GS Admin

Meanski, very good thing. I wanted to do make similar using WinPcap, and looks like WinDivert is better suited for this purpose.
Will you publish sources?

Do not ask for support in PM.

9

Re: Introducing D2GS Admin

HarpyWar wrote:

Meanski, very good thing. I wanted to do make similar using WinPcap, and looks like WinDivert is better suited for this purpose.
Will you publish sources?

Thanks Harpy :-)

Yes, I looked at WinPcap but we decided on using WinDivert.

I hope to publish the source soon, maybe when I get back from holiday!

Admin of SlashDiablo - Large vanilla-like server
Founder of Diablo2.org - Dedicated Discord server for PvPGN/D2GS questions

10

Re: Introducing D2GS Admin

@Meanski Thank you for sharing

11

Re: Introducing D2GS Admin

Niceeeee!

12

Re: Introducing D2GS Admin

can it's work on windows server 2008 r2 x64. i run it and got microsoft visual c++ runtime library debug error

13

Re: Introducing D2GS Admin

Hyongza wrote:

can it's work on windows server 2008 r2 x64. i run it and got microsoft visual c++ runtime library debug error

Hello,

There is the below entry from Meanski on the main post:

-=-=-= Issues/Working on =-=-=-

-Doesn't like  Windows Server 2008, will investigate and release a new version

I would try installingl the latest C++ Redistributables. I am not entirely sure what version you require or version this program was written in but I would presume 2015.

Check out Diablo09.com and join our Diablo II Private Server!

14

Re: Introducing D2GS Admin

This version only supports 64 bit system, not 32-bit system. If it supports 32-bit system, for example, Win2003, wein2008-32

15

Re: Introducing D2GS Admin

bewyn wrote:

This version only supports 64 bit system, not 32-bit system. If it supports 32-bit system, for example, Win2003, wein2008-32

There’s a better solution to this now. I need to update this program with the latest fixes and some other things but don’t really have the time currently.

If you PM me I’ll send you the working solution

Admin of SlashDiablo - Large vanilla-like server
Founder of Diablo2.org - Dedicated Discord server for PvPGN/D2GS questions

16 (edited by tmuhlhausen 09.02.2020 04:05)

Re: Introducing D2GS Admin

Meanski wrote:
bewyn wrote:

This version only supports 64 bit system, not 32-bit system. If it supports 32-bit system, for example, Win2003, wein2008-32

There’s a better solution to this now. I need to update this program with the latest fixes and some other things but don’t really have the time currently.

If you PM me I’ll send you the working solution

Also using x86 any chance you have the solution?

17

Re: Introducing D2GS Admin

anyone block the ff01 attack?

18

Re: Introducing D2GS Admin

lalelus2 wrote:

anyone block the ff01 attack?

Unfortunately so far only with rules in iptables or using the Meanski D2GS Admin.

Diablo 2 Online

Itens - Armory - Market - Clans - Builds - Chat

19

Re: Introducing D2GS Admin

Feofilaktt wrote:
lalelus2 wrote:

anyone block the ff01 attack?

Unfortunately so far only with rules in iptables or using the Meanski D2GS Admin.

sorry, but i dont understand how to use that.

  "patterns": [
    {
      "partial": true,
      "pattern": [ 255, 1, 255, 1, 0 ]
    },
    {
      "partial": false,
      "pattern": [ 20, 0 ]
    }
  ]
}

20 (edited by Feofilaktt 06.05.2020 16:00)

Re: Introducing D2GS Admin

lalelus2 wrote:
Feofilaktt wrote:
lalelus2 wrote:

anyone block the ff01 attack?

Unfortunately so far only with rules in iptables or using the Meanski D2GS Admin.

sorry, but i dont understand how to use that.

  "patterns": [
    {
      "partial": true,
      "pattern": [ 255, 1, 255, 1, 0 ]
    },
    {
      "partial": false,
      "pattern": [ 20, 0 ]
    }
  ]
}

Probably these are the patterns of the packages that Menski crypt into JSON in order to parameterize the D2GS Admin blocking settings.

You shouldn't touch this. Otherwise your players started to take random disconnect for false/positive.

Apparently, logic "255, 1, 255, 1, 0" would represent "FF 01 FF 00".

But I'm not sure how he this JSON uses it in D2GS Admin.

Diablo 2 Online

Itens - Armory - Market - Clans - Builds - Chat

21

Re: Introducing D2GS Admin

What are the conditions for using D2GS admin?still need  VirtualBox?

22

Re: Introducing D2GS Admin

lookdust wrote:

What are the conditions for using D2GS admin?still need  VirtualBox?

No, you can use the D2GS Admin running PvPGN and D2GS on Windows.

Diablo 2 Online

Itens - Armory - Market - Clans - Builds - Chat

23

Re: Introducing D2GS Admin

Feofilaktt wrote:
lookdust wrote:

What are the conditions for using D2GS admin?still need  VirtualBox?

No, you can use the D2GS Admin running PvPGN and D2GS on Windows.

D2GS Admin has installed, reboot service, players can't create game,or ,your connection has been interrupted

Posts: 23

Pages 1

You must login or register to post a reply

Who now at forum

Currently view post: 0 guests, 0 registered users

forums.pvpgn.pro → [EN] Diablo → Introducing D2GS Admin