?
Solved

Shaping/Controlling/Trottleing INBOUND trafic (cheaply)

Posted on 2004-10-11
10
Medium Priority
?
465 Views
Last Modified: 2010-03-17
Having (very) limited bandwith, and a 20-30 user lan can be very frustrating. I have to fix it somehow, so here is what I have found so far:

Possible solutions ?
1) cache ! Good idea, but what if the bandwith muncher is not http of ftp ?
Rare I know, but this happens ( 2 me 2 mutch ;-)

2) Shape/throttle. Ok... BUT this is only 'easy' on outbound connections, and my outbount trafic is NOT the problem !

I need to controll (and log/investigate) the flow in. "As policy" the ISP "does not get involved" ( cant switch ISP - 3rd world )

I did STFW over and over and what I found is that:
1) there is GNU software/methods that can limit incomeing flow by droping packets to slow down connections, but this is not recomended since it is wastefull ( total trafic over the wire not= trafic into lan due to (lots of)droped packets)

2) There is software that can manipulate the TCP window size, but this is WAY out my budget. ( as is hardware solutions )

BUT, new stuff comes out every day, hopefully there is something that I havent come accross yet.
AND I'm still relatively new to linux, and I've only spent a week Google'n on this stuff.

What am I asking ? ADVICE, Educated oppinion, and genraly just a kick in the right direction.

What are my options ( appart from what I already mentioned ) ?

Thanks so much for any help/contrebution that you may offer me.
0
Comment
Question by:Xorb
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
10 Comments
 
LVL 1

Expert Comment

by:reketnet
ID: 12280875
Solutions for you are:
Squid to cache visit http://www.squid-cache.org/
tc - traffic control to shape the connection
visit http://lartc.org/howto/  everything you need for traffic control is there

regards
0
 
LVL 2

Author Comment

by:Xorb
ID: 12284037
Like I said, I am not asking about cache. Cache just covers FTP and HTTP, and there is allot more trafic than that on my network.

I am reading http://lartc.org/howto/ thanks.
0
 
LVL 3

Accepted Solution

by:
jacauc earned 300 total points
ID: 12284825
I am busy looking for the same kind of solution myself...

Seeing that any incoming data is already at your modem (local) by the time you want to manipulate it (it already used the bandwidth) , there can be no real effective solution to do this.

Anyway, look at http://www.ibiblio.org/pub/Linux/docs/HOWTO/other-formats/html_single/ADSL-Bandwidth-Management-HOWTO.html for some for info.

They have quite an effective solution and explanation.

Cheers
J
0
Cloud Training Guides

FREE GUIDES: In-depth and hand-crafted Linux, AWS, OpenStack, DevOps, Azure, and Cloud training guides created by Linux Academy instructors and the community.

 
LVL 2

Author Comment

by:Xorb
ID: 12285591
Jacauc
Yeah, I was hoping that article was outdated. Most of what I said in my opening is based on that dock. ( well, what I said about droping packets and the TCP window size )

0
 
LVL 2

Author Comment

by:Xorb
ID: 12285631
Jacauc
I just chaecked out your user info ... South Africa eh ? Me 2 !! Anyhow, seeing as you probably have a software budget, I can point you to a good solution to do what we are talking about ( it's the solution that I refered to as out of my budget )

www.etinc.com/index.php <- these guys have a software solution that ( depending on your hardware ) is good up to 10Mbit, and hardware solutions that can handle up to 16 Gbit ( aledgedly )
0
 
LVL 3

Expert Comment

by:jacauc
ID: 12286316
Thanks Xorb,

Good to see some other South Africans here too ;)
Seems like all people in SA are facing this problem... hehe... with our AMAZINGLY cheap and effective solutions available for Broadband internet connections....(notice the sarcasm)

hehe... anyways, i work in Angola, but i'm looking for this solution for my internet connection at home... Sentech
see... www.poopband.co.za 

Thanks for the info though, i'll keep it in mind.

Cheers
J
0
 
LVL 3

Assisted Solution

by:jeiler
jeiler earned 200 total points
ID: 12627646
Allows shaping and throttling inbound connections, although it does assume most clients are well behaved.
http://www.linuximq.net/
0
 
LVL 2

Author Comment

by:Xorb
ID: 12641708
Jeiler
Cool .... I'll read up all the docks and maybe even try to set it up. Sorry if I dont get back to you ultra soon, but I will get back to you.

thanks
0
 
LVL 2

Author Comment

by:Xorb
ID: 15144443
This question has been open way to long, and has long gone cold.

Pitty, would love to know if there has been any new software/solutions released since this date.

In the spirit of EE, points for everyone that showed intrest, sorry about the low rating but we dident get close to a solution.... guess it was just a impossible question.
0
 
LVL 2

Expert Comment

by:thekeyboardwizard
ID: 21477418
Well I would suggest that you get a Cisco 877 router.  That was easy wasn't it !

You can do everything you like with bandwidth control IP prioritisation per client IP inbound and outbound and it is pretty cheap too considering what it does.  I use them for VOIP / bandwidth sensitive applications where the client has zero bandwidth (you know what I mean there).  You can fragment packets too into really small chunks which really smooths the flow out whilst reconstructing on the way out to your favorite MTU.
 
0

Featured Post

Flexible connectivity for any environment

The KE6900 series can extend and deploy computers with high definition displays across multiple stations in a variety of applications that suit any environment. Expand computer use to stations across multiple rooms with dynamic access.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

I have seen several blogs and forum entries elsewhere state that because NTFS volumes do not support linux ownership or permissions, they cannot be used for anonymous ftp upload through the vsftpd program.   IT can be done and here's how to get i…
Note: for this to work properly you need to use a Cross-Over network cable. 1. Connect both servers S1 and S2 on the second network slots respectively. Note that you can use the 1st slots but usually these would be occupied by the Service Provide…
If you're a developer or IT admin, you’re probably tasked with managing multiple websites, servers, applications, and levels of security on a daily basis. While this can be extremely time consuming, it can also be frustrating when systems aren't wor…
Sometimes it takes a new vantage point, apart from our everyday security practices, to truly see our Active Directory (AD) vulnerabilities. We get used to implementing the same techniques and checking the same areas for a breach. This pattern can re…
Suggested Courses

719 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question