rejetto forum

Tip: how to limit speed but not in your LAN

0 Members and 1 Guest are viewing this topic.

Offline rejetto

  • Administrator
  • Tireless poster
  • *****
    • Posts: 13510
    • View Profile
You know, upload speed is often a very limited resource.
I wanted to limit bandwidth used by HFS in upload, to leave something for remote administration.
BUT this limits should not apply to LAN usage, where i want maximum speed instead.
So... on my HFS version 2.3 i clicked on "edit event scripts" and typed this stuff

Quote
[download]
{.if not|{.match address|192.168.*;10.*|%ip%.}
|{.set speed limit for connection|20.}
.}

I hope you like it


for those of you who want details about it, the meaning is:
if the ip address of the browser is not a LAN address (that normally starts by of the kind 192.168 or 10) than limit the speed to 20 KB/s.
it's even more cool that it doesn't affect browsing of files but only when you download them.
« Last Edit: October 07, 2008, 09:06:12 AM by rejetto »


Offline AYEHAN

  • Occasional poster
  • *
    • Posts: 92
    • View Profile
thats really awesome , you solve one of my issue :)

make a wiki for event script's rejetto so me or everyone else can do simple things like that without bothering other ppls :)


Offline rejetto

  • Administrator
  • Tireless poster
  • *****
    • Posts: 13510
    • View Profile
yes, the wiki may collect the best things, even only by linking forum's posts.
it takes time.


Offline ailef

  • Occasional poster
  • *
    • Posts: 24
    • View Profile
to DL files bigger than 2GB use opera on LAN, IE is locked to 2 GB.
with firefox u can dl any size u want too but on my machines the speed was half the full speed of the lan.
possible it's fixed in FF 3.0, didnt test, i use opera.
but for LAN opera has no limits. u'll dl at 100Mbits any size u want.
this browser is just great. and when u see browsers satistics, 1% of people use it...
they all use IE or FF.



Offline Mars

  • Operator
  • Tireless poster
  • *****
    • Posts: 2059
    • View Profile
Always the same questions, always the same answers and we forget it the most importing topic

http://www.rejetto.com/forum/index.php?topic=5887.0

 ;D ;D ;D