PtokaX forum

Archive => Archived 4.0 boards => Request for Lua 4 scripts => Topic started by: Masta_Kein on 24 December, 2004, 21:35:21

Title: A anti-takeover
Post by: Masta_Kein on 24 December, 2004, 21:35:21
Hi

Its like this my hub is always getting robed by others, and the other hubs redirect the ppl from my hub to theirs

My question is...
Is there a way to prevent these attacks from other hubs

And if possible i would like someone to try and make a script wich willl redirect automatically the people that have been redirected from my hub to another, so that the people that were redirected to the other hub would be redirected automatically to my hub

Thanks
Peace
Title:
Post by: [_XStaTiC_] on 24 December, 2004, 21:50:26
use redirect protection from Romulus

u can find it on plop's site

http://www.plop.nl/ptokaxbots/Romulus.php

happy Xmas 2@ll
Title:
Post by: enema on 25 December, 2004, 08:40:13
....and you cant redirect your users back to your hub. Only chance is to find a way, how they steal your users and use it, to steal their users!
Title:
Post by: Ubikk on 25 December, 2004, 12:59:28
How can someone redirect your users if he isn't an op?
Title:
Post by: [NL]Pur on 25 December, 2004, 13:10:36
you can't,

there two possibilities,  one of your operators is redirecting users, or you running an script that makes it possible normal users can redirect.
Title:
Post by: blackwings on 25 December, 2004, 13:35:16
the script by Romulus is nice, but can't you make a simple script that says "Your not allowed to redirect". The best would be if it detected the $OpForceMove, not a command and give the response that "Your not allowed to redirect."

EDIT:Hmm, I have made my own simple anti-redirect script, not sure if it works, but...its worth a try = --##Simple Anti-Redirect 1.0
--##Made by: blackwings

sBot="anti-redirect"

function DataArrival(user,data)
if strsub(data, 1, 12) == "$OpForceMove" then
user:SendData(sBot,"You are not allowed to use this command!")
return 1
end
end
I have heard there is a short version of "$OpForceMove", so it would be nice to block that to
Title:
Post by: Masta_Kein on 25 December, 2004, 15:08:18
They can, using Ptokax and putting our hub name, that way they are using our hub, if they put our hub on their ptokax our users will automatically be redirected to their hub

Thats why im asking for a way to prevent this
i dont know if theres a script for this
there might be a program or something that will disable what they are doing

that script you gave me its if someone redirects from my hub but no this happens in another hub, and they put the hub adress like it is mine

peace thanks
Title:
Post by: blackwings on 25 December, 2004, 15:14:29
QuoteOriginally posted by Masta_Kein
They can, using Ptokax and putting our hub name, that way they are using our hub, if they put our hub on their ptokax our users will automatically be redirected to their hub

Thats why im asking for a way to prevent this
i dont know if theres a script for this
there might be a program or something that will disable what they are doing

that script you gave me its if someone redirects from my hub but no this happens in another hub, and they put the hub adress like it is mine

peace thanks
You mean that they use your DNS adress to their hub? But that's doesn't work, users will still get to your hub because that is what the IP is pointing at.
Title:
Post by: Masta_Kein on 25 December, 2004, 20:48:05
The problem is that this guy robs the ip
i dont know how he just does it
Title:
Post by: blackwings on 25 December, 2004, 20:50:38
QuoteOriginally posted by Masta_Kein
The problem is that this guy robs the ip
i dont know how he just does it
well, I don't really know what you mean, but I guess you're talking about IP-spoofing. To solve this, you need to get a firewall that has protection against this.