Netlimiter Prevention
 

News:

29 December 2022 - PtokaX 0.5.3.0 (20th anniversary edition) released...
11 April 2017 - PtokaX 0.5.2.2 released...
8 April 2015 Anti child and anti pedo pr0n scripts are not allowed anymore on this board!
28 September 2015 - PtokaX 0.5.2.1 for Windows 10 IoT released...
3 September 2015 - PtokaX 0.5.2.1 released...
16 August 2015 - PtokaX 0.5.2.0 released...
1 August 2015 - Crowdfunding for ADC protocol support in PtokaX ended. Clearly nobody want ADC support...
30 June 2015 - PtokaX 0.5.1.0 released...
30 April 2015 Crowdfunding for ADC protocol support in PtokaX
26 April 2015 New support hub!
20 February 2015 - PtokaX 0.5.0.3 released...
13 April 2014 - PtokaX 0.5.0.2 released...
23 March 2014 - PtokaX testing version 0.5.0.1 build 454 is available.
04 March 2014 - PtokaX.org sites were temporary down because of DDOS attacks and issues with hosting service provider.

Main Menu

Netlimiter Prevention

Started by QuikThinker, 11 November, 2004, 23:31:48

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

QuikThinker

A very long shot but is it possible to create a script that detects whether users are using Netlimiter? Although I know it's highly unlikely.

Thanx in advance,
Quik.

bastya_elvtars

#1
HEre you go. If clientt reports netlimiter, then user gets...

-- antinetlimiter for QuikThinker by bastya_elvtars
todo=2 -- 1 to disconnect, 2 to timeban, 3 to ban
timeban=30 -- in minutes

-- no edit below plz

function DataArrival(user,data)
	if strsub(data, 1, 7) == "$MyINFO" then
		if strfind(strlower(data),"netlimiter") then
			local what,doin=hasto(user)
			user:SendData("NoNetLimiter","You are using netlimiter, now you are "..what)
			SendToOps("NoNetLimiter",user.sName.." is using netlimiter, he/she was "..what)
			return doin
		end
	end
end

function hasto(user)
	if todo==1 then
		return "disconnected.",user:Disconnect()
	elseif todo==2 then
		return "timebanned for "..timeban.." minutes.",user:TimeBan(timeban)
	elseif todo==3 then
		return "banned.",user:Ban()
	end
end

-- OpConnected=NewUserConnected -- uncomment 2 check ops as well
Everything could have been anything else and it would have just as much meaning.

QuikThinker

Excellent man cheers. I'mma check this now.

QuikThinker

Does this include all admin aswell as users?

bastya_elvtars

#4
QuoteOriginally posted by QuikThinker
Does this include all admin aswell as users?

edited the post above
Everything could have been anything else and it would have just as much meaning.

QuikThinker

Yer I wanna include OPs aswell, I put it at the very end?

Boostland

Here is a excelent anti netlimiter tool Du Supercontroler.
//www.homeqos.com
It operates on the driver level and is much better at controlling bandwith.
There is also some routers now that have qos in them so speeds could also be controlled at the router level.
Some users have to limit the upload a little, 1/2 duplex adsl can be shocking if there are no limits on upload and it is allowed to run at full speeds.
Here is a test I did on my 512k download and 128k upload connection before I got a faster router and connection.
http://members.iinet.net.au/~boostlinux/Unlimited_Nb1300_pppoaVcMux.JPG
Look at that 7 k/s download speed with the uploads running full speed.
http://members.iinet.net.au/~boostlinux/9ks_limited_Nb1300_pppoaVcMux.JPG
That is about the max download speed on that connection with a 9k/s upload limit.
http://members.iinet.net.au/~boostlinux/11ks_limited_Nb1300_pppoaVcMux.JPG
That is not a bad download speed with 11k/s upload limit.
Those tests were done with the small send buffer on, and uploading 3 to 3 users and downloading from a fast news server.
To be honest on a connection like that it's not really fair to the user if they are forced to upload at full speed as webpages and emails won't even work under those conditions, and not all users are downloading in DC all the time some use their download bandwidth elsewhere and upload in DC (like me I download off news groups and upload in DC my ratio is close to 4).
Not every where in the world do users have access to connections that can take uploading at full speed, limiting is ok as long as the user is fair, I agree that some users abuse it and limit and just leech dc but the few ruin it for the many fair users that have no chioce.
I would like to see some of these users that are so against limiting uploading at nearly 2 x the speed that they can download at, and being told that they can't do anything to limit to make it fair to them.

QuikThinker

Fuckface DC is about sharin. Take ur Netlimiting argument elsewhere.

bastya_elvtars

QuoteOriginally posted by QuikThinker
Fuckface DC is about sharin. Take ur Netlimiting argument elsewhere.

i herad that cfosspeed fixes ul/dl issues a bit, use that, if does not help, then small send buffer, and only then use proper clientside limiting.
Everything could have been anything else and it would have just as much meaning.

[NL]Pur

i don't think you can ban all ppl using some kind of netlimiter since this is controlled outside of dc.

There even some routers that have features like limiting speed a port.

plop

#10
QuoteOriginally posted by QuikThinker
Fuckface DC is about sharin. Take ur Netlimiting argument elsewhere.
1st of all watch your language and read what he has 2 say.
your the 1 who makes the mistake.
dc is about sharing indeed, but if i would download from you with only 10KB/s while you can give me 100KB/s i'm taking a slot from you 10x longer then needed.
all that time i'm ocupying a slot which could have served 9 more files 2 other ppl.
because ppl like you ban clients with limiters you cause them 2 use external limiters.
and those external limiters can be used for leeching, NOT the clients cause those have a ratio (1KB/s up gives between 3-6KB/s down).
the limiting is just a tiny bit, 5-10% of the upload is more then enough 2 get a decent down speed back (most ppl don't want there full speed back).

cfos uses QOS in extreme, it can limit from 0 to 40%.
it changes the limiter on the amount of requested download.

plop
http://www.plop.nl lua scripts/howto\'s.
http://www.thegoldenangel.net
http://www.vikingshub.com
http://www.lua.org

>>----> he who fights hatred with hatred, drives the spreading of hatred <----<<

Boostland

Well I thought I would try that Cfospeed out to see if it would be any good to recommend to users than need to limit uploads. I don't need to limit DC or use the small send buffer with the Netgear DG834 linux o/s router with the 1.04 version firmware.
With Cfospeed on my uploads dropped from over 20 k/s to 15 k/s (that is not including the upload from the 140 - 180 user hub that I run on another pc). I was posting to the news groups running Bit torrent and uploading in DC and it would not go much above 15 k/s, with it off it stays around 22 k/s and downloads from the News groups are about 120 k/s (the max download on this 1500/256k connection is 160k/s).
So I don't think using Cfospeed is a good idea as it limits the connection uploads way too much, the user would be better off to just limit a few k/s on the upload than to run that and kill the upload to that level.
Posting to the news groups was painful with cfospeed on was like being on 512/128k again :(
So I will continue to use DU Super Controler to limit folding@home on all my PC's as that is a upload killer when it finishes a work unit, try gaming when it starts uploading :S.
External limiters can actually be good for DC if used the right way, if folding@home hogs the connection sending up its work unit users can get disconnected from DC uploads, I limit all my folding@home to 3k/s upload and 15k/s download.
And if you run bit torrents and want to still upload to users in DC, DU super controler can be used to limit the torrent a bit and leave some upload for DC, same with news group posts.
I rarely download in DC any more as I mostly use news groups, I just upload in DC and chat and help users get active and find things, and kick the users that share preteen porn and other crap like that.

plop

the best limiter for dc is BCDC++ (or a mod based on that source).
it only limits up/downloads, chat, search and other commands flow past the limiter.
if you get disconnected a lot this sure fixes it.
again a point that limiters are not bad @ all (if used correct).

plop
http://www.plop.nl lua scripts/howto\'s.
http://www.thegoldenangel.net
http://www.vikingshub.com
http://www.lua.org

>>----> he who fights hatred with hatred, drives the spreading of hatred <----<<

bastya_elvtars

agree. clientside limiting is controllable much more than needed. banning it is totally useless, just use a proper rule for them. (not yhub, duh)
Everything could have been anything else and it would have just as much meaning.

sander815

#14
howis this supposed to work?
i have it in my hub, and tested it with my own netlimiter, but i can just login fine

or does it just look for netlimiter in someones share?

plop

QuoteOriginally posted by sander815
howis this supposed to work?
i have it in my hub, and tested it with my own netlimiter, but i can just login fine

or does it just look for netlimiter in someones share?
the script only works for czdc, that replaces the connection type 2 "netlimiter" when netlimiter is found running on the system.

homeqos is an alternative for netlimiter which uses QOS (quality of service), just like cfos.
the idea behind this is keeping a certain amount of the upload speed free for the moments it's really needed.
i'm using BCDC myself and not a even if i was bold i wouldn't have a hair thinking about stopping using it.
but for the rest of the network traffic i'm using QOS, just my modem/router has it build-in (speedtouch 5xx serie's).
it's a hiden feature which isn't documented and only accessible by telnetting 2 the router.

if you use win xp you might have seen QOS under the network settings from your network card.
2 be able 2 use this you need a domain server, this sends the config 2 the clients.

plop
http://www.plop.nl lua scripts/howto\'s.
http://www.thegoldenangel.net
http://www.vikingshub.com
http://www.lua.org

>>----> he who fights hatred with hatred, drives the spreading of hatred <----<<

Cid

cfos doesnt limit "too much". its dynamic limiting which favours the download speed though. it limits the upload to that point that you get the maximal downloadspeed. on the other hand as soon as your downloadspeed drops because the dudes or servers you download from dont give you full downloadspeed then cfos will raise your upload again. with other netlimiters you may not need to limit as much to get a good downloadspeed but they wont raise the upload though when you dont need your download. also when using cfos you wont have problems to use any other P2P programs together with DC. they wont slow DC down anymore.

Re@SoN

Hi!
just a quetion...
that script is in lua4 ou 5?


best regards,
Re@SoN

jiten

QuoteOriginally posted by Re@SoN
Hi!
just a quetion...
that script is in lua4 ou 5?


best regards,
Re@SoN
That's a Lua 4 one.

Cheers

Re@SoN

Ok, tks jiten!


best regards,
R@SoN

Re@SoN

i like this script but 1 need one in lua5, so i searched...and found 1

here is the link

SMF spam blocked by CleanTalk