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.
Blocking all clients but DC++ (incl. ODC) and DCGUI.
Moderator: Moderators
-
Rawness
- Posts: 1
- Joined: 2003-07-15 23:01
-
Sedulus
- Forum Moderator
- Posts: 687
- Joined: 2003-01-04 14:32
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)
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)
Who is online
Users browsing this forum: Google [Bot] and 0 guests