Re: [squid-users] There is the problems with instagram images and videos

2022-06-16 Thread ngtech1ltd
Hey, Take a peek at: https://www1.ngtech.co.il/wpe/2016/05/02/proxy-per-internet-user-is-it-realistic/ You might find ShadowSocks interesting. Let me know if one of the proxies in the article is good enough for your use case. Eliezer -Original Message- From: squid-users On Behalf Of

Re: [squid-users] Logrotate question

2022-06-16 Thread robert k Wild
Thanks Eliezer, really appreciate it :) On Thu, 16 Jun 2022, 14:03 , wrote: > So just create the file I sent you before or extract the file from the > squid RPM using “rpm2cpio squid…rpm |cpio -dimv” in some tmp dir. > > You will just need to copy the file into the proper location, disable the >

Re: [squid-users] Logrotate question

2022-06-16 Thread ngtech1ltd
So just create the file I sent you before or extract the file from the squid RPM using “rpm2cpio squid…rpm |cpio -dimv” in some tmp dir. You will just need to copy the file into the proper location, disable the cron you have created and if the squid binary is in a specific different folder chang

Re: [squid-users] Logrotate question

2022-06-16 Thread robert k Wild
No squid isn't sorry it is compiled from source, I forgot to add it sorry about that On Thu, 16 Jun 2022, 13:19 , wrote: > Since this one is from yum install it’s very simple to just change the > config files of squid and logrotate. > > > > If you need more assistance let me know. > > > > Elieze

Re: [squid-users] Logrotate question

2022-06-16 Thread ngtech1ltd
Since this one is from yum install it’s very simple to just change the config files of squid and logrotate. If you need more assistance let me know. Eliezer From: robert k Wild Sent: Thursday, 16 June 2022 14:52 To: Eliezer Croitoru Cc: Squid Users Subject: Re: [squid-users] Logrotate qu

Re: [squid-users] Logrotate question

2022-06-16 Thread robert k Wild
Self compiled from source with others ie Squidclamav Cicap Cicap modules And clamav but did this one via yum install On Thu, 16 Jun 2022, 12:27 , wrote: > How did you installed squid on CentOS 7? > > From my packages or the OS default or self compiled or another source? > > > > Eliezer > > >

Re: [squid-users] Logrotate question

2022-06-16 Thread ngtech1ltd
How did you installed squid on CentOS 7? >From my packages or the OS default or self compiled or another source? Eliezer From: robert k Wild Sent: Thursday, 16 June 2022 14:05 To: Eliezer Croitoru Cc: Squid Users Subject: Re: [squid-users] Logrotate question Oops sorry you did say that, s

Re: [squid-users] Logrotate question

2022-06-16 Thread robert k Wild
Oops sorry you did say that, sorry I didn't see that at first On Thu, 16 Jun 2022, 12:04 robert k Wild, wrote: > I imagine Eliezer that's what I need to put in logrotate.conf file > > On Thu, 16 Jun 2022, 12:01 , wrote: > >> Oops, >> >> >> >> The next is the file: /etc/logrotate.d/squid >> >> #

Re: [squid-users] Logrotate question

2022-06-16 Thread robert k Wild
I imagine Eliezer that's what I need to put in logrotate.conf file On Thu, 16 Jun 2022, 12:01 , wrote: > Oops, > > > > The next is the file: /etc/logrotate.d/squid > > ##START > > /var/log/squid/*.log { > > weekly > > rotate 5 > > compress > > notifempty > > missingok > >

Re: [squid-users] Logrotate question

2022-06-16 Thread ngtech1ltd
Oops, The next is the file: /etc/logrotate.d/squid ##START /var/log/squid/*.log { weekly rotate 5 compress notifempty missingok nocreate sharedscripts postrotate # Asks squid to reopen its logs. (logfile_rotate 0 is set in squid.conf) # errors redirecte

Re: [squid-users] Logrotate question

2022-06-16 Thread ngtech1ltd
Hey Rob, The next is the file: From: squid-users On Behalf Of robert k Wild Sent: Thursday, 16 June 2022 13:27 To: Squid Users Subject: Re: [squid-users] Logrotate question Cool, so I will rotate daily and delete after 91 days, thanks guys On Thu, 16 Jun 2022, 11:14 Matus UHLAR - fanto

Re: [squid-users] Logrotate question

2022-06-16 Thread robert k Wild
Ok sorry as normally 3 months is 90 days and I just added a 1 to it, but I get what you mean if months have 31 I should really do 93 as I want to give it extra room incase On Thu, 16 Jun 2022, 11:41 Antony Stone, wrote: > On Thursday 16 June 2022 at 11:26:37, robert k Wild wrote: > > > Cool, so

Re: [squid-users] Logrotate question

2022-06-16 Thread Antony Stone
On Thursday 16 June 2022 at 11:26:37, robert k Wild wrote: > Cool, so I will rotate daily and delete after 91 days, thanks guys Why did you change the recommended 92 days into 91? Consider June, July and August: June has 30 days July has 31 days August has 31 days So, o

Re: [squid-users] Logrotate question

2022-06-16 Thread robert k Wild
Cool, so I will rotate daily and delete after 91 days, thanks guys On Thu, 16 Jun 2022, 11:14 Matus UHLAR - fantomas, wrote: > On 16.06.22 10:54, robert k Wild wrote: > >Basically I want to keep logs for 3 months then rotate so it overwrites > >them with another 3 months, if that makes sense > >

Re: [squid-users] Logrotate question

2022-06-16 Thread Matus UHLAR - fantomas
On 16.06.22 10:54, robert k Wild wrote: Basically I want to keep logs for 3 months then rotate so it overwrites them with another 3 months, if that makes sense in fact, it does not. I guess you are supposed to keep 3 months of logs, which mean, you always need to have 3 months of logs availab

Re: [squid-users] Logrotate question

2022-06-16 Thread robert k Wild
Hi Eliezer, Basically I want to keep logs for 3 months then rotate so it overwrites them with another 3 months, if that makes sense On Thu, 16 Jun 2022, 10:39 , wrote: > Hey Rob, > > > > First there is a difference between rotation and deletion. > > If it’s not a loaded system then 3 month is o

Re: [squid-users] Logrotate question

2022-06-16 Thread ngtech1ltd
You should combine them both. I am checking this for you right now… Eliezer From: squid-users On Behalf Of robert k Wild Sent: Thursday, 16 June 2022 12:32 To: Squid Users Subject: Re: [squid-users] Logrotate question Cool, Thanks all, il try the logrotate program instead of using squids o

Re: [squid-users] Logrotate question

2022-06-16 Thread ngtech1ltd
Hey Rob, First there is a difference between rotation and deletion. If it’s not a loaded system then 3 month is ok but… in most use cases it’s better to rotate every day but to delete after 3 month. You have the choice to compress the files or to leave them in plain text but it’s only a choice

Re: [squid-users] Logrotate question

2022-06-16 Thread robert k Wild
Cool, Thanks all, il try the logrotate program instead of using squids one Thanks guys :) On Thu, 16 Jun 2022, 10:26 Matus UHLAR - fantomas, wrote: > On 16.06.22 10:23, robert k Wild wrote: > >So I can use the package logrotate instead of the squid one > > squid packages in debian comes configu

Re: [squid-users] Logrotate question

2022-06-16 Thread Antony Stone
On Thursday 16 June 2022 at 09:53:02, robert k Wild wrote: > Hi Antony, > > All I know is I need to keep a record of up to 3 months, worth of logs, due > to gdpr, how would you say I go about this Here's the standard logrotate file for Squid3 which is installed on Debian (I doubt that CentOS sh

Re: [squid-users] Logrotate question

2022-06-16 Thread Matus UHLAR - fantomas
On 16.06.22 10:23, robert k Wild wrote: So I can use the package logrotate instead of the squid one squid packages in debian comes configured for rotating logs with logrotate. - logfile_rotate is set to 0 - logrotate config file tells when/how to rotate perhaps it's the same with centos. On

Re: [squid-users] Logrotate question

2022-06-16 Thread robert k Wild
So I can use the package logrotate instead of the squid one On Thu, 16 Jun 2022, 10:22 Matus UHLAR - fantomas, wrote: > On 16.06.22 09:53, robert k Wild wrote: > >All I know is I need to keep a record of up to 3 months, worth of logs, > due > >to gdpr, how would you say I go about this > > keepi

Re: [squid-users] Logrotate question

2022-06-16 Thread Matus UHLAR - fantomas
On 16.06.22 09:53, robert k Wild wrote: All I know is I need to keep a record of up to 3 months, worth of logs, due to gdpr, how would you say I go about this keeping 3 months of log is very different from rotating each 3 months. configure logrotate to rotate daily and keep 92 days worth of log

Re: [squid-users] Logrotate question

2022-06-16 Thread robert k Wild
Hi Antony, All I know is I need to keep a record of up to 3 months, worth of logs, due to gdpr, how would you say I go about this Thanks, Rob On Thu, 16 Jun 2022, 09:49 Antony Stone, wrote: > On Thursday 16 June 2022 at 09:27:32, robert k Wild wrote: > > > Thanks Eliezer > > > > I have centos

Re: [squid-users] Logrotate question

2022-06-16 Thread Antony Stone
On Thursday 16 June 2022 at 09:27:32, robert k Wild wrote: > Thanks Eliezer > > I have centos 7 and I want it to rotate every 3 months as we need to keep > logs for every 3 months. Do you really mean you "need to keep logs for every 3 months"? Or do you mean that you need to keep "the most rece

Re: [squid-users] Logrotate question

2022-06-16 Thread robert k Wild
Thanks Eliezer I have centos 7 and I want it to rotate every 3 months as we need to keep logs for every 3 months. Thanks, Rob On Thu, 16 Jun 2022, 08:11 , wrote: > Rob, > > > > It will be different how you implement and use logrotate manually or with > the logrotate tools. > > What OS are you

Re: [squid-users] There is the problems with instagram images and videos

2022-06-16 Thread Matus UHLAR - fantomas
On 16.06.22 09:50, ngtech1...@gmail.com wrote: Let sum things up: Squid-Cache works all over the world and you are having a trouble in a specific environment. The main thing to do now is find the difference between others and you in the setup level. First you referenced to a danted sock5 proxy

Re: [squid-users] Logrotate question

2022-06-16 Thread ngtech1ltd
Rob, It will be different how you implement and use logrotate manually or with the logrotate tools. What OS are you using? Eliezer From: squid-users On Behalf Of robert k Wild Sent: Wednesday, 15 June 2022 20:19 To: Squid Users Subject: [squid-users] Logrotate question Hi all, ATM to