LinuxQuestions.org
LinuxAnswers - the LQ Linux tutorial section.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Networking
User Name
Password
Linux - Networking This forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.

Notices

Reply
 
Search this Thread
Old 12-20-2004, 04:06 AM   #1
adham1sa
LQ Newbie
 
Registered: Dec 2004
Posts: 18

Rep: Reputation: 0
Granting users full internet access!?


I am new to squid. I just downloaded and installed it 2 days ago. I would like to know if there is a squid configuration file that allows users to have full internet access(browsing, chatting, videos...etc)? and is this possible just by having this configuration file or do I have to do some other configurations manuallay?

Thank you all for your time.
 
Old 12-20-2004, 09:07 AM   #2
cidrolin
Member
 
Registered: Jul 2004
Distribution: Fedora c2
Posts: 89

Rep: Reputation: 15
one thing you should be aware of is that Squid is a web cache, as such it supports protocols such as HTTP, FTP, HTTPS. It is not intended to proxy IRC (non-web chat, instant messaging) or audio/video streaming protocols (unless HTTP-encapsulated). Its first purpose is to save bandwidth, its second to allow a certain degree of control over transfers. If what you need is a multi-protocol proxy you might go looking for a SOCKS proxy (like DeleGate at www.delegate.org). With that type of product you are closer to an application-layer firewall.
 
Old 12-20-2004, 09:26 AM   #3
adham1sa
LQ Newbie
 
Registered: Dec 2004
Posts: 18

Original Poster
Rep: Reputation: 0
Thank you very much Cidrolin for the information. In fact, yes I am trying to familiarize myself with squid for its great feature of controlling bandwidth. I went through the configuration guide and managed to set it up to control bandwidth. Currently, i am running 2 ISA server and some users are consuming the whole bandwidth with the heavy download. In fact, I am providing Internet service for almost 60 users in a dormitory and they are paying fees for this service. I cannot block anything but I have the right to control the bandwidth.

Anyway, I have questions concerning your reply. How does HTTP-Encapsulation work? and does it give me what I want? If I download Delegate, do I have to uninstall squid? or does it run with squid?

I am very new to the whole world of linux but very interested in knowing more about it. Hope you have the answers for my questions.
 
Old 12-22-2004, 06:08 AM   #4
cidrolin
Member
 
Registered: Jul 2004
Distribution: Fedora c2
Posts: 89

Rep: Reputation: 15
One Squid feature that I find interesting for the purpose of sharing limited bandwidth is the ability, if I remember well, to slow down downloading of large files after a certain byte weight. With this the download of small files (html pages, little soft updates,...) can be done at the max speed, while large files (isos, ...) are slowed down after a while. This doesn't concern P2P, though. If your bandwidth is being burned by P2P users, Squid won't help !

I think ther must be a way with ISA (and, perhaps, DeleGate) to devote a fraction of the total available bandwidth to certain protocols, at least that's what I would look for. Then Squid can help me manage the http-devoted bandwidth to make most of 'em happy.

I don't know the specifics of http-encapsulated streaming (I'm no developer, sorry) but the principle is to use http to convey the audio/video stream, the receiving software is responsible for caching to simulate continuity. It differs from other streaming protocols which open different ports for stream control. Needless to say, the choice goes to the server operator, not the receiver, so if you can't block anything the only option at your disposal is to limit the bandwidth available to the different protocols, on the destination port basis.
 
  


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
Full access directory for all users mmowchenko Linux - Newbie 4 11-04-2005 07:15 AM
Granting user access to devices like a jumpdrive tleadley Fedora - Installation 0 02-17-2005 07:02 PM
Unable to get full internet access : only Google works !! samael26 Mandriva 15 11-11-2004 11:54 AM
Internet Access For Users inkysplat Slackware 3 10-02-2004 03:45 PM
ipop3 only granting one user access KnightCrusader Linux - Networking 1 11-25-2003 04:26 AM


All times are GMT -5. The time now is 03:29 PM.

Main Menu
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
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration