Re: [squid-users] store_id_extras to access request header

2018-07-19 Thread Michael Pro
If you want, please support this topic in the bug-report http://lists.squid-cache.org/pipermail/squid-users/2018-July/018743.html ___ squid-users mailing list squid-users@lists.squid-cache.org http://lists.squid-cache.org/listinfo/squid-users

Re: [squid-users] store_id_extras and http Request Headers

2018-07-19 Thread Michael Pro
On your recommendation posted it in bug-story of squid https://bugs.squid-cache.org/show_bug.cgi?id=4873 We will wait for the release of the patch with impatience. чт, 19 июл. 2018 г. в 17:46, Alex Rousskov : > > On 07/19/2018 05:58 AM, Michael Pro wrote: > > Not only I have this prob

Re: [squid-users] store_id_extras and http Request Headers

2018-07-19 Thread Michael Pro
> > On 07/18/2018 02:29 PM, Michael Pro wrote: > > In squid.conf > > store_id_extras "%>a/%>A %un %>rm %>h myip=%la myport=%lp > > %{User-Agent}>h %{Referer}>h %{Host}>h %>rP" > > > > Result incoming parameters in store_id_progra

Re: [squid-users] store_id_extras and http Request Headers

2018-07-18 Thread Michael Pro
ind -L/usr/local/lib -fstack-protector' 'LIBOPENSSL_CFLAGS=-I/usr/include' 'LIBOPENSSL_LIBS=-lcrypto -lssl' 'CXX=c++' 'CXXFLAGS=-O2 -pipe -I/usr/local/include/event2 -I/usr/local/include -g -fstack-protector -fno-strict-aliasing -Wno-unknown-warnin

[squid-users] store_id_extras and http Request Headers

2018-07-18 Thread Michael Pro
In squid.conf store_id_extras "%>a/%>A %un %>rm %>h myip=%la myport=%lp %{User-Agent}>h %{Referer}>h %{Host}>h %>rP" Result incoming parameters in store_id_program are: 0: https://2ip.ua/images/icon/IP_calculator.png <--- (requested url) 1: 127.0.0.119/127.0.0.119 <--- %>a/%>A 2: - <

Re: [squid-users] Speed ​​limit from file size

2018-06-24 Thread Michael Pro
w to do it. пт, 22 июн. 2018 г. в 18:22, Alex Rousskov : > > On 06/21/2018 10:34 PM, Michael Pro wrote: > > > I put all the necessary links in the database in step #2. > > I'm quite satisfied with entering this value (Content-Length) after step #3. > > How can I up

Re: [squid-users] Speed ​​limit from file size

2018-06-21 Thread Michael Pro
Good. As I said, I put all the necessary links in the database in step #2. I'm quite satisfied with entering this value (Content-Length) after step #3. How can I update the data for the link? чт, 21 июн. 2018 г. в 22:52, Alex Rousskov : > > On 06/21/2018 12:08 PM, Michael Pro wrote: >

Re: [squid-users] Speed ​​limit from file size

2018-06-21 Thread Michael Pro
In addition, I can say that I successfully use the store_id mechanism and bookmark the new links that interest me in mySQL database. My working version options store_id_extras "%>a/%>A %un %>rm myip=%la myport=%lp %{User-Agent}>h %{Referer}>h" чт, 21 июн. 2018 г. в 21:08,

Re: [squid-users] Speed ​​limit from file size

2018-06-21 Thread Michael Pro
чт, 21 июн. 2018 г. в 19:09, Alex Rousskov : > ... > You may prefer response delay pools, but they are only available in v5: > https://github.com/squid-cache/squid/commit/b27668e Very interesting. Maybe this is what I need. Especially since I use v5 squid. But to use this I understood that I need

Re: [squid-users] Speed ​​limit from file size

2018-06-21 Thread Michael Pro
- for this type of traffic is it possible made this logic ? file =<1MB client download with 400Kbit/s file 1MB...5MB client donload with 4Mbit/s file >5MB - no speed limit чт, 21 июн. 2018 г. в 8:18, Alex Rousskov : > > On 06/20/2018 01:44 PM, Michael Pro wrote: > > Is

[squid-users] Speed ​​limit from file size

2018-06-20 Thread Michael Pro
Is it possible to limit the speed of receiving the file to the client depending on the file size? Let's say, file =<1MB client download with 400Kbit/s file 1MB...5MB client donload with 4Mbit/s file >5MB - no speed limit I try fore some settings delay_pools 1 delay_class 1 2 delay_access 1 allow s

Re: [squid-users] tcp_outgoing_address and HTTPS

2018-03-20 Thread Michael Pro
Totally agree with you, and at the same time - do not agree. But, consider the following situation. There is https://site.net/ where there is 1.jpg and 2.jpg. If I download from this site 1.jpg from the address 1.1.1.1 and 2.jpg from the address 2.2.2.2. Even more. There are situations when you nee

[squid-users] tcp_outgoing_address and HTTPS

2018-03-20 Thread Michael Pro
squid-5 master branch, not have personal/private repository changes, not use cache_peer's ability, (if it's matters - not use transparent proxying ability). We have a set of rules (ACL's with url regex) for content, depending on which we make a decision for the outgoing address, for example, fro