]> git.ipfire.org Git - thirdparty/squid.git/log
thirdparty/squid.git
10 years agoRun source maintenance script
Amos Jeffries [Fri, 25 Sep 2015 10:49:01 +0000 (03:49 -0700)] 
Run source maintenance script

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

10 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

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

10 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.

10 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

10 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.

10 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

10 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

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

10 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

10 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

10 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.

10 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.

10 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.

10 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

10 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.

10 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.

10 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.

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

10 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

10 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

10 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.

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

10 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.

10 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

10 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

10 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

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

10 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

10 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.

10 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'

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

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

10 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*.

10 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

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

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

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

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

10 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

10 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

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

10 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

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

10 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

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

10 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

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

10 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

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

10 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.

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

10 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

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

10 years agoSet debug levels to sanity in username cache
Francesco Chemolli [Fri, 4 Sep 2015 03:39:43 +0000 (05:39 +0200)] 
Set debug levels to sanity in username cache

10 years agoFix username cache cleanup
Francesco Chemolli [Fri, 4 Sep 2015 03:37:52 +0000 (05:37 +0200)] 
Fix username cache cleanup

10 years agoRemove stub definitions for now-undeclared methods
Francesco Chemolli [Fri, 4 Sep 2015 03:37:20 +0000 (05:37 +0200)] 
Remove stub definitions for now-undeclared methods

10 years agoInterim: remove proxy_auth_username_cache.
Francesco Chemolli [Thu, 3 Sep 2015 21:03:49 +0000 (23:03 +0200)] 
Interim: remove proxy_auth_username_cache.
Attempt fixing cache cleanup and strange iterator behaviors.
May crash on shutdown if there are entries in cache.

10 years agoAdded missing includes to auth/digest/User.h
Francesco Chemolli [Thu, 3 Sep 2015 20:00:01 +0000 (22:00 +0200)] 
Added missing includes to auth/digest/User.h

10 years agoMigrate cachemgr action to UserNameCache
Francesco Chemolli [Thu, 3 Sep 2015 19:59:41 +0000 (21:59 +0200)] 
Migrate cachemgr action to UserNameCache

10 years agoRemove Auth::Config::findUserInCache
Francesco Chemolli [Thu, 3 Sep 2015 17:20:41 +0000 (19:20 +0200)] 
Remove Auth::Config::findUserInCache

10 years agoConvert Digest to new username cache
Francesco Chemolli [Thu, 3 Sep 2015 17:01:50 +0000 (19:01 +0200)] 
Convert Digest to new username cache

10 years agoConverted Basic auth to UserNameCache lookup
Francesco Chemolli [Thu, 3 Sep 2015 16:56:10 +0000 (18:56 +0200)] 
Converted Basic auth to UserNameCache lookup

10 years agoConvert NTLM to new cache
Francesco Chemolli [Thu, 3 Sep 2015 16:38:01 +0000 (18:38 +0200)] 
Convert NTLM to new cache

10 years agoRenew cache cleanup event
Francesco Chemolli [Thu, 3 Sep 2015 16:23:46 +0000 (18:23 +0200)] 
Renew cache cleanup event

10 years agoConvert Negotiate to new cache
Francesco Chemolli [Thu, 3 Sep 2015 16:21:31 +0000 (18:21 +0200)] 
Convert Negotiate to new cache

10 years agoAdded debug statements
Francesco Chemolli [Thu, 3 Sep 2015 16:08:58 +0000 (18:08 +0200)] 
Added debug statements

10 years agoImplemented ACL cached match flush upon riconfigure on UserNameCache
Francesco Chemolli [Thu, 3 Sep 2015 12:57:37 +0000 (14:57 +0200)] 
Implemented ACL cached match flush upon riconfigure on UserNameCache

10 years agoRemoved cache registration on Auth::*::User ctor, implemented instead Auth::*::addToN...
Francesco Chemolli [Thu, 3 Sep 2015 12:04:49 +0000 (14:04 +0200)] 
Removed cache registration on Auth::*::User ctor, implemented instead Auth::*::addToNameCache in place of Auth::User::addToNameCache

10 years agoFix cbdata-related parts of UserNameCache.
Francesco Chemolli [Thu, 3 Sep 2015 11:18:47 +0000 (13:18 +0200)] 
Fix cbdata-related parts of UserNameCache.
Self-register new User objects into the cache.

10 years agoMerged from trunk
Francesco Chemolli [Thu, 3 Sep 2015 08:32:49 +0000 (10:32 +0200)] 
Merged from trunk

10 years agoAdded username caches to all authentication mechanisms
Francesco Chemolli [Thu, 3 Sep 2015 07:41:33 +0000 (09:41 +0200)] 
Added username caches to all authentication mechanisms

10 years agoImplement UserNameCache for Auth::Negotiate.
Francesco Chemolli [Wed, 2 Sep 2015 17:11:07 +0000 (19:11 +0200)] 
Implement UserNameCache for Auth::Negotiate.

10 years agoconst-ified where possible, added cbdata checks.
Francesco Chemolli [Wed, 2 Sep 2015 16:44:17 +0000 (18:44 +0200)] 
const-ified where possible, added cbdata checks.

10 years agoImplement Runner API to deregister events on shutdown.
Francesco Chemolli [Wed, 2 Sep 2015 15:36:51 +0000 (17:36 +0200)] 
Implement Runner API to deregister events on shutdown.

10 years agoImplement audit and documentation
Francesco Chemolli [Wed, 2 Sep 2015 15:11:23 +0000 (17:11 +0200)] 
Implement audit and documentation

10 years agoFix CONNECT request debugging 11,2 traces
Amos Jeffries [Wed, 2 Sep 2015 14:17:07 +0000 (07:17 -0700)] 
Fix CONNECT request debugging 11,2 traces

Using the MemBuf::buf directly is not great, but it does have a properly
terminated c-string in this instance. We cannot use Raw() interface
because that is for output at DBG_DATA levels and will only display the
buffer name as if that was the raw traffic bytes at 11,2.
Which negates the entire purpose of this 11,2 output.

10 years agoExtend Auth::User exposing UserKey as SBuf
Francesco Chemolli [Wed, 2 Sep 2015 08:33:30 +0000 (10:33 +0200)] 
Extend Auth::User exposing UserKey as SBuf
Implement UserNameCache::insert and sortedUsersList

10 years agoUpdate release script after rev.14240
Amos Jeffries [Wed, 2 Sep 2015 02:20:45 +0000 (19:20 -0700)] 
Update release script after rev.14240

10 years agoPrep for 3.5.8
Amos Jeffries [Tue, 1 Sep 2015 19:32:54 +0000 (12:32 -0700)] 
Prep for 3.5.8

10 years agoImplement periodic cleanup function
Francesco Chemolli [Tue, 1 Sep 2015 15:54:09 +0000 (17:54 +0200)] 
Implement periodic cleanup function

10 years agoInitial methods from Auth::UserNameCache implemented
Francesco Chemolli [Tue, 1 Sep 2015 12:30:26 +0000 (14:30 +0200)] 
Initial methods from Auth::UserNameCache implemented

10 years agoSupport splice for SSLv3 and TLSv1 sessions that start with an SSLv2 Hello
Alex Rousskov [Tue, 1 Sep 2015 09:07:03 +0000 (02:07 -0700)] 
Support splice for SSLv3 and TLSv1 sessions that start with an SSLv2 Hello

Such sessions are created, for example, by some SSL clients using OpenSSL
v0.9.8 with default options. This does _not_ re-enable SSLv2 sessions.
Just enacts the permitted exception for Hello messages in RFC 6176

10 years agoRemove Auth::Digest::PurgeCredentialsCache
Francesco Chemolli [Mon, 31 Aug 2015 15:59:52 +0000 (17:59 +0200)] 
Remove Auth::Digest::PurgeCredentialsCache

10 years agoSourceLayout: rename fs/rock/RockForward.h to fs/rock/forward.h
Amos Jeffries [Mon, 31 Aug 2015 13:59:41 +0000 (06:59 -0700)] 
SourceLayout: rename fs/rock/RockForward.h to fs/rock/forward.h

To bring in line with layout guidelines.

10 years agoMissing piece of rev.14275
Amos Jeffries [Mon, 31 Aug 2015 13:58:48 +0000 (06:58 -0700)] 
Missing piece of rev.14275

10 years agoMerge cleanups branch: split most of typedefs.h
Francesco Chemolli [Mon, 31 Aug 2015 09:58:00 +0000 (11:58 +0200)] 
Merge cleanups branch: split most of typedefs.h

10 years agoPackable API: Rename StoreEntryStream to PackableStream
Amos Jeffries [Mon, 31 Aug 2015 09:38:51 +0000 (02:38 -0700)] 
Packable API: Rename StoreEntryStream to PackableStream

PackableStream has some implicit new properties different from
the original StoreEntryStream type:

* lack of Store.h dependency

* ability to stream into a MemBuf if its creator desires that

Meaning PackableStream can be used in a wider range of the code
without increasing library dependencies.

10 years agoFix some comments
Francesco Chemolli [Mon, 31 Aug 2015 09:20:20 +0000 (11:20 +0200)] 
Fix some comments

10 years agoSource maintenance
Francesco Chemolli [Mon, 31 Aug 2015 09:16:27 +0000 (11:16 +0200)] 
Source maintenance

10 years agoAudit round 2
Francesco Chemolli [Mon, 31 Aug 2015 08:01:10 +0000 (10:01 +0200)] 
Audit round 2

10 years agoMerged from trunk
Francesco Chemolli [Mon, 31 Aug 2015 07:34:35 +0000 (09:34 +0200)] 
Merged from trunk

10 years agoAudit round
Francesco Chemolli [Mon, 31 Aug 2015 06:17:22 +0000 (08:17 +0200)] 
Audit round

10 years agoFix regression in rev.14268
Amos Jeffries [Sun, 30 Aug 2015 20:36:48 +0000 (13:36 -0700)] 
Fix regression in rev.14268

My bad cut-n-paste resulted in wrong locking sequence.
Fixing that reveals that the validity check on the return
result triggers cases of cbdata 'locks > 0' assertions.
The validity test is not currently needed by the fastCheck
code which preserves the value. So removing for now.

10 years agoRevert enum-related changes
Francesco Chemolli [Sun, 30 Aug 2015 16:56:24 +0000 (18:56 +0200)] 
Revert enum-related changes

10 years agoMerged from trunk
Francesco Chemolli [Sun, 30 Aug 2015 02:07:21 +0000 (04:07 +0200)] 
Merged from trunk

10 years agoDocs: update arp ACL text
Amos Jeffries [Sun, 30 Aug 2015 01:07:47 +0000 (18:07 -0700)] 
Docs: update arp ACL text

10 years agoSourceLayout: shuffle kb_t to ByteCounter in libbase
Amos Jeffries [Sun, 30 Aug 2015 00:26:47 +0000 (17:26 -0700)] 
SourceLayout: shuffle kb_t to ByteCounter in libbase

Also, move kb_incr() logic to ByteCounter operator +=

 There are no logic changes in this patch.

10 years agoRename lowSBufHash to SBufHashCommon_
Francesco Chemolli [Sat, 29 Aug 2015 23:57:45 +0000 (01:57 +0200)] 
Rename lowSBufHash to SBufHashCommon_