can some one please help me.... the new dc++ ver 0,307... where all useres can see all IP adresses, can anyone make al script to stop only dc++ 0.307??
-- Request by: [MA][DK][TFH]Basse?
-- Created by: NightLitch 2004-03-24
Block = "0.307"
function NewUserConnected(curUser)
local _,_,Version = strfind(curUser.sMyInfoString, "V:(%d+.%d+),")
if Version==nil then
curUser:SendData("ClientChecker", "NoTag Clients is not allowed here.")
curUser:Disconnect()
elseif tonumber(Version) == tonumber(Block) then
curUser:SendData("ClientChecker", "DC++ 0.307 is not allowed here!.")
curUser:Disconnect()
end
end
here you go, should work.
/NL
QuoteOriginally posted by [MA][DK][TFH]Basse?
can some one please help me.... the new dc++ ver 0,307... where all useres can see all IP adresses, can anyone make al script to stop only dc++ 0.307??
Sorry Basse - it's not only 0.307 who can see the IP's
PhantomDC 0.306 can do it too
I don't have the time now to check what $SYNTAX the client use to get the ip.
is it $IP ???
LOL. Windows can do it!
netstat -n -a
ethereal
any decent firewall
You should block Windows. And Mac. And *nix. They can all do it. In fact, just shut down the hub.
NightLitch
The protocol you are thinking of is an extension for:
1) The hub to set a users active IP.
2) Ops to get IPs of all other users.
If a client program makes a network connection, it MUST know the IP. Hence, there is no DC protocol for DC++ to know the IP of someone you get the filelist of (or download from).
-NotRabidWombat