LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 09-02-2013, 12:14 PM   #1
rosway
LQ Newbie
 
Registered: Sep 2013
Posts: 4

Rep: Reputation: Disabled
Restricting Downloads


Hi all,

I am new at Linux, but have installed Ubuntu 12.04. I have set up 1 x Administrator account and 3 x User accounts. Is there a way that prevents downloads from the internet for the user accounts.

Thanks
 
Old 09-02-2013, 01:13 PM   #2
linosaurusroot
Member
 
Registered: Oct 2012
Distribution: OpenSuSE,RHEL,Fedora,OpenBSD
Posts: 981
Blog Entries: 2

Rep: Reputation: 235Reputation: 235Reputation: 235
I haven't used it but I think policy-based-routing could do that.

http://www.pmoghadam.com/homepage/HT...y-routing.html
 
Old 09-02-2013, 01:20 PM   #3
unSpawn
Moderator
 
Registered: May 2001
Posts: 29,332
Blog Entries: 55

Rep: Reputation: 3533Reputation: 3533Reputation: 3533Reputation: 3533Reputation: 3533Reputation: 3533Reputation: 3533Reputation: 3533Reputation: 3533Reputation: 3533Reputation: 3533
...additionally you could do anything from using a transparent proxy to firewall rules that match user UIDs to removing any network connecting applications altogether (and yes, BASH understands TCP too ;-p), but what exactly would you like to accomplish?.. And would the machine still allow CD, DVD, USB, Bluetooth, eSATA, etc, etc?
 
Old 09-02-2013, 01:24 PM   #4
rosway
LQ Newbie
 
Registered: Sep 2013
Posts: 4

Original Poster
Rep: Reputation: Disabled
Thanks

Quote:
Originally Posted by unSpawn View Post
...additionally you could do anything from using a transparent proxy to firewall rules that match user UIDs to removing any network connecting applications altogether (and yes, BASH understands TCP too ;-p), but what exactly would you like to accomplish?.. And would the machine still allow CD, DVD, USB, Bluetooth, eSATA, etc, etc?
What I am trying to do is save bandwidth, and prevent music and video downloads.
 
Old 09-02-2013, 01:28 PM   #5
rosway
LQ Newbie
 
Registered: Sep 2013
Posts: 4

Original Poster
Rep: Reputation: Disabled
Thanks

Quote:
Originally Posted by linosaurusroot View Post
I haven't used it but I think policy-based-routing could do that.

http://www.pmoghadam.com/homepage/HT...y-routing.html
Thanks will have a look. Trying to save bandwidth and stop music and video downloads.
 
Old 09-03-2013, 02:19 AM   #6
unSpawn
Moderator
 
Registered: May 2001
Posts: 29,332
Blog Entries: 55

Rep: Reputation: 3533Reputation: 3533Reputation: 3533Reputation: 3533Reputation: 3533Reputation: 3533Reputation: 3533Reputation: 3533Reputation: 3533Reputation: 3533Reputation: 3533
Quote:
Originally Posted by rosway View Post
Thanks will have a look.
Policy routing does do just that: route traffic. On it's own it will accomplish nothing: it's where you route traffic to and how that'll be processed (say a caching or filtering proxy or a traffic shaping queue) that matters.


Quote:
Originally Posted by rosway View Post
Trying to save bandwidth and stop music and video downloads.
Saving bandwidth means mostly caching (repeated requests for static content), for dividing bandwidth between clients (equally or not so equal) there's QoS and bandwidth shaping (search for LARTs "wondershaper" for example) and for "stopping downloads" or filtering out unwanted content) you use a filtering proxy (Dans Guardian and to a lesser extent Privoxy).
 
Old 09-03-2013, 09:19 AM   #7
rosway
LQ Newbie
 
Registered: Sep 2013
Posts: 4

Original Poster
Rep: Reputation: Disabled
Quote:
Originally Posted by unSpawn View Post
Policy routing does do just that: route traffic. On it's own it will accomplish nothing: it's where you route traffic to and how that'll be processed (say a caching or filtering proxy or a traffic shaping queue) that matters.



Saving bandwidth means mostly caching (repeated requests for static content), for dividing bandwidth between clients (equally or not so equal) there's QoS and bandwidth shaping (search for LARTs "wondershaper" for example) and for "stopping downloads" or filtering out unwanted content) you use a filtering proxy (Dans Guardian and to a lesser extent Privoxy).
Okay, thank you. We are restricted to 2GB a month on the internet
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
netinst downloads and apt-get downloads stalling then restarting Frustin Debian 2 03-08-2012 03:36 AM
Restricting an IP rayn0r Linux - Networking 5 12-03-2007 07:07 PM
Restricting su dellthinker Linux - Security 1 01-21-2007 03:17 PM
XP Downloads Fast ... Ubuntu Downloads Slow :( Dinerty Ubuntu 2 07-23-2006 03:31 PM
Restricting IP sixth_sense Linux - Networking 1 04-27-2005 09:13 AM


All times are GMT -5. The time now is 05:30 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration