[squid-users] squid-users Digest, Vol 7, Issue 70

Brijesh B. Mehta brijeshbmehta at gmail.com
Tue Mar 17 12:42:15 UTC 2015


Thank you all,
I have set 'logfile_rotate 30'. Lets see how it works
Regards,

Mr. Brijesh B. Mehta
Research Scholar,
Computer Engineering Department,
S. V. National Institute of Technology,
Surat - 395007
Gujarat, India
http://brijeshbmehta.wordpress.com/

Tips:
If you forward this email, please delete the forward history,
including my email address.
Remember, erasing the history helps to prevent SPAMMERS from mining
addresses and viruses from being propagated.
Also enter the addresses on the "Bcc" line to hide them from others.


On 17 March 2015 at 17:30,  <squid-users-request at lists.squid-cache.org> wrote:
> Send squid-users mailing list submissions to
>         squid-users at lists.squid-cache.org
>
> To subscribe or unsubscribe via the World Wide Web, visit
>         http://lists.squid-cache.org/listinfo/squid-users
> or, via email, send a message with subject or body 'help' to
>         squid-users-request at lists.squid-cache.org
>
> You can reach the person managing the list at
>         squid-users-owner at lists.squid-cache.org
>
> When replying, please edit your Subject line so it is more specific
> than "Re: Contents of squid-users digest..."
>
>
> Today's Topics:
>
>    1. Re: help setting up hierarchy (Alex Samad)
>    2. How can i keep log files for longer periods? (Brijesh B. Mehta)
>    3. Re: How can i keep log files for longer periods? (Yuri Voinov)
>    4. Re: How can i keep log files for longer periods? (squid-list)
>    5. Re: How can i keep log files for longer periods? (Amos Jeffries)
>
>
> ----------------------------------------------------------------------
>
> Message: 1
> Date: Tue, 17 Mar 2015 16:19:44 +1100
> From: Alex Samad <alex at samad.com.au>
> To: Amos Jeffries <squid3 at treenet.co.nz>
> Cc: squid-users at lists.squid-cache.org
> Subject: Re: [squid-users] help setting up hierarchy
> Message-ID:
>         <CAJ+Q1PW=xB7OTLQauJ4tHkse-_=-Mz5creRnARy0UargiJfC-A at mail.gmail.com>
> Content-Type: text/plain; charset=UTF-8
>
> [snip]
>
>>>>
>>>> Config questions
>>>> 1) how to I get user authentication to flow through
>>>>   if a user requests from squid-a and it takes it from squid-b. I
>>>> would like the user id's logged on both
>>>>   if a user requests from new squid to either squid-a or squid-b. I
>>>> would like the auth (which would be done on new-squid) to flow through
>>>> to either squid-a or squid-b.
>>
>> This is not possible with NTLM authentication.
>>
>> NTLM is authenticating the TCP connection between client and proxy
>> underneath the HTTP layer and has a complex handshake setting up
>> security token per-connection with the DC server. The TCP connection
>> outbound from the proxy is a different connection, and also is not from
>> the client.
>>
>> Its possible with Negotiate/Kerberos or Basic auth. Even though
>> Negotiate is also authenticating the TCP connection the handshake is
>> simpler and the token can be relayed to the peer proxy.
>>
>> NP: Though be careful in an environment using NTLM. You may get
>> Negotiate/NTLM tokens flowing around, which wont work any more than NTLM
>> does.
>
> Sounds like the simplest thing to do is turn on authentication on all
> the boxes and allow then non auth access to each other
>
>
>>
>>
>>> 2) how do I setup ICP to work properly
>>
>> Use HTCP for better HIT ratio with less false positives in HTTP/1.1.
>
> Ta, i will have to have a read, does it work. any examples on how to setup?
>
>>
>>> 3) is the cache_peer to squid-a squid-b from new-squid type parent ?
>>
>> No. But to get the authentication to work you will need login=PASSTHRU
>> parameter (and be using Basic or Negotiate/Kerberos).
> what if I just want the authenticated user id to flow through. So the
> authentication happen on the office squid and then it forward to the
> DC squid, the dc squid can log the user name in the user field is that
> possible ?
>
>>
>>> 4) do I need to allow ICP clients full access, this is the squid-a to
>>> squid-b link ?
>>
>> You should not have to. However, it also should not matter - when the
>> first proxy is doing auth you kow the traffic coming out of it is
>> authenticated. Not doing auth twice is faster.
>
> Is there a way to say any one attaching on port X doesn't need to be
> authenticated but on port Y does.
> My issues is that in the office I have a few eclipse users who had a
> lot of problems with out previous proxy solution. they are setup to
> use the office proxy in a nonauth way. but now I want to setup auth on
> this squid box. I was thinking there could be a non auth port and a
> auth port.
>
> A
>
>
>>
>> Amos
>>
>> _______________________________________________
>> squid-users mailing list
>> squid-users at lists.squid-cache.org
>> http://lists.squid-cache.org/listinfo/squid-users
>
>
> ------------------------------
>
> Message: 2
> Date: Tue, 17 Mar 2015 15:20:44 +0530
> From: "Brijesh B. Mehta" <brijeshbmehta at gmail.com>
> To: squid-users at lists.squid-cache.org
> Subject: [squid-users] How can i keep log files for longer periods?
> Message-ID:
>         <CA+2wEE1YYna3QK-t7=x6-RJpraiF-4eectCrDKJuae7xdZ_HAg at mail.gmail.com>
> Content-Type: text/plain; charset=UTF-8
>
> Hello,
>
> I am new to squid and using it for few days. i found that in my squid
> configuration (which default i guess) access log of only three days is
> being maintained (/var/log/squid3/). Now i want to store access log of
> more than 3 days say for month so what changes i need to make in my
> configuration file? I already read about rotate a log file but it
> confused me so i haven't tried it yet.
> Kindly provide me some solution
>
> Thanks
>
> Regards,
>
> Mr. Brijesh B. Mehta
> Research Scholar,
> Computer Engineering Department,
> S. V. National Institute of Technology,
> Surat - 395007
> Gujarat, India
> http://brijeshbmehta.wordpress.com/
>
> Tips:
> If you forward this email, please delete the forward history,
> including my email address.
> Remember, erasing the history helps to prevent SPAMMERS from mining
> addresses and viruses from being propagated.
> Also enter the addresses on the "Bcc" line to hide them from others.
>
>
> ------------------------------
>
> Message: 3
> Date: Tue, 17 Mar 2015 16:18:53 +0600
> From: Yuri Voinov <yvoinov at gmail.com>
> To: squid-users at lists.squid-cache.org
> Subject: Re: [squid-users] How can i keep log files for longer
>         periods?
> Message-ID: <5507FF8D.2020603 at gmail.com>
> Content-Type: text/plain; charset=utf-8; format=flowed
>
> With OS facility, no?
>
> 17.03.15 15:50, Brijesh B. Mehta пишет:
>> Hello,
>>
>> I am new to squid and using it for few days. i found that in my squid
>> configuration (which default i guess) access log of only three days is
>> being maintained (/var/log/squid3/). Now i want to store access log of
>> more than 3 days say for month so what changes i need to make in my
>> configuration file? I already read about rotate a log file but it
>> confused me so i haven't tried it yet.
>> Kindly provide me some solution
>>
>> Thanks
>>
>> Regards,
>>
>> Mr. Brijesh B. Mehta
>> Research Scholar,
>> Computer Engineering Department,
>> S. V. National Institute of Technology,
>> Surat - 395007
>> Gujarat, India
>> http://brijeshbmehta.wordpress.com/
>>
>> Tips:
>> If you forward this email, please delete the forward history,
>> including my email address.
>> Remember, erasing the history helps to prevent SPAMMERS from mining
>> addresses and viruses from being propagated.
>> Also enter the addresses on the "Bcc" line to hide them from others.
>> _______________________________________________
>> squid-users mailing list
>> squid-users at lists.squid-cache.org
>> http://lists.squid-cache.org/listinfo/squid-users
>
>
>
> ------------------------------
>
> Message: 4
> Date: Tue, 17 Mar 2015 15:54:14 +0530
> From: squid-list <squid at visolve.com>
> To: squid-users at lists.squid-cache.org
> Subject: Re: [squid-users] How can i keep log files for longer
>         periods?
> Message-ID: <550800CE.7070303 at visolve.com>
> Content-Type: text/plain; charset="utf-8"; Format="flowed"
>
> Hi,
>
> You can use the following in squid configuration to have access log for
> log time.
>
> *logfile_rotate 10*
>
> It will keep last 10 access log of squid. If you wish to have log for
> month, use it as 30. You may rotate squid log using crontab. Following
> will rotate log at every morning 6.
>
> 00      6       *       *       *      squid -k rotate
>
> - Siva Prakash
>
> On 03/17/2015 03:20 PM, Brijesh B. Mehta wrote:
>> Hello,
>>
>> I am new to squid and using it for few days. i found that in my squid
>> configuration (which default i guess) access log of only three days is
>> being maintained (/var/log/squid3/). Now i want to store access log of
>> more than 3 days say for month so what changes i need to make in my
>> configuration file? I already read about rotate a log file but it
>> confused me so i haven't tried it yet.
>> Kindly provide me some solution
>>
>> Thanks
>>
>> Regards,
>>
>> Mr. Brijesh B. Mehta
>> Research Scholar,
>> Computer Engineering Department,
>> S. V. National Institute of Technology,
>> Surat - 395007
>> Gujarat, India
>> http://brijeshbmehta.wordpress.com/
>>
>> Tips:
>> If you forward this email, please delete the forward history,
>> including my email address.
>> Remember, erasing the history helps to prevent SPAMMERS from mining
>> addresses and viruses from being propagated.
>> Also enter the addresses on the "Bcc" line to hide them from others.
>> _______________________________________________
>> squid-users mailing list
>> squid-users at lists.squid-cache.org
>> http://lists.squid-cache.org/listinfo/squid-users
>
> -------------- next part --------------
> An HTML attachment was scrubbed...
> URL: <http://lists.squid-cache.org/pipermail/squid-users/attachments/20150317/41bce270/attachment-0001.html>
>
> ------------------------------
>
> Message: 5
> Date: Wed, 18 Mar 2015 00:27:57 +1300
> From: Amos Jeffries <squid3 at treenet.co.nz>
> To: squid-users at lists.squid-cache.org
> Subject: Re: [squid-users] How can i keep log files for longer
>         periods?
> Message-ID: <55080FBD.3010807 at treenet.co.nz>
> Content-Type: text/plain; charset=utf-8
>
> On 17/03/2015 10:50 p.m., Brijesh B. Mehta wrote:
>> Hello,
>>
>> I am new to squid and using it for few days. i found that in my squid
>> configuration (which default i guess) access log of only three days is
>> being maintained (/var/log/squid3/). Now i want to store access log of
>> more than 3 days say for month so what changes i need to make in my
>> configuration file? I already read about rotate a log file but it
>> confused me so i haven't tried it yet.
>> Kindly provide me some solution
>>
>
> Since you are using the Debian package it will be in /etc/logrotate.d/squid3
>
> Amos
>
>
>
> ------------------------------
>
> Subject: Digest Footer
>
> _______________________________________________
> squid-users mailing list
> squid-users at lists.squid-cache.org
> http://lists.squid-cache.org/listinfo/squid-users
>
>
> ------------------------------
>
> End of squid-users Digest, Vol 7, Issue 70
> ******************************************


More information about the squid-users mailing list