summaryrefslogtreecommitdiff
path: root/www/squid/patches
AgeCommit message (Collapse)AuthorFilesLines
2003-02-19Remove patches/patch-cd since squid-2.5.STABLE1-mib.patch's content is fixed.taca1-11/+0
2003-02-16- Add more official patches, last one is applied as patches/patch-cdtaca2-13/+11
since it is broken (reported to squid-bugs@squid-cache.org.) - use DIST_SUBDIR. - bump PKG_REVISION.
2003-02-16- Add more official patches, last one is applied as patches/patch-cdtaca1-13/+4
since it is broken (reported to squid-bugs@squid-cache.org.) - use DIST_SUBDIR. - bump PKG_REVISION. These patches fixes those problem. See <http://www.squid-cache.org/Versions/v2/2.5/bugs/> in detail. o Squid MIB definition syntax error o winbind helpers fail to work with Samba 2.2.6 or later o CONNECT data corruption if client pipelines data before 200 OK reply o time acls only accept a single time o Client performance issue with HEAD requests to certain servers o --with-ssl fails to compile with OpenSSL 0.9.7 or later o Slow filedescriptor leak for /etc/hosts o Warn if cachemgr_passwd is specified more than once for the same action o assertion failed: forward.c:96: "fwdState->err" on shutdown o Compilation fails if incorrect --with-auth-threads=NN option is given o squid.conf documentation still refers to authenticate_program o authenticateAuthenticate: no connection data, cannot process authentication o delay_pools example does not match text o cachemgr helper stats cleanup o Segmentation fault after ftpDataWriteCallback o Issues with auth scheme configurations o Removed Cachable stats "no.non_get" o unclear documentation of http_reply_body_max_size o The pid file was removed too early in the shutdown process o select loops statistics incorrect when using select() o Added select filedescriptor histogram output to cachemgr o Duplicate assignment of sc->copy_offset o mem_pool_free_calls should be printed as a unsigned integer o Internal cleanup of peer selection accounting o log_mime_hdrs can show garbage in the access log on overly long request headers o Improved memory usage statistics via sbrk o Hostname cleanups performed by Squid o cachemgr failure_ratio is a ratio, not percentage o offline_toggle cachemgr documentation o squid_ldap_group update to version 2.10 o Documentation update to remove stale reference to Squid-1.1 release notes o further safeguards for aufs compilation problems when not using --enable-pthreads o chroot_dir complains about all paths in squid.conf o Segfault when using -S in combination with cache_dir coss/null o Stale cached data miss in offline_mode o Sometimes crashes while rebuilding dirty cache directories o RunCache/RunAccel scripts still looks for squid in bin o poor performance when using aufs o squid_ldap_group link failure o assertion failed: comm.c:646: "F->flags.open"
2002-12-01src/fs/diskd: only include sys/msg.h if we have it.grant3-0/+51
fixes build on (at least) Darwin 6.2.
2002-10-25Fix error in make install; extra "; \" were exists.taca1-3/+3
It cause error on Solaris. (Why NetBSD's make was OK?)
2002-10-13Update squid to 2.5.1 with several patches fromtaca13-1083/+250
http://www.squid-cache.org/Versions/v2/2.5/bugs/. Now try to install more authentication modules, but those modules should be handled by proper frame work (Curretly, SASL modules aren't handled). Changes to squid-2.5 (): - Major rewrite of proxy authentication to support other schemes than basic. First in the line is NTLM support but others can easily be added (minimal digest is present). See Programmers Guide. (Robert Collins & Francesco Chemolli) - Reworked how request bodies are passed down to the protocols. Now all client side processing is inside client_side.c, and the pass and pump modules is no longer used. - Optimized searching in proxy_auth and ident ACL types. Squid should now handle large access lists a lot more efficiently. (Francesco Chemolli) - Fixed forwarding/peer loop detection code (Brian Degenhardt) - now a peer is ignored if it turns out to be us, rather than committing suicide - Changed the internal URL code to obey appendDomain for internal objects if it needs appending. This fixes weirdnesses where a machine can think it is "foo.bar.com", and "foo" is requested. (Brian Degenhardt) - Added the use of Automake to create the Makefile.in's in the squid source tree. This will allow libtool in the future, and immediately allows better dependency tracking - with or without gcc - as well as the dist-all and distcheck targets for developers which respectively build a tar.gz and a tar.bz2 distribution, and check that what will be distributed builds. - Added TOS and source address selection based on ACLs, written by Roger Venning. This allows administrators to set the TOS precedence bits and/or the source IP from a set of available IPs based upon some ACLs, generally to map different users to different outgoing links and traffic profiles. - Added 'max-conn' option to 'cache_peer' - Added SSL gatewaying support, allowing Squid to act as a SSL server in accelerator setups. - SASL authentication helper by Ian Castle - msntauth updated to v2.0.3 - no_cache now applies to cache hits as well as cache misses - the Gopher client in Squid has been significantly improved - Squid now sanity checks FTP data connections to ensure the connection is from the requested server. Can be disabled if needed by turning off the ftp_sanitycheck option. - external acl support. A mechanism where flexible ACL checks can be driven by external helpers. See the external_acl_type and acl external directives. - Countless other small things and fixes - HTML pages generated by Squid or CacheMgr as well as the ERR documents now contain a doctype declaration so that browsers know which HTML specification the document uses. In addition to that they have a new look (background-color, font) and are valid according to the HTML standards at www.w3.org. (Clemens Löser) - Login and password send to Basic auth helpers is now URL escaped to allow for spaces and other "odd" characters in logins and passwords - Proxy Authentication is no longer blindly forwarded to peer caches if not used locally. If forwarding of proxy authentication is desired then it must now be configured with the login=PASS cache_peer option. - Responses with Vary: in the header are now cached by squid. (Henrik Nordstrom). - Removed unused 'siteselect_timeout' directive.
2002-03-23Fix for PKG_SYSCONFDIR -- the compiled-in paths should now be correct.kim1-12/+4
2002-03-22Change "squid" package to honor "PKG_SYSCONFDIR" completely. This fixestron1-4/+4
PR pkg/15775 by Kimmo Suominen.
2002-03-03Include HAVE_SETPROCTITLE in autoconf.h.in. Thought setproctitle() istaca1-0/+14
already checked in configure script, but it is need to define/undef in a generated header file. Bump to squid 2.4.4nb1.
2002-02-24Fix build problems on systems without setproctitle(3).veego3-18/+858
Check setproctitle in the configure script and remove the define in patch-ba.
2002-02-18Update squid to squid-2.4.3nb1.taca2-20/+101
- replace a hack adding fd_mask definition in autoconf.h with re-writing configure script. It cause to run configure twice and result "no fd_mask". - Incorporate three official patches from http://www.squid-cache.org/Versions/v2/2.4/bugs/. o SNMP memory leaks synopsis The SNMP implementation in Squid had several memory leaks possibly causing an denial of service. workaround Disable the SNMP port if enabled by using "snmp_port 0" in squid.conf. Or if you only use SNMP for MRTG data collection running on the same host then use "snmp_incoming_address 127.0.0.1" to limit reachability of the SNMP port to only localhost or some other trusted network. o Coredump on certain ftp:// style URL's synopsis If certain constructed ftp:// style URL's are received then squid crashes, causing a denial of service and maybe even remote execution of code. workaround Deny forwarding of non-anonymous FTP URLs by inserting the following rules at the top of squid.conf, prior to any http_access allow lines. acl non_anonymous_ftp url_regex -i ftp://[^/@]*@ http_access deny non_anonymous_ftp o "htcp_port 0" fails to disable the HTCP port synopsis "htcp_port 0" fails to completely disable the HTCP port as documented in squid.conf, instead HTCP will be listening on a random port number.
2001-12-12Update squid to 2.4.3 (squid-2.4.STABLE3), referring to tech-pkg's mailtaca5-13/+92
from "Ciarcinski, Adam \(ISS Brussels\)" <ACiarcinski@iss.net>. From ChangeLog: Changes to Squid-2.4.STABLE3 (Nov 28, 2001): - Fixed bug #255: core dump on SSL/CONNECT if access denied by miss_access - Fixed bug #246: corrupt on-disk meta information preventing rebuilds of lost swap.state files - Fixed bug #243: squid_ldap_auth now supports spaces in passwords - Fixed a coredump when creating FTP directories - Fixed a compile time problem with statHistDump prototype mistmatch, reported by some compilers - Fixed a potential coredump situation on snmpwalk in certain configurations - Fixed bug #229: filedescriptor leakage in the "aufs" cache_dir store implementation - Serbian error message translations I added following changes, too. o honor PKG_SYSCONFDIR keep SQUID_SYSCONFDIR effective. o Add --disable-internal-dns. This made external dnsserver available. External dnsserver could be disabled with configuration file. o Enable optimization with "-O". o Fix a problem to access nat device when transparent proxy enabled. This fix will be contained in squid 2.5 release. o setproctitle() hack for external dnsserver from daemonnews's article.
2001-11-23Fix problems caused by recent changes: the example configuration files gettron1-4/+12
installed into "etc/squid" (and are not moved arround after installation). The message of the install script matches the actual layout again and is adapted to changes to "SQUID_SYSCONFDIR".
2001-07-29- Apply some of the changes suggested by Greg A. Woods in PR 13427 andtron1-20/+17
include his improved "rc.d" script. - Use the same directory structure as in the Apache package. The configuration files are now in "${PREFIX}/etc/squid" and won't be removed during deinstallation. - Remove unnecessary configuration variables "SQUID_HTTP_PORT" and "SQUID_ICP_PORT". These values can perfectly be adjusted by editing the configuration file and supporting all these variables would make the package too complex. - Bump the version number to 2.4.1nb1.
2001-05-01o remove whitespace from Makefilewennmach1-0/+2
o add $NetBSD$ RCS tag to patch-ab o regen distinfo
2001-04-14Update "squid" package to version 2.4STABLE1. Changes since 2.3STABLE4:tron6-88/+58
- Fixed a bug in and cleaned up class 2/3 delay pools incrementing. - Fixed a coredump bug when using external dnsservers that become overloaded. - Fixed some NULL pointer bugs for NULL storage system when reconfiguring. - Fixed a bug with useragent logging that caused Squid to think the logfile never got opened. - Fixed a compiling bug with --disable-unlinkd. - Changed src/squid.h to always use O_NONBLOCK on Solaris if it is defined. - Fixed a bug with signed/unsigned bitfield flag variables that caused problems on Solaris. - Fixed a bug in clientBuildReplyHeader() that could add an Age: header with a negative value, causing an assertion later. - Fixed an SNMP reporting bug. cacheCurrentResFileDescrCnt was returning the number of FDs in use, rather than the number of reserved FDs. - Added the 'pipeline_prefetch' configuration option. - cache_dir syntax changed to use options instead of many arguments. This means that the max_objsize argument now is an optional option, and that the syntax for how to specify the diskd magics is slightly different. - Various fixes for CYGWIN - Upgraded MSNT auth module to version 2.0. - Fixed potential problems with HTML by making sure all HTML output is properly encoded. - Fixed a memory initialization problem with resource records in lib/rfc1035.c. - Rewrote date parsing in lib/rfc1123.c and made it a little more lenient. - Added Cache-control: max-stale support. - Fixed 'range_offset_limit' again. The problem this time is that client_side.c wouldn't set the we_dont_do_ranges flag for normal cache misses. It was only being set for requests that might have been hits, but we decided to change to a miss. - Added the Authenticate-Info and Proxy-Authenticate-Info headers from RFC 2617. - HTTP header lines longer than 64K could cause an assertion. Now they get ignored. - Fixed an IP address scanning bug that caused "123.foo.com" to be interpreted as an IP address. - Converted many structure allocations to use mem pools. - Changed proxy authentication to strip leading whitespace from usernames after decoding. - Prevented NULL pointer access in aclMatchAcl(). Some ACL types require checklist->request_t, but it won't be available in some cases (like snmp_access). Warn the admin that the ACL can't be checked and that we're denying it. - Allow zero-size disk caches. - The actual filesystem blocksize is now used to account for space overheads when calculating on-disk cache size. - Made the maximum memory cache object size configurable. - Added 'minimum_direct_rtt' configuration option. - Added 'ie_refresh' configuration option, which is a hack to turn IMS requests into no-cache requests. - Added Linux netfilter support for intercepted connections. - Fixed a bug with clientAccessCheck() that allowed proxy requests in accel mode. - Fixed a bug with 301/302 replies from redirectors. Now we force them to be cache misses. - Accommodated changes to the IP-Filter ioctl() interface for intercepted connections. - Fixed handling of client lifetime timeouts. - Fixed a buffer overflow bug with internal DNS replies by truncating received packets to 512 bytes, as per RFC 1035. - Added "forward.log" support, but its work in progress. - Rewrote much of the IP and FQDN cache implementation. This change gets rid of pending hits. - Changed peerWouldBePinged() to return false if our ICP/HTCP port is zero (i.e. disabled). - Changed src/net_db.c to use src/logfile.c routines, rather than stdio, because of solaris stdio filedescriptor limits. - Made netdbReloadState() more robust in case of corrupted data. - Rewrote some freshness/staleness functions in src/refresh.c, partially inspired to support cache-control max-stale. - Fixed status code logging for SSL/CONNECT requests. - Added a hack to subtract cache digest network traffic from statistics so that byte hit ratio stays positive and more closely reflects what people expect it to be. - Fixed a bug with storeCheckTooSmall() that caused internal icons and cache digests to always be released. - Added statfs(2) support for displaying actual filesystem usage in the cache manager 'storedir' output. - Changed status reporting for storage rebuilding. Now it prints percentage complete instead of number of entries parsed. - Use mkstemp() rather than problem-prone tempnam(). - Changed urlParse() to condense multiple dots in hostnames. - Major rewrite of async-io (src/fs/aufs) to make it behave a bit more sane with substantially less overhead. Some tuning work still remains to make it perform optimal. See the start of store_asyncufs.h for all the knobs. - Fixed storage FS modules to use individual swap space high/low values rather than the global ones. - Fixed storage FS bugs with calling file_map_bit_reset() before checking the bit value. Calling with an invalid value caused memory corruption in random places. - Prevent NULL pointer access in store_repl_lru.c for entries that exist in the hash but not the LRU list. - Added --enable-auth-modules=... configure option - Improved ICP dead peer detection to also work when the workload is low - Improved TCP dead peer detection and recovery - Squid is now a bit more persistent in trying to find a alive parent when never_direct is used. - nonhierarchical_direct squid.conf directive to make non-ICP peer selection behave a bit more like ICP selection with respect to hierarchy. - Bugfix where netdb selection could override never_direct - ICP timeout selection now prefers to use parents only when calculating the dynamic timeout to compensate for common RTT differences between parents and siblings. - No longer starts to swap out objects which are known to be above the maximum allowed size. - allow-miss cache_peer option disabling the use of "only-if-cached". Meant to be used in conjunction with icp_hit_stale. - Delay pools tuned to allow large initial pool values - cachemgr filesystem space information changed to show useable space rather than raw space, and platform support somewhat extended. - Logs destination IP in the hierarchy log tag when going direct. (can be disabled by turning log_ip_on_direct off) - Async-IO on linux now makes proper use of mutexes. This fixes some odd pthread segfaults on SMP Linux machines, at a slight performance penalty. - %s can now be used in cache_swap_log and will be substituded with the last path component of cache_dir. - no_cache is now a full ACL check without, allowing most ACL types to be used. - The CONNECT method now obeys miss_access requirements - proxy_auth_regex and ident_regex ACL types - Fixed a StoreEntry memory leak during "dirty" rebuild - Helper processes no longer hold unrelated filedescriptors open - Helpers are now restarted when the logs are rotated - Negatively cached DNS entries are now purged on "reload". - PURGE now also purges the DNS cache - HEAD on FTP objects no longer retreives the whole object - More cleanups of the dstdomain ACL type - Squid no longer tries to do Range internally if it is not supported by the origin server. Doing so could cause bandwidth spikes and/or negative hit ratio. - httpd_accel_single_host squid.conf directive - "round-robin" cache_peer counters are reset every 5 minutes to compensate previously dead peers - DNS retransmit parameters - Show all FTP server messages - squid.conf.default now indicates if a directive isn't enabled in the installed binary, and what configure option to use for enabling it - Fixed a temporary memory leak on persistent POSTs - Fixed a temporary memory leak when the server response headers includes NULL characters - authenticate_ip_ttl_is_strict squid.conf option - req_mime_type ACL type - A reworked storage system that supports storage directories in a more modular fashion. The object replacement and IO is now responsibility of the storage directory, and not of the storage manager. - Fixed a bogous MD5 mismatch warning sometimes seen when using aufs or diskd stores - Added --enable-stacktraces configure option to set PRINT_STACK_TRACE, and extended support for this to Linux/GNU libc. - Disabled the "request timeout" error message sent if the user agent did not provide a request in a timely manner after opening the connection. Now the connection is silently closed. The error message was confusing user agents utilizing persistent connections. - Fixed configure --enable descriptions to match the arg names. - Eliminated compile warnings from auth_modules/MSNT code. - Require first character of hostnames to be alphanumeric. - Made ARP ACL work for Solaris. - Removed storeClientListSearch(). - Added counters to track diskd operation success and failures. - Fixed range_offset_limit. - Added code to retry ServFail replies for internal DNS lookups. - Added referer header logging (Jens-S. Voeckler). - Added "multi-domain-NTLM" authentication module, a Perl script from Thomas Jarosch. - Added configurable warning messages for high memory usage, high response time, and high page faults. - Made store dir selection algorithm configurable. - Added support for admin-definable extension methods, up to 20. - Added 'maximum_object_size_in_memory' as a configuration option - this defines the watermark where objects transit from being true hot objects to being in-transit objects in memory. It currently defaults to 8 KB. - Change to the fqdn code which changes how pending DNS requests are treated as private and only become public once they are completed. This can add extra load on DNS servers but prevents all the pending clients blocking if one of the queries got stuck. (Duane Wessels) - Converted more code to use MemPools, from Andres Kroonmaa. - Added more CYGWIN patches from Robert Collins. - Added Logfile module. - Added DISKD stats via cachemgr. - Added squid.conf options for DISKD magic constants.
2000-11-02fix path to patched filesjdolecek3-9/+9
2000-11-02add log_mime_hdrs_list directive - this directive specifies list ofjdolecek3-0/+102
headers to log into access log when log_mime_hdrs is on the change will be sent to Squid maintainers for possible future inclusion shortly
2000-10-15Update squid from 2.3stable3 to 2.3stable4:veego1-7/+9
Important Changes: - offline_toggle You can now toggle the 'offline_mode' option from the cache manager. - minimum_object_size Added the 'minimum_object_size' option. Files smaller than this size are not cached. - passive_ftp If your firewall doesn't allow passive FTP transfers, you can tell Squid to use PORT instead by turning the 'passive_ftp' option off. - wccp_version Some Cisco IOS versions expect to receive WCCP packets with version set to three. The 'wccp_version' option allows you to change it, from the default value of four.
2000-05-19Update "squid" package to version 2.3 STABLE 3. Changes since 2.3 STABLE 2:tron2-74/+0
- You can now toggle the 'offline_mode' option from the cache manager. - Added the 'minimum_object_size' option. Files smaller than this size are not cached. - If your firewall doesn't allow passive FTP transfers, you can tell Squid to use PORT instead by turning the 'passive_ftp' option off. - Some Cisco IOS versions expect to receive WCCP packets with version set to three. The 'wccp_version' option allows you to change it, from the default value of four.
2000-03-06Corrections for japanese error templates supplied by Takahiro Kambetron2-0/+74
in PR pkg/9534.
1999-11-12Do the metadata rebuild as last step of logfile rotation so that programstron1-0/+16
waiting don't have to wait very long until they can safely access the logfiles. This fixes the third part of PR pkg/8764 by Luke Mewburn.
1999-11-12Update "squid" package to version 2.2STABLE5. Changes since 2.2STABLE4:tron1-3/+12
- Changed configure to look for IP-Filter header files in both /usr/include and /usr/include/netinet. - Fixed an ACL subdomain comparison bug (aclDomainCompare). - Fixed an ACL host <=> domain comparison bug (aclHostDomainCompare). - Fixed a "xstrdup: tried to dup a NULL pointer!" bug caused by illegal hostname characters when certain ACL types are in use. - Fixed res_init() bug in dnsserver. We used to call res_init(), and then clear the RES_INIT bit in _res.options. This caused res_init() to be called again as soon as we use gethostbyname(), and this second initialization wipes out our changing the nameservers. The fix is just to NOT set _res.options to RES_DEFAULT after calling res_init(). - Changed FTP to close data sockets as soon as the transfer ends, rather than waiting for the reply message on the control socket (Alexander V. Lukyanov). - Fixed some buffering problems between Squid and the unlinkd process. By using file_write(), unlink requests were being buffered and experiencing long delays under heavy load. Now use use good ol' write() instead. Also added some feedback from unlinkd to squid so we can track the unlink request queue. If the queue becomes too large, we block a little and wait for some acks from unlinkd. This fixes the first part of PR pkg/8764 by Luke Mewburn.
1999-11-12defuzzrh2-9/+9
1999-05-02Update "squid" package to version 2.2s2 (squid-2.2.STABLE2).tron1-5/+5
1998-12-06Sync with "squid-current" package.tron8-113/+235
1998-08-07Add NetBSD RCS Ids.agc7-0/+14
1998-05-25Better leave "squid.out" in "/var/squid" together with all the othertron1-9/+0
logfiles because it doesn't really belong to "/var/run".
1998-05-24Put logfile into "/var/run" and do not pollute syslog.tron1-0/+23
1998-05-24pidfile belongs to "/var/run".tron1-1/+10
1998-05-23New "squid-1.1.21" package based on FreeBSD port adapted by Rene Hexeltron6-0/+117
in PR pkg/5314.