CentOS 5 Server :: Creating A Squid Config With 2 Delay Pools?

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


ADVERTISEMENT

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 View Related

Networking :: CentOS 5 System With Squid 2.6 - How To Enable Delay Pools

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

Server :: Delay Pools - Managing Internet Bandwidth Thru Squid Proxy

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

Networking :: How To Apply Delay Pools On Squid

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

General :: Squid Delay Pools Configuration For 3 Types Of Clients

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

Networking :: DHCP - Creating Multiple Subnet Pools For Different Hosts?

Jul 16, 2010

I am trying to configure dhcpd to provide two different pools of IPs- one for dynamically named hosts specific to MAC addresses, and another for everyone else.So, a machine with X MAC address connects, gets an IP from e pool, and the server updates DNS with the address under a specific hostname.For the other pool, it just assigns the IP, no DNS updates.The "class" function doesn't appear to allow anything but pattern matching, and I can't find anything that specifies what "allow" and "deny" options therere for the pool command.Here's my config so far - will this do what I want?

Code:
key dhcpd {
algorithm hmac-md5;

[code]...

View 2 Replies View Related

CentOS 5 Server :: Squid Proxy Configuration SQUID 2.6.STABLE21

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

CentOS 5 :: Svn Server Config - Understanding Location Svnpath Parameter On Svn Config

Sep 7, 2009

I was tryin to deploy svn on centos 5 with respect to [URL] I am stuck understandin the location svnpath parameter on svn config

[Code]...

View 1 Replies View Related

CentOS 5 Server :: Need Info To Configure Squid?

Aug 5, 2009

I need information to configure squid proxy server in centos 5.3 i need that urgent.

View 1 Replies View Related

General :: Centos Is Not Booting After Installing Squid Server?

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

General :: Configure Squid Proxy Server In Centos 5.5?

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

CentOS 5 Server :: Squid Session Not Found In Any Directory?

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

CentOS 5 Server :: DNS Cache ONLY + Squid Transparent Caching

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

CentOS 5 Server :: Remotely Administer Squid Via Webmin?

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

CentOS 5 Server :: Disable Unwanted Services In Other Than Squid?

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

CentOS 5 Server :: Check How Much Squid Cache Has Been Full ?

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

CentOS 5 Server :: Can't Run Named When Config Bind?

Dec 20, 2010

don't find box of BIND so i was posting into this boxI have some problem when i config bind DNS for my domain and then i can't start named,this's error message

[root@server1 named]# service named restart
Stopping named: [ OK ]
Starting named:

[code]....

View 1 Replies View Related

CentOS 5 :: Install And Config SNMP In Web Server?

Feb 16, 2011

How to install and config SNMP in my CentOS Web Server

View 1 Replies View Related

CentOS 5 Server :: DNS Caching Server Config?

Dec 17, 2010

I have a Bind DNS caching-only server setup that is working. I am bringing up a new AD domain controller that will also be a DNS server for that AD but I don't want it responding to any DNS queries except those that are AD related.So, my goal is to leave this caching server as the primary DNS server for stations on the network and have it forward requests for the AD domain to the domain controller.My understanding is that I just need a forward zone for that domain pointing to the domain controller. However it does not seem to be working.So that leaves me to think that my caching server is not forwarding properly.

For example, this AD is going to have a naming convention of hostname.mydomain.local.If I do an nslookup and specify the domain controller's IP address as the server, I can query addresses that exist in DNS on that server, such as dc1.mydomain.local.However, queries to my caching server times out (I get a response from the caching server if I query mydomain.local but none of the objects in that domain) Here is my named.conf file:

options {
directory "/var/named";
listen-on { 192.168.0.14; 127.0.0.1; };

[code]....

View 1 Replies View Related

General :: Squid Proxy Server In Centos 5.5 Final Configuration?

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

CentOS 5 Server :: Placing Upload/download Limit To Each Ip Using Squid?

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

CentOS 5 Server :: Squid - Error While Loading Shared Libraries

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

Server :: Creating Ftp User In Centos With Permissions?

Jul 12, 2011

I have created a ftp user in centos 5,but it got all permissions to delete files in other location,view the entire directory and create any folder in every place. How to deny this permissions to the particular user.And please help me to give permissions only to a specified location given by the root.

View 4 Replies View Related

CentOS 5 Server :: Postfix Not Loading Config From Main.cf?

Feb 16, 2010

I'm trying to change some configurations but when I change it from the default options in main.cf, it doesn't actually update the running configuration. I've even restarted the server all together but it still doesn't update it.In main.cf, here is the configuration I've added:

bounce_template_file = /etc/postfix/bounce.cf
bounce_queue_lifetime = 4h
maximal_queue_lifetime = 4h
delay_warning_time = 1h

View 1 Replies View Related

CentOS 5 Server :: SMTP Spamfilter Centos5.5 Dcc - On Config ?

Mar 3, 2011

I am trying to see if a can get a centos 5.5 server setup as an smtp store and forward spamfilter by following the Centos Wiki and the freespamfilter.org guide by Mr88Talent at [url], which relates to another linux distro.

The spamfilter is essentially working! however, i have one issue with DCC.

test problem:

I'm not sure if anyone else would be interested in a Centos version of Mr88Talent's tutorial, but a very rough and completely untested first effort is available at the following url: [url]

Any opinions on this setup or just a total slating of everything i have done wrong would be welcome as i don't want to waste time trying to use a setup that is just not going to be practical or reliable to maintain / keep operational.

I have read that yum update can break this type of system - which concerns me.

The intended use of the spamfilter is for a small business (only about twenty e-mail accounts). However, they still need to reliably receive e-mails (hopefully with less spam though).

View 9 Replies View Related

CentOS 5 Server :: Setting Up Relaxed Samba Config

May 29, 2011

I've got a situation where I would normally use NFS, but cannot. So in it's place I need to use a samba share (even though it's linux -> linux). I need it completely open and world writeable as if I had done an rw in an NFS export. I thought I had it as when logged in as a user I can edit delete etc. however the apache user seems to be struggling with creating files. Here's my smb.conf as it stands.

[global]
workgroup = WGRP
server string = Samba Server Version %v
security = user
passdb backend = tdbsam
unix extensions = no

[tmp]
comment = Temp Directory
path = /var/tmp
public = yes
guest ok = yes
writeable = yes
browseable = yes

[sites]
comment = Sites Directory
path = /var/www/sites
public = yes
guest ok = no
write list = siteusr
writeable = yes
create mask = 0777
browseable = no
security mask = 0777
directory security mask = 0777

Note that the drive is mapped as user siteusr. What I can do to open it up more?

View 5 Replies View Related

CentOS 5 Networking :: Load Balancing Multi WAN On Squid Proxy Server?

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

CentOS 5 Server :: Creating PDF Using PHP Getting Undefined Function Error?

Mar 16, 2009

I had installed PHP using yum install php. I am trying to use the pdf_new function to create pdfs from existing text files, but I get this error PHP Fatal error: Call to undefined function pdf_new()I have noticed that when I run the phpinfo() command, I cannot find the PDF phrase at all. My php.ini file does not even have these two linesextension=php_pdf.dll extension=php_cpdf.dll kind of command I should use if I need to build PDFs using PHP on Centos 5?

View 1 Replies View Related

CentOS 5 Server :: Creating New Service Scripts - PidFile?

Mar 17, 2009

I am new to linux, running a brand new centos 5.2 server. One application I want to use it for is to serve as a network host for a game my friends and I enjoy. Normally, to run the game in host mode you call the binary and pass it a port number (along with other options). To host a second instance of the game, same thing different port, you get the idea.

After doing that the binary runs in your window and dumps to stdout, so if you want it to run 24/7 you have to come up with your own strategy like nohup. Fair enough, now, I'm trying to coax the game into restarting automatically upon reboot. The most correct way to do this seemed to be to write a script for init.d so that's the road I traveled down. Now, to strain the metaphor, the pavement has ended and I'm stuck in the sand.

Here begin my questions:
I've been following the structure of other init.d scripts and I notice they all seem to call the function daemon() (contained in /etc/init.d/functions) to start their services. Looking at the structure of daemon() I see that you can pass it a user and a pidfile. The user part seems to work fine, but no pidfile is created. Let me be more specific.

Like the other scripts, I explicitly touch /var/lock/subsys/game-port on startup, which works fine. However, all of those other services seem to have a pidfile in /var/run and mine doesn't. They don't create it explicitly in their init.d script therefore I assume that some other process is creating the pidfile. At first I thought it would be the call to daemon(), since you have the option of passing it --pidfile, but that doesn't seem to work.

Are the services themselves creating the pidfile? If that's the case then I have more complications because the game binary apparently doesn't do this. Second question but probably related to the first. None of the other init.d scripts I looked at seem to do anything special to detach their services from a particular terminal session, therefore I didn't think that I would need to either.

Again I thought this was something the call to daemon() might accomplish, but either I'm wrong or I'm doing something wrong. I can probably work around this with nohup or appending '&' or something, but I'm just curious that other services like crond, sshd, named, etc., don't seem to do this. Are they determining this behavior from within the binaries themselves? I hope this is clear, as I said I'm new so I may not be getting all of the terminology correct.

View 2 Replies View Related







Copyrights 2005-15 www.BigResource.com, All rights reserved