Re: [squid-users] delay pools not used yet

2009-03-16 Thread Amos Jeffries

ronnie nyaruwabvu wrote:

here is how i defined the ACLs

acl staff_net src 196.2.2.0/24
acl staff_net src 10.0.0.0/16
acl staff_net src  168.167.8.0/21
acl staff_net src  168.167.30.0/24
acl staff_net src  168.167.32.0/24
acl staff_net src  168.167.34.0/24
acl FastInternet src 10.0.5.229



Okay, no reason why those should not work.
You are giving http_access allow to them right?

Amos


thanks.

regards,

ronnie



- Original Message 
From: Amos Jeffries 
To: ronnie nyaruwabvu 
Cc: squid-users@squid-cache.org
Sent: Friday, 13 March, 2009 3:34:49
Subject: Re: [squid-users] delay pools not used yet

ronnie nyaruwabvu wrote:

hi,

i have configured 2 delay pools, one for fast internet access and the other for normal internet access. 
delay_pools 2

delay_initial_bucket_level 50
#
#allow fast internet access to hosts defined in FastInternet
delay_class 1 1
delay_access 1 allow FastInternet
delay_access 1 deny all
delay_parameters 1 65536/655360
#
#allocate 5120k bandwidth to staff and students subnets
delay_class 2 3
delay_access 2 allow staff_net
delay_access 2 deny all
delay_parameters 2 655360/1310720 -1/-1 4096/16384

when i check with squidclient if the delay pools are working i get 
Delay pools configured: 2

Pool: 1
Class: 1
Aggregate:
Max: 655360
Restore: 65536
Current: 655360
Pool: 2
Class: 3
Aggregate:
Max: 1310720
Restore: 655360
Current: 1310720
Network:
Disabled.
Individual:
Max: 16384
Restore: 4096
Current [All networks]: Not used yet.

from this the pools are not working. where am i getting it wrong?

regards,

ronnie



We will need to see how you define FastInternet and staff_net ACL.

Amos
-- Please be using
  Current Stable Squid 2.7.STABLE6 or 3.0.STABLE13
  Current Beta Squid 3.1.0.6



  



--
Please be using
  Current Stable Squid 2.7.STABLE6 or 3.0.STABLE13
  Current Beta Squid 3.1.0.6


Re: [squid-users] delay pools not used yet

2009-03-13 Thread ronnie nyaruwabvu

here is how i defined the ACLs

acl staff_net src 196.2.2.0/24
acl staff_net src 10.0.0.0/16
acl staff_net src  168.167.8.0/21
acl staff_net src  168.167.30.0/24
acl staff_net src  168.167.32.0/24
acl staff_net src  168.167.34.0/24
acl FastInternet src 10.0.5.229

thanks.

regards,

ronnie



- Original Message 
From: Amos Jeffries 
To: ronnie nyaruwabvu 
Cc: squid-users@squid-cache.org
Sent: Friday, 13 March, 2009 3:34:49
Subject: Re: [squid-users] delay pools not used yet

ronnie nyaruwabvu wrote:
> hi,
> 
> i have configured 2 delay pools, one for fast internet access and the other 
> for normal internet access. 
> delay_pools 2
> delay_initial_bucket_level 50
> #
> #allow fast internet access to hosts defined in FastInternet
> delay_class 1 1
> delay_access 1 allow FastInternet
> delay_access 1 deny all
> delay_parameters 1 65536/655360
> #
> #allocate 5120k bandwidth to staff and students subnets
> delay_class 2 3
> delay_access 2 allow staff_net
> delay_access 2 deny all
> delay_parameters 2 655360/1310720 -1/-1 4096/16384
> 
> when i check with squidclient if the delay pools are working i get 
> Delay pools configured: 2
> Pool: 1
> Class: 1
> Aggregate:
> Max: 655360
> Restore: 65536
> Current: 655360
> Pool: 2
> Class: 3
> Aggregate:
> Max: 1310720
> Restore: 655360
> Current: 1310720
> Network:
> Disabled.
> Individual:
> Max: 16384
> Restore: 4096
> Current [All networks]: Not used yet.
> 
> from this the pools are not working. where am i getting it wrong?
> 
> regards,
> 
> ronnie
> 

We will need to see how you define FastInternet and staff_net ACL.

Amos
-- Please be using
  Current Stable Squid 2.7.STABLE6 or 3.0.STABLE13
  Current Beta Squid 3.1.0.6






Re: [squid-users] delay pools not used yet

2009-03-12 Thread Amos Jeffries

ronnie nyaruwabvu wrote:

hi,

i have configured 2 delay pools, one for fast internet access and the other for normal internet access. 


delay_pools 2
delay_initial_bucket_level 50
#
#allow fast internet access to hosts defined in FastInternet
delay_class 1 1
delay_access 1 allow FastInternet
delay_access 1 deny all
delay_parameters 1 65536/655360
#
#allocate 5120k bandwidth to staff and students subnets
delay_class 2 3
delay_access 2 allow staff_net
delay_access 2 deny all
delay_parameters 2 655360/1310720 -1/-1 4096/16384

when i check with squidclient if the delay pools are working i get 


Delay pools configured: 2
Pool: 1
Class: 1
Aggregate:
Max: 655360
Restore: 65536
Current: 655360
Pool: 2
Class: 3
Aggregate:
Max: 1310720
Restore: 655360
Current: 1310720
Network:
Disabled.
Individual:
Max: 16384
Restore: 4096
Current [All networks]: Not used yet.

from this the pools are not working. where am i getting it wrong?

regards,

ronnie



We will need to see how you define FastInternet and staff_net ACL.

Amos
--
Please be using
  Current Stable Squid 2.7.STABLE6 or 3.0.STABLE13
  Current Beta Squid 3.1.0.6


[squid-users] delay pools not used yet

2009-03-12 Thread ronnie nyaruwabvu

hi,

i have configured 2 delay pools, one for fast internet access and the other for 
normal internet access. 

delay_pools 2
delay_initial_bucket_level 50
#
#allow fast internet access to hosts defined in FastInternet
delay_class 1 1
delay_access 1 allow FastInternet
delay_access 1 deny all
delay_parameters 1 65536/655360
#
#allocate 5120k bandwidth to staff and students subnets
delay_class 2 3
delay_access 2 allow staff_net
delay_access 2 deny all
delay_parameters 2 655360/1310720 -1/-1 4096/16384

when i check with squidclient if the delay pools are working i get 

Delay pools configured: 2
Pool: 1
Class: 1
Aggregate:
Max: 655360
Restore: 65536
Current: 655360
Pool: 2
Class: 3
Aggregate:
Max: 1310720
Restore: 655360
Current: 1310720
Network:
Disabled.
Individual:
Max: 16384
Restore: 4096
Current [All networks]: Not used yet.

from this the pools are not working. where am i getting it wrong?

regards,

ronnie