PtokaX forum

Archive => Archived 5.1 boards => Request for scripts => Topic started by: Spijker on 08 July, 2007, 08:51:11

Title: Script that hides the IP from Netfounders, Masters and Operators
Post by: Spijker on 08 July, 2007, 08:51:11
I'm looking for a script so that the IP's from Netfounders, Masters and Operators can not be seen by other users (Regs, Vips, Moderators, Users)
Now it's so that if they look at youre filelist or they download something they can see the IP adress from every user.
To protect the Netfounders, Masters and Operators I'm looking for a script that hide the IP from these three profiles at all time.
I hope someone can help me.

Thnx for youre support.

Spijker
Title: Re: Script that hides the IP from Netfounders, Masters and Operators
Post by: Psycho_Chihuahua on 08 July, 2007, 09:27:44
i doubt that will be possible as to download for a user you would have to have his IP for the connection. In other Words: even if one could hide the IP per script or whatever it would still be visible via netstat or any other connection monitor.
Title: Re: Script that hides the IP from Netfounders, Masters and Operators
Post by: Thor on 08 July, 2007, 10:33:25
Since it client side connection, can't be scripted. If the downloader sends an another IP in connection request, Ptokax will ignore it, because it contains wrong IP. By the way, I don't see why it's useful... :-X
Title: Re: Script that hides the IP from Netfounders, Masters and Operators
Post by: bastya_elvtars on 08 July, 2007, 11:31:30
For this, I recommend disabling all the netwok interfaces.
Title: Re: Script that hides the IP from Netfounders, Masters and Operators
Post by: Spijker on 08 July, 2007, 11:32:40
The reason I want it is that we had a user who is banned in our hub because he had a very big mouth all the time and don't respect us.
But the major problem is that he is a wizkid and began one of our Operators to attack with ddos what means that his whole internet connection was down.

Spijker
Title: Re: Script that hides the IP from Netfounders, Masters and Operators
Post by: Thor on 08 July, 2007, 11:39:45
Then block the downloads from operators. Not the best solution, but better than nothing.
edit:
Or just from him. That's possible.
Code (lua) Select
nick = "YourOperator"
function ConnectToMeArrival(user, data)
    if data:find(nick,1,1) then
        return 1
    end
end

Maybe this helps
Title: Re: Script that hides the IP from Netfounders, Masters and Operators
Post by: bastya_elvtars on 08 July, 2007, 12:54:13
I do not think that (D)DoS protection is the responsibiliy of a DC server or client.