Re: [SLUG] Traffic control
keep in mind that without mucking with it / addons squid wont proxy youtube (style) videos. On 02/27/2012 11:56 AM, Matthew Hannigan wrote: On Fri, Feb 24, 2012 at 02:29:48PM +1100, Jim Donovan wrote: Recently my ISP discontinued the ADSL plan I was on and put me on another plan with three times the bandwidth. This is fine however one of the kids likes watching YouTube and can now chew up a month's data in a few days. [ .. ] Jim, I suggest using a caching proxy like squid. They're very effective because kids tend to watch the same vids over and over again. You can set all sorts of limits within squid, too like time of day restrictions. Matt -- SLUG - Sydney Linux User's Group Mailing List - http://slug.org.au/ Subscription info and FAQs: http://slug.org.au/faq/mailinglists.html
Re: [SLUG] Traffic control
'Tis true. Infact these days with so much rich content like flash and websites serving so much dynamic content I don't really know what CAN be cached these days besides images and maybe some small binary files. --Original Message-- From: Jake Anderson Sender: slug-boun...@slug.org.au To: Matthew Hannigan Cc: slug@slug.org.au Cc: Jim Donovan Subject: Re: [SLUG] Traffic control Sent: Feb 27, 2012 9:19 PM keep in mind that without mucking with it / addons squid wont proxy youtube (style) videos. On 02/27/2012 11:56 AM, Matthew Hannigan wrote: On Fri, Feb 24, 2012 at 02:29:48PM +1100, Jim Donovan wrote: Recently my ISP discontinued the ADSL plan I was on and put me on another plan with three times the bandwidth. This is fine however one of the kids likes watching YouTube and can now chew up a month's data in a few days. [ .. ] Jim, I suggest using a caching proxy like squid. They're very effective because kids tend to watch the same vids over and over again. You can set all sorts of limits within squid, too like time of day restrictions. Matt -- SLUG - Sydney Linux User's Group Mailing List - http://slug.org.au/ Subscription info and FAQs: http://slug.org.au/faq/mailinglists.html Sent from my BlackBerry-- SLUG - Sydney Linux User's Group Mailing List - http://slug.org.au/ Subscription info and FAQs: http://slug.org.au/faq/mailinglists.html
Re: [SLUG] Traffic control
On Fri, Feb 24, 2012 at 02:29:48PM +1100, Jim Donovan wrote: Recently my ISP discontinued the ADSL plan I was on and put me on another plan with three times the bandwidth. This is fine however one of the kids likes watching YouTube and can now chew up a month's data in a few days. [ .. ] Jim, I suggest using a caching proxy like squid. They're very effective because kids tend to watch the same vids over and over again. You can set all sorts of limits within squid, too like time of day restrictions. Matt -- SLUG - Sydney Linux User's Group Mailing List - http://slug.org.au/ Subscription info and FAQs: http://slug.org.au/faq/mailinglists.html
Re: [SLUG] Traffic control
On 25/02/2012, at 9:00 AM, slug-requ...@slug.org.au wrote: Recently my ISP discontinued the ADSL plan I was on and put me on another plan with three times the bandwidth. This is fine however one of the kids likes watching YouTube and can now chew up a month's data in a few days. I have warned him. I can let him do it and see how he feels about dropping back to dial-up speed but the whole family will suffer with him. Or can I slow down his machine's consumption? One way of doing this might be to run tc(2) on his machine however the doco hasn't been updated since 2.4 and doesn't seem to make much sense. Has anyone experience of doing policing with tc(2), iptables(8) or anything else? Or could I alter said son's machine's routing to use as gateway another machine running something to slow data down. Any suggestions, please? Jim Donovan P.S. Not relevant to my problem however you sometimes see plans in which you can burn a month's data in a few minutes. Why do people sign up for trash like that? Smackeral! my shoes would be on fire if my ISP migrated me from one plan to another. All reputable ISP will say behold our new toys. YOU may choose one. I really dont like iinet but they for one would offer you a fair deal. James-- SLUG - Sydney Linux User's Group Mailing List - http://slug.org.au/ Subscription info and FAQs: http://slug.org.au/faq/mailinglists.html
[SLUG] Traffic control
Recently my ISP discontinued the ADSL plan I was on and put me on another plan with three times the bandwidth. This is fine however one of the kids likes watching YouTube and can now chew up a month's data in a few days. I have warned him. I can let him do it and see how he feels about dropping back to dial-up speed but the whole family will suffer with him. Or can I slow down his machine's consumption? One way of doing this might be to run tc(2) on his machine however the doco hasn't been updated since 2.4 and doesn't seem to make much sense. Has anyone experience of doing policing with tc(2), iptables(8) or anything else? Or could I alter said son's machine's routing to use as gateway another machine running something to slow data down. Any suggestions, please? Jim Donovan P.S. Not relevant to my problem however you sometimes see plans in which you can burn a month's data in a few minutes. Why do people sign up for trash like that? -- SLUG - Sydney Linux User's Group Mailing List - http://slug.org.au/ Subscription info and FAQs: http://slug.org.au/faq/mailinglists.html
Re: [SLUG] Traffic control
Simple approach is to add youtube.com into the hosts file at 8:00 at night and remove it at 9:00am not shaping but easy to do. I have also implemented squid and this has some real shaping potential. Slowing him down on youtube will reduce his consumption. -Original Message- From: Jim Donovan Sent: Friday, February 24, 2012 2:29 PM To: slug@slug.org.au Subject: [SLUG] Traffic control Recently my ISP discontinued the ADSL plan I was on and put me on another plan with three times the bandwidth. This is fine however one of the kids likes watching YouTube and can now chew up a month's data in a few days. I have warned him. I can let him do it and see how he feels about dropping back to dial-up speed but the whole family will suffer with him. Or can I slow down his machine's consumption? One way of doing this might be to run tc(2) on his machine however the doco hasn't been updated since 2.4 and doesn't seem to make much sense. Has anyone experience of doing policing with tc(2), iptables(8) or anything else? Or could I alter said son's machine's routing to use as gateway another machine running something to slow data down. Any suggestions, please? Jim Donovan P.S. Not relevant to my problem however you sometimes see plans in which you can burn a month's data in a few minutes. Why do people sign up for trash like that? -- SLUG - Sydney Linux User's Group Mailing List - http://slug.org.au/ Subscription info and FAQs: http://slug.org.au/faq/mailinglists.html -- SLUG - Sydney Linux User's Group Mailing List - http://slug.org.au/ Subscription info and FAQs: http://slug.org.au/faq/mailinglists.html
Re: [SLUG] Traffic control
On 02/24/2012 02:29 PM, Jim Donovan wrote: Recently my ISP discontinued the ADSL plan I was on and put me on another plan with three times the bandwidth. This is fine however one of the kids likes watching YouTube and can now chew up a month's data in a few days. I have warned him. I can let him do it and see how he feels about dropping back to dial-up speed but the whole family will suffer with him. Or can I slow down his machine's consumption? One way of doing this might be to run tc(2) on his machine however the doco hasn't been updated since 2.4 and doesn't seem to make much sense. Has anyone experience of doing policing with tc(2), iptables(8) or anything else? Or could I alter said son's machine's routing to use as gateway another machine running something to slow data down. Any suggestions, please? Jim Donovan P.S. Not relevant to my problem however you sometimes see plans in which you can burn a month's data in a few minutes. Why do people sign up for trash like that? Cant help with your particular problem (outside of using a firewall with traffic shaping) but to comment on your P.S I don't use much data, but I do what high speed, when i get my lolcats i want them now dammit, but i don't torrent movies or whatever so i don't need too many of the gigabytes. My ideal plan would be ~100gbyte (lots of breathing room, 50 would do) at 100mbit. -- SLUG - Sydney Linux User's Group Mailing List - http://slug.org.au/ Subscription info and FAQs: http://slug.org.au/faq/mailinglists.html