root@f12rw0:~ # squid -v Squid Cache: Version 5.0.0-20180717-r6956579 Service Name: squid This binary uses OpenSSL 1.0.2o-freebsd 27 Mar 2018. For legal restrictions on distribution see https://www.openssl.org/source/license.html configure options: '--with-default-user=squid' '--bindir=/usr/local/sbin' '--sbindir=/usr/local/sbin' '--datadir=/usr/local/etc/squid' '--libexecdir=/usr/local/libexec/squid' '--localstatedir=/var' '--sysconfdir=/usr/local/etc/squid' '--with-logdir=/var/log/squid' '--infodir=/usr/local/info/' '--with-large-files' '--with-pidfile=/var/run/squid/squid.pid' '--mandir=/usr/local/man' '--with-swapdir=/var/squid/cache' '--enable-diskio' '--with-filedescriptors=262144' '--enable-disk-io=DiskThreads,DiskDaemon,AIO,Blocking,IpcIo,Mmapped' '--enable-storeio=aufs,rock,ufs,diskd' '--enable-removal-policies=lru,heap' '--enable-log-daemon-helpers=file' '--enable-url-rewrite-helpers=fake' '--enable-storeid-rewrite-helpers=file' '--enable-external-acl-helpers' '--enable-ssl' '--enable-ssl-crtd' '--with-openssl' '--enable-security-cert-generators=file' '--enable-security-cert-validators=fake' '--enable-build-info' '--enable-loadable-modules' '--enable-icap-client' '--enable-http-violations' '--enable-ipfw-transparent' '--enable-snmp' '--enable-stacktraces' '--enable-pthreads' '--enable-kqueue' '--enable-zph-qos' '--enable-async-io' '--enable-large-cache-files' '--enable-delay-pools' '--disable-linux-netfilter' '--disable-linux-tproxy' '--disable-ipf-transparent' '--disable-pf-transparent' '--without-nat-devpf' '--disable-ident-lookups' '--disable-silent-rules' '--without-gnutls' '--without-gss' '--without-heimdal-krb5' '--without-mit-krb5' 'CC=cc' 'CFLAGS=-O2 -pipe -I/usr/local/include/event2 -I/usr/local/include -g -fstack-protector -fno-strict-aliasing' 'LDFLAGS=-L/usr/local/lib/db5 -L/usr/local/lib -pthread -lunwind -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-warning-option -Wno-undefined-bool-conversion -Wno-tautological-undefined-compare -Wno-dynamic-class-memaccess' 'CPP=cpp' 'CPPFLAGS=-I/usr/local/include/event2 -I/usr/local/include -I/usr/local/include/db5 -g' 'PKG_CONFIG=pkgconf' You have new mail. root@f12rw0:~ # ср, 18 июл. 2018 г. в 23:35, Alex Rousskov <rousskov@xxxxxxxxxxxxxxxxxxxxxxx>: > > 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_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: - <--- %un (this is ok, absent at all) > > 3: GET <--- %>rm > > 4: - <----- %>h ---> Where are they !?!?!? > > 5: myip=127.0.0.1 > > 6: myport=20990 > > 7: Mozilla/5.0%20(iPhone;%20CPU%20iPhone%20OS%2... <--- %{User-Agent}>h > > 8: https://2ip.ua/ru/ <--- {Referer}>h > > 9: 2ip.ua <--- %{Host}>h > > 10: 443 <--- %>rP > > > > How do I get all the request header fields? > > I do not need any separate, I need all fields in the request header. > > The lack of %>h output when %{Name}>h output is present looks like a > Squid bug to me -- %>h output should be there as well. > > Alex. _______________________________________________ squid-users mailing list squid-users@xxxxxxxxxxxxxxxxxxxxx http://lists.squid-cache.org/listinfo/squid-users