Here I make this post alive because a make a few changes. Here you
have, if anyone need it:
#!/bin/bash
while read line; do
shortLine=`echo $line | awk -F "/" '{print $NF}'`
#echo $shortLine >> /home/carlos/guarda & -> This is for debugging
result=`squidclient -h 127.0.0.1 m
Carlos Manuel Trepeu Pupo wrote:
> On Thu, Apr 5, 2012 at 10:32 AM, H wrote:
>> Carlos Manuel Trepeu Pupo wrote:
> what is your purpose? solve bandwidth problems? Connection rate?
> Congestion? I believe that limiting to *one* download is not your real
> intention, because the browser
On Thu, Apr 5, 2012 at 10:32 AM, H wrote:
> Carlos Manuel Trepeu Pupo wrote:
>>> > what is your purpose? solve bandwidth problems? Connection rate?
>>> > Congestion? I believe that limiting to *one* download is not your real
>>> > intention, because the browser could still open hundreds of regular
Carlos Manuel Trepeu Pupo wrote:
>> > what is your purpose? solve bandwidth problems? Connection rate?
>> > Congestion? I believe that limiting to *one* download is not your real
>> > intention, because the browser could still open hundreds of regular
>> > pages and your download limit is nuked and
On Thu, Apr 5, 2012 at 7:01 AM, H wrote:
> Carlos Manuel Trepeu Pupo wrote:
>> On Tue, Apr 3, 2012 at 6:35 PM, H wrote:
>>> Eliezer Croitoru wrote:
On 03/04/2012 18:30, Carlos Manuel Trepeu Pupo wrote:
> On Mon, Apr 2, 2012 at 6:43 PM, Amos Jeffries
> wrote:
>> On 03.04.2012 02:2
Carlos Manuel Trepeu Pupo wrote:
> On Tue, Apr 3, 2012 at 6:35 PM, H wrote:
>> Eliezer Croitoru wrote:
>>> On 03/04/2012 18:30, Carlos Manuel Trepeu Pupo wrote:
On Mon, Apr 2, 2012 at 6:43 PM, Amos Jeffries
wrote:
> On 03.04.2012 02:21, Carlos Manuel Trepeu Pupo wrote:
>>
>>
On Tue, Apr 3, 2012 at 6:35 PM, H wrote:
> Eliezer Croitoru wrote:
>> On 03/04/2012 18:30, Carlos Manuel Trepeu Pupo wrote:
>>> On Mon, Apr 2, 2012 at 6:43 PM, Amos Jeffries
>>> wrote:
On 03.04.2012 02:21, Carlos Manuel Trepeu Pupo wrote:
>
> Thanks a looot !! That's what I'm
Eliezer Croitoru wrote:
> On 03/04/2012 18:30, Carlos Manuel Trepeu Pupo wrote:
>> On Mon, Apr 2, 2012 at 6:43 PM, Amos Jeffries
>> wrote:
>>> On 03.04.2012 02:21, Carlos Manuel Trepeu Pupo wrote:
Thanks a looot !! That's what I'm missing, everything work
fine now. So this s
On Tue, Apr 3, 2012 at 4:36 PM, Eliezer Croitoru wrote:
> On 03/04/2012 18:30, Carlos Manuel Trepeu Pupo wrote:
>>
>> On Mon, Apr 2, 2012 at 6:43 PM, Amos Jeffries
>> wrote:
>>>
>>> On 03.04.2012 02:21, Carlos Manuel Trepeu Pupo wrote:
Thanks a looot !! That's what I'm miss
On 03/04/2012 18:30, Carlos Manuel Trepeu Pupo wrote:
On Mon, Apr 2, 2012 at 6:43 PM, Amos Jeffries wrote:
On 03.04.2012 02:21, Carlos Manuel Trepeu Pupo wrote:
Thanks a looot !! That's what I'm missing, everything work
fine now. So this script can use it cause it's already works.
No
On Mon, Apr 2, 2012 at 6:43 PM, Amos Jeffries wrote:
> On 03.04.2012 02:21, Carlos Manuel Trepeu Pupo wrote:
>>
>> Thanks a looot !! That's what I'm missing, everything work
>> fine now. So this script can use it cause it's already works.
>>
>> Now, I need to know if there is any way to co
On 03.04.2012 02:21, Carlos Manuel Trepeu Pupo wrote:
Thanks a looot !! That's what I'm missing, everything work
fine now. So this script can use it cause it's already works.
Now, I need to know if there is any way to consult the active request
in squid that work faster that squidclient
Thanks a looot !! That's what I'm missing, everything work
fine now. So this script can use it cause it's already works.
Now, I need to know if there is any way to consult the active request
in squid that work faster that squidclient
On Sat, Mar 31, 2012 at 9:58 PM, Amos Jeffries wr
On 1/04/2012 7:58 a.m., Carlos Manuel Trepeu Pupo wrote:
On Sat, Mar 31, 2012 at 4:18 AM, Amos Jeffries wrote:
On 31/03/2012 3:07 a.m., Carlos Manuel Trepeu Pupo wrote:
Now I have the following question:
The possible error to return are 'OK' or 'ERR', if I assume like
Boolean answer, "OK"->TR
On Sat, Mar 31, 2012 at 4:18 AM, Amos Jeffries wrote:
> On 31/03/2012 3:07 a.m., Carlos Manuel Trepeu Pupo wrote:
>>
>>
>> Now I have the following question:
>> The possible error to return are 'OK' or 'ERR', if I assume like
>> Boolean answer, "OK"->TRUE& "ERR"->FALSE. Is this right ?
>
>
> Equi
On 31/03/2012 3:07 a.m., Carlos Manuel Trepeu Pupo wrote:
Now I have the following question:
The possible error to return are 'OK' or 'ERR', if I assume like
Boolean answer, "OK"->TRUE& "ERR"->FALSE. Is this right ?
Equivalent, yes. Specifically it means success / failure or match /
non-matc
On Thu, Mar 29, 2012 at 4:03 PM, Eliezer Croitoru wrote:
> On 29/03/2012 21:05, Carlos Manuel Trepeu Pupo wrote:
>>
>> On Tue, Mar 27, 2012 at 1:23 PM, Eliezer Croitoru
>> wrote:
>>>
>>> On 27/03/2012 17:27, Carlos Manuel Trepeu Pupo wrote:
On Mon, Mar 26, 2012 at 5:45 PM, Amos Jef
On Thu, Mar 29, 2012 at 4:03 PM, Eliezer Croitoru wrote:
> On 29/03/2012 21:05, Carlos Manuel Trepeu Pupo wrote:
>>
>> On Tue, Mar 27, 2012 at 1:23 PM, Eliezer Croitoru
>> wrote:
>>>
>>> On 27/03/2012 17:27, Carlos Manuel Trepeu Pupo wrote:
On Mon, Mar 26, 2012 at 5:45 PM, Amos Jef
On Thu, Mar 29, 2012 at 4:03 PM, Eliezer Croitoru wrote:
> On 29/03/2012 21:05, Carlos Manuel Trepeu Pupo wrote:
>>
>> On Tue, Mar 27, 2012 at 1:23 PM, Eliezer Croitoru
>> wrote:
>>>
>>> On 27/03/2012 17:27, Carlos Manuel Trepeu Pupo wrote:
On Mon, Mar 26, 2012 at 5:45 PM, Amos Jef
On Tue, Mar 27, 2012 at 1:23 PM, Eliezer Croitoru wrote:
> On 27/03/2012 17:27, Carlos Manuel Trepeu Pupo wrote:
>>
>> On Mon, Mar 26, 2012 at 5:45 PM, Amos Jeffries
>> wrote:
>>>
>>> On 27.03.2012 10:13, Carlos Manuel Trepeu Pupo wrote:
On Sat, Mar 24, 2012 at 6:31 PM, Amos Jeffri
On 27/03/2012 17:27, Carlos Manuel Trepeu Pupo wrote:
On Mon, Mar 26, 2012 at 5:45 PM, Amos Jeffries wrote:
On 27.03.2012 10:13, Carlos Manuel Trepeu Pupo wrote:
On Sat, Mar 24, 2012 at 6:31 PM, Amos Jeffries
wrote:
On 25/03/2012 7:23 a.m., Carlos Manuel Trepeu Pupo wrote:
On Thu, Mar 22,
On Mon, Mar 26, 2012 at 5:45 PM, Amos Jeffries wrote:
> On 27.03.2012 10:13, Carlos Manuel Trepeu Pupo wrote:
>>
>> On Sat, Mar 24, 2012 at 6:31 PM, Amos Jeffries
>> wrote:
>>>
>>> On 25/03/2012 7:23 a.m., Carlos Manuel Trepeu Pupo wrote:
>>>
On Thu, Mar 22, 2012 at 10:00 PM, Amos Jeffries w
On 26/03/2012 23:13, Carlos Manuel Trepeu Pupo wrote:
#!/bin/bash
result=`squidclient -h 192.168.19.19 mgr:active_requests | grep -c "$1"`
if [ $result -eq 0 ]
then
echo 'OK'
else
echo 'ERR'
fi
the code should be something like that:
#!/bin/bash
while read line; do
result=`squidclient
On 27.03.2012 10:13, Carlos Manuel Trepeu Pupo wrote:
On Sat, Mar 24, 2012 at 6:31 PM, Amos Jeffries
wrote:
On 25/03/2012 7:23 a.m., Carlos Manuel Trepeu Pupo wrote:
On Thu, Mar 22, 2012 at 10:00 PM, Amos Jeffries wrote:
On 23/03/2012 5:42 a.m., Carlos Manuel Trepeu Pupo wrote:
I need to
On Sat, Mar 24, 2012 at 6:31 PM, Amos Jeffries wrote:
> On 25/03/2012 7:23 a.m., Carlos Manuel Trepeu Pupo wrote:
>
>> On Thu, Mar 22, 2012 at 10:00 PM, Amos Jeffries wrote:
>>>
>>> On 23/03/2012 5:42 a.m., Carlos Manuel Trepeu Pupo wrote:
I need to block each user to make just one conne
On 25/03/2012 7:23 a.m., Carlos Manuel Trepeu Pupo wrote:
On Thu, Mar 22, 2012 at 10:00 PM, Amos Jeffries wrote:
On 23/03/2012 5:42 a.m., Carlos Manuel Trepeu Pupo wrote:
I need to block each user to make just one connection to download
specific extension files, but I dont know how to tell that
On Thu, Mar 22, 2012 at 10:00 PM, Amos Jeffries wrote:
> On 23/03/2012 5:42 a.m., Carlos Manuel Trepeu Pupo wrote:
>>
>> I need to block each user to make just one connection to download
>> specific extension files, but I dont know how to tell that can make
>> just one connection to each file and
On 23/03/2012 5:42 a.m., Carlos Manuel Trepeu Pupo wrote:
I need to block each user to make just one connection to download
specific extension files, but I dont know how to tell that can make
just one connection to each file and not just one connection to every
file with this extension.
i.e:
www
I need to block each user to make just one connection to download
specific extension files, but I dont know how to tell that can make
just one connection to each file and not just one connection to every
file with this extension.
i.e:
www.google.com #All connection that required
www.any.domain.com
David Parks wrote:
I expect a lot of users from the same IP (NAT), is there a way to
limit concurrent connections by authenticated user rather than just
by IP (acl maxconn appears to do it only by IP)? Thx, David
Not directly.
You can hack something up with a combo of max_user_ip and maxconn.
I expect a lot of users from the same IP (NAT), is there a way to limit
concurrent connections by authenticated user rather than just by IP (acl
maxconn appears to do it only by IP)?
Thx,
David
31 matches
Mail list logo