Blocking all clients but DC++ (incl. ODC) and DCGUI.

Which hub software is the best? Where can I find script XXX? Discuss it here...(no, this is not for advertising your hub...)

Moderator: Moderators

Rawness
Posts: 1
Joined: 2003-07-15 23:01

Blocking all clients but DC++ (incl. ODC) and DCGUI.

Post by Rawness » 2003-07-15 23:22

Hi,
I need a script that can do the following for me...
And I'm simply not able to get it together myself.

There are only three types of clients I want to able to connect to my hub,
these are DC++, ODC and DCGUI. All others should be disconnected,
especially NMDC-clients (both ver 1.* and 2.*).
But I don't want to let modified DC++ or ODC-clients without the <++-tag
in either. And not DCGUI-clients with the description-tag (<DCGUI-tag) turned off...

So in other words the script need to:
Verify that the client is DC++, ODC or DCGUI.
Disconnect all others.
Check that the DC++, ODC and DCGUI-clients have their description-tag enabled, otherwise disconnect them as well.

And this verification has to be done in some way so that noone can get in with just a faked <++ or <DCGUI-tag.

Can anyone help me with this?



PS.
I've managed to make a script that disconnects everyone not having a
<++ or <DCGUI-tag in the description-field and it also disconnects every
client that answers to the $GetNetInfo|-command. But it's not really enough for me =)

Would also be nice to be able to integrate info extraction from the
<DCGUI-tag into GeneralBot that works in the same way the info
extraction from the <++-tag does.
DS.
Rawness

Sedulus
Forum Moderator
Posts: 687
Joined: 2003-01-04 14:32

Post by Sedulus » 2003-07-16 17:57

enter: a modifyable $ClientVersion ;)
http://dc.selwerd.nl/hublist.xml.bz2
http://www.b.ali.btinternet.co.uk/DCPlusPlus/index.html (TheParanoidOne's DC++ Guide)
http://www.dslreports.com/faq/dc (BSOD2600's Direct Connect FAQ)

f-t-p
Posts: 3
Joined: 2003-06-28 01:17

Post by f-t-p » 2003-07-21 06:25

You can do this with client detection mod. Search around and you wil find it.

Who is online

Users browsing this forum: Google [Bot] and 0 guests