]> git.ipfire.org Git - thirdparty/squid.git/log
thirdparty/squid.git
12 years ago- Rename CertValidateMessage-> CertValidationMsg, ValidateCertificateResponse->
Christos Tsantilas [Thu, 20 Sep 2012 16:26:47 +0000 (19:26 +0300)] 
- Rename CertValidateMessage-> CertValidationMsg, ValidateCertificateResponse->
  CertValidationResponse and ValidateCertificate -> CertValidationRequest
- fixes so that the "make check" and "make distcheck" works
- Document new classes and members

12 years agoPolished code. No runtime changes expected.
Alex Rousskov [Tue, 18 Sep 2012 23:24:12 +0000 (17:24 -0600)] 
Polished code. No runtime changes expected.

12 years agoLatest changes:
Christos Tsantilas [Tue, 18 Sep 2012 17:13:06 +0000 (20:13 +0300)] 
Latest changes:

 - Move the CertItem class from ValidateCertificateResponse class to
    CertValidateMessage class

  - Add the Ssl::CertValidateMessage::getCertByName method to search
    an for a certificate in a std::vector<CertItem> list

  - Implement the Ssl::ValidateCertificateResponse::getError to search in
    Ssl::ValidateCertificateResponse::errors list for a error

  - Improve the Ssl::CertValidateMessage::parseResponse method

  - Remove the ValidateCertificateResponse::ErrorItem::certId member. The
    user should always link with a certificate, not with an index to certificate.

  - The CertValidateMessage::parseResponse takes as argument the list of peer
    Certificates. It uses this list to fill the ValidateCertificateResponse
    object.

  - Return ERR_GATEWAY_FAILURE/HTTP_INTERNAL_SERVER_ERROR error if:
     * Failed to compose the  Ssl::CertValidateMessage message to sent to
       cert validator
     * The response from cert validator is wrong
     * The cert validator returns an error.

  - Implement the FwdState::sslCrtvdCheckForErrors method. This method
    checks if the errors returned from cert validator class can be
    ignored or an error to the user must returned.

  - Now if the Config.ssl_client.cert_error is not used, then the first
    error in the list returned from cert validator, is the error which
    considered as the error which causes the failure

12 years ago- Implement the FwdState::sslCrtvdCheckForErrors method. This method
Christos Tsantilas [Tue, 18 Sep 2012 17:08:48 +0000 (20:08 +0300)] 
- Implement the FwdState::sslCrtvdCheckForErrors method. This method
  checks if the errors returned from cert validator class can be
  ignored or an error to the user must returned.

- Now if the Config.ssl_client.cert_error is not used, then the first
  error in the list returned from cert validator, is the error which
  considered as the error which causes the failure

12 years ago- Move the CertItem class from ValidateCertificateResponse class to
Christos Tsantilas [Tue, 18 Sep 2012 16:05:07 +0000 (19:05 +0300)] 
- Move the CertItem class from ValidateCertificateResponse class to
  CertValidateMessage class

- Add the Ssl::CertValidateMessage::getCertByName method to search
  an for a certificate in a std::vector<CertItem> list

- Implement the Ssl::ValidateCertificateResponse::getError to search in
  Ssl::ValidateCertificateResponse::errors list for a error

- Improve the Ssl::CertValidateMessage::parseResponse method

12 years ago- Remove the ValidateCertificateResponse::ErrorItem::certId member. The
Christos Tsantilas [Tue, 18 Sep 2012 09:56:08 +0000 (12:56 +0300)] 
- Remove the ValidateCertificateResponse::ErrorItem::certId member. The
  user should always link with a certificate, not with an index to certificate.
- The CertValidateMessage::parseResponse takes as argument the list of peer
  Certificates. It uses this list to fill the ValidateCertificateResponse
  object.
- Return ERR_GATEWAY_FAILURE/HTTP_INTERNAL_SERVER_ERROR error if:
   * Failed to compose the  Ssl::CertValidateMessage message to sent to
     cert validator
   * The response from cert validator is wrong
   * The cert validator returns an error.

12 years agoFixed typo in a comment.
Alex Rousskov [Fri, 14 Sep 2012 23:35:44 +0000 (17:35 -0600)] 
Fixed typo in a comment.

12 years agoAdded filed forgotten during initial import.
Alex Rousskov [Fri, 14 Sep 2012 22:17:01 +0000 (16:17 -0600)] 
Added filed forgotten during initial import.

12 years agoDo not dereference nil Ssl::CertValidationHelper::GetInstance().
Alex Rousskov [Fri, 14 Sep 2012 20:37:58 +0000 (14:37 -0600)] 
Do not dereference nil Ssl::CertValidationHelper::GetInstance().

12 years agoInitial SSL server certificate validator implementation
Alex Rousskov [Fri, 14 Sep 2012 20:31:40 +0000 (14:31 -0600)] 
Initial SSL server certificate validator implementation
http://wiki.squid-cache.org/Features/SslServerCertValidator

12 years agoDo not reuse persistent connections for PUTs to avoid ERR_ZERO_SIZE_OBJECT.
Alex Rousskov [Mon, 10 Sep 2012 23:07:01 +0000 (17:07 -0600)] 
Do not reuse persistent connections for PUTs to avoid ERR_ZERO_SIZE_OBJECT.

A compliant proxy may retry PUTs, but Squid lacks the [rather complicated]
code required to protect the PUT request body from being nibbled during the
first try or [also tricky] code to send 100-continue expectation requiredto
delay body sending. Thus, Squid cannot safely retry some PUTs today, and
FwdState::checkRetriable() must return false for all PUTs, to avoid
bogus ERR_ZERO_SIZE_OBJECT errors (especially for clients that did not
reuse a pconn and, hence, may not be ready to handle/retry an error response).

In theory, requests with safe or idempotent methods other than PUT might have
bodies so we apply the same logic to them as well.

This reopens Squid bug #3398, undoing trunk r11859 commit which attempted
to close that bug.

12 years agoDo not chunk responses carrying a Content-Range header.
Alex Rousskov [Mon, 10 Sep 2012 22:38:09 +0000 (16:38 -0600)] 
Do not chunk responses carrying a Content-Range header.

When Squid forwards a response with a Content-Range header,
ClientSocketContext::socketState() detects the end of the response range(s)
and returns STREAM_*COMPLETE to ClientSocketContext::writeComplete().
The latter thinks that the writing of the response to the client must be
over and calls keepaliveNextRequest() instead of writing the last-chunk
(if any). If the to-client response was chunked, the client gets stuck
waiting for that missing last-chunk.

The multipart Range request case was already excluded from chunking (or it
would probably suffer from the same problem). With this change, no
Content-Range responses will be chunked.

N.B. Some servers send Content-Range responses to basic GET requests
without a Range header, so the problem affects more than just Range requests.

TODO: A proper fix would be to rewrite ClientSocketContext::writeComplete()
and other code so that it does not mix internal ClientStream completion with
[possibly chunk-encoded] writing completion. This should probably be done
along with fixing ClientSocketContext::socketState() and other state-checking
code to ignore to-client persistence (flags.proxy_keepalive), which is not
related to the internal ClientStream state.

12 years agoBug fix: TLS/SSL Options does not apply to the dynamically generated certificates
Christos Tsantilas [Thu, 6 Sep 2012 13:12:26 +0000 (16:12 +0300)] 
Bug fix: TLS/SSL Options does not apply to the dynamically generated certificates

The TLS/SSL options configured with http_port configuration parameter does not
used to generate SSL_CTX context objects used to establish SSL connections.
This is means that certificate based authentication, or SSL version selection
and other SSL/TLS http_port options does not work for ssl-bumped connection.
This patch fixes this problem.

This is a Measurement Factory project

12 years agoRelease Notes: document ECN vs TOS issue clearer for 3.1
Amos Jeffries [Sun, 2 Sep 2012 10:23:59 +0000 (04:23 -0600)] 
Release Notes: document ECN vs TOS issue clearer for 3.1

12 years agoSourceFormat Enforcement
Automatic source maintenance [Fri, 31 Aug 2012 00:13:14 +0000 (18:13 -0600)] 
SourceFormat Enforcement

12 years agoBug 3615: configure check for default max number of FDs is broken
Amos Jeffries [Thu, 30 Aug 2012 16:32:59 +0000 (10:32 -0600)] 
Bug 3615: configure check for default max number of FDs is broken

12 years agoFix maximum_single_addr_tries upgrade
Amos Jeffries [Thu, 30 Aug 2012 15:36:03 +0000 (09:36 -0600)] 
Fix maximum_single_addr_tries upgrade

12 years agoFix documentatino on loop detection
Amos Jeffries [Thu, 30 Aug 2012 15:25:50 +0000 (09:25 -0600)] 
Fix documentatino on loop detection

12 years agoBug 3622: peerClearRRStart scheduling multiple events
Amos Jeffries [Thu, 30 Aug 2012 14:39:04 +0000 (08:39 -0600)] 
Bug 3622: peerClearRRStart scheduling multiple events

12 years agoBug 3626: Forwarding loops on intercepted traffic
Amos Jeffries [Thu, 30 Aug 2012 14:32:41 +0000 (08:32 -0600)] 
Bug 3626: Forwarding loops on intercepted traffic

Changes to interception handling in 3.2 series (namely the preference
for using ORIGINAL_DST) have increased the chances that misconfigured
network systems involving Squid will hit forwarding loops.

Two instances are currently known:
 * passing forward-proxy traffic to a interception port.
 * NAT performed on a separate box.

This enacts an old TODO by removing the loop detection bypass for
intercepted traffic and accelerated traffic. Now we always check for
loops regardless of how the request was received.

NOTE: accel mode was only included due to the TODO.
      If problems are found there it can be re-instated.

12 years agoMake CpuAffinitySet::applied() method non-const.
Dmitry Kurochkin [Thu, 30 Aug 2012 12:46:47 +0000 (06:46 -0600)] 
Make CpuAffinitySet::applied() method non-const.

According to CPU_SET(3) and, apparently, on some systems (e.g.,
OpenSuSE 10.3) CPU_COUNT macro expects a non-const argument.  The
patch fixes build error on these systems.

12 years agoRetrieve client connection information for ACL checks from the related HttpRequest...
Christos Tsantilas [Thu, 30 Aug 2012 09:02:06 +0000 (12:02 +0300)] 
Retrieve client connection information for ACL checks from the related HttpRequest object

This patch enable SSL client certificate ACL checks (user_cert and ca_cert)
in all cases the client connection information can retrieved from the related
HttpRequest object, eg when making peering decisions (peer_cache_access ACL).

Discussed under the "Supply client connection and IDENT information to
peer_cache_access ACL check" thread on squid-dev.

This is a Measurement Factory project

12 years agoFix 'error: continue statement not within a loop'
Amos Jeffries [Wed, 29 Aug 2012 14:35:29 +0000 (08:35 -0600)] 
Fix 'error: continue statement not within a loop'

12 years agoBug 3609: several RADIUS helper improvements
Alan Mizrahi [Wed, 29 Aug 2012 13:51:52 +0000 (07:51 -0600)] 
Bug 3609: several RADIUS helper improvements

12 years agoRegression: login=PASS send no credentials when none available.
Amos Jeffries [Wed, 29 Aug 2012 05:23:15 +0000 (23:23 -0600)] 
Regression: login=PASS send no credentials when none available.

login=PASS should act like PASSTHRU, sending no credentials header, when
no client supplied OR external ACL credentials are available.
3.2 has been found wrongly adding the username "PASS" in this case.

12 years agoSourceFormat Enforcement
Automatic source maintenance [Wed, 29 Aug 2012 00:12:28 +0000 (18:12 -0600)] 
SourceFormat Enforcement

12 years agoprotos.h refactoring, part one.
Francesco Chemolli [Tue, 28 Aug 2012 19:12:13 +0000 (21:12 +0200)] 
protos.h refactoring, part one.

Refactor many function prototypes from protos.h to more specific header files.
Change linkage for moved prototypes to c++.

12 years agoCleanup: duplicate include of squid.h
Amos Jeffries [Tue, 28 Aug 2012 13:04:48 +0000 (07:04 -0600)] 
Cleanup: duplicate include of squid.h

12 years agoSourceFormat Enforcement
Automatic source maintenance [Tue, 28 Aug 2012 13:00:30 +0000 (07:00 -0600)] 
SourceFormat Enforcement

12 years agoEnable source-formatting tools to collapse multiple whitelines in the source to one.
Francesco Chemolli [Tue, 28 Aug 2012 12:45:52 +0000 (14:45 +0200)] 
Enable source-formatting tools to collapse multiple whitelines in the source to one.

12 years agoSourceFormat Enforcement
Automatic source maintenance [Sat, 25 Aug 2012 00:13:13 +0000 (18:13 -0600)] 
SourceFormat Enforcement

12 years agoBug 3613: relax standard-compliance strctness on clang to enable build
Francesco Chemolli [Fri, 24 Aug 2012 10:54:03 +0000 (12:54 +0200)] 
Bug 3613: relax standard-compliance strctness on clang to enable build

When clang is invoked with the -std=c++0x option, it won't make available some system functions
defined in c99. For some reason configure fails to detect this, and so the built-in implementation is
not invoked. This change prevents enabling the -std=c++0x option for clang.

12 years agoPrep work for automatic sorting of include directives.
Francesco Chemolli [Fri, 24 Aug 2012 09:57:00 +0000 (11:57 +0200)] 
Prep work for automatic sorting of include directives.

Automatic sorting of include files reveals some indirect inclusions, which would break the build.
scripts/sort-includes.pl is the tool to do the automatic header include order sorting.
The other changes in this set fix the issues which that be introduced by running the sorting.

12 years agoBug 3605: memory leak in Negotiate authentication
Daniel Walter [Thu, 23 Aug 2012 01:33:16 +0000 (13:33 +1200)] 
Bug 3605: memory leak in Negotiate authentication

12 years agoAdded missing includes in adaptation/esi
Francesco Chemolli [Tue, 21 Aug 2012 16:15:33 +0000 (18:15 +0200)] 
Added missing includes in adaptation/esi

12 years agoAdded missing include in ssl helper
Francesco Chemolli [Sun, 19 Aug 2012 18:21:24 +0000 (20:21 +0200)] 
Added missing include in ssl helper

12 years agoFix ip/Intercept header ordering and documentation
Amos Jeffries [Thu, 16 Aug 2012 07:11:05 +0000 (01:11 -0600)] 
Fix ip/Intercept header ordering and documentation

12 years agonetfilter_ipv4.h requires including limits.h first. Added.
Francesco Chemolli [Wed, 15 Aug 2012 20:13:57 +0000 (22:13 +0200)] 
netfilter_ipv4.h requires including limits.h first. Added.

12 years agoAdded missing include in mem_hdr_test
Francesco Chemolli [Wed, 15 Aug 2012 17:01:06 +0000 (19:01 +0200)] 
Added missing include in mem_hdr_test

12 years agoAdd missing includes
Francesco Chemolli [Wed, 15 Aug 2012 15:17:32 +0000 (17:17 +0200)] 
Add missing includes

12 years agoMake mk-globals-c.awk more permissive on the input it accepts
Francesco Chemolli [Wed, 15 Aug 2012 14:58:11 +0000 (16:58 +0200)] 
Make mk-globals-c.awk more permissive on the input it accepts

12 years agoRelease notes: fix wrong link to Translations
Amos Jeffries [Wed, 15 Aug 2012 11:18:28 +0000 (23:18 +1200)] 
Release notes: fix wrong link to Translations

12 years agoSourceFormat Enforcement
Automatic source maintenance [Wed, 15 Aug 2012 00:13:13 +0000 (18:13 -0600)] 
SourceFormat Enforcement

12 years agoPrep for 3.2.1
Amos Jeffries [Tue, 14 Aug 2012 23:37:24 +0000 (17:37 -0600)] 
Prep for 3.2.1

12 years agoDocs: update configure libcap messages to say 2.09+ required
Amos Jeffries [Tue, 14 Aug 2012 22:51:53 +0000 (16:51 -0600)] 
Docs: update configure libcap messages to say 2.09+ required

12 years agoRemove --enable-ntlm-fail-open
Amos Jeffries [Tue, 14 Aug 2012 12:04:16 +0000 (06:04 -0600)] 
Remove --enable-ntlm-fail-open

This feature has been half missing for quite some time (10 years).
The SMB helper sends the LD code back to Squid when the directive is
compiled in, but there is no Squid code handling such responses, back as far
as squid-2.

12 years agoRemoved squid-old.h
Francesco Chemolli [Tue, 14 Aug 2012 11:53:07 +0000 (13:53 +0200)] 
Removed squid-old.h

12 years agoBug 3610: peername_regex ACL
Amos Jeffries [Mon, 13 Aug 2012 07:24:50 +0000 (01:24 -0600)] 
Bug 3610: peername_regex ACL

12 years agoSourceFormat Enforcement
Automatic source maintenance [Mon, 13 Aug 2012 00:15:09 +0000 (18:15 -0600)] 
SourceFormat Enforcement

12 years agoBug 3605: memory leak in peer selection
Amos Jeffries [Sun, 12 Aug 2012 08:57:49 +0000 (02:57 -0600)] 
Bug 3605: memory leak in peer selection

12 years agoPortability: squid provides strtoll()
Amos Jeffries [Sat, 11 Aug 2012 07:01:15 +0000 (01:01 -0600)] 
Portability: squid provides strtoll()

12 years agoFix bashisms in bootstrap.sh
Amos Jeffries [Sat, 11 Aug 2012 06:06:34 +0000 (00:06 -0600)] 
Fix bashisms in bootstrap.sh

12 years agoFreeBSD 7: fix compile warnings in unit tests
Amos Jeffries [Sat, 11 Aug 2012 04:42:17 +0000 (22:42 -0600)] 
FreeBSD 7: fix compile warnings in unit tests

12 years agoMacOS: fix AddrInfo default flags
Amos Jeffries [Sat, 11 Aug 2012 03:21:14 +0000 (21:21 -0600)] 
MacOS: fix AddrInfo default flags

12 years agoshuffel MEMPROXY macros for better CacheMgr reporting names
Amos Jeffries [Sat, 11 Aug 2012 02:04:03 +0000 (20:04 -0600)] 
shuffel MEMPROXY macros for better CacheMgr reporting names

12 years agoSourceFormat Enforcement
Automatic source maintenance [Sat, 11 Aug 2012 00:14:47 +0000 (18:14 -0600)] 
SourceFormat Enforcement

12 years agoallow for _SQUID_EXTERNNEW_ predefine
Amos Jeffries [Fri, 10 Aug 2012 08:09:43 +0000 (02:09 -0600)] 
allow for _SQUID_EXTERNNEW_ predefine

12 years agoSourceLayout: introduce Fs::Ufs namespace, split ufscommon, store_dir_ufs and store_i...
Francesco Chemolli [Fri, 10 Aug 2012 06:56:49 +0000 (08:56 +0200)] 
SourceLayout: introduce Fs::Ufs namespace, split ufscommon, store_dir_ufs and store_io_ufs

12 years agoRelease Notes: updates after STRICT_ORIGINAL_DST changes
Amos Jeffries [Fri, 10 Aug 2012 05:56:58 +0000 (23:56 -0600)] 
Release Notes: updates after STRICT_ORIGINAL_DST changes

12 years agoBug 3478: workaround: better default handling without -DSTRICT_ORIGINAL_DST
Amos Jeffries [Fri, 10 Aug 2012 02:41:14 +0000 (14:41 +1200)] 
Bug 3478: workaround: better default handling without -DSTRICT_ORIGINAL_DST

This extends the -DSTRICT_ORIGINAL_DST compile-time flag to include the
logics listing ORIGINAL_DST as first preferred destination.

Which makes ORIGINAL_DST a swap-in replacement for DIRECT and enables
never_direct, always_direct, prefer_direct configuration to apply.

12 years agoMacOS: warning: 'gnu_inline' attribute directive ignored
Amos Jeffries [Fri, 10 Aug 2012 01:12:48 +0000 (13:12 +1200)] 
MacOS: warning: 'gnu_inline' attribute directive ignored

12 years agoMacOS: detect glibtool and glibtoolize when bootstrapping
Amos Jeffries [Fri, 10 Aug 2012 00:38:14 +0000 (12:38 +1200)] 
MacOS: detect glibtool and glibtoolize when bootstrapping

12 years agoSourceFormat Enforcement
Automatic source maintenance [Fri, 10 Aug 2012 00:12:23 +0000 (18:12 -0600)] 
SourceFormat Enforcement

12 years agoConvert all yet-unconverted stub files to the STUB API.
Francesco Chemolli [Thu, 9 Aug 2012 15:01:02 +0000 (17:01 +0200)] 
Convert all yet-unconverted stub files to the STUB API.

12 years agoMerged from trunk
Francesco Chemolli [Thu, 9 Aug 2012 14:59:30 +0000 (16:59 +0200)] 
Merged from trunk

12 years agoFix missing include for leakcheck.h
Amos Jeffries [Thu, 9 Aug 2012 10:38:38 +0000 (22:38 +1200)] 
Fix missing include for leakcheck.h

12 years agoPortability: shuffle out the last useful macros from squid-old.h
Amos Jeffries [Thu, 9 Aug 2012 10:32:57 +0000 (22:32 +1200)] 
Portability: shuffle out the last useful macros from squid-old.h

12 years agoSourceFormat Enforcement
Automatic source maintenance [Thu, 9 Aug 2012 00:12:47 +0000 (18:12 -0600)] 
SourceFormat Enforcement

12 years agoimplemented STUB_RETVAL_NOP
Francesco Chemolli [Wed, 8 Aug 2012 12:14:34 +0000 (14:14 +0200)] 
implemented STUB_RETVAL_NOP
Converted stub_tools to stup API.

12 years agoconverted stub_StatHist.cc stub_main_cc.cc stub_mem.cc stub_store_rebuild.cc to stub API
Francesco Chemolli [Wed, 8 Aug 2012 09:24:40 +0000 (11:24 +0200)] 
converted stub_StatHist.cc stub_main_cc.cc stub_mem.cc stub_store_rebuild.cc to stub API

12 years agoPortability: CMSG_*() macro API substitute
Amos Jeffries [Wed, 8 Aug 2012 08:15:28 +0000 (02:15 -0600)] 
Portability: CMSG_*() macro API substitute

12 years agoWindows: MinGW provides truncate()/ftruncate()
Amos Jeffries [Wed, 8 Aug 2012 08:01:46 +0000 (20:01 +1200)] 
Windows: MinGW provides truncate()/ftruncate()

12 years agoFixed formatting of stub_libcomm.cc
Francesco Chemolli [Wed, 8 Aug 2012 07:54:29 +0000 (09:54 +0200)] 
Fixed formatting of stub_libcomm.cc

12 years agoWindows: fix winsock detection capabilities
Francesco Chemolli [Wed, 8 Aug 2012 07:39:35 +0000 (01:39 -0600)] 
Windows: fix winsock detection capabilities

12 years agoMoved to STUB API stubs for DelayId.cc, HelperChildconfig.cc, debug.cc
Francesco Chemolli [Wed, 8 Aug 2012 07:35:10 +0000 (09:35 +0200)] 
Moved to STUB API stubs for DelayId.cc, HelperChildconfig.cc, debug.cc

12 years agoWindows: provide POSIX ABI wrapper for mkdir()
Amos Jeffries [Wed, 8 Aug 2012 07:21:13 +0000 (19:21 +1200)] 
Windows: provide POSIX ABI wrapper for mkdir()

12 years agoMerged from trunk
Francesco Chemolli [Tue, 7 Aug 2012 15:58:34 +0000 (17:58 +0200)] 
Merged from trunk

12 years agoRemoved dead code from stub_cache_cf.cc and stub_client_side_request.cc
Francesco Chemolli [Tue, 7 Aug 2012 15:58:08 +0000 (17:58 +0200)] 
Removed dead code from stub_cache_cf.cc and stub_client_side_request.cc

12 years agoMoved CBDATA_CLASS declarations to the end of classes as per coding guidelines.
Francesco Chemolli [Tue, 7 Aug 2012 15:12:08 +0000 (17:12 +0200)] 
Moved CBDATA_CLASS declarations to the end of classes as per coding guidelines.

12 years agoChanged all level-0 debugs messages to use the DBG_CRITICAL definition.
Francesco Chemolli [Mon, 6 Aug 2012 17:41:08 +0000 (19:41 +0200)] 
Changed all level-0 debugs messages to use the DBG_CRITICAL definition.

12 years agoChanged all level-1 debugs messages to use DBG_IMPORTANT definition.
Francesco Chemolli [Mon, 6 Aug 2012 17:21:57 +0000 (19:21 +0200)] 
Changed all level-1 debugs messages to use DBG_IMPORTANT definition.

12 years agoImprove support for clang compilers
Francesco Chemolli [Mon, 6 Aug 2012 15:38:12 +0000 (17:38 +0200)] 
Improve support for clang compilers

clang++ doesn't support c++ variable arrays for non-pod types.
Change variable arrays to dynamically-allocated arrays, Ipc::QueueReaders, Ipc::StoreMap and Ipc::Mem::PageStack

12 years agoRelease notes: use SPONSORS (no file type) as the published file name
Amos Jeffries [Sun, 5 Aug 2012 11:11:02 +0000 (23:11 +1200)] 
Release notes: use SPONSORS (no file type) as the published file name

SPONSORS.txt is the website published filename, but it seems some distros
were using the source code file name.

Use SPONSORS.ist for the coded listings instead.

13 years agoRelease Notes: NCSA helper algorithm limits
Amos Jeffries [Thu, 2 Aug 2012 12:03:50 +0000 (06:03 -0600)] 
Release Notes: NCSA helper algorithm limits

13 years agoPrep for 3.2.0.19
Amos Jeffries [Thu, 2 Aug 2012 11:55:39 +0000 (05:55 -0600)] 
Prep for 3.2.0.19

13 years agoSourceFormat Enforcement
Automatic source maintenance [Thu, 2 Aug 2012 00:12:45 +0000 (18:12 -0600)] 
SourceFormat Enforcement

13 years agoStub updates after bump-server-first changes
Amos Jeffries [Wed, 1 Aug 2012 23:52:59 +0000 (11:52 +1200)] 
Stub updates after bump-server-first changes

13 years agoMore GCC 4.2 dependency fixes
Amos Jeffries [Wed, 1 Aug 2012 12:51:45 +0000 (00:51 +1200)] 
More GCC 4.2 dependency fixes

13 years agoRelease notes: build SPONSORS.txt in bootstrap instead of automake
Amos Jeffries [Wed, 1 Aug 2012 12:37:25 +0000 (00:37 +1200)] 
Release notes: build SPONSORS.txt in bootstrap instead of automake

13 years agoRevert r12231 - seems to break SMP cache
Amos Jeffries [Wed, 1 Aug 2012 11:54:23 +0000 (23:54 +1200)] 
Revert r12231 - seems to break SMP cache

13 years agoSkip Failure Ratio calculations entirely when ICP is disabled.
Amos Jeffries [Wed, 1 Aug 2012 07:55:18 +0000 (19:55 +1200)] 
Skip Failure Ratio calculations entirely when ICP is disabled.

Also, mention ICP in the logged error message. unqualified 'HIT' confuses
people (self included) more familiar with the HTTP type of HIT responses.

13 years agoSupport -DFAILURE_MODE_TIME=n compiler flag
Amos Jeffries [Wed, 1 Aug 2012 07:01:58 +0000 (19:01 +1200)] 
Support -DFAILURE_MODE_TIME=n compiler flag

This value determins at compile-time how long Squid spends in HIT-only
mode after the failure ratio goes over 1.0. see checkFailureRatio() in
src/client_side_request.cc for details on the ratio.

This flag is supported to remove the need for patching when alteration
is required.

13 years agoAdd copyright attributions for SN.png and errorpage.css
Amos Jeffries [Wed, 1 Aug 2012 06:40:26 +0000 (18:40 +1200)] 
Add copyright attributions for SN.png and errorpage.css

13 years agoRemoved some duplicates and fixed formatting in CONTRIBUTORS list
Francesco Chemolli [Tue, 31 Jul 2012 09:51:38 +0000 (11:51 +0200)] 
Removed some duplicates and fixed formatting in CONTRIBUTORS list

13 years agoSourceFormat Enforcement
Automatic source maintenance [Tue, 31 Jul 2012 00:13:24 +0000 (18:13 -0600)] 
SourceFormat Enforcement

13 years agoRelease notes: typo
Amos Jeffries [Mon, 30 Jul 2012 09:58:32 +0000 (03:58 -0600)] 
Release notes: typo

13 years agoGCC 4.2 dependencies
Amos Jeffries [Mon, 30 Jul 2012 08:49:59 +0000 (02:49 -0600)] 
GCC 4.2 dependencies

13 years agoSourceFormat Enforcement
Automatic source maintenance [Mon, 30 Jul 2012 00:13:12 +0000 (18:13 -0600)] 
SourceFormat Enforcement

13 years agoBug 3478: Allow peer selection
Amos Jeffries [Sun, 29 Jul 2012 08:15:17 +0000 (02:15 -0600)] 
Bug 3478: Allow peer selection

This re-enables Squid peer selection algorithms for intercepted
traffic which has failed Host header verification.

When host verification fails Squid will use, in order of preference:
 * an already PINNED server connection
 * the client ORIGINAL_DST details
 * cache_peer as chosen by selection algorithms

NOTE: whenever DIRECT is selected by routing algorithms the
      ORIGINAL_DST is used instead.

Peer selection results are updated to display PINNED and
ORIGINAL_DST alongside DIRECT and cache_peer.

SECURITY NOTE:

  At this point Squid will pass the request to cache_peer using the
  non-trusted Host header in their URLs. Meaning that the peers
  may still be poisoned by CVE-2009-0801 attacks. Only the initial
  intercepting proxy is protected.

  Full protection against CVE-2009-0801 can be enjoyed by building
  Squid with the -DSTRICT_HOST_VERIFY compile-time flag. This will
  make the peers unreachable for intercepted traffic where the
  Host verification has failed.

13 years agoBug 3580: IDENT request makes squid crash
Amos Jeffries [Sun, 29 Jul 2012 06:10:44 +0000 (18:10 +1200)] 
Bug 3580: IDENT request makes squid crash