Re: [squid-users] Squid with a FTPD... glFTPD or ioFTPD

2016-04-27 Thread Alex Rousskov
On 04/27/2016 11:42 AM, sebastien.boulia...@cpu.ca wrote: > I would like to know if someone use Squid with a FTPD like glFTPD or > ioFTPD or something like that. Folks can and do access various FTP servers through Squid (either via native FTP commands sent/redirected to Squid's ftp_port or via HT

Re: [squid-users] Squid with a FTPD... glFTPD or ioFTPD

2016-04-27 Thread Yuri Voinov
-BEGIN PGP SIGNED MESSAGE- Hash: SHA256 Hm.. for what? 27.04.16 23:42, sebastien.boulia...@cpu.ca пишет: > > Hi all, > > > > I would like to know if someone use Squid with a FTPD like glFTPD or ioFTPD or something like that. > > > > Thanks you very much for your answer. >

Re: [squid-users] Squid with a FTPD... glFTPD or ioFTPD

2016-04-27 Thread Matus UHLAR - fantomas
On 27.04.16 13:42, sebastien.boulia...@cpu.ca wrote: I would like to know if someone use Squid with a FTPD like glFTPD or ioFTPD or something like that. why? squid and tpd are two different things... -- Matus UHLAR - fantomas, uh...@fantomas.sk ; http://www.fantomas.sk/ Warning: I wish NOT to

[squid-users] Squid with a FTPD... glFTPD or ioFTPD

2016-04-27 Thread Sebastien.Boulianne
Hi all, I would like to know if someone use Squid with a FTPD like glFTPD or ioFTPD or something like that. Thanks you very much for your answer. Sébastien ___ squid-users mailing list squid-users@lists.squid-cache.org http://lists.squid-cache.org/li

Re: [squid-users] Regex optimization

2016-04-27 Thread Yuri Voinov
-BEGIN PGP SIGNED MESSAGE- Hash: SHA256 Furthermore. The more specifically a regular expression, so it usually faster. 27.04.16 20:01, Amos Jeffries пишет: > On 27/04/2016 11:32 p.m., Alfredo Rezinovsky wrote: >> I saw in debug log that when an ACL has many regexes each one is compared

Re: [squid-users] Regex optimization

2016-04-27 Thread Yuri Voinov
-BEGIN PGP SIGNED MESSAGE- Hash: SHA256 27.04.16 20:01, Amos Jeffries пишет: > On 27/04/2016 11:32 p.m., Alfredo Rezinovsky wrote: >> I saw in debug log that when an ACL has many regexes each one is compared >> sequentially. >> >> If I have >> >> www.facebook.com >> facebook.com >> www

Re: [squid-users] Regex optimization

2016-04-27 Thread Amos Jeffries
On 27/04/2016 11:32 p.m., Alfredo Rezinovsky wrote: > I saw in debug log that when an ACL has many regexes each one is compared > sequentially. > > If I have > > www.facebook.com > facebook.com > www.google.com > google.com > > If will be faster to check just ONE optimized regex like > (www\.)?(

Re: [squid-users] Regex optimization

2016-04-27 Thread Yuri Voinov
Wrong. When you test regex, you can see this: https://i1.someimage.com/Ae6P3is.png this: https://i1.someimage.com/70Y4kl9.png and this: https://i1.someimage.com/rNjCjVX.png As you can see, green bar in upper right corner shows you steps count when parse and _execute_ regex. This is performa

Re: [squid-users] Logging in squid

2016-04-27 Thread Matus UHLAR - fantomas
On 26.04.16 15:20, Aashima Madaan wrote: I have kept squid between a proxy and a server. Requests and response pass from proxy to squid to server and back. between? Squid is a proxy, do you connect one proxy through another proxy? Why? -- Matus UHLAR - fantomas, uh...@fantomas.sk ; http://www.

Re: [squid-users] Regex optimization

2016-04-27 Thread Alfredo Rezinovsky
Not my question. I'm asking about performance 2016-04-27 9:09 GMT-03:00 Yuri Voinov : > https://regex101.com is your best friend. > > 27.04.16 17:32, Alfredo Rezinovsky пишет: > > I saw in debug log that when an ACL has many regexes each one is compared > sequentially. > > If I have > > www.faceb

Re: [squid-users] Regex optimization

2016-04-27 Thread Yuri Voinov
https://regex101.com is your best friend. 27.04.16 17:32, Alfredo Rezinovsky пишет: I saw in debug log that when an ACL has many regexes each one is compared sequentially. If I have www.facebook.com facebook.com www.google.com

[squid-users] Regex optimization

2016-04-27 Thread Alfredo Rezinovsky
I saw in debug log that when an ACL has many regexes each one is compared sequentially. If I have www.facebook.com facebook.com www.google.com google.com If will be faster to check just ONE optimized regex like (www\.)?(facebook|google).com than the previous three? I'm really talking about opti