]> git.ipfire.org Git - thirdparty/squid.git/log
thirdparty/squid.git
16 years agoAuthor: Various Translators
Amos Jeffries [Fri, 12 Jun 2009 05:07:44 +0000 (17:07 +1200)] 
Author: Various Translators
Language: Thai

16 years agoLanguage: Lithuanian
Amos Jeffries [Sun, 7 Jun 2009 07:30:08 +0000 (19:30 +1200)] 
Language: Lithuanian

16 years agoLanguage: Hungarian
Amos Jeffries [Sun, 7 Jun 2009 05:46:47 +0000 (17:46 +1200)] 
Language: Hungarian

16 years agoLanguage: Hebrew
Amos Jeffries [Sun, 7 Jun 2009 03:15:15 +0000 (15:15 +1200)] 
Language: Hebrew

16 years agoLanguage Updates: Sync ru.po with Rosetta
Amos Jeffries [Sat, 6 Jun 2009 12:26:09 +0000 (00:26 +1200)] 
Language Updates: Sync ru.po with Rosetta

16 years agoLanguage: Malay
Amos Jeffries [Sat, 6 Jun 2009 12:07:16 +0000 (00:07 +1200)] 
Language: Malay

16 years agoUpdates auto-save
Amos Jeffries [Sat, 6 Jun 2009 12:00:38 +0000 (00:00 +1200)] 
Updates auto-save

16 years agoMerged from trunk
Amos Jeffries [Sat, 6 Jun 2009 11:50:57 +0000 (23:50 +1200)] 
Merged from trunk

16 years agoRelease Notes: tcpkeepalive very much present
Amos Jeffries [Sat, 6 Jun 2009 11:37:44 +0000 (23:37 +1200)] 
Release Notes: tcpkeepalive very much present

16 years agoDetect IPv6 stack a little better.
Amos Jeffries [Sat, 6 Jun 2009 03:03:56 +0000 (15:03 +1200)] 
Detect IPv6 stack a little better.

Will now detect whether v4-mapping works and enable split-stack if not.
Moves these tests a similar below the header detection so they will work.

16 years agoRelease notes on tag ACL
Amos Jeffries [Fri, 5 Jun 2009 23:55:01 +0000 (11:55 +1200)] 
Release notes on tag ACL

16 years agoMake debug_options rotate=N option back-compatible.
Amos Jeffries [Fri, 5 Jun 2009 23:13:17 +0000 (11:13 +1200)] 
Make debug_options rotate=N option back-compatible.

This ties older config which do not set rotate=N to still use the value
of logfile_rotate. If set rotate=N overrides logfile_rotate and can be
any value 0 or up.

16 years agoLanguage Updates: Korean, Chinese (Taiwan)
Amos Jeffries [Fri, 5 Jun 2009 05:28:55 +0000 (17:28 +1200)] 
Language Updates: Korean, Chinese (Taiwan)

16 years agoMerged from trunk
Amos Jeffries [Fri, 5 Jun 2009 05:27:08 +0000 (17:27 +1200)] 
Merged from trunk

16 years agoLanguage Updates: Korean
Amos Jeffries [Fri, 5 Jun 2009 05:24:41 +0000 (17:24 +1200)] 
Language Updates: Korean

16 years agoLanguage Updates: Chinese (Taiwan)
Amos Jeffries [Fri, 5 Jun 2009 04:11:46 +0000 (16:11 +1200)] 
Language Updates: Chinese (Taiwan)

16 years agoUpdate paths in manuals generation
Amos Jeffries [Thu, 4 Jun 2009 12:11:00 +0000 (00:11 +1200)] 
Update paths in manuals generation

16 years agoCollate and HTMLize the current Squid manual pages
Amos Jeffries [Thu, 4 Jun 2009 11:05:26 +0000 (23:05 +1200)] 
Collate and HTMLize the current Squid manual pages

This is expected to create a *-manuals.tar.gz bundle like the cfgman
bundle before it with raw and HTML versions of all man files currently
in the Squid sources.  For the purpose of providing web page versions
as authorative reference documentation.

This is one of those things that really has to be tested live on snapshot
generation. I'm only sure that groff exists in the spots its needed and
that the creation of the tar.gz should work. More work and testing will
likely be needed before public pages are available.

TODO:
    Test this alteration, and convert the bundle to live web pages.
    Add man .8 pages for many of the helpers.

16 years agoWindows port: fix link error on MinGW when using ident.
Guido Serassio [Tue, 2 Jun 2009 15:37:40 +0000 (17:37 +0200)] 
Windows port: fix link error on MinGW when using ident.

16 years agoWindows port: added build test options file for MinGW environment
Guido Serassio [Tue, 2 Jun 2009 13:40:12 +0000 (15:40 +0200)] 
Windows port: added build test options file for MinGW environment

16 years agoFix TCP and UDP buffer size detection
Guido Serassio [Tue, 2 Jun 2009 09:59:51 +0000 (11:59 +0200)] 
Fix TCP and UDP buffer size detection

After the switch to C++ of configure.in, some tests must be revised, maybe
that they are still some other always failing test.

16 years agoFix make check failure on Debian Etch, MinGW and maybe others OS.
Guido Serassio [Tue, 2 Jun 2009 09:38:27 +0000 (11:38 +0200)] 
Fix make check failure on Debian Etch, MinGW and maybe others OS.

16 years agoWindows port: second chunk of fixes needed to build again Squid3 using MinGW
Guido Serassio [Mon, 1 Jun 2009 19:38:37 +0000 (21:38 +0200)] 
Windows port: second chunk of fixes needed to build again Squid3 using MinGW

16 years agoSourceLayout: Shuffle ident files into libident.la
Amos Jeffries [Mon, 1 Jun 2009 12:31:43 +0000 (00:31 +1200)] 
SourceLayout: Shuffle ident files into libident.la

 * Moves files into ident/ for library
 * Adds Ident:: namespace for interface.
 * Moves ident config to Ident::TheConfig
 * reduces one avenue of memory leak on double-Init of ident objects.
 * Makes ident ACL only relevant when ident is available
 * Wraps Ident code in USE_IDENT for monolithic or empty library build
 * Adds documentation for ident API

TODO: Async and Object'ify the ident internals.

16 years agoFix build failure of squid_radius_auth.
Guido Serassio [Mon, 1 Jun 2009 12:15:50 +0000 (14:15 +0200)] 
Fix build failure of squid_radius_auth.

Also added config.test. Before of this, squid_radius_auth probably was never
automatically build during squid 3 development.

16 years agoMFC: Back out unintended md5 -> squid_md5 substituions from the md5.h -> squid_md5...
Guido Serassio [Mon, 1 Jun 2009 12:01:23 +0000 (14:01 +0200)] 
MFC: Back out unintended md5 -> squid_md5 substituions from the md5.h -> squid_md5.h name change

somehow the global search/replace used when renaming include/md5.h picked up a
lot more than intended.

This is a missing forward port from Squid 2 of an old Henrik's commit

16 years agoWindows port: Renamed src/acl/Ident.h to src/acl/AclIdent.h
Guido Serassio [Mon, 1 Jun 2009 09:08:01 +0000 (11:08 +0200)] 
Windows port: Renamed src/acl/Ident.h to src/acl/AclIdent.h

This fix a build failure caused by a name case conflict with src/ident.h.

16 years agoPort from 2.7: Show local address on listening sockets
Amos Jeffries [Mon, 1 Jun 2009 02:52:28 +0000 (14:52 +1200)] 
Port from 2.7: Show local address on listening sockets

16 years agoWindows port: first chunk of fixes needed to build again Squid3 using MinGW
Guido Serassio [Sun, 31 May 2009 17:20:44 +0000 (19:20 +0200)] 
Windows port: first chunk of fixes needed to build again Squid3 using MinGW

16 years agoAuthor: Henrik Nordstrom <henrik@henriknordstrom.net>
Amos Jeffries [Sun, 31 May 2009 09:37:54 +0000 (21:37 +1200)] 
Author: Henrik Nordstrom <henrik@henriknordstrom.net>
Bug #2407: Spelling error in http_port tcpkeepalive option

One of the new parameters according to the docs is "keepalive". However, when
using this option you'll get a "Bungled squid.conf in line ...". That's because
when parsing the configuration Squid is looking for the keyword "tcpkeepalive"
instead of "keepalive" as stated in the docs.

Selected to fix the docs instead of code as having it named keepalive is too
easily confused with HTTP keep-alive / persistent connections.

2009-05-25: Also mistakes on spelling of config dump.

16 years agoTypo in pam_auth man page
Amos Jeffries [Sun, 31 May 2009 04:49:16 +0000 (16:49 +1200)] 
Typo in pam_auth man page

16 years agoFix false NAT lookup errors.
Amos Jeffries [Sun, 31 May 2009 00:32:47 +0000 (12:32 +1200)] 
Fix false NAT lookup errors.

Turns out the getsockopt result test was inverted.
Also update SOL_IP parameter to current IPPROTO values.

16 years agoSplit-Stack enable DNS sockets.
Amos Jeffries [Sat, 30 May 2009 13:50:46 +0000 (01:50 +1200)] 
Split-Stack enable DNS sockets.

This breaks the DNS sockets into two when split-stack mode is used.
DnsSocketA becomes IPv4-only and DnsSocketB becomes used as IPv6-only.
Without Split-stack mode DnsSocketA is the only one actually used.

16 years agoWindows port: Fix configure failure on MinGW.
Guido Serassio [Sat, 30 May 2009 13:38:58 +0000 (15:38 +0200)] 
Windows port: Fix configure failure on MinGW.

16 years agoAuthor: Duane Wessels <wessels@squid-cache.org>
Amos Jeffries [Sat, 30 May 2009 13:13:28 +0000 (01:13 +1200)] 
Author: Duane Wessels <wessels@squid-cache.org>
MFC: documentation bugfix for tcp_outgoing_tos directive

16 years agoAuthor: Diego Woitasen <diegows <at> xtech.com.ar>
Amos Jeffries [Sat, 30 May 2009 13:04:44 +0000 (01:04 +1200)] 
Author: Diego Woitasen <diegows <at> xtech.com.ar>
Fix stripping NT domain in squid_ldap_group

16 years agoMake tag ACL play nice under current source layout.
Amos Jeffries [Sat, 30 May 2009 11:30:07 +0000 (23:30 +1200)] 
Make tag ACL play nice under current source layout.

Few bits I missed during the initial merge.

16 years agoAuthor: Henrik Nordstrom <henrik@henriknordstrom.net>
Amos Jeffries [Sat, 30 May 2009 05:10:39 +0000 (17:10 +1200)] 
Author: Henrik Nordstrom <henrik@henriknordstrom.net>
Adds "tag" type acl matching tags set by external acl helpers.

Currently using a list of strings (not even splay) as the number of
members is generally expected to be very small.

Should be complemented by a regex based acl.

16 years agoRevert testbed bits from revno 9699.
Amos Jeffries [Sat, 30 May 2009 04:25:24 +0000 (16:25 +1200)] 
Revert testbed bits from revno 9699.

16 years agoAuthor: Joao Alves Neto <alves_joao@hotmail.com>
Amos Jeffries [Sat, 30 May 2009 04:10:35 +0000 (16:10 +1200)] 
Author: Joao Alves Neto <alves_joao@hotmail.com>
Make fakeauth handle NTLMv2 better

NTLMv2 requires challenge flags to be a mirror of those received.

16 years agoAdd Translate: and Unless-Modified-Since: headers to known list.
Amos Jeffries [Fri, 29 May 2009 07:37:45 +0000 (19:37 +1200)] 
Add Translate: and Unless-Modified-Since: headers to known list.

They are custom microsoft headers we may need to use header_access to
crop away. Translate: is needed for WEBDAV so we must leave this up
to individual admin.

16 years agoAuthor: Arkin <arkin.yang@gmail.com>
Amos Jeffries [Sun, 24 May 2009 09:28:55 +0000 (21:28 +1200)] 
Author: Arkin <arkin.yang@gmail.com>
Bug 2387: The calculation of the number of hash buckets need to account for the memory size, not only disk size

cache_mem only setups without a cache_dir miscalculates the hash table size,
resulting in poor performance if cache_mem is very large.

16 years agoAuthor: Henrik Nordstrom <henrik@henriknordstrom.net>
Amos Jeffries [Sat, 23 May 2009 13:40:07 +0000 (01:40 +1200)] 
Author: Henrik Nordstrom <henrik@henriknordstrom.net>
Bug 2481: Don't set expires: now in generated error responses

Sending Expires: "now" overrides any negative cache logics which may
be present in downstream caches and is a bad idea. Better to send
the responses without any explicit expiry information.

16 years ago2.6.STABLE22 has all changes fully ported.
Amos Jeffries [Sat, 23 May 2009 12:05:58 +0000 (06:05 -0600)] 
2.6.STABLE22 has all changes fully ported.

16 years agoPrep for 3.1.0.8
Amos Jeffries [Sat, 23 May 2009 11:37:48 +0000 (23:37 +1200)] 
Prep for 3.1.0.8

16 years agoUpdate Rosetta Contributors info
Amos Jeffries [Sat, 23 May 2009 05:15:05 +0000 (17:15 +1200)] 
Update Rosetta Contributors info

16 years agoLanguage Updates
Amos Jeffries [Sat, 23 May 2009 05:10:08 +0000 (17:10 +1200)] 
Language Updates

16 years agoMerged from trunk
Amos Jeffries [Sat, 23 May 2009 05:06:07 +0000 (17:06 +1200)] 
Merged from trunk

16 years agoAuthor: vollkommen <vollkommen@gmx.net>
Amos Jeffries [Wed, 20 May 2009 09:28:36 +0000 (21:28 +1200)] 
Author: vollkommen <vollkommen@gmx.net>
Remove ssl_error_t CBDataList template instance

clashes with template <int> instantiation for other ACLs.

16 years agoFix compile errors after res_init polish
Amos Jeffries [Wed, 20 May 2009 09:01:21 +0000 (21:01 +1200)] 
Fix compile errors after res_init polish

16 years agoAuthor: Adrian Chadd <adrian@squid-cache.org>
Amos Jeffries [Wed, 20 May 2009 08:59:19 +0000 (20:59 +1200)] 
Author: Adrian Chadd <adrian@squid-cache.org>
Add in some better documentation for override-expire.

Attempt to clearly document exactly what it does - in this instance, it
enforces min age and doesn't allow the admin to enforce max-age -
ie, truncate staleness.

16 years agoAuthor: Matthias Pitzl <silamael@coronamundi.de>
Amos Jeffries [Wed, 20 May 2009 06:59:04 +0000 (18:59 +1200)] 
Author: Matthias Pitzl <silamael@coronamundi.de>
Bug 2644: auth scheme initialization is broken

Allocates auth schemas dynamically when needed.

TODO: de-allocate somehow on shutdown to stop the leakage this adds

16 years agoShuffle dnsserver -s option into its own function call.
Amos Jeffries [Tue, 19 May 2009 00:40:06 +0000 (12:40 +1200)] 
Shuffle dnsserver -s option into its own function call.

This is prep for bug 2147 closure.

16 years agoWindows port: Fix improper access permissions to registry and DNS parsing from registry
Guido Serassio [Mon, 18 May 2009 19:52:40 +0000 (21:52 +0200)] 
Windows port: Fix improper access permissions to registry and DNS parsing from registry

- RegOpenKey() always try to open registry keys in full control mode, even if not needed.
  This could make Squid to fail when running as a non privileged user. RegOpenKeyEx() allow to
  specify only the needed priviledge and now is used instead.

- When parsing DNS setting into registry, a fixed size loop was used. Now the loop count is
  dynamic.

16 years agoMove ASN handling for ACL into ACL area.
Amos Jeffries [Mon, 18 May 2009 11:15:37 +0000 (23:15 +1200)] 
Move ASN handling for ACL into ACL area.

This removes one possble compile clash, and one empty file.

16 years agoReplace assert with NOP action in hash free.
Amos Jeffries [Mon, 18 May 2009 03:21:51 +0000 (15:21 +1200)] 
Replace assert with NOP action in hash free.

This resolves one small coverity itch.
When nothing to free we don't really need to care, we do need to act
safely and not try to actually action the free though.

16 years agoPrep for 3.0.STABLE16-RC1
Amos Jeffries [Fri, 15 May 2009 12:31:52 +0000 (00:31 +1200)] 
Prep for 3.0.STABLE16-RC1

16 years agoFix more Strategised template clashes in MacOS X
Amos Jeffries [Mon, 11 May 2009 01:44:50 +0000 (13:44 +1200)] 
Fix more Strategised template clashes in MacOS X

16 years agoAuthor: Alin Nastac <mrness@gentoo.org>
Amos Jeffries [Sun, 10 May 2009 08:00:24 +0000 (20:00 +1200)] 
Author: Alin Nastac <mrness@gentoo.org>
Compile error in xstrdup

16 years agoAuthor: Mark Nottingham <mnot@pobox.com>
Amos Jeffries [Sat, 9 May 2009 14:06:48 +0000 (02:06 +1200)] 
Author: Mark Nottingham <mnot@pobox.com>
Bug 2627: HTCP Logging

16 years agoTypo.
Amos Jeffries [Sat, 9 May 2009 11:34:48 +0000 (23:34 +1200)] 
Typo.

16 years agoBug 2648: Authentificator processes deferring and don't shutdown.
Amos Jeffries [Sat, 9 May 2009 10:50:50 +0000 (22:50 +1200)] 
Bug 2648: Authentificator processes deferring and don't shutdown.

16 years agoAuthor: Mark Nottingham <mnot@pobox.com>
Amos Jeffries [Fri, 8 May 2009 11:22:30 +0000 (23:22 +1200)] 
Author: Mark Nottingham <mnot@pobox.com>
Make PEER_TCP_MAGIC_COUNT configurable

Squid will consider a peer dead when it has ten connect failures; this is
hardcoded in as PEER_TCP_MAGIC_COUNT.

The attached patch makes it a per-peer configuration option, defaulting to
PEER_TCP_MAGIC_COUNT.

16 years agoAuthor: Mark Nottingham <mnot@pobox.com>
Amos Jeffries [Fri, 8 May 2009 10:16:07 +0000 (22:16 +1200)] 
Author: Mark Nottingham <mnot@pobox.com>
Bug 2632: Make number of reforwarding tries configurable

16 years agoAuthor: Mark Nottingham <mnot@pobox.com>
Amos Jeffries [Fri, 8 May 2009 10:04:08 +0000 (22:04 +1200)] 
Author: Mark Nottingham <mnot@pobox.com>
Bug 2645: allow squid to ignore must-revalidate

16 years agoAdd missing ClientInfo.h and cstring.
Amos Jeffries [Thu, 7 May 2009 14:47:45 +0000 (02:47 +1200)] 
Add missing ClientInfo.h and cstring.

ClientInfo.h was missing from distributed snapshot files.
cstring was missing from configure checks for include wrapping.

16 years agoAuthor: Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
Amos Jeffries [Thu, 7 May 2009 14:45:22 +0000 (02:45 +1200)] 
Author: Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
Fix libtool 2.2.6 warnings for rm

Hopefully future libtool will not need this. Meanhile 2.2.6 does.

16 years agoPrep for 3.0.STABLE15
Amos Jeffries [Wed, 6 May 2009 10:33:55 +0000 (22:33 +1200)] 
Prep for 3.0.STABLE15

16 years agoWrap C++ headers. Fixes define clash with libcompat
Amos Jeffries [Sun, 3 May 2009 13:02:50 +0000 (07:02 -0600)] 
Wrap C++ headers. Fixes define clash with libcompat

ostream and family were including sys/types.h which causes
FD_SET rediefinition with libcompat at times.
Current autoconf allows these headers to be wrapped and config.h
included before to prevent this and other things.

16 years agoAuto-Docs: Add \cpptest directive
Amos Jeffries [Sun, 3 May 2009 07:07:07 +0000 (19:07 +1200)] 
Auto-Docs: Add \cpptest directive

This is a custom directive just for squid.
It's used by adding to the declaration documentation of a function or
class method and listing the name of a unit-test function which
tests the documented function/method. It may be used multiple times
in a single function if there are multiple unit-tests for it.
Though in general multiple unit-tests sequences should be done in one
testing function.

16 years agoDont stop on missing epoll.h
Amos Jeffries [Thu, 30 Apr 2009 11:51:29 +0000 (23:51 +1200)] 
Dont stop on missing epoll.h

16 years agoAuthor: Peter Pramberger <peter@pramberger.at>
Amos Jeffries [Thu, 30 Apr 2009 02:59:24 +0000 (14:59 +1200)] 
Author: Peter Pramberger <peter@pramberger.at>
Bug 2656: Pinger dies with general protection fault

tzset() explicitly performs actions previously done implicitly
by localtime() in most case. It appears that some VM do not have
the implicit setting so we need this.

16 years agoBug 2650: configure requires epoll_ctl in libepoll when --enable-epoll used
Amos Jeffries [Wed, 29 Apr 2009 14:12:05 +0000 (02:12 +1200)] 
Bug 2650: configure requires epoll_ctl in libepoll when --enable-epoll used

16 years agoDebug() in cachemgr needs to be wrapped for if-else
Amos Jeffries [Wed, 29 Apr 2009 11:38:28 +0000 (23:38 +1200)] 
Debug() in cachemgr needs to be wrapped for if-else

16 years agoAuthor: Philip Allison
Alex Rousskov [Tue, 28 Apr 2009 18:06:32 +0000 (12:06 -0600)] 
Author: Philip Allison
Bug #2615 fix: Call libecap::adapter::Service::start() when finalizing config.

16 years agoregression fix, Bug #2583: pure virtual method called
Christos Tsantilas [Tue, 28 Apr 2009 17:02:23 +0000 (20:02 +0300)] 
regression fix, Bug #2583: pure virtual method called

Remove the assertion check for virginHeadSource in
ClientHttpRequest::~ClientHttpRequest().
Waiting for a better fix (if the bug is still present...)

16 years agoAdd the icap and ecap libraries to libadaptation dependencies
Christos Tsantilas [Mon, 27 Apr 2009 20:43:24 +0000 (23:43 +0300)] 
Add the icap and ecap libraries to libadaptation dependencies

16 years agoregression fix bug #2583: pure virtual method called
Christos Tsantilas [Mon, 27 Apr 2009 20:20:37 +0000 (23:20 +0300)] 
regression fix bug #2583: pure virtual method called

The applied patch hid the problem, did not fix it.
This patch removes the applied patch and instead add an assertion check in
ClientHttpRequest::~ClientHttpRequest destructor just before call the
Adaptation::Initiator::announceInitiatorAbort method.

16 years agobug #2652 and bud #2385: "tunnelReadServer: FD xx: read failure: (0) Success" error...
Christos Tsantilas [Mon, 27 Apr 2009 19:19:00 +0000 (22:19 +0300)] 
bug #2652 and bud #2385: "tunnelReadServer: FD xx: read failure: (0) Success" error message

-Method TunnelStateData::Connection::error:
   The xerrno is the errno values (EAGAIN, EINTR etc) not a COMM_XX error/flag.
- Methods TunnelStateData::writeServerDone,TunnelStateData::writeClientDone:
  if the related connection fd closing (flag==COMM_ERR_CLOSING) just return

16 years agoHandle several IO errors cleanly.
Amos Jeffries [Mon, 27 Apr 2009 12:05:38 +0000 (00:05 +1200)] 
Handle several IO errors cleanly.

16 years agoRemove infinite loop in MSNT auth helper
Amos Jeffries [Mon, 27 Apr 2009 07:17:04 +0000 (19:17 +1200)] 
Remove infinite loop in MSNT auth helper

On one starting error condition the helper enters a read loop
without exit conditions. Made this exit when read was done
and shutdown helper as per behavior comment by the loop.

Also removes one useless goto.

16 years agoFix dependencies in DiskIO
Amos Jeffries [Mon, 27 Apr 2009 06:40:06 +0000 (18:40 +1200)] 
Fix dependencies in DiskIO

It appears the slightly broken teastheaders was previously hiding
several header definition and protection bugs. Now found and fixed.

16 years agoAuthor: René Geile <rene.geile@t-online.de>
Amos Jeffries [Mon, 27 Apr 2009 00:21:04 +0000 (12:21 +1200)] 
Author: RenĂ© Geile <rene.geile@t-online.de>
Fix incorrect name of digest_pw_auth helper

via Debian project
http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=517528

16 years agoAutoDocs: Exclude test build directories
Amos Jeffries [Sun, 26 Apr 2009 04:39:46 +0000 (16:39 +1200)] 
AutoDocs: Exclude test build directories

16 years agoInclude dependencies for ClientInfo
Amos Jeffries [Sat, 25 Apr 2009 09:18:05 +0000 (03:18 -0600)] 
Include dependencies for ClientInfo

16 years agoVarious other issues in calling testHeaders
Amos Jeffries [Sat, 25 Apr 2009 09:01:06 +0000 (03:01 -0600)] 
Various other issues in calling testHeaders

16 years agoCorrect use of custom target testheaders:
Amos Jeffries [Sat, 25 Apr 2009 06:27:21 +0000 (00:27 -0600)] 
Correct use of custom target testheaders:

 - Adds use of .PHONY in all files the do the test
 - Fixes dist breakage after automake changes

16 years agoFix many syntax warnings in smb_lm
Amos Jeffries [Fri, 24 Apr 2009 07:06:46 +0000 (01:06 -0600)] 
Fix many syntax warnings in smb_lm

Now compiled with the same CFLAGS as the rest of Squid.
This is tested up to gcc 3.4 standards now. Some may still
be raised by later gcc versions.

 - fixes const correctness on several functions and globals
 - fixes .h wrapping on several files
 - adds prototype definitions for all functions
 - adds several missing includes
 - adds docs for some functions to auto-doc output

TODO:
 Not all code audited, only the bits shown broken right now.
 This helper contains a large amount of nasty duplicate code
 and re-implements several encryption algoritms that should
 probably be sourced from secure places.

16 years agoAuthor: Mikio Kishi <mkishi@104.net>
Amos Jeffries [Fri, 24 Apr 2009 03:50:58 +0000 (15:50 +1200)] 
Author: Mikio Kishi <mkishi@104.net>
Enable TPROXY v4 spoofing of CONNECT requests

with some code polish sourced from ViSolve

16 years agoFix several smb_lm Macro errors
Amos Jeffries [Thu, 23 Apr 2009 23:35:37 +0000 (11:35 +1200)] 
Fix several smb_lm Macro errors

This patch reduces local variable names from UPPER case to lower.
Preventing clashes with previous systm defines. In this case only
DOMAIN and SERVER were actually clashing. But reduced all for safety.

Also wraps system includes with HAVE_ macros inline with Squid policy.

16 years agoRevert rev9648. Bzr malfunction caused bad attribution
Amos Jeffries [Thu, 23 Apr 2009 23:31:36 +0000 (11:31 +1200)] 
Revert rev9648. Bzr malfunction caused bad attribution

16 years agoKill bashism in testheaders.sh
Amos Jeffries [Thu, 23 Apr 2009 11:14:41 +0000 (23:14 +1200)] 
Kill bashism in testheaders.sh

Detected by NetBSD Project pkgsrc app.

16 years agoMany small fixes uncovered by the testbed layer #02
Amos Jeffries [Thu, 23 Apr 2009 11:09:22 +0000 (05:09 -0600)] 
Many small fixes uncovered by the testbed layer #02

 - failover recovery for valgrind support
 - better error reporting and detection for epoll support
 - better dependency detection and handling for ESI support
 - ARP build error on FreeBSD
 - hack: silence build error on ZPH QoS support (TODO fix)

TODO:
 - fix ZPH support for BSD (Bug 2537)
 - comm symbol duplication failures under gcc 4.3.2

16 years agoDetach automke system from using -I.
Amos Jeffries [Thu, 23 Apr 2009 09:52:10 +0000 (03:52 -0600)] 
Detach automke system from using -I.

That path include allows unsafe header collisions on case-insensitive
file systems.

Uses src/Common.am in all makefiles now to provide build paths and flags
correctly to all parts of Squid.

TODO:
  fix several code warnings now present due to CFLAGS being used
  on some helper code which had omitted to use them previously.

  check that libTrie and squid_kerb_auth are not affected as well.

16 years agoAuthor: Hasso Tepper <hasso@estpak.ee>
Amos Jeffries [Thu, 23 Apr 2009 09:33:44 +0000 (21:33 +1200)] 
Author: Hasso Tepper <hasso@estpak.ee>
DragonFly Support for PF

Received via NetBSD project.

NetBSD Maintainer says:
 "pfvar.h part came from DragonFly people."

Their CVS log attributes says, the fix is from hasso@estpak.ee:

| Fix two problems reported by Hasso Tepper via PR pkg/39554.
|
| * DragonFly support.

(other not relevant to this patch)

16 years agoAuthor: Unknown - NetBSD Project
Amos Jeffries [Thu, 23 Apr 2009 09:12:06 +0000 (21:12 +1200)] 
Author: Unknown - NetBSD Project
NetBSD uses machine/byte_swap.h for endian defines

16 years agoAuthor: Hasso Tepper <hasso@estpak.ee>
Amos Jeffries [Thu, 23 Apr 2009 08:15:53 +0000 (20:15 +1200)] 
Author: Hasso Tepper <hasso@estpak.ee>
Fix OpenSSL portability problem

Received via NetBSD project.

Their CVS log attributes says, the fix is from hasso@estpak.ee:

| Fix two problems reported by Hasso Tepper via PR pkg/39554.
|
| * OpenSSL portability problem.

(other not relevant to this patch)

16 years agoAuthor: Unknown - NetBSD Project
Amos Jeffries [Thu, 23 Apr 2009 08:08:14 +0000 (20:08 +1200)] 
Author: Unknown - NetBSD Project
Fix bashism in squid_kerb_auth helper configuration file

Found by NetBSD project pkgsrc tool.
Author of that tool is Roland Illig (rillig@netbsd.org).

16 years agoAuthor: Unkown - NetBSD Project
Amos Jeffries [Thu, 23 Apr 2009 07:56:29 +0000 (19:56 +1200)] 
Author: Unkown - NetBSD Project
Fix pinger install location

16 years agoCleanups: Shuffle ClientInfo into a class
Amos Jeffries [Tue, 21 Apr 2009 15:07:51 +0000 (03:07 +1200)] 
Cleanups: Shuffle ClientInfo into a class

 - upgrade struct+typedef to public class
 - gets its own header as pre-requisite to Logs SourceLayout