Server :: Using CentOS 5 For Squid - Delay Pools Settings
Apr 24, 2011
I am using centos 5 for squid. I have enabled delay pools in it. The scenario is I have two clients machines have IP address 192.168.1.200 (The Manager) and 192.168.1.201 (Manager Assistant). The issue is I assign 512kbps to the Manager IP address and 128 to his assistant. When either of them download it start from 60 KB/Sec they finally get 11 KB/Sec which is wrong. If I disable the assistant delay pools settings then the Manager get 60KB/Sec continuously. By enabling both squid does not show any error.
Following is my line of code taken from squid.conf
Code:
acl our_512kbps src "/usr/local/squid/etc/our_512kbps"
acl our_128kbps src "/usr/local/squid/etc/our_128kbps"
http_access allow our_512kbps
http_access allow our_128kbps
http_access deny all
#Now Delay Pools
delay_pools 1
delay_class 1 1
delay_parameters 1 65536/65536 #512/8*1024=65536
delay_access 1 allow our_512kbps
delay_access 1 deny all
#Now delay class 2
delay_class 1 2
delay_parameters 1 65536/65536 16384/16384 #128/8*1024=16384
delay_access 1 allow our_128kbps
delay_access 1 deny all
View 4 Replies
ADVERTISEMENT
Aug 1, 2011
We have a squid-proxy configured with 1 delay pool to limit the bandwith to 6M. I have to create a kind of exception for a specific
remote host for which we want to reserve 1M which is not included within the 6M. How should I do that? Here is our actual configuration of the delay pools
acl all_network src 0.0.0.0/0.0.0.0
delay_pools 1
delay_class 1 1
[code]....
View 1 Replies
View Related
Apr 2, 2011
I have install squid 2.6 in my cent os 5 system. The proxy server is working perfect using the following method.
Code:
[root@localhost squid-2.6.STATBLE22]# ./configure@--prefix=/usr/local/squid
I want to enable delay pools feature in it.For that purpose I do as following
Code:
[root@localhost squid-2.6.STATBLE22]# ./configure --enable-delay-pools && "configuration successful"
The question is should I configure it as I do it for squid
./configure --enable-delay-pools--prefix=/usr/local/squid
To enable delay pools may I need the correction in the steps which I have taken.
[root@localhost squid-2.6.STATBLE22]#make
[root@localhost squid-2.6.STATBLE22]# make install
In short to enable delay pools may I just use
# ./configure --enable-delay-pools
then
#make
#make install
View 3 Replies
View Related
Jan 2, 2010
I have configured a normal squid & now I want to manage internet bandwidth thru. "squid" proxy only.
Squid proxy server ip is :- 192.168.17.30
Client PC ip addres is 192.168.17.25
Total bandwidth avaialable :- 2 Mbps
Now, I want to limit bandwith of 400 kbps for the ip address 192.168.17.25 pc only. So, is there any method available for bandwidth limiting for a single pc?
View 2 Replies
View Related
Mar 7, 2011
I am using squid 2.6 on my cent os 5.We r using 4 Mb/s link. I want to assign bandwidth allowcation to my boss like 512 Kb/s and 256 kb/s to its assistant.both are using class c IP address. How can I allocate bandwidth of their IP address.
View 1 Replies
View Related
Mar 4, 2011
I want to configure squid delay pool for the following scenario:
Internet Connection Speed: 7Mbps
3 Types of clients
Type 1: unlimited access to bandwidth
Type 2: 1.5 Mbps
Type 3: 512 Kbps
Unlimited access ip address 192.168.4.1,2,5,10
1.5 mbps ip addresses 192.168.4.3,4,6-9,11
512 mbps ip addresses 192.168.4.12-14
How to create acl for these ip's and delay pools for above speed.
View 5 Replies
View Related
Jan 17, 2011
I would like to ask some help and tutorial for setting up and how to configure squid proxy server in my (Home PC Server). I am a newbie in Linux Centos. I already installed in my system the CentOS 5.5 . Now, I want to configure it as my internet server, all of my 4 system running in Windows including the laptop I want to connect through my CentOS pc with username authentication. I assign all IP address by static. see tthe attachement in my set up. [url] I just want to know what I need to change and add in my squid config file. And how can I configure properly my CentOS with 2 LAN card as internet server.
View 1 Replies
View Related
Aug 5, 2009
I need information to configure squid proxy server in centos 5.3 i need that urgent.
View 1 Replies
View Related
Aug 19, 2010
i installed squid 2.6 proxy server on centos 5.4,squid performs services very nice but after reboot the system.it shows a just black screen written with " GRUB_ " and held the boot process,tell me what should i do ?
View 1 Replies
View Related
Apr 12, 2011
how do i configure squid proxy server in centos 5.5 final text mode only to block facebook from 9am to 4pm
View 3 Replies
View Related
May 9, 2009
I installed squid 2.7 and want to use squid_session external acl rule. But there is no squid_session in any dir, looked everywhere. On my Ubuntu box I also have squid 2.7 and there I have squid_session.
View 4 Replies
View Related
Oct 23, 2009
what i need, I got two servers for about 4000 users and 300 servers and well the guy never setup dns caching right, so im redoing it. Now my goals
1) DNS cache
2) Transparent Squid Cache only
3) Load Balance - at switchlevel
Upgraded Hardrives to SSD 2x32gb each server 4gb of ram 2x Dell poweredge 850's - p4 2.8 (single cores) So any advise , pointers , expeirnces and best ways to do this being both server will do both dns caching and squid! Also is bind9 the best for this?? i seen stuff about DNSmasq what performs better( i dont need DHCP)
View 1 Replies
View Related
Jan 28, 2011
I just installed Webmin on this CentOS 5.5 client and would like to know if it's possible to remotely administer the Squid server. The one I'm using for webmin is different from the one where Squid proxy is running.
How do you set it up and where in Webmin?
View 1 Replies
View Related
Mar 5, 2011
I have installed squid using CentOS 5. The server is dedicated only for squid proxy server. I want to know how can I disable unwanted services which load at booting time. Like sendmail,samba,etc etc. These services take memory and are not in use. I does not know how can I make my server only for squid proxy service by removing unwanted services?
View 1 Replies
View Related
Mar 17, 2011
I am using Cent Os 5. I want to know that is there any way to check that how much size of squid cache directory is full? Normally when squid size will reach upto 2GB then I have to clean it.
# cache_dir ufs /var/spool/squid 2000 16 256
I assign 2000 MB to the cache size. One month have been pass while squid is running but i am unable to know how to check the current status of my squid cache size.
View 2 Replies
View Related
Apr 12, 2011
today i encountered centos 5.5 final server with a squid configured to block facebook from 9am to 4pm. i have tried to follow up the steps but am stack where time restriction is done and there is no proxy configuration done in the browser. the ip address of the server is being used as the default gateway.
View 2 Replies
View Related
May 18, 2010
I just want to place upload/download limit to each ip address ( say 20MB per day for each ip or specific ip) using squid proxy i tried through delay pool but it control only download/upload speed not place any download/upload quota restriction. following are my codes I have 1Mbps line
delay_pools 2
delay_class 1 2
# here 700kbps(87Kbytes) Net-Total usage limit, with 50Kbytes per user
[code]...
I also used
"reply_body_max_size" parameter to control upload limit.
But
"request_body_max_size" only restrict download based on size.
how to setup quota ( download quota per day per ip)
View 4 Replies
View Related
Jan 23, 2011
I installed squid non the CentOS 5 server. When I try to start squid I am receiving following error:
# service squid start
init_cache_dir /var/spool/squid... Starting squid: [FAILED]
The logs indicate the following:
$ sudo tail /var/log/squid/squid.out
squid: error while loading shared libraries: libcrypt.so.1: cannot open shared object file: Permission denied .....
Although, all the libraries which are shown as missing are present, but still I am seeing the following.
$ ldd /usr/sbin/squid
linux-vdso.so.1 => (0x00007fffb95ff000)
libcrypt.so.1 => not found
libssl.so.6 => not found
libcrypto.so.6 => not found
libdl.so.2 => not found
libz.so.1 => not found
librt.so.1 => not found
libpthread.so.0 => not found
libm.so.6 => not found
libnsl.so.1 => not found
libc.so.6 => not found
I have tried setting the environment variable LD_LIBRARY_PATH
$ echo $LD_LIBRARY_PATH
/lib64:/usr/lib64:/lib:/usr/lib
But still no use.
View 12 Replies
View Related
Aug 12, 2009
How To: Load Balancing & Failover With Dual/ Multi WAN on Linux proxy server I have 3 WANs connection (2 ADSL and 1 Wimax). And 30 clients on LAN.
eth0 connect with Wimax
ip= 172.23.x.x
eth1 connect with ADSL1
ip=10.10.6.x
eth2 connect with ADSL2
ip= 10.10.5.x
eth3 connect with LAN
ip=192.168.1.x
how to do Load Balancing & Failover With Dual/ Multi WAN on Linux proxy server.
View 1 Replies
View Related
May 21, 2011
I'm trying to setup a Centos 5.6 Squid Proxy Server with Content Filtering & Antivirus Scanning Incoming HTTP Traffic from the Internet
I then proceeded to setup an configure the Proxy Server, i was able to test and confirm that Squid and Dansguardian Content Filter is working, however i dont know if Clamav is scanning HTTP traffic before it hits the client/server. Is there a way i can check if the Antivirus scanning is working.. is there some log file or real world test i can i can do to confirm that Clamav is scanning incoming traffic or even blocking potential viruses ??
Anyone who has squid proxy server with Clamav configured and its working can share there settings/setup with me and how they tested it ??
View 1 Replies
View Related
May 23, 2010
My squid server works fine in fedora 11 system . Is there any web like interface for admins to create,change,modify users of squid and to view their logs.
View 1 Replies
View Related
Jul 31, 2009
i currently installed centos 5.3 with postfix. My old server is centos 4.5 final / new 5.3 final. Old server has sendmail / new has postfix. how can i transfer all the mail and settings from the old to the new? also, the old mail server is mail.xxx.xxx and for testing purposes i named the new mail server mail2.xxx.xxx.
when i an ready to put it into production, the new server will need to be mail.xxx.xxx and the old removed from the system. How do i go about changing the name and making sure everything comes out correct?
View 1 Replies
View Related
May 11, 2011
After GRUB 2 comes up (I'm running Ubuntu 10.10) and I choose the OS to boot, there is about a 5 second delay where nothing appears to happen after I make the selection -- no disk activity. It happens consistently every time I boot. Again, this is after I choose the OS to boot, so it shouldn't have anything to do with the standard delay to allow me to choose the appropriate OS.Is there a good way to troubleshoot this and determine what is causing the delay?
View 4 Replies
View Related
Mar 3, 2011
i have configured the squid for my lan. My lan has three redhat 5.3 web servers. Now by using proxy server, i wish to give access to external clients for my web server and restrict to local client, accessing wan through port 80
View 2 Replies
View Related
Mar 5, 2010
I'm having a problem with GDM very similar to the one described in the thread below, though they did not find a solution.
[URL]
Basically when I boot the machine I first see the terminal login, then after a moment I get what looks like some graphical corruption followed by GDM appearing.
I've already attempted reinstalling GNOME and X, then manually reinstalling GDM, but none have solved the problem. I'm currently in the process of enabling boot logging as described in the thread, so I'll post that soon.
View 11 Replies
View Related
Nov 16, 2009
Since my last server upgrade, last Thursday, cups is having a strange behavior: I have 3 text-only printers, and an application that prints to them. The application, to print 5 lines, it sends 5 jobs to the printer. Before the upgrade, all the jobs where printed sequentially, without any delay. After the upgrade, cups makes a small delay (5s or more) between every one...Its very annoying for the users...
View 1 Replies
View Related
Aug 21, 2010
I am using Fedora 13 x86_64 on a Acer Aspire 7730ZG laptop with: 01:00.0 VGA compatible controller: nVidia Corporation G98 [GeForce 9300M GS] (rev a1) I have kmod-nvidia-2.6.33.6-147.2.4.fc13.x86_64-195.36.31-1.fc13.2.x86_64 installed from rpmfuison when I plug in the hdmi cable to the tv, my tv says the resoultion is at 720p, and I can not get any of the resolutions settings to look right on seperate x screen with the nvidia X server settings gui. my tv is a vizo 42inch. also another question is their a way to set the video card to output at 1080? this might be part of my problem?
View 14 Replies
View Related
Apr 7, 2010
I need to set a delay between sending two mails (say 1 second). I have a shared server so delay for specific domain will be more usefull(aaa.com - 2 sec, bb.com 1 sec etc).
View 6 Replies
View Related
Sep 1, 2010
I have debian lenny, when I run an application is slow to load (example: iceweacel open and it takes, I can hold him iceweacel work normally), I tried to change from gnome to another and the same thing, went down some services (samba, squid) and nothing. I open a terminal and it takes, I want to duplicate it and do it fast. From a terminal without X (tty1) with root run mc and moves quickly, also run as root "sudo mc" and takes to boot.Any action done with sudo it takes to run.Can not be what it takes to make starting the applications, not the PC because it is new, and from one moment to another I began to pass this
View 2 Replies
View Related
Mar 29, 2011
the web page will eventually open up or if i hit refresh 2.6.35.11-83.fc14.i686 bind version 9.7.3 i have disabled ipv6. using ie for browser.
[code]....
View 5 Replies
View Related