Re: [squid-users] FTP proxy

2020-12-07 Thread Andrea Venturoli
On 12/7/20 4:08 PM, Alex Rousskov wrote: On 12/7/20 5:03 AM, Andrea Venturoli wrote: I'm talking about the ports used by the clients to conect to Squid (besides 21), using passive FTP (i.e. those returned by PASV command). Just to avoid misunderstanding, "those returned by PASV command" shoul

Re: [squid-users] FTP proxy

2020-12-07 Thread Alex Rousskov
On 12/7/20 5:03 AM, Andrea Venturoli wrote: > I'm talking about the ports used by the clients to conect to Squid > (besides 21), using passive FTP (i.e. those returned by PASV command). Just to avoid misunderstanding, "those returned by PASV command" should be interpreted as "ports returned by Sq

Re: [squid-users] Log rotate

2020-12-07 Thread Matus UHLAR - fantomas
On 07.12.20 12:52, sampe...@tiscali.it wrote: I manually installed Squid package 4.8-1 by yum utility while logrotate 3.8.6-19 was already installed. you are running squid -k rotate in postrotate too, so what is your question? When I installed Squid package, It’s has been created automatica

Re: [squid-users] Log rotate

2020-12-07 Thread sampe...@tiscali.it
> doesn't centos come with squid package, including logrotate config? I manually installed Squid package 4.8-1 by yum utility while logrotate 3.8.6-19 was already installed. > you are running squid -k rotate in postrotate too, so what is your question? When I installed Squid package, It’s has be

Re: [squid-users] Log rotate

2020-12-07 Thread Matus UHLAR - fantomas
On 07.12.20 10:35, sampe...@tiscali.it wrote: My OS is Centos 7. doesn't centos come with squid package, including logrotate config? But I manage rotation by logrotate, according to your suggestions in /etc/logrotate.d/squid, among postscript and endscript, there is written 'squid -k rotate’

Re: [squid-users] FTP proxy

2020-12-07 Thread Andrea Venturoli
On 12/6/20 8:41 PM, Alex Rousskov wrote: AFAIK, FTP proxy is successfully used in some production environments, but I bet that most Squid deployments do not use this feature. YMMV. Thanks. Is there a way to restrict the port range of the additional connections (e.g. to 4-5)? I do

Re: [squid-users] Log rotate

2020-12-07 Thread sampe...@tiscali.it
My OS is Centos 7. But I manage rotation by logrotate, according to your suggestions in /etc/logrotate.d/squid, among postscript and endscript, there is written 'squid -k rotate’ so you don’t invoke squid rotation too ?!? We have 2 rotations? > On 7 Dec 2020, at 10:08, Matus UHLAR - fantomas

Re: [squid-users] Log rotate

2020-12-07 Thread Matus UHLAR - fantomas
On 07.12.20 09:12, sampe...@tiscali.it wrote: I want to rotate access.log by logrotate system process so I disabled rotation in squid.conf, logfile_rotate has been set to zero; by logrotate I can compress log files and to name them with date suffix. But what I have to write among postrotate an

Re: [squid-users] FTP proxy

2020-12-07 Thread Matus UHLAR - fantomas
On 12/6/20 10:26 AM, Andrea Venturoli wrote: Is there a way to restrict the port range of the additional connections (e.g. to 4-5)? On 06.12.20 14:41, Alex Rousskov wrote: I do not know what connections you are talking about (there are at least four connections when it comes to a typic

[squid-users] Log rotate

2020-12-07 Thread sampe...@tiscali.it
I want to rotate access.log by logrotate system process so I disabled rotation in squid.conf, logfile_rotate has been set to zero; by logrotate I can compress log files and to name them with date suffix. But what I have to write among postrotate and endscript ? What command to send to squid to s