]> git.ipfire.org Git - thirdparty/squid.git/log
thirdparty/squid.git
9 years agoMinor edits after audit
Amos Jeffries [Thu, 8 Oct 2015 12:22:22 +0000 (05:22 -0700)] 
Minor edits after audit

9 years agoMerge from trunk
Amos Jeffries [Sat, 3 Oct 2015 08:28:48 +0000 (01:28 -0700)] 
Merge from trunk

9 years agoAdd shell slash-escaping to libformat quoting types
Amos Jeffries [Fri, 2 Oct 2015 11:52:54 +0000 (04:52 -0700)] 
Add shell slash-escaping to libformat quoting types

Also, replace external_acl::Quoting with Format::Quoting

9 years agodocument ALE new members
Amos Jeffries [Fri, 2 Oct 2015 10:26:15 +0000 (03:26 -0700)] 
document ALE new members

9 years agoUpdate squid.conf text for external_acl_type format
Amos Jeffries [Fri, 2 Oct 2015 09:49:47 +0000 (02:49 -0700)] 
Update squid.conf text for external_acl_type format

9 years agoCleanup various spelling errors
Amos Jeffries [Fri, 2 Oct 2015 04:54:28 +0000 (21:54 -0700)] 
Cleanup various spelling errors

9 years agoURL-encode the implicit %DATA appended to helper format
Amos Jeffries [Thu, 1 Oct 2015 12:58:19 +0000 (05:58 -0700)] 
URL-encode the implicit %DATA appended to helper format

There is nothing we can easily do about %DATA explicitly used inside the
format. It will by non-encoded unless specific encoding is written in the
format config, according to logformat design.

9 years agoIDENT is optional
Amos Jeffries [Thu, 1 Oct 2015 12:51:14 +0000 (05:51 -0700)] 
IDENT is optional

9 years agoDe-duplicate %DATA string creation
Amos Jeffries [Thu, 1 Oct 2015 12:50:47 +0000 (05:50 -0700)] 
De-duplicate %DATA string creation

9 years agoFix potential memory leak on GopherStateData constructor errors
Amos Jeffries [Thu, 1 Oct 2015 12:35:09 +0000 (05:35 -0700)] 
Fix potential memory leak on GopherStateData constructor errors

In the unusual event that the GopherStateData object constructor fails
it is possible that the destructor gets called without having gone
through the deleteThis() and swangSong() dance. Since the constructor
allocates memory buffer we need to clean that up.

 Detected by Coverity Scan. Issue 1318022

9 years agonegotiate_wrapper: fix minor memory leak
Amos Jeffries [Thu, 1 Oct 2015 12:27:28 +0000 (05:27 -0700)] 
negotiate_wrapper: fix minor memory leak

 Detected by Coverity Scan. Issue 1324564

9 years agonegotiate_wrapper: Fix bad pointer comparisons in rev.14290
Amos Jeffries [Thu, 1 Oct 2015 12:22:44 +0000 (05:22 -0700)] 
negotiate_wrapper: Fix bad pointer comparisons in rev.14290

 Detected by Coverity Scan. Issues 1324560132456113245621324563

9 years agoPrep for 3.5.10
Amos Jeffries [Thu, 1 Oct 2015 11:15:09 +0000 (04:15 -0700)] 
Prep for 3.5.10

9 years agoBug 4329: GCC 5.2 no known conversion for argument
Amos Jeffries [Thu, 1 Oct 2015 09:55:47 +0000 (02:55 -0700)] 
Bug 4329: GCC 5.2 no known conversion for argument

9 years agoMerged from trunk rev.14335
Amos Jeffries [Thu, 1 Oct 2015 04:01:13 +0000 (21:01 -0700)] 
Merged from trunk rev.14335

9 years agoBug 4190: assertion 'hash_remove_link' from Auth::User::cacheCleanup
Francesco Chemolli [Thu, 1 Oct 2015 01:20:20 +0000 (18:20 -0700)] 
Bug 4190: assertion 'hash_remove_link' from Auth::User::cacheCleanup

The hash_link based cache depends on raw-ptr key comparisons to store
hash entries. This does not work at all well with SBuf as the key,
since the backing MemBlob behind SBuf can change its memory location.

* replace the implementation of User credentials caching with an STL
  based container class that can handle SBuf.

* revert the global Auth::User cache design to per-scheme caches
  which get combined only when reporting statistics.

* add a RunnersRegistry helper class to control Squid startup,
  reconfigure, and shutdown events activity in regards to the caches.

* suppress useless cache garbage collection events when auth has no
  credentials to cleanup.

* make the cache key dynamic at the caller codes discretion.

9 years agoSourceFormat Enforcement
Source Maintenance [Wed, 30 Sep 2015 18:12:05 +0000 (18:12 +0000)] 
SourceFormat Enforcement

9 years agoConvert htcpDetail to MEMPROXY_CLASS
Francesco Chemolli [Wed, 30 Sep 2015 14:20:16 +0000 (16:20 +0200)] 
Convert htcpDetail to MEMPROXY_CLASS

9 years agoAlign behavior of MEMPROXY_CLASS's operator delete with ::delete on nullptr
Francesco Chemolli [Wed, 30 Sep 2015 14:12:55 +0000 (16:12 +0200)] 
Align behavior of MEMPROXY_CLASS's operator delete with ::delete on nullptr

9 years agoFilledCheclist::rfc931 is an array not a ptr
Amos Jeffries [Wed, 30 Sep 2015 12:11:11 +0000 (05:11 -0700)] 
FilledCheclist::rfc931 is an array not a ptr

9 years agoFix values 'LFT_EXT_ACL_CLIENT_EUI48' and 'LFT_EXT_ACL_CLIENT_EUI64' not handled...
Amos Jeffries [Wed, 30 Sep 2015 10:01:33 +0000 (03:01 -0700)] 
Fix values 'LFT_EXT_ACL_CLIENT_EUI48' and 'LFT_EXT_ACL_CLIENT_EUI64' not handled in switch

9 years agoPolish debugs
Amos Jeffries [Wed, 30 Sep 2015 09:43:08 +0000 (02:43 -0700)] 
Polish debugs

9 years agoMerged from trunk rev.14331
Amos Jeffries [Wed, 30 Sep 2015 09:32:39 +0000 (02:32 -0700)] 
Merged from trunk rev.14331

9 years agodo not bypass hdrCacheInit() when there are no mime headers
Alex Rousskov [Wed, 30 Sep 2015 03:24:39 +0000 (20:24 -0700)] 
do not bypass hdrCacheInit() when there are no mime headers

9 years agoRestore implicit %DATA behaviour
Amos Jeffries [Wed, 30 Sep 2015 03:16:40 +0000 (20:16 -0700)] 
Restore implicit %DATA behaviour

9 years agoInitialize helper query buffer, and SP-delimit tokens
Amos Jeffries [Wed, 30 Sep 2015 02:26:45 +0000 (19:26 -0700)] 
Initialize helper query buffer, and SP-delimit tokens

9 years agoSourceFormat Enforcement
Source Maintenance [Tue, 29 Sep 2015 06:11:55 +0000 (06:11 +0000)] 
SourceFormat Enforcement

9 years agoRefactor dlink_node to MEMPROXY_CLASS
Francesco Chemolli [Tue, 29 Sep 2015 04:47:46 +0000 (06:47 +0200)] 
Refactor dlink_node to MEMPROXY_CLASS

9 years agoBug 4330: Do not use SSL_METHOD::put_cipher_by_char to determine size of
Christos Tsantilas [Mon, 28 Sep 2015 14:27:56 +0000 (17:27 +0300)] 
Bug 4330: Do not use SSL_METHOD::put_cipher_by_char to determine size of
cipher on hello messages

The use of these methods can cause many problems in squid:
- In earlier openSSL libraries the SSL_METHOD::put_cipher_by_char method with
  NULL arguments returned the size of cipher in the SSL hello message.
  In newer openSSL releases, calling this method with NULL arguments is not
  valid any more, and can result to segfaults.
- In newer libreSSL library releases, the SSLv23_method it is used to produce
  TLS messages and does not return the size of a cipher in an v2 HELLO
  message.

This is a Measurement Factory project

9 years agoAdd missing stub changes for rev.14326
Amos Jeffries [Mon, 28 Sep 2015 10:15:14 +0000 (03:15 -0700)] 
Add missing stub changes for rev.14326

9 years agoMerge from trunk
Amos Jeffries [Mon, 28 Sep 2015 09:40:52 +0000 (02:40 -0700)] 
Merge from trunk

9 years agoParser-NG: update response mime parsing
Amos Jeffries [Mon, 28 Sep 2015 07:20:03 +0000 (00:20 -0700)] 
Parser-NG: update response mime parsing

Update the response mime header parse to using the parseHeader()
method previously in HttpRequest.

9 years agoMerge from trunk rev.14325
Amos Jeffries [Sun, 27 Sep 2015 23:40:35 +0000 (16:40 -0700)] 
Merge from trunk rev.14325

9 years agoBug 3069: CONNECT method bytes sent logging
Aymeric Vincent [Sun, 27 Sep 2015 10:30:23 +0000 (03:30 -0700)] 
Bug 3069: CONNECT method bytes sent logging

9 years agoDocs: update GPLv2 COPYING document
Amos Jeffries [Sun, 27 Sep 2015 04:57:29 +0000 (21:57 -0700)] 
Docs: update GPLv2 COPYING document

... to latest file copy from
  http://www.gnu.org/licenses/old-licenses/gpl-2.0.txt

This resolves some terminology and FSF address changes since the GPLv2
document was earlier applied to Squid.

9 years agoDocs: Clarify libltdl as licensed under LGPLv2+
Amos Jeffries [Sun, 27 Sep 2015 03:52:12 +0000 (20:52 -0700)] 
Docs: Clarify libltdl as licensed under LGPLv2+

9 years agoRelicense SSPI helper to GPLv2+
Guido Serassio [Sun, 27 Sep 2015 03:35:15 +0000 (20:35 -0700)] 
Relicense SSPI helper to GPLv2+

 From: Guido Serassio <guido.serassio@acmeconsulting.it>
 To: Amos Jeffries <squid3@treenet.co.nz>, Squid Foundation Board
  <squid-board@lists.squid-cache.org>
 Subject: R: Squid copyrights
 Thread-Topic: Squid copyrights
 Thread-Index: AQHQ9+T6PCUWJkiqykyPO1tKufh0Lp5Odnyw
 Date: Sat, 26 Sep 2015 08:15:43 +0000
 Message-ID: <0B31416C912584429DC230430752D91C0C028E4B@SBS.acmeconsulting.loc>

 Hi Amos,

 For me the changes are OK.

 Please apply the changes on behalf of me.

 Regards

 Guido Serassio

9 years agoFix virtual override keyword issues in Auth::User for clang
Amos Jeffries [Sat, 26 Sep 2015 22:06:28 +0000 (15:06 -0700)] 
Fix virtual override keyword issues in Auth::User for clang

9 years agoFix cache_peer login=PASS(THRU) after CVE-2015-5400
Amos Jeffries [Sat, 26 Sep 2015 03:04:01 +0000 (20:04 -0700)] 
Fix cache_peer login=PASS(THRU) after CVE-2015-5400

The patch for CVE-2015-5400 converts all non-200 peer responses
into 502 Bad Gateway responses when relaying a CONNECT to a peer.

This happens to break login=PASS and login=PASSTHRU behaviour
which relies on the 401 and 407 status being relayed transparently.

We need to relay the auth server responses as-is when login= is
set to PASS or PASSTHRU but then unconditionally close the
connections to prevent CVE-2015-5400 from occuring.

9 years agoBoilerplate: copyright updates by Francesco Chemolli
Amos Jeffries [Sat, 26 Sep 2015 00:01:47 +0000 (17:01 -0700)] 
Boilerplate: copyright updates by Francesco Chemolli

9 years agoBug 4208: more than one port in wccp2_service_info line causes error
Guy Helmer [Fri, 25 Sep 2015 23:16:48 +0000 (16:16 -0700)] 
Bug 4208: more than one port in wccp2_service_info line causes error

9 years agoRelicense smb_lm auth helper to GPLv2+
Francesco Chemolli [Fri, 25 Sep 2015 15:22:47 +0000 (17:22 +0200)] 
Relicense smb_lm auth helper to GPLv2+

9 years agoRelicense ntlm_fake_auth.pl to GPLv2+
Francesco Chemolli [Fri, 25 Sep 2015 15:21:44 +0000 (17:21 +0200)] 
Relicense ntlm_fake_auth.pl to GPLv2+

9 years agoRework wordlistDestroy and refine documentation for wordlist as suggested by Alex
Francesco Chemolli [Fri, 25 Sep 2015 12:27:33 +0000 (14:27 +0200)] 
Rework wordlistDestroy and refine documentation for wordlist as suggested by Alex

9 years agoAdd virtual destructors to Auth::User hierarchy
Amos Jeffries [Fri, 25 Sep 2015 10:57:18 +0000 (03:57 -0700)] 
Add virtual destructors to Auth::User hierarchy

9 years agoRun source maintenance script
Amos Jeffries [Fri, 25 Sep 2015 10:49:01 +0000 (03:49 -0700)] 
Run source maintenance script

9 years agoMerge from trunk
Amos Jeffries [Fri, 25 Sep 2015 10:12:56 +0000 (03:12 -0700)] 
Merge from trunk

9 years agoDisplay username cache key in cache manager report
Amos Jeffries [Fri, 25 Sep 2015 09:54:31 +0000 (02:54 -0700)] 
Display username cache key in cache manager report

9 years agoSourceFormat Enforcement
Source Maintenance [Fri, 25 Sep 2015 06:12:10 +0000 (06:12 +0000)] 
SourceFormat Enforcement

9 years agoSMP: regster worker listening ports one by one
Alex Rousskov [Fri, 25 Sep 2015 05:17:33 +0000 (22:17 -0700)] 
SMP: regster worker listening ports one by one

When oeprating with many listening ports workers can flood the UDS
queue buffers and run into a timeout waiting for the coordinator to
respond.

To prevent that we for a queue and wait for each port to get a
response before registering the next.

9 years agoBug 4328: %un format code does not work for external ACLs in credentials-fetching...
Steve Hill [Fri, 25 Sep 2015 05:07:55 +0000 (22:07 -0700)] 
Bug 4328: %un format code does not work for external ACLs in credentials-fetching rules

9 years agoCrypto-NG: cleanup and optimize CRL handling
Amos Jeffries [Thu, 24 Sep 2015 21:08:23 +0000 (14:08 -0700)] 
Crypto-NG: cleanup and optimize CRL handling

Certificate Revokation Lists have gone through several iterations
of logic redesign leading to duplicated code and non-optimal I/O.
Client contexts were loading CRL directly from disk into the
context on every new context creation. Whereas the server contexts
were loading into an OpenSSL STACK_OF structure and adding from
memory instead of disk. This later design is more performant.

* Move the pre-loaded CRL set to Security::PeerOptions and store
  in a std::list structure as LockingPointer which will deallocate
  as needed on shutdwown and reconfigure.
  This depends on trunk rev.14304

* Replace the client context disk I/O with the pre-loaded CRL list

* Add GnuTLS CRL list types. Though at this point GnuTLS does not
  pre-load the CRL files.

9 years agoBug 4323: Netfilter broken cross-includes with Linux 4.2
Francesco Chemolli [Thu, 24 Sep 2015 13:05:37 +0000 (06:05 -0700)] 
Bug 4323: Netfilter broken cross-includes with Linux 4.2

9 years agoFix eCAP compile after rev.14305
Amos Jeffries [Thu, 24 Sep 2015 03:22:41 +0000 (20:22 -0700)] 
Fix eCAP compile after rev.14305

9 years agoSourceFormat Enforcement
Source Maintenance [Wed, 23 Sep 2015 18:11:57 +0000 (18:11 +0000)] 
SourceFormat Enforcement

9 years agoBug 4304: PeerConnector.cc:743 "!callback" assertion.
Alex Rousskov [Wed, 23 Sep 2015 15:58:25 +0000 (18:58 +0300)] 
Bug 4304: PeerConnector.cc:743 "!callback" assertion.

When no ssl_bump rules match, Squid may throw a "a rule with the final
action must have matched" exception:

Must(finalAction == Ssl::bumpSplice || finalAction == Ssl::bumpBump ||
     finalAction == Ssl::bumpTerminate);

After the exception is thrown, Squid attempts to wind down the affected
transaction (as it should), but the code either quits with an unhandled
exception error or hits the !callback assertion, depending on whether
the async job processing was in place when the exception was hit (which
depends on whether non-blocking/slow ssl_bump ACLs were active).

The attached patch does three things:

1. Teaches Squid to guess the final ssl_bump action when no ssl_bump
rules match. The final guessed action is "bump" if the last non-final
action was "stare" and "splice" otherwise. I suspect that the older
Squid code attempted to do something like that, but that code may have
been lost when we taught Squid to ignore impossible ssl_bump actions.

2. Protects ssl_bump-checking code from quitting with an unhandled
exception error.

3. Converts the fatal !callback assertion into [hopefully less damaging]
transaction error, with a BUG message logged to cache.log.

More work may be needed to investigate other exceptions, especially
Must(!csd->serverBump() || csd->serverBump()->step <= Ssl::bumpStep2);

This is a Measurement Factory project

9 years agoPortbility fix: filter register keyword from gperf output
Francesco Chemolli [Tue, 22 Sep 2015 17:29:23 +0000 (19:29 +0200)] 
Portbility fix: filter register keyword from gperf output

9 years agoMove gperf invocation for RegisteredHeadersHash to source-maintenance.sh
Francesco Chemolli [Tue, 22 Sep 2015 12:00:37 +0000 (14:00 +0200)] 
Move gperf invocation for RegisteredHeadersHash to source-maintenance.sh
Portability fixes for non-GNU make.

9 years agoeCAP: Return unknown body size for bodies with unknown body sizes.
Alex Rousskov [Mon, 21 Sep 2015 18:17:38 +0000 (12:17 -0600)] 
eCAP: Return unknown body size for bodies with unknown body sizes.

Previously, unsigned -1 size was returned for those bodies.
Old adapters relying on that buggy behavior will now throw:

  !"attempt to use unknown libecap::BodySize size"

Such adapters should check libecap::BodySize::known() before
using the libecap::Body::bodySize() value.

9 years agoAdd assigment and move operators to LockingPointer
Amos Jeffries [Mon, 21 Sep 2015 14:26:03 +0000 (07:26 -0700)] 
Add assigment and move operators to LockingPointer

These operators are required to use LockingPointer instances in STL
containers and unlike TidyPointer the LockingPointer can do them safely
due to the lock preventing premature deletions.

9 years agoCleanup: Migrate StoreEntry to using MEMPROXY_CLASS
Francesco Chemolli [Mon, 21 Sep 2015 14:02:38 +0000 (16:02 +0200)] 
Cleanup: Migrate StoreEntry to using MEMPROXY_CLASS

9 years agoImplement default constructor for hash_link.
Francesco Chemolli [Mon, 21 Sep 2015 13:48:18 +0000 (15:48 +0200)] 
Implement default constructor for hash_link.

9 years agoRemove custom pool chunk size for StoreEntry.
Francesco Chemolli [Mon, 21 Sep 2015 13:19:28 +0000 (15:19 +0200)] 
Remove custom pool chunk size for StoreEntry.

As an historic optimization StoreEntry uses a custom pool chunk size of 2MB.
Knowledge of the actual benefits from this optimization has been lost in time,
and it's not possible to accurately measure its actual impact in all load
scenarios; at the same time this optimization is blocking other potentially
useful developments.
This change is therefore considered a potential performance regression in
some load scenarios.

9 years agonegotiate_wrapper: Fix memory leaks
Amos Jeffries [Thu, 17 Sep 2015 23:48:47 +0000 (16:48 -0700)] 
negotiate_wrapper: Fix memory leaks

 Detected by Coverity Scan. Issues 13245641324565.

9 years agoPrep for 3.5.9
Amos Jeffries [Thu, 17 Sep 2015 12:43:20 +0000 (05:43 -0700)] 
Prep for 3.5.9

9 years agontlm_smb_lm_auth: ignore empty NTresponse field
Amos Jeffries [Thu, 17 Sep 2015 12:30:35 +0000 (05:30 -0700)] 
ntlm_smb_lm_auth: ignore empty NTresponse field

9 years agoBug 4309: Fix the presence of extensions detection in SSL Hello messages
Christos Tsantilas [Wed, 16 Sep 2015 08:43:18 +0000 (11:43 +0300)] 
Bug 4309: Fix the presence of extensions detection in SSL Hello messages

RFC5246 section 7.4.1.3 (Server Hello) says:

   The presence of extensions can be detected by determining whether
   there are bytes following the compression_method field at the end of
   the ServerHello.

Current parsing Hello code checks whether there are bytes in the whole SSL
message. It does not account for the fact that the message may contain more than
just ServerHello.
This patch fixes this issue and try to improve the related code to avoid related
problems in the future.

This is a Measurement Factory project

9 years agoauthor: Alex Rousskov <rousskov@measurement-factory.com>
Christos Tsantilas [Wed, 16 Sep 2015 08:40:32 +0000 (11:40 +0300)] 
author: Alex Rousskov <rousskov@measurement-factory.com>
Bug 4309: Squid crashed when Skype login

Do not assume that (char << 8) cannot overflow a short integer.
Be more consistent with storing certificate-related lengths.

9 years agoSourceFormat Enforcement
Source Maintenance [Mon, 14 Sep 2015 18:11:56 +0000 (18:11 +0000)] 
SourceFormat Enforcement

9 years agoSNI to ICAP via 2nd CONNECT part2
Christos Tsantilas [Mon, 14 Sep 2015 18:02:04 +0000 (21:02 +0300)] 
SNI to ICAP via 2nd CONNECT part2

Wrap inside #if USE_OPENSSL/#endif the SSL related code to allow squid build
when openSSL library is disabled.

9 years agoSNI to ICAP via 2nd CONNECT
Christos Tsantilas [Mon, 14 Sep 2015 17:00:19 +0000 (20:00 +0300)] 
SNI to ICAP via 2nd CONNECT

When Squid decides to splice a connection in the step2 SSL bumping step
sends a second fake CONNECT request to the ICAP/eCAP for adaptation.

This patch fixes squid to use the SNI information when sending the second
CONNECT request, if it is available.

This is a Measurement Factory project

9 years agoCrypto-NG: replace Ssl::X509_Pointer with Security::CertPointer
Amos Jeffries [Mon, 14 Sep 2015 16:25:05 +0000 (09:25 -0700)] 
Crypto-NG: replace Ssl::X509_Pointer with Security::CertPointer

* shuffle LockingPointer to libsecurity.la
  along with supporting macros in security/forward.h

* add GnuTLS and library agnostic definitions of Security::CertPointer

9 years agoPrevent username cache dislay showing double
Amos Jeffries [Sun, 13 Sep 2015 10:35:51 +0000 (03:35 -0700)] 
Prevent username cache dislay showing double

9 years agoMerged from trunk rev.14291
Amos Jeffries [Sat, 12 Sep 2015 11:40:36 +0000 (04:40 -0700)] 
Merged from trunk rev.14291

9 years agoFix uninitialized members in class HeaderTableRecord
Amos Jeffries [Fri, 11 Sep 2015 02:24:31 +0000 (19:24 -0700)] 
Fix uninitialized members in class HeaderTableRecord

 Detected by Coverity Scan. Issues 13237501323751

9 years agoBug 4292: negotiate_wrapper: Unreleased Resources
Amos Jeffries [Fri, 11 Sep 2015 02:16:06 +0000 (19:16 -0700)] 
Bug 4292: negotiate_wrapper: Unreleased Resources

FILE* handles need to be closed on exit. Shuffle the processing loop logics
to a static function to avoid code duplication from all the requires close
points.

Also, use the available global flag debug_enabled instead of local variable
to avoid having to pass it down explicitly.

9 years agoPass the cache key value explicitly from the callers
Amos Jeffries [Wed, 9 Sep 2015 17:55:18 +0000 (10:55 -0700)] 
Pass the cache key value explicitly from the callers

This makes the cache class more flexibly used for other types of auth
credentials not based on user names.

Also, replace debugs stating 'username cache' with 'credentials cache'

9 years agoRemove needless validity check
Amos Jeffries [Wed, 9 Sep 2015 17:02:35 +0000 (10:02 -0700)] 
Remove needless validity check

9 years agoMerge from trunk rev.14289
Amos Jeffries [Wed, 9 Sep 2015 17:01:44 +0000 (10:01 -0700)] 
Merge from trunk rev.14289

9 years agoPass event name from Cache() creator functions
Amos Jeffries [Wed, 9 Sep 2015 14:03:19 +0000 (07:03 -0700)] 
Pass event name from Cache() creator functions

We cannot use any kind of smart storage in the CredentialsCache class
because that would now result in the c-strign being deallocated when
there is potentially an event still existing and using it.

It cannot be dynamically created and deleted because ownership is split
between event and the cache itself. Neither is in a good position to
control a dynamic strings lifetime. So make it a goblal const char*.

9 years agoSplit RegisteredRunner cache management away from cache manager class
Amos Jeffries [Wed, 9 Sep 2015 13:37:00 +0000 (06:37 -0700)] 
Split RegisteredRunner cache management away from cache manager class

9 years agoRemove unnecessary ctot deletion
Amos Jeffries [Tue, 8 Sep 2015 15:50:19 +0000 (08:50 -0700)] 
Remove unnecessary ctot deletion

9 years agoDocs cleanup
Amos Jeffries [Tue, 8 Sep 2015 15:48:59 +0000 (08:48 -0700)] 
Docs cleanup

9 years agode-duplicate event scheduling
Amos Jeffries [Tue, 8 Sep 2015 15:45:28 +0000 (08:45 -0700)] 
de-duplicate event scheduling

9 years agoRename UsernameCache to CredentialsCache
Amos Jeffries [Tue, 8 Sep 2015 14:33:47 +0000 (07:33 -0700)] 
Rename UsernameCache to CredentialsCache

9 years agoBug 4284: missing sanity checks for malloc
Amos Jeffries [Mon, 7 Sep 2015 17:44:33 +0000 (10:44 -0700)] 
Bug 4284: missing sanity checks for malloc

9 years agoBug 3618: ntlm_smb_lm_auth rejects correct passwords
Amos Jeffries [Mon, 7 Sep 2015 17:13:58 +0000 (10:13 -0700)] 
Bug 3618: ntlm_smb_lm_auth rejects correct passwords

9 years agofix documentation
Amos Jeffries [Mon, 7 Sep 2015 15:52:27 +0000 (08:52 -0700)] 
fix documentation

9 years agomake cleanup an UserNameCache object method
Amos Jeffries [Mon, 7 Sep 2015 15:50:38 +0000 (08:50 -0700)] 
make cleanup an UserNameCache object method

9 years agoRemove duplicate cbdataReferenceValid() check
Amos Jeffries [Mon, 7 Sep 2015 13:02:39 +0000 (06:02 -0700)] 
Remove duplicate cbdataReferenceValid() check

9 years agonegotiate_kerberos_auth: producing empty group= kv-pairs
Amos Jeffries [Mon, 7 Sep 2015 10:24:31 +0000 (03:24 -0700)] 
negotiate_kerberos_auth: producing empty group= kv-pairs

9 years agoSourceFormat Enforcement
Source Maintenance [Sun, 6 Sep 2015 00:12:11 +0000 (00:12 +0000)] 
SourceFormat Enforcement

9 years agoRefactor HttpHeader into gperf-generated perfect hash
Francesco Chemolli [Sat, 5 Sep 2015 18:52:17 +0000 (20:52 +0200)] 
Refactor HttpHeader into gperf-generated perfect hash

9 years agoImplement EnumIterator
Francesco Chemolli [Sat, 5 Sep 2015 11:28:21 +0000 (13:28 +0200)] 
Implement EnumIterator

9 years agoUpdate mk-string-arrays.awk to support c++-style enums
Francesco Chemolli [Sat, 5 Sep 2015 11:27:59 +0000 (13:27 +0200)] 
Update mk-string-arrays.awk to support c++-style enums

9 years agoMerged from Trunk
Francesco Chemolli [Sat, 5 Sep 2015 04:49:27 +0000 (06:49 +0200)] 
Merged from Trunk

9 years agoQuieten UFS cache maintenance skipped warnings
Amos Jeffries [Fri, 4 Sep 2015 19:54:07 +0000 (12:54 -0700)] 
Quieten UFS cache maintenance skipped warnings

The maintenance loop cycles once per second. On long DIRTY cache rebuilds
this can reult in a lot of log mesages at level 1.

* reduce the messages to L=3 except once per minute allow one at L=1

* perform the under-size limit check first to allow completely silent
  skipping when no maintenance would have taken place anyway.

9 years agoSourceformat
Francesco Chemolli [Fri, 4 Sep 2015 13:38:54 +0000 (15:38 +0200)] 
Sourceformat

9 years agoAuth::User::userKey now returns SBuf
Francesco Chemolli [Fri, 4 Sep 2015 13:26:59 +0000 (15:26 +0200)] 
Auth::User::userKey now returns SBuf

9 years agoAudit round 1
Francesco Chemolli [Fri, 4 Sep 2015 13:02:54 +0000 (15:02 +0200)] 
Audit round 1