Bot needed: To redirect double connects with same ip

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

Red-Liner
Posts: 1
Joined: 2003-04-20 10:38

Bot needed: To redirect double connects with same ip

Post by Red-Liner » 2003-05-13 00:34

Looking for a bot that will auto-redirect double connects with same ip. Ideas, please?

Thx

ButterflySoul
Posts: 210
Joined: 2003-01-23 22:24
Location: Nevada

Post by ButterflySoul » 2003-05-13 06:34

It's a very bad idea to check only if they have the same IP. I would suggest that you compare at least their share size, too. Some users have the same IP as other users if they're behind the same proxy/router/firewall/etc... That doesn't mean they're the same person as the other user, and definitely doesn't mean they're on the same computer either.

Auto-redirects are not the best idea either, as it depends on the "good will" of the client. NMDC clients automatically follow redirects... the legit standard DC++ has an option to not automatically follow them... JavaDC plain ignores redirection commands. So there's a whole spectrum of possibilities for what will really happen if you try to redirect a client.

I'd suggest adding an OP command to your main script, that allows them to scan the IPs "on demand" and evaluate what should be done case by case. A fully automated solution is very likely to kick a lot of innocents users out of your hub.
[CoZ] Children of Zeus
-----
Shadows DC Hub - VBS and JS scripting at their best

Who is online

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