From the 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
This now means that 'stop' as an argument works correctly, and doesn't
end up having squid restarted.
I've added some sleep code to wait for squid to complete its shutdown,
but I have commented it out for the time being as I don't know whether
its good practice to have your machine sleep during shutdown.
I'll research it some more. :)
* Sort pkg-plist
* Replace %B%f with %B/%f (%B does not contain the trailing '/')
* Rewrote tests using || rather than &&. With &&, if the condition fails
then the test returns false, and sysinstall's pkg_add would fail at
install time.
I ran off and updated the patch files on the squid website for 2.4.stable1,
and then updated this port to use them.
Note that diskd is still broken here - I haven't actually
committed a fix to squid yet .. :-P
Update the squid-2.4 port to actually _be_ squid-2.4 . Phew.
This port builds, installs, packages, pkg_delete's cleanly.
I'm going to run it through some more linting and tidying up before
I'm completely done with it.
Differences from squid22/squid23 :
* install-pinger isn't built. I'll tackle this later, possibly by creating
a squid user/group. I don't like having suid binaries installed,
even more so when 99% of the users of this port won't even enable
ICMP pinging.
* I've enabled the lru and heap replacement policies. LRU is used by
default, the beauty here is that the user can choose one or the other
without needing a recompile.
* I've enabled ufs (sync), diskd (async) and null (no caching, only proxying).
This again lets users choose what they want without needing a recompile.
The default is still a 100mb cache in /usr/local/squid/cache/ running
ufs. I would change it to diskd but if the user hasn't tweaked their
sysV shm/msg parameters sufficiently they'll just be puzzled when squid
gives mysterious sysV errors (and if they load it up enough to have UFS
become an issue, they'd be better off reading the squid FAQ anyhow..)
options `start' and `stop' now (unless I have forgotten any). This allows
us to call the scripts from /etc/rc.shutdown with the correct option.
The (42 or so) ports that already DTRT before are unchanged.
Synopsis:
"If you fill up your squid cache, CPU will go to 100% but the cache will not be
cleaned up."
PR: 18920
Submitted by: Mike Harding <mvh@ix.netcom.com>
Obtained from: http://www.squid-cache.org/Versions/v2/2.3/bugs/
- the distributed patches got regenerated to have the correct paths
- disable optimization because of gcc bugs (as recommended by squid folks)
- list a few new --enable/--disable options
Squid 2.0 is the-version-formerly-known-as-1.2.
v2.0 has NOVM-like functionality internally, so there's no seperate
NOVM version. v1.1.* is no longer officially supported.
Note: the b14 -> b15 change will loose your cache unless you take
the steps on http://squid.nlanr.net/ to recover it.
Read the Changelog for details, this is a fairly large update.
Major changes:
- the URL and SHA cache key methods are gone, MD5 is the only option.
- the swap.state system has been redesigned as a transaction log for
much faster restarts and crash recovery.
- SIZE on ftp binary transfers.
- Lots of bug fixes and code cleanups.
From the web page; http://squid.nlanr.net/Squid/1.2.beta/
WARNING, with beta12 we are starting to stuff object metadata into
the beginning of objects on disk. With beta13 we have changed the
"swap.state" file format to binary instead of text. When you run this
version for the first time you WILL LOSE YOUR CACHE!
The previous warning still stands:
This is BETA software. Do not run this on your production systems.
Logfile formats are subject (and likely) to change at any time without
warning.
Index: like posix says, rather than going into dummy mode. The distributed
patches are generated with standard cvs and don't have ache's hack (which
doesn't work when new files are added anyway).
"We are currently in a beta-test period for Squid-1.2. If you like
seeing Squid coredump frequently, please join us!"
"This is BETA software. Do not run this on your production systems.
Logfile formats are subject (and likely) to change at any time without
warning.
Here is a brief list of the major features of this version:
HTTP/1.1 persisitent connections.
Lower VM usage; in-transit objects are not held fully in memory.
Totally independent swap directories.
Customizable error texts.
FTP supported internally; no more ftpget.
Asynchronous disk operations (optional, requires pthreads library).
Internal icons for FTP and gopher directories.
snprintf() used everywhere instead of sprintf().
...and many more!
"
As well, there is support for using MD5 or SHA hashes of URL's in the
cache index for space (and speed?) savings, SNMP support, poll(2) is
used by default, etc.
Please see http://squid.nlanr.net/Squid/1.2.beta/ before using.
slowdown problem.
Note, I've changed the DIST_SUBDIR.. all the patches files seem to be
called "fixes.patch" and were colliding with each other.
Reviewed by:
Submitted by:
Obtained from:
Note: the patch file on the web site has several problems.. First, it
doesn't apply, and second, it bogusly changes the version. It also
introduces some problems for FreeBSD where the author missed the point of
a fix I sent back. :-(
- POST didn't work if there were null characters (strncpy vs. memcpy)
- defensive measures to try and stop "HELP! IP cache overflowing"
- warn when forced to do blocking gethostbyxxxx() calls
- fix some coredumps and other problems
Reviewed by:
Submitted by:
Obtained from:
Note, there are a few important changes to the squid.conf file,
be sure to read the ChangeLog file for the details. Some names
have been renamed, and a new option needs to be specified if squid
is run as root - it needs to know what uid to change to, it won't run
as root by default. This may require changes to the port to create a
user or something.
Among the changes are some patches submitted to the maintainers by
yours truly to improve the password support in cachemgr.cgi. It also
reports the resource "maxrss" correctly for what it is.
The distributed patches to 1.1.4:
* ftpget.c.patch: Changes the default MIME type to
"application/octet-stream" and fixes directory listings from
NetWare servers.
* icp.c.patch: Fixes "Unknown status reply from server: 0!" error
messages in Netscape.
* ipcache.c.patch: Fixes ipcache_dnsHandleRead() coredumps.
* neighbors.c.patch: Fixes BIT_SET/BIT_TEST typo in
getDefaultParent().
Reviewed by:
Submitted by:
Obtained from:
- Fixed announcement bug. Announcements were always off unless
a file was specified.
- Fixed wrong number of args to examine_select() debug.
- Fixed null-string content-type
- Don't cache replies with 'Set-Cookie:' headers.
- Fixed bug when client issues IMS, Squid has stale object and
Squid's lastmod time is greater than the client IMS time.
A 304 reply would be appropriate for Squid, but not the client
(diagnosed by Mark Treacy).
- Fixed httpBuildRequestHeader() content length bug which breaks for
really large POST requests (Takahiro Yugawa).
- Fixed 'passthrough_proxy' to pick up port number from list of
neighbors.
- Ensure pid file is world-readable if umask is set otherwise
(Doug Urner).
- Collect statistics on a few more HTTP headers.
Reviewed by:
Submitted by:
Obtained from:
This fixes some small bugs, including a CR/LF problem and (I think) two
problems with aborting. The author has hinted that this might be the last
beta before 1.1.0.
Among the changes:
- remove patch-aa, it's now in the standard distribution
- checks for libgnumalloc for <= FreeBSD-2.1.x systems to avoid the
nasty libc malloc problems.
- more useful data in the logs
- support for poll() syscall with unlimited number of file descriptors
if present instead of select()'s restrictions.
(Standard FreeBSD doesn't yet have poll()..)
- the usual bug fixes
Included in this update:
- large objects fix, apparently large objects could get stuck (eg:
netscape, msie downloads etc)
- configurable 1st and 2nd level directory hash sizes
- can have a password in squid.conf for cachemgr.cgi
- POST is now passthrough
- other bugfixes
- other new features and corresponding bugfixes :-)
Reviewed by:
Submitted by:
Obtained from:
Don't send RunCache's output to /dev/console when run from the rc.d script,
it's a bit messy and unneeded.
Reviewed by:
Submitted by: asami
Obtained from:
files were repository copied to www/squid11, then this commit brings it
to 1.1.b13. (This was Satoshi's idea :-) It preserves the history)
Squid-1.0 and 1.1 are under parallel development, kinda like when we had
2.1-stable and 2.2-current in parallel development. The 1.0 code is well
polished, and 1.1 is "on the bleeding edge" as such. The features and
performance are much improved, but it can be a bit hair-raising. I
personally have no major hassles with 1.1beta13.
Among the nicer things that this version has over 1.0:
- URL redirector.. ie: you can rewrite url's of sites with "mirrors"
so that you don't have 15 copies of the same files.
- optional ident logging
- improved acl's
- dramatically improved cache directory structure (scales much better with
gigantic disk caches)
- much improved DNS ttl handling (esp. with resolver hack)
- more control over neighbor status; parent, sibling etc.
- much improved refresh rules to help combat stupid sites that needlessly
set the Expires: field to zero when it doesn't need to be. (This is fine
when it's genuinely needed, but some sites really abuse it to to attempt
to negate caching to get inflated hit counts etc)
Reviewed by:
Submitted by:
Obtained from:
and stability measures.
This port installs in a "FreeBSD-native" tree (like apache) rather than
with a mini hierarchy under /usr/local/squid/{bin,etc,cache,logs,...}
(the default behavior seems to have changed between 1.0.0 and 1.0.20)
Also, build a rc.d/squid.sh script.