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
ADVERTISEMENT
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
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
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
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
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
Nov 15, 2010
How to deny download some file types on squid ?
I tried below in my squid.conf
acl blockfiles urlpath_regex -i "/etc/squid/src/blockfiles"
http_access allow localnet freesites !blockfiles
and in my /etc/squid/src/blockfiles
.[Ee][Xx][Ee]$
.[Aa][Vv][Ii]$
.[Mm][Pp][Gg]$
.[Mm][Pp][Ee][Gg]$
.[Mm][Pp]3$
.[Rr][Aa][Rr]$
I still able to download
View 2 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
Oct 18, 2009
How will I allocate specific bandwidth to clients using squid? I use squid on RHEL5 serer ...
View 1 Replies
View Related
Oct 1, 2009
Does squid automatically split bandwidth between connected clients? I'm wondering if someone was downloading a lot of data and someone else connected whether it would split the access 50:50 between them? I have 1 user that is using a lot of bandwidth but the server doesn't seem to split it up between all connected clients so others are receiving slow access. I don't have this client's IP address but I do have ncsa auth connected. Will delay_pools work with an ncsa username?
View 2 Replies
View Related
Jul 27, 2011
I have configured router(192.168.1.2) to serve only one machine with IP - '192.168.1.6' and set up SQUID proxy on '192.168.1.6'. I have defined some rules(ACL) regarding connections to internet on SQUID proxy.
I changed the Gateway of rest of machine (192.168.1.60 - 192.168.1.69) from '192.168.1.2' to '192.168.1.6'.
The policies which I defined in SQUID is working properly but 'Linux Evolution mail' client is not fetching mails.
Is I have to do any other settings on 'Linux System' or 'Evolution mail client'.
View 2 Replies
View Related
Sep 20, 2010
set up a squid on our network, our dhcp server and dns are built in windows os. integrate if i will be built a squid server in centos 5.5.
View 2 Replies
View Related
Jun 14, 2010
i have the following ip assignments
fedora (iptables)
eth0 -private :192.168.1.1
eth1 -public : 186.117.50.6
squid proxy
192.168.1.10:3128
my clients range
192.168.2.0/24
how can i make my clients to browse internet only from proxy server my network is NAT 'ed. Please specify a iptable rule to allow internet access for my clients to browse ONLY if they come through proxy server.
View 1 Replies
View Related
Jun 17, 2011
I have a network with two WAN links. One link is supposed to be for Senior Management and the other for the rest of the company. Currently all traffic seems to be going via one WAN link.
Is it possible to setup squid to select the link to use by checking the mac address of the requesting computer
View 1 Replies
View Related
Apr 9, 2011
I would like port 80 to have a small daemon running on it that detects HTTP traffic and sends a small redirect response, and any other traffic begins streaming data from my VPN daemon. I was wondering if this has already been made, or any kind of technology for detecting types of traffic and allowing you to run multiple types of servers on the same port.
View 4 Replies
View Related
Sep 12, 2010
I'm trying to use "netlink" to get ip address of a Linux box. But the linux/types.h included from "linux/rtnetlink.h" introduced many conflicting type declarations with "sys/types.h".
#include <rtnetlink.h>
#include <sys/types.h>
#include <sys/socket.h>
int main (int argc, char *argv[])
{
return 0;
}
The program will demonstrate such type conflicts.
View 3 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
Oct 4, 2015
I'm trying to lower consumption of my server/HTPC. After wakeup from pm-suspend server/HTPC is ready to use in 1 or 2 seconds .For example if I suspend it while watching movie in KODI, after resume movie starts playing instantly. But some services (SSH and SAMBA) are not running. I thought it was network problem so I change configuration to static (not DHCP). SAMBA and SSH starts like 15 seconds after wakeup.
View 0 Replies
View Related
Nov 17, 2015
I'm using Debian 8.2 from a very recent download of the latest NetInst (less than 2 weeks). I'm sort of new to Linux - More accurately, I've used Unix and Linux extensively in the past, so most of my knowledge is dated. In particular, the whole systemd / systemctl paradigm is completely new to me.
Problem: I've added an entry to /etc/fstab to mount a NAS drive as CIFS. When I do a system shutdown or reboot, the system hangs for 90 seconds trying to unmount the NAS. If I manually umount the NAS prior to shutdown / reboot everything works fine.
I've done a fair amount of investigation and web searches, but haven't found a fix yet. Apparently several people were encountering similar problems about a year back, and it seems pretty clear that the root cause what ordering of steps in the shutdown process, e.g., WLAN being turned off before unmounting filesystems. This seems to have been resolved for most users (no one is discussing it any more), but I'm now running into the same issue. Ugh.
I tried to add a shell script to /etc/rc0.d to umount the NAS first in the shutdown process. This had no effect. I assume this is because the new systemd / systemctl paradigm supplants the old /etc/rc model of runlevel control, though it is rather baffling (to me, at least) as to why /etc/rc* still exists if the system is no longer using it...?
Here's some things I'd like to try, but how to proceed:
1. In the new systemd / systemctl paradigm, how do I examine and change the ordering of steps in the shutdown process? I've seen a lot of documentation on systemd, but nothing tells me how to do what I used to be able to do with /etc/rc with a simple rename of a symlink. If I knew how to look at the order of shutdown and change that ordering, I'm fairly certain I could identify and resolve this issue.
2. Is there some other way to mount my CIFS NAS other than editing /etc/fstab? Is it possible that my manual edit to /etc/fstab is the cause of this issue? My research into systemd indicates that it IS supposed to be compatible with /etc/fstab. I have not yet found documentation describing how to mount a filesystem at boot WITHOUT editing /etc/fstab ...
View 8 Replies
View Related
Jan 27, 2016
When I boot up, or come out of standby, etc, it takes about a minute for my Windows shares on Win 7 to show up under Network. Is there anything I can try that will make this initial connection faster? Either on Debian or the Win7 machine? I have the latest Debian vanilla. This is over wifi. My other devices list the shares right away.
View 1 Replies
View Related
Jul 11, 2011
On a Debian 5.0.8 I have a problem with OpenSSH server (sshd): when connecting to it from another host there is always a 10 seconds delay before sshd gives login prompt to the client. After the connection is established the communication goes on without any interruption. This long delay started to happen a few months ago and sshd_config was not changed at that time.
Here is a short description of the conversation between the putty client (on MS Windows) and sshd:
- putty client starts connection to sshd
- 10 s delay
- sshd returns "login as:"
- user types username in putty window
- sshd returns "password:"
- user types password in putty window
- sshd returns MotD and shell prompt
Here is a short description of the conversation between the OpenSSH client (on a Debian 6) and sshd:
- client does "ssh user@host.foo.bar"
- 10 s delay
- sshd returns "Password:"
- user types password
- sshd returns MotD and shell prompt
I tried connecting from:
- local host - NO DELAY
- a host on the same subnet - delay exists
- a host on another subnet - delay exists
I've found the following suggestions but to no avail (of course I restarted sshd after changing its configuration):
- on server put "UseDNS no" at the end of /etc/ssh/sshd_config
- in /etc/hosts on the server define mappings between IP addresses and host names for the ssh clients
- on client use "GSSAPIAuthentication no" in /etc/ssh/ssh_config
Here are some logs and configurations:
View 5 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
Sep 1, 2011
I want to ask a question regarding on the "locale" problem. I've searched a lot on Google, but I think there is no detailed information and logic explained this topic well. Someone may suggest use Preference->Administration->Language Support to add or change whatever language I want. I can't use this way beacuse:
1. I need try to push locale configuration to a lot of linux clients.
2. I want to know the detailed information of how to configure.
I have tried to find the most helpful page on the Internet and read some "man locale":
[Code]...
View 2 Replies
View Related
Jan 24, 2009
Is there a way to use dhcpd to assign vpn clients their IP and configuration?
I'd like to have dhcpd listen on br0 (already set as 10.0.0.1) so that devices conecting through eth1 and tap0 (should I be using tun?) will get the same address pool.
View 7 Replies
View Related
Mar 22, 2011
I have one local mail server hosted in Mdaemon in my office and ip is 192.168.10.2. My clients can't use the email from the outside. If they want to use the mail, they need to come to office. I want them to use from the outside. How can i set up the mail server. Do i need to host the server on the hosting? I want to synchronize with my local mail server. I don't have the public IP BTW.
View 2 Replies
View Related
Dec 29, 2010
I am using squid to controlling access to the internet all is working fine expect one of the user who is using outside organization portal to connect internet. But whenever he tries to enter in the portal by typing (EXAMPLE)url. Permission denied error from squid occur.
How can i allow this portal in squid. So squid will allow this to access.
View 1 Replies
View Related
Sep 1, 2011
I'm using Grsync and I want to be able to plug in any drive into my laptop and run rsync on it to back up all the user documents on there to another external hdd and to exclude everything else. Working on the principle that user documents don't always appear where we'd expect I want rsync to look through the whole drive and filter what it backs up by file type. I am only having partial success, however.
I am using the 'filter' option in the 'additional options' box. I am using the command
Code:
filter='merge /home/tim/Desktop/filter'
and I am attaching the filter file I have written. (I have added the .txt extention to upload it).
I have tested this script on my home folder and here's what's going wrong. Rsync will copy the entire directory structure regardless of whether there are any files to be copied over in those directories. I am also getting only some file types getting included and not others. .odt and .ods files are copied, for instance, but not .doc or .rtf.
View 3 Replies
View Related
Aug 24, 2011
i set up an ltsp server on debian squeeze. after a standard installation, sound doesn't work on clients.
[code]...
when i start iceweasel normally (executed on server side), i get sound on the client. when i start ltsp-localapps iceweasel, i get no sound on flash sites and videos videos.what's wrong ? with local apps, is it possible that the flashplugin-nonfree doesn't talk to alsa ?
View 1 Replies
View Related
Apr 3, 2010
I have configured squid in a single PC to save bandwidth and to block some sites.It works fine,but the only drawback is if the user disables the proxy settings in the browser they can able to browse all sites..Is there anyway to force all my browsers to go through proxy??
View 4 Replies
View Related
Jun 11, 2011
I have 10 systems on my network and I have centos5.5 installed on server. All other clients are on WinXP. I am using squid server to share internet on my network.Problem is: whenever an user trying to open a website through squid server, it opens too slow, but if same user tries to open same website by passing squid server, it opens 3 times faster. Downloading speed is same in both scenario. Only buffering speed is slow through squid.
View 1 Replies
View Related