Commit graph

290 commits

Author SHA1 Message Date
taca
ff784fa626 Update squid package to squid-2.5.4nb3.
Apply two offcial patches.

* FQDN lookups sometimes returns garbage

	synopsis	FQDN lookups sometimes give garbage after the result.
			This can be seen as junk in access.log when using
			log_fqdn or false access control results when using
			dstdomain acl type and the user requests a URL by IP
			address.
	severity	Minor
	date		2003-12-04 10:04
	bugzilla	#846, #834, #433
	versions	Squid-2.5 and earlier
	platforms	All
	workaround	Don't use log_fqdn or alternatively compile Squid with
			--disable-internal-dns

* Cleanup of connect & dns timeouts etc

	synopsis	Several minor errors related to how Squid finds a
			connection where to forward requests. This patch

			o Adds a new configuration parameter "forward_timeout"
			  to control how long Squid tries to find a method to
			  find a path where to forward the request before
			  giving up.  Defaults to 2 minutes.
			o The default connect_timeout tuned down from 2 minutes
			  to 1 minute to allow for two attempts to find a
			  suitable path within the forward_timeout
			o fqdncache/ipcache restructured to allow for DNS code
			  to allow the queried name to be logged in cache.log
			  on errors.
			o negative_dns_ttl now overloaded to also specify the
			  minimum ttl used when caching DNS responses, and
			  tuned down from 5 minutes to 1 minute.
			o default dns_timeout tuned down from 5 minutes to
			  2 minutes
			o some minor compilation warnings on
			  --disable-internal-dns corrected
			o properly report DNS timeouts as timeouts and not just
			  "No DNS records"
	severity	Minor
	date		2003-12-06 17:06
	bugzilla	#848, #849, #851, #852
	versions	Squid-2.5 and earlier
	platforms	All
2003-12-07 16:48:20 +00:00
taca
b051f5819d Take in 16 official patches and bump revision.
* connection setup may look like syn flood attack if server is
  refusing connection
* --enable-arp-acl may give warning about net/route.h
* Incorrect html on empty Gopher responses
* positive_dns_ttl ignored when using internal DNS client
* squid_ldap_group update to version 2.12
* 100% CPU loop if external_acl combined with authentication
* maximum_object_size too large causes squid not to cache
* Install of Mozilla/Netscape plugins fails because .xpi mime type unknown
* Segfault if failing to load error page
* Error page translation updates for German and Lithuanian
* auth_param documentation update
* pam_auth fails on Solaris when using pam_authtok_get
* FQDNcache discards negative responses when using internal DNS
* login with space confuses redirector helpers
* digest auth never detects password changes
* cache.log message on "squid -k reconfigure" confusing
2003-11-30 14:08:31 +00:00
jschauma
fe19bb05b5 PKGREVISION++ after openssl update. 2003-11-12 03:39:39 +00:00
taca
efcd7faae3 Of course, distinfo should be updated. 2003-09-17 05:40:57 +00:00
taca
9e22a7a748 Oops, I forgot to update DIST_SUBDIR. 2003-09-17 05:33:46 +00:00
taca
ed2e04a836 Update squid package to 2.5.4. Most of changes are already in
squid 2.5.3nb4 package.

Changes to squid-2.5.STABLE4 (15 Sep 2003):
	- Lithuanian error messages added to the distribution
	- Bug #660: segfauld if more than one custom deny_info line
	- cache_dir disd documentation cleanup
	- check open of /dev/null to avoid 100% CPU loop in badly
	  configured chroot environments
	- documentation update on uri_whitespace to refer to the correct RFC
	- Bug #655: icmpRecv: recv: (11) Resource temporarily unavailable
	- Bug #683: external_acl does not wait for ident lookups to complete
	- aufs: Fix a minor use-after-free problem which could cause the
	  count of opening filedescriptors to grow larger than it should
	- Syntax changes to make GCC-3.3 accept Squid without complaints
	- Warning if CARP server defined in incorrect load factor order
	- neighbor_type_domain documentation update
	- http_header_access now works when using cache peers
	- high_memory_warning now uses sbrk as fallback mechanism on
	  platforms where neither mallinfo or mstats are available.
	- hosts_file now handles comments at the end of lines correcly
	- storeCheckCachable() Stats corrected for release_request and
	  wrong_content_length.
	- cachePeerPingsSent MIB type corrected
	- unused minimum_retry_timeout directive removed
	- Bug #702: ERR_TO_BIG spanish translation
	- Bug #705: Memory leak on deny_info TCP_RESET
	- Code cleanup to fix compile error in httpHeaderDelById
	- Bug #699: Host header now forwarded exactly where it was in the
	  original request to work around certain broken firewalls or
	  load balancers which fail if this header is too far into the
	  request headers.
	- Bug #704: Memory leak on reply_body_max_size
	- Bug #686: requests denied due to http_reply_access are now
	  logged with TCP_DENIED (instead of TCP_MISS, etc).
	- Bug #708: ie_refresh now sends no-cache to have the reload
	  request propagate properly in cache meshes
	- Bug #700: Crashes related to ftpTimeout: timeout in SENT_PASV state
	- Bug #709: cbdata.c:186: "c->valid" assertion due to peer
	  digest not found
	- Bug #710: round-robin cache_dir selection incorrectly
	  compares max-size.
	- Statistics corrections in HTTP header statitics
	- QUICKSTART cleanups
	- Bug #715: statCounter.syscalls.disk counters treated
	  inconsistently.  Now increment the counters in AUFS
	  functions and for unlinkd.
	- Improvements to the (experimental) COSS storage scheme.
	- Bug #721: User name field in access.log sometimes blank
	- Bug #94: assertion failed: http.c: "-1 == cfd ||
	  FD_SOCKET == fd_table[cfd].type"
	- Bug #716: assertion failed: client_side.c:1478: "size > 0"
	- Bug #732: aufs calculates number of threads and limits wrongly
	- Bug #663: Username not logged into access.log in case of /407
	- Bug #267: Form POSTing troubles with NTLM authentication
	  and occationally in differen other error conditions.
	- Bug #736: ICP dynamic timeout algorithm ignores multicast.
	- Bug #733: No explicit error message when ncsa_auth can't access
	  passwd file
	- Bug #267, #757: POST with NTLM stops after persistent connection
	  timeout
	- Bug #742: Wrong status code on access denials if delay_access
	  is used. Most notably 407 instead of 403 could be returned.
	- Bug #763: segfault if using ntlm in http_reply_access
	- Bug #638: assertion error if using proxy_auth in delay_access
	- Bug #756: segmentation fault if using ntlm proxy_auth in delay_access
	- The issue of reply_body_max_size limiting the size of error
	  messages no longer applies.
	- external_acl_type concurrency= option renamed to children= to
	  prepare for Squid-3 upgrades. Old syntax still accepted for the
	  duration of the Squid-2.5 release.
	- number of filedescriptors rounded down to an even multiple of 64
	  to work around issues in certain libc implementations.
	- winbind helpers less noisy in cache.log on restarts/shutdown.
	- Squid now automatically restarts helpers if too many of them
	  have crashed.
2003-09-16 15:58:39 +00:00
taca
696ddf1760 Hmm, squid-2.5.STABLE3-http_reply_access_denied.patch seems to updated. 2003-09-12 03:22:31 +00:00
taca
ee5a4c9838 Update squid package to 2.5.3nb5. Apply some official patches.
external_acl_type concurrency= renamed to children=

   synopsis To lessen confusion in later upgrades to Squid-3 the
	    external_acl_type concurrency= option has been renamed to
	    children= to match Squid-3 usage. This is done because
	    concurrency= has a completely different meaning in
	    squid-3. Squid-2.5 still accepts the old syntax to keep
	    compatibility within the Squid-2.5 release, but it is recommended
	    to start using the new syntax unless you need to be able to
	    easily downgrade to a earlier Squid-2.5 release.

   severity Cosmetic

   date	    2003-09-02 07:02

   versions Squid-2.5.STABLE3 and earlier

  platforms All

 workaround Make sure to read the Squid-3 releasenotes very carefully when
	    upgrading.


Assertion error or segmentation fault if using proxy_auth in delay_access

   synopsis If proxy_auth acl type is used in delay_access then Squid may
	    abort with an assertion error or segmentation fault. Notice: This
	    patch may change some error conditions to be logged with
	    TCP_DENIED rather than TCP_MISS.

   severity Medium

   date	    2003-09-01 20:01

   bugzilla #638, #756

   versions Squid-2.5

  platforms All

 workaround Don't use proxy_auth acl types in delay_access


Segmentation fault if proxy_auth with ntlm used in http_reply_access

   synopsis In configurations where authentication is enforced in http_access
	    and then reused in http_reply_access to further control access
	    levels Squid may segfault if the ntlm authentication scheme is
	    used.

   severity Medium

   date	    2003-09-01 20:01

   bugzilla #763

   versions Squid-2.5

  platforms All

 workaround Don't use proxy_type acls in http_reply_access or disable the use
	    of the ntlm authentication scheme (disabled by default)


code 407 instead of 403 for authenticated traffic-shaped user

   synopsis delay_access can disturb Squids logics on when to request a new
	    login from the user. Most notably if delay_access ends up in a
	    proxy_auth acl then any access denials will require a new login
	    but the opposite may also happen.

   severity Medium

   date	    2003-08-31 09:31

   bugzilla #742

   versions Squid-2.5 and earlier

   platforms All

  workaround make sure delay_access always ends up in the same class of ACL as
	     http_access does on the same request.


Form POSTing troubles with NTLM authentication or other error responses

   synopsis Large POST/PUT requests may fail with a "Connection reset" error
	    in the browser in situations where Squid immediately responds
	    with an error page. This is most notable when using NTLM
	    authentication but may also occur in a few other situations

   severity Medium

   date	    2003-08-28 22:28

   bugzilla #267, #757

   versions Squid-2.5 and earlier

  platforms All

 workaround Allow POST/PUT without requiring authentication if you are using
	    NTLM authentication.


No explicit error message when ncsa_auth (squid user) can't access passwd file

   synopsis ncsa_auth just exists if it can not read the supplied password
	    file, instead of reporting an error.

   severity Minor

   date	    2003-08-20 12:20

   bugzilla #733

   versions Squid-2.5 and earlier

  platforms All

 workaround If ncsa_auth exits for no apparent reason, verify that the given
	    ncsa password file is readable by the cache_effective_user.


forwarded_for off has no effect

   synopsis The patch for Bug #92 (squid-2.5.STABLE3-mem_cfd.patch) broke the
	    forwarded_for directive.

   severity Minor

   date	    2003-08-18 17:18

   bugzilla #750

   versions Squid-2.5.STABLE3 snapshots 2003-08-07 to 2003-08-18

  platforms All

 workaround Use anonymization via http_header_access to delete the
	    X-Forwarded-For header from forwarded requests. This is probably
	    preferred in any case.
2003-09-11 15:48:24 +00:00
taca
7c5ac7501e Broken squid-2.5.STABLE3-coss-improvements-2.patch was fixed.
Bump package revision.
2003-08-18 17:00:24 +00:00
taca
67ffacebec Update squid package to squid-2.5.3nb3.
- fix startup script as PR pkg/22502 by Steven M. Bellovin
- includes newer official squid patches except
  squid-2.5.STABLE3-coss-improvements-2.patch (which is broken).

o 2003-07-22 15:22 (Cosmetic)
	statCounter.syscalls.disk counters treated inconsistently

o 2003-07-25 17:25 (Minor)
	Improvements to the (experimental) COSS storage scheme.

o 2003-07-28 09:28 (Minor)
	Blank username logging fix

o 2003-07-29 22:29 (Minor)
	More improvements to the (experimental) COSS storage scheme.

o 2003-08-06 13:06 (Medium)
	assertion failed: http.c:869: "-1 == cfd || FD_SOCKET == fd_table[cfd].type"

o 2003-08-06 14:06 (Medium)
	assertion failed: client_side.c:1478: "size > 0" when using aufs

o 2003-08-06 14:06 (Minor)
	aufs calculates the number of threads and queue limits wrongly

o 2003-08-10 07:10 (Cosmetic)
	Compile error in auth/digest_auth.c

o 2003-08-10 19:10 (Minor)
	Username not logged into ACCESS.LOG in case of /407

o 2003-08-13 00:13 (Minor)
	ICP dynamic timeout algorithm ignores multicast
2003-08-18 16:03:01 +00:00
taca
b80774f912 Update squid package to 2.5.3nb2.
- (Minor) round-robin cache_dir selection incorrectly compares max-size
- (Major) cbdata.c:186: "c->valid" assertion due to peer digest not found
- (Major) Crash after ftpTimeout: timeout in SENT_PASV state
- (Minor) Requests denied by http_reply_access are not logged with TCP_DENIED
- (Minor) ie_refresh does not signal no-cache to peer caches
- (Medium) Client Socket Buffer leak on reply_body_max_size
- (Medium) Forward Host headers in place
- (Medium) Memory leak in deny_info TCP_RESET
- (Cosmetic) ERR_TOO_BIG Spanish translation
- (Cosmetic) minimum_retry_timeout unused
- (Minor) SNMP update of cachePeerPingsSent and cachePeerPingsAcked
- (Cosmetic) store_check_cachable_stats slghtly misleading
- (Minor) /etc/hosts and lines with comments after the host name
- (Minor) sbrk as fallback method for high_memory_warning
- (Minor) header_access fails when using peers
- (Cosmetic) neighbor_type_domain documentation update
- (Minor) issue warning if CARP load factor values decrease in the  cache_peer list
- (Cosmetic) Compile time warnings when using GCC-3.3
- (Minor) aufs Files queued for open counter mismatch
- (Minor) external_acl does not wait for ident lookups to complete
- (Minor) icmpRecv: recv: (11) Resource temporarily unavailable
- (Cosmetic) Incorrect RFC reference regarding URL syntax
- (Cosmetic) quote '%' character in logs
- (Cosmetic) check open("/dev/null") return value for errors.
- (Cosmetic) "cache_dir diskd" documentation update

Not all of the pathces are new but updated one.
2003-07-21 06:20:16 +00:00
grant
ca3be631f2 s/netbsd.org/NetBSD.org/ 2003-07-17 22:50:55 +00:00
taca
14b1dfedfd Update squid package to 2.5.3nb1.
Compile time warnings when using GCC-3.3

    synopsis	GCC-3.3 gets slightly confused by the Squid code and gives a
		few mostly false warnings regarding type-punning.
    severity	Cosmetic
    versions	Squid-2.5 and earlier
    platforms	All
    patch	squid-2.5.STABLE3-gcc-3_3.patch
    workaround	Ignore the warnings

aufs Files queued for open counter mismatch

    synopsis	Under certain conditions the "Files queued for open counter"
		could grow larger than intended. If this grows too large then
		Squid may think it runs out of filedescriptors even if there is
		plenty of filedescriptors free, but we do not expect this to
		become a real problem in any installations.
    severity	Minor
    versions	Squid-2.5 and earlier
    platforms	All using aufs
    patch	squid-2.5.STABLE3-aufs-openingfds.patch

external_acl does not wait for ident lookups to complete

    synopsis	extrenal_acl_type %IDENT does not wait for ident lookups to
		complete.

    severity	Minor
    bugzilla	#683
    versions	Squid-2.5
    platforms	All
    patch	squid-2.5.STABLE3-external_acl_ident.patch
    workaround	use an ident acl before your external acl to trigger the ident
		lookup

Compilation error in src/HttpHeaderTools.c on certain platforms

    synopsis	The Squid-2.5.STABLE2 patch for digest authentication used a
		C99 feature (dynamic array initializers) which may not be
		available in all C compilers
    severity	Minor
    bugzilla	#660
    versions	Squid-2.5.STABLE3
    platforms	Several platforms not using GCC or a C99 compliant C compiler
    patch	squid-2.5.STABLE3-HttpHeaderTools.patch
    workaround	Use GCC

Segmentation fault if more than one custom deny_info message defined

    synopsis	The Squid-2.5.STABLE2 patch for deny_info TCP_RESET was not
		entirely correct and causes segmentation fault on startup if
		more than one custom deny_info error message is defined
    severity	Minor
    bugzilla	#662
    versions	Squid-2.5.STABLE3
    platforms	All
    patch	squid-2.5.STABLE3-deny_info.patch
    workaround	Disable the use deny_info in your squid.conf.
2003-07-06 14:08:43 +00:00
taca
d539ae5084 update squid pacakge to 2.5.3 (squid-2.5.STABLE3).
Changes to squid-2.5.STABLE3 (25 May 2003):

	- Bug #573: Occational false negatives in external acl lookups
	- Bug #577: assertion failed: cbdata.c:224: "c->y == c" when
	  external_acl helpers crashes
	- Bug #590: Squid may hang or behave oddly on shutdown while
	  requests is being processed.
	- Bug #590: external acl lookups does not deal well with queue
	  overload
	- cache_effective_user documentation update
	- cache_peer documentation update for htcp and carp
	- Bug #600: The example header_access paranoid setting is
	  missing WWW-Authenticate
	- Bug #605: Segmentation fault in idnsGrokReply() on certain
	  platforms
	- Fixes to build properly on AIX 5
	- Bug #574: wb_group updated to version 1.1 to make group names
	  case insensitive and correct a segfault issue in the helper
	- SNMP mib updates to make cacheNumObjCount,
	  cacheCurrentUnlinkRequests, cacheCurrentSwapSize and cacheClients
	  correctly report as gauges (was reporting as counters).
	- Woraround for --enable-ssl Kerberos issue on RedHat 9
	- Bug #579: Close and repopen log files on "squid -k reconfigure"
	- Bug #598: squid_ldap_auth could segfault if LDAP server is
	  unavailable
	- Bug #609,#612: msntauth helper fixes in dealing with large
 	  or non-existing allow/deny user files.
	- Bug #620: acl ident REQUIRED matches even if the ident lookup fails
	- Bug #432: reply_body_max_size fails with ident or proxy_auth acls
	  and also fails to block large objects where the content-length
	  is not known
	- Bug #606: Basic auth looping and gets stuck at high CPU usage when
	  multiple proxy_auth ACLs combined in one line and login fails.
	- squid_ldap_auth updated with support for TLS and SSL
	- Bug #623: segfault if using negated external acls in certain
	  configurations involving other acls later on the same http_access
	  line.
	- Bug #622: wb_group helper update to version 1.2 to ass support for
	  Domain-Qualified groups refering to groups in a specific domain
	- Bug #596: logic error in poll() error management
	- Bug #597: logic errors in error management
	- Bug #591: segmentation fault in authentication on "squid -k debug"
	- Bug #587: smb_auth fails on complex logins involving domain names
	  or other odd characters
	- Bug #558, #587: smb_auth.pl fails on complex logins involving
          domain names or other odd characters
	- Bug #643: external_acl fails with ttl=0 due to a change introduced
	  by the patch for Bug #553 in 2.5.STABLE2.
	- Bug #630: minor issues in digest authantication causing random
	  authentication failures and incompability with many mainstream
	  browser digest implementations due to browser qop bugs. To deal
	  with those broken browser nonce_stricness now defaults to off,
	  and two new digest options have been added (check_nonce_count
	  and post_workaround) to allow workarounds to other quite bad
	  browser bugs if needed.
	- Bug #644: digest authentication fails on requests with one
	  or more comma in the requested URL
	- Bug #648: deny_info TCP_RESET not working. The fix for this also
	  adds the ability to send redirects.
2003-05-25 14:58:16 +00:00
taca
8cdd6fec41 Update squid package to 2.5.2nb4.
- Don't left share/doc/squid directory on deinstall.
- Apply recent 12 official patches.

 - (Minor) deny_info TCP_RESET does not work
 - (Minor) Digest authentication fails on URLs with comma
 - (Minor) digest nonce count workarounds for broken browsers
 - (Minor) external_acl hangs if defined with ttl=0
 - (Minor) smb_auth.pl (multi-domain-NTLM) fails on domain qualified logins
 - (Minor) smb_auth fails on complex logins (involving domain names or odd
           characters)
 - (Minor) ACL regression error introduced by earlier 2.5.STABLE2 patch
 - (Cosmetic) segmentation fault in authentication if debugging enabled
 - (Cosmetic) Unreachable code due to siged/unsigned errors
 - (Minor) logic error in comm_select.
 - (Minor) wb_group update to 1.2 to add support for domain qualified goups
 - (Minor) Segmentation fault when using negated external acls
2003-05-24 12:31:34 +00:00
taca
86c0b65b2f Update squid package to 2.5.2nb3.
Apply newer offcial patches (total 19).  Here is short summary of those
newly added patch files.

See http://www.squid-cache.org/Versions/v2/2.5/bugs/ in detail.

o squid_ldap_auth update to support TLS, SSL and increased security for bind
  password
o Basic auth looping when multiple proxy_auth ACLs combined in one line.
o reply_body_max_size fails with ident or proxy_auth acls
o acl ident REQUIRED matches even if the ident lookup fails
o msntauth helper crashes related to the alow/deny file operation
o LDAP basic authentication crash if server is unreachable
o "squid -k reconfigure" does not close logs to activate new settings
o --enable-ssl fails on RedHat 9
o SNMP MIB used Counter32 for certain values which are gauges
o Upgrade of wb_group to 1.1
o AIX 5 issues
2003-05-09 05:07:13 +00:00
taca
e1eab555c9 Update squid package to squid-2.5.2nb2. Add two official patches.
o egmentation fault in idnsGrokReply() on certain platforms

	synopsis	A bug in how Squid processes certain DNS
			replies can cause segmentation faults on
			certain platforms. Linux and FreeBSD on X86
			platforms seems unaffected however.
	severity	Major
	bugzilla	#605
	versions	Squid-2.5 and earlier
	platforms	Solaris SPARC and several other
	patch		squid-2.5.STABLE2-dns_root_label.patch
	workaround	Recompile squid with --disable-internal-dns

o The example header_access paranoid setting is missing WWW-Authenticate

	synopsis	The paranoid header_access example is missing
			WWW-Authenticate, and thereby unintentionally
			denying authentication to web sites if used
			without modifitaions.
	severity	Cosmetic
	bugzilla	#600
	versions	Squid-2.5
	platforms	All
	patch		squid-2.5.STABLE2-header_access_paranoid.patch
2003-04-28 12:01:02 +00:00
taca
a55c654647 Update squid package to 2.5.2nb1.
- Squid may hang or behave oddly on shutdown while requests is being processed.

  synopsis	Squid may hang or otherwise behave oddly in shutdown
		if there is new requests processed at the same
		time. On shutdown Squid internally shut down DNS,
		redirectors and external acls while still processing
		new requests already received. In combination with the
		external acl queue overload bug this can completely
		hang Squid, preventing it from shutting down.
  severity	Minor
  bugzilla	#590
  versions	Squid-2.5 and earlier
  platforms	All

- external acl lookups does not deal well with queue overload

  synopsis	If there is a queue overload for external acl lookups
		then Squid logs "externalAclLookup: 'xxx' queue
		overload" at a very high rate in cache.log until the
		condition clears up.
  severity	Major
  bugzilla	#590
  versions	Squid-2.5
  platforms	All

- cache_effective_user documentation unclear

  synopsis	The cache_effective_user/group documentation was
		unclear on what happens if only one of the directives
		is set, or when Squid is started as a non-root user.
  severity	Cosmetic
  versions	Squid-2.5 and earlier
  platforms	All

- cache_peer documentation missing for htcp and carp

  synopsis	The cache_peer documentation for the htcp and carp
		related options was missing
  severity	Cosmetic
  versions	Squid-2.5 and earlier
  platforms	All
2003-04-11 09:51:40 +00:00
jmmv
0916498c1b Place WRKSRC where it belongs, to make pkglint happy; ok'ed by wiz. 2003-03-29 12:40:00 +00:00
taca
4482fe0169 Remove manual creation/deletion PKG_SYSCONFDIR since it handled by
bsd.pkg.install.mk.
2003-03-27 06:44:24 +00:00
taca
4658a5720f Update squid package to 2.5.2.
pkgsrc change: install some supplemental documents.

Changes to squid-2.5.STABLE2 (Mars 17, 2003):

	- Contrib files added back to the distribution
	- Several compiler warnings fixed when using --disable-ident or
	  --disable-http-violations
	- authentication can now be used in most access controls, but
	  must in most cases first be enforced in http_access to force
	  the user to authenticate.
	- cleanups in the developer bootstrap.sh process when preparing
	  the sources.
	- several squid.conf.default documentation updated to correctly
	  refer to the current names when refering to other directives
	- authenticate_ip_ttl documentation updates
	- several assertion faults and segmentation violations corrected
	- the RunCache/RunAccel and squid.rc scripts updated to refer to
	  the squid binary in sbin rather than the old bin location.
	- squid_ldap_auth command line processing fixes when specifying
	  the LDAP server last on the line instead of -h option
	- aufs data corruption bugfix
	- aufs performance improvement for low traffic systems
	- aufs stability improvements
	- external_acl corrected to properly deal with quoted strings
	- WCCPv1 bugfix to make sure the router accepts the hash assignments
	- "Total accounted memory" now correctly reported in cachemgr
	- several small memory leaks (mostly reconfigure related)
	- new squid.conf option to allow GET/HEAD requests with a request
	  entity
	- "make uninstall" no longer removes squid.conf
	- cachemgr.cgi now uses POST to avoid having the cachemgr password
	  logged in the web server logs
	- authentication schemes which are known to not be proxyable are now
	  filtered out from forwarded server replies to avoid that the clients
	  tries to use such schemes when we know for a fact it won't work
	- spelling corrections in various error messages
	- now possible to define acl values with spaces in them
	  by using the "include file" feature
	- squid_ldap_group updated to 2.10 to fix compilation issues with
	  recent (and older) OpenLDAP libraries and to make the helper deal
	  correctly with true LDAP groups by first looking up the user DN.
	- Some internal code cleanups
	- now verifies that programs etc exists iside the chroot directory
	  when using chroot_dir. No longer neccesary to set up a split view
	  environment where the same paths works both inside the chroot and
	  outside just to convince Squid that the files is actually there..
	- improved memory usage reporting
	- --disable-hostname-checks configure option
	- no longer ignores double dots in host names. Any hostname with
	  double dots is now rejected as invalid.
	- log_mime_hdrs no longer logs garbage if very long headers
	  are seen.
	- 'select_fds_hist' object added to cachemgr 'histogram' output
	- pid file now unlinked when squid has really shut down, not
	  immediately when the shutdown request is received. This allows
	  the pid file to be monitored to determine when Squid has shut down
	  properly
	- correct authentication scheme setups on some platforms or compilers
	- several squid.conf.default documentation updates to remove references
	  to renamed or replaced directives by changing them to their current
	  names.
	- the SSL reverse proxy support updated to allow building with
	  OpenSSL 0.9.7 and and later.
	- Corrected a minor performance problem while processing HEAD replies
	  from various broken web servers not sending a correct HTTP reply
	- time acls can now specify multiple times in the same acl name, like
	  most other acl types.
	- winbind helpers updated to match Samba-2.2.7a and should
	  work with Samba-2.2.6 or later (required). For compability with
	  older Samba versions A new configure option --with-samba-sources=...
	  has been added to allow you to specify which Samba version the
	  helpers should be built for if different than the above versions.
	- Squid MIB definition syntax correction to work better with newer
	  (and older) SNMP tools.
	- Fixed access.log format when logging "error:invalid-HTTP-ident" on
	  requests where parsing the HTTP identifier (HTTP/1.0) failed.
	- "make distclean" no longer removes the icons, this avoids the
	  dependency on "uudecode" to rebuild Squid after "make distclean"
	- User name returned by external acl lookups (external_acl_type)
	  is now available as "ident" in later acl checks in addition to
	  the logging in access.log.
	- Incorrect behaviour of Digest authentication partly corrected - it
	  will not handle sessions, but will always enforce password
	  correctness.. (patch submitted by Sean Burford).
	- Issue with persistent connections and PUT/POST request corrected
2003-03-25 17:44:22 +00:00
taca
24f1ac426d Update squid package to squid-2.5.1nb4.
- include more official squid patches.

   o Make external_acl user names available as IDENT in later acl processing
   o digest authentication security issue
   o external_acl Assertion failed: auth_user_request != NULL
   o make install fails to install icons after make distclean
   o "error: invalid HTTP-ident" breaks log processing
2003-03-02 16:22:43 +00:00
taca
e34a5c50ad Remove patches/patch-cd since squid-2.5.STABLE1-mib.patch's content is fixed. 2003-02-19 23:44:42 +00:00
tron
5f5695fde8 Update checksum for "squid-2.5.STABLE1-disable-http-violations.patch". 2003-02-16 09:07:37 +00:00
taca
5de7836f7f - Add more official patches, last one is applied as patches/patch-cd
since it is broken (reported to squid-bugs@squid-cache.org.)
- use DIST_SUBDIR.
- bump PKG_REVISION.
2003-02-16 06:43:41 +00:00
taca
05b4d02ef5 - Add more official patches, last one is applied as patches/patch-cd
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"
2003-02-16 06:43:40 +00:00
jlam
d7f69e47ce Instead of including bsd.pkg.install.mk directly in a package Makefile,
have it be automatically included by bsd.pkg.mk if USE_PKGINSTALL is set
to "YES".  This enforces the requirement that bsd.pkg.install.mk be
included at the end of a package Makefile.  Idea suggested by Julio M.
Merino Vidal <jmmv at menta.net>.
2003-01-28 22:03:00 +00:00
tron
39a943ad92 Replace "true" by "${TRUE}". 2002-12-09 16:01:10 +00:00
wiz
68165f26dc regen (squid-2.5.STABLE1-disable-http-violations.patch size and SHA1 change) 2002-12-03 16:58:56 +00:00
grant
d4b0776ace If we include buildlink2.mk files, we need to turn on USE_BUILDLINK2
:-)

Fixes openssl dependancy problem on platforms which do not have a
suitable (read: secure) openssl in the base system.

Some whitespace cleanup.
2002-12-02 03:09:01 +00:00
grant
1c2ca2f346 src/fs/diskd: only include sys/msg.h if we have it.
fixes build on (at least) Darwin 6.2.
2002-12-01 05:36:51 +00:00
taca
ffd8df082f Update squid package to squid-2.5.1nb2.
- Apply disabled official patch since the patch's content has corrected.

    * Impossible to define acls with spaces in them

- Remove "@unexec ${RMDIR} %D/etc/squid ..." line from PLIST since
  there is already removing directory line which use more generic
  PKG_SYSCONFDIR variable.
2002-11-25 14:46:14 +00:00
tron
2ec9c1bc8b List Takahiro Kambe as new maintainer of this package. 2002-11-25 07:17:25 +00:00
taca
6c8936fb22 Update squid 2.5.1STABLE1nb1.
Apply official patches:

    * Small typo in dnsserver error message on DNS overload
    * Filter out unproxyable authentication schemes
    * cachemgr login & password revealed in HTTP server log files
    * make uninstall removes squid.conf
    * Segmentation fault if a external_acl helper exits prematurely
    * Squid rejects GET/HEAD with request entities claimint error 411
    * external_acl.c compilation failure
    * memory leak of acl structures on "squid -k reconfigure"
    * Occasional corruption of objects when using aufs
    * Cachemgr "Total accounted:" memory statistics always report "-1"
    * WCCP hash assignment can sometimes be missed by the router
    * external_acl helper problem with spaces
    * --enable-async-io or --with-storeio=aufs fails to automatically enable --with-pthreads
    * "make addlang" fails
    * Specifying LDAP servers last on the command line does not work
    * Referer log not closed on shutdown
    * Many files missing from the contrib directory

But the most recent patch isn't included since it content seems to be
broken.

    * Impossible to define acls with spaces in them
2002-11-24 11:01:17 +00:00
taca
969e304f1d Move libexec/squid_unix_group and man/man8/squid_unix_group.8 from PLIST
to OPTIONAL_FILES in Makefile.

This fix a problem when setting SQUID_CONFIGURE_ARGS in /etc/mk.conf
without --enable-external-acl-helpers=unix_group.

Noted by private mail from Tomasz Luchowski <tomasz at luchowski.com>.
2002-11-12 16:07:17 +00:00
grant
fed58d4165 fix some typos. 2002-11-02 07:55:02 +00:00
taca
e45684b12e Fix error in make install; extra "; \" were exists.
It cause error on Solaris.  (Why NetBSD's make was OK?)
2002-10-25 02:13:37 +00:00
taca
0e4cf6d382 Update squid to 2.5.1 with several patches from
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-10-13 16:43:20 +00:00
bouyer
0b927218a8 Add a note about SYSV IPC kernel paramters for diskd. Fixes PR pkg/18558 2002-10-07 21:00:49 +00:00
grant
45001e3511 * Add "createdirs" command to create initial cache directories.
* s/echo/@ECHO@/ for portability.

ok'd by seb.
2002-09-27 17:15:56 +00:00
wiz
e8817c9088 Complete standardization of messages according to latest pkglint. 2002-09-24 12:29:55 +00:00
grant
0c5bb6abcc Make these scripts more portable by taking advantage of automatic rc.d
script handling and using @RCD_SCRIPTS_SHELL@.

as discussed with jlam.
2002-09-20 02:01:54 +00:00
jlam
5c053dd06a Take advantage of the auto-generation and installation of rc.d scripts. 2002-09-19 09:04:02 +00:00
grant
d58587c86c * make use of PKG_SYSCONFDIR in rc script.
* use bsd.pkg.install.mk for rc script and config file installation.

Checked by Stoned Elipot <seb@netbsd.org>.
2002-09-15 14:39:50 +00:00
grant
e2b0ec1e59 deprecate SQUID_SYSCONFDIR in favour of PKG_SYSCONFDIR.squid 2002-08-26 06:42:10 +00:00
jlam
e1be891dbc Change explicit build dependencies on perl into "USE_PERL5=build". This
makes these packages build correctly on Darwin where perl>=5.8.0 is
required.
2002-07-24 19:45:22 +00:00
tron
6b43b58e9d Update "squid" package to version 2.4STABLE7. Changes since version
2.4STABLE6:
- Squid now drops any requests using transfer-encoding.
  Squid is a HTTP/1.0 proxy and as such do not support
  the use of transfer-encoding.
- The MSNT auth helper has been updated to v2.0.3+fixes for
  buffer overflow security issues found in this helper.
- A security issue in how Squid forwards proxy authentication
  credentials has been fixed
- Minor changes to support Apple MAC OS X and some other platforms
  more easily.
- The client -T option has been implemented
- HTCP related bugfixes in "squid -k reconfigure"
- Several bugfixes and cleanup of the Gopher client, both
  to correct some security issues and to make Squid properly
  render certain Gopher menus.
- FTP data channels are now sanity checked to match the address of
  the requested FTP server. This to prevent theft or injection of
  data. See the new ftp_sanitycheck directive if this is not desired.
- Security fixes in how Squid parses FTP directory listings into HTML
2002-07-04 06:11:44 +00:00
seb
db84442a67 Substitute a couple of mkdir' by ${MKDIR}'.
Remove `-p' from mkdir arguments, it is already part of ${MKDIR}.
While here substitute a couple of ${PREFIX} by `%D' in
`@exec ${MKDIR} ...' lines and add a couple of missing `%D' in such lines too!
2002-06-26 10:29:33 +00:00
kim
756a61e301 Fix for PKG_SYSCONFDIR -- the compiled-in paths should now be correct. 2002-03-23 17:16:48 +00:00
tron
eddcf91427 Change "squid" package to honor "PKG_SYSCONFDIR" completely. This fixes
PR pkg/15775 by Kimmo Suominen.
2002-03-22 14:59:01 +00:00
taca
224a27f8aa Update squid package to 2.4.6 (squid-2.4.STABLE6).
This fixes squid's potential security problem.

Changes to Squid-2.4.STABLE6 (March 19, 2002):

	- The patch for 2.4.STABLE5 was insufficnetly tested and
	  introduced a bug that causes frequent assertions when
	  handling DNS PTR answers.

Changes to Squid-2.4.STABLE5 (March 15, 2002):

	- Fixed an array bounds bug in lib/rfc1035.c.  This bug
	  could allow a malicious DNS server to send bogus replies
	  and corrupt the heap memory.
2002-03-20 16:27:21 +00:00
tron
dab19837b1 Fix thinko in last commit. 2002-03-18 21:27:00 +00:00
tron
41a99acd83 Define "start_cmd" so that this script works under NetBSD 1.4.x. Problem
noted by Mipam in private e-mail.
2002-03-18 21:22:24 +00:00
taca
bb43d05fb8 Include HAVE_SETPROCTITLE in autoconf.h.in. Thought setproctitle() is
already checked in configure script, but it is need to define/undef in
a generated header file.

Bump to squid 2.4.4nb1.
2002-03-03 15:44:47 +00:00
veego
819856f884 Fix build problems on systems without setproctitle(3).
Check setproctitle in the configure script and remove the define
in patch-ba.
2002-02-24 12:25:40 +00:00
tron
f37b9070d0 Update "squid" package to version 2.4STABLE4. Changes since version
2.4STABLE3:
- htcp_port 0 now properly disables htcp
- Fixed problem with certain non-anonymous ftp:// style URL's
- SNMP bugfixes including several memory leaks
2002-02-22 10:07:38 +00:00
jmc
d4867af19e squid-2.4.STABLE3-SNMP_memory_leaks.patch has been updated and checks out the
same from all 3 master sites. Updating distinfo
2002-02-19 03:57:40 +00:00
taca
058d558941 Update squid to squid-2.4.3nb1.
- 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.
2002-02-18 17:00:38 +00:00
veego
d8b74df533 Create ${PREFIX}/etc/squid during pre-install, so copying the default
config file doesn't fail.
2002-02-10 19:26:56 +00:00
taca
7d04de62b8 Update squid to 2.4.3 (squid-2.4.STABLE3), referring to tech-pkg's mail
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-12-12 17:06:18 +00:00
tron
f4354210d0 Fix problems caused by recent changes: the example configuration files get
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-11-23 10:22:53 +00:00
kim
7aceab2279 Config files cannot be forced into ${PREFIX}. 2001-11-17 23:47:24 +00:00
tron
e3061c9141 Correct path for configuration files in installation instructions. Problem
noted by Hubert Feyrer in private e-mail.
2001-11-08 06:58:10 +00:00
tron
dd013767dd Use "--enable-storeio=ufs,diskd" instead of "--enable-storeio=diskd" to
get "ufs" storage type build again because we will otherwise break lots
of existing configurations. Problem pointed out by Simon Burge via e-mail.
2001-11-06 07:22:13 +00:00
tron
823ce591bc Activate store type "diskd" by default as suggested by Grant Beattie in
PR pkg/14476.
2001-11-06 03:05:14 +00:00
zuntum
431e7a7dda Move pkg/ files into package's toplevel directory 2001-11-01 02:15:23 +00:00
tron
153306a3ea Update "squid" package to 2.4.STABLE2. Changes since 2.4.STABLE1:
- Expanded configure's GCC opimization disabling check to
  include GCC 2.95.3
- avoid negative served_date in storeTimestampsSet().
- Made 'diskd' pathnames more configurable
- Make sure squid parent dies if child is killed with
  KILL signal
- Changed diskd offset args to off_t instead of int
- Fixed bugs #102, #101, #205: various problems with useragent
  log files
- Fixed bug #116: Large Age: values still cause problems
- Fixed bug #119: Floating point exception in
  storeDirUpdateSwapSize()
- Fixed bug #114: usernames not logged with
  authenticate_ip_ttl_is_strict
- Fixed bug #115: squid eating up ressources (eventAdd args)
- Fixed bug #125: garbage HTCP requests cause assertion
- Fixed bug #134: 'virtual port' support ignores
  httpd_accel_port, causes a loop in httpd_accel mode
- Fixed bug #135: assertion failed: logfile.c:135: "lf->offset
  <= lf->bufsz"
- Fixed bug #137: Ranges on misses are over-done
- Fixed bug #160: referer_log doesn't seem to work
- Fixed bug #162: some memory leaks (SNMP, delay_pools,
  comm_dns_incoming histogram)
- Fixed bug #165: "Store Mem Buffer" leaks badly
- Fixed bug #172: Ident Based ACLs fail when applied to
  cache_peer_access
- Fixed bug #177: LinuxPPC 2000 segfault bug due to varargs abuse
- Fixed bug #182: 'config' cachemgr option dumps core with
  null storage
- Fixed bug #185: storeDiskdDirParseQ[12]() use wrong number
  of args in debug/printf
- Fixed bug #187: bugs in lib/base64.c
- Fixed bug #184: storeDiskdShmGet() assertion; changed
  diskd to use bitmap instead of linked list
- Fixed bug #194: Compilation fails on index() on some
  non-BSD plaforms
- Fixed bug #197: refreshIsCachable() incorrectly checks
  entry->mem_obj->reply
- Fixed bug #215: NULL pointer access for proxy requests
  in accel-only mode
2001-10-09 19:01:49 +00:00
tron
f38aa4ec86 Adapt package list to configuration options dynamically. This fixes
PR pkg/13971 by David Sainty.
2001-09-18 16:24:57 +00:00
tron
fdb89cb7cc Wait upto 60 instead of 20 seconds for "squid" to terminate. 2001-09-18 16:12:11 +00:00
tron
7e69535eb5 Remove "--enable-parent-hack" now that "squid" is invoked without
"RunCache" again.
2001-07-30 07:32:13 +00:00
tron
369b9ee1cf Rework startup script:
- We don't want to wait forever until "squid" terminates. Wait at most
  20 seconds after a shutdown command use "kill" afterwards.
- Don't use "RunCache" to start "squid", it is not necessary and only
  causes trouble.
- Bring the "rotate" command which got lost in last update.
Bump package version number to 2.4.1nb2.
2001-07-30 07:30:11 +00:00
tron
8b0b9ed443 Remove commands to create data directories which could break existing
squid installations. These directories should be created by the
administrator after selecting the proper directory.
2001-07-29 16:47:01 +00:00
tron
40cda95416 - Apply some of the changes suggested by Greg A. Woods in PR 13427 and
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-07-29 16:41:18 +00:00
tron
a5e6d8ab03 Add missing "Size" entries. 2001-05-21 05:27:56 +00:00
tron
faba133276 Add missing "shutdown" keyword in startup file. 2001-05-10 21:58:01 +00:00
wennmach
96058422d4 o remove whitespace from Makefile
o add $NetBSD$ RCS tag to patch-ab
o regen distinfo
2001-05-01 18:07:48 +00:00
jlam
1edfee944f Change build dependency from perl-5.* to perl>=${PERL5_REQD}. 2001-04-30 03:46:32 +00:00
agc
8f972b049a + move the distfile digest/checksum value from files/md5 to distinfo
+ move the patch digest/checksum values from files/patch-sum to distinfo
2001-04-17 12:12:16 +00:00
tron
6c7cb1ab30 Update "squid" package to version 2.4STABLE1. Changes since 2.3STABLE4:
- 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.
2001-04-14 10:05:00 +00:00
hubertf
e32afb6fea Change BUILD_DEPENDS semantics:
first component is now a package name+version/pattern, no more
executable/patchname/whatnot.

While there, introduce BUILD_USES_MSGFMT as shorthand to pull in
devel/gettext unless /usr/bin/msgfmt exists (i.e. on post-1.5 -current).

Patch by Alistair Crooks <agc@netbsd.org>
2001-03-27 03:19:43 +00:00
hubertf
d32e698de6 Cleanup MKDIR usage => INSTALL_*_DIR
XXX need to teach pkglint to be more picky about this
2001-02-25 04:17:35 +00:00
tron
e1b13d857f Add missing "PROVIDE:" line. 2001-02-24 18:01:28 +00:00
wiz
a0745845b3 Update to new COMMENT style: COMMENT var in Makefile instead of pkg/COMMENT. 2001-02-17 17:21:28 +00:00
tron
634c6d3f29 Provide a new style startup script with backwards compatibility. 2001-02-04 20:46:14 +00:00
tron
b9f759c162 Add missing "REQUIRE: DAEMON" so that squid gets started at the correct
time during system startup.
2001-01-30 19:24:22 +00:00
hubertf
a3cd4f3b8c etc/rc.d: squid.sh -> squid 2001-01-26 04:56:13 +00:00
hubertf
32e7505da2 Make this fit our rc.d start/stop scheme 2000-12-16 09:45:44 +00:00
hubertf
13ba66975d Create localstatedir etc. 2000-12-16 09:45:18 +00:00
taca
70e636c13d - Add a patch from http://www.squid-cache.org/Versions/v2/2.3/bugs/ for
fixing "CARP assertion on sum of load factors" bug.
- Update package name to squid-2.3s4nb3.
2000-12-13 16:03:39 +00:00
taca
0c5dd40669 - Update package name to squid-2.3s4nb2 suggested by
Christoph Badura <bad@bsd.de>.
2000-11-28 01:09:17 +00:00
taca
bfab8248d6 - add two patches from http://www.squid-cache.org/Versions/v2/2.3/bugs/ .
Should I update to squid-2.3s4nb2?
2000-11-27 14:39:49 +00:00
wiz
abe3402bb3 regen 2000-11-09 12:39:10 +00:00
jdolecek
d05f70015f fix path to patched files 2000-11-02 10:41:45 +00:00
jdolecek
dc177a8d19 add log_mime_hdrs_list directive - this directive specifies list of
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-11-02 10:31:38 +00:00
veego
313e13dc34 Update squid from 2.3stable3 to 2.3stable4:
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-10-15 20:17:44 +00:00
tron
64d1c52ea7 Use correct spelling "--enable-delay-pools" in configuration options.
Problem noted by Olaf Seibert in private e-mail.
2000-10-10 10:28:39 +00:00
jlam
60d8d28f10 Update build dependency on perl to build in correct directory if perl
interpreter is not found.
2000-09-05 09:33:15 +00:00
wiz
7d41c3d47e remove whitespace for pkglint 2000-09-03 13:42:22 +00:00
jlam
06f0a4c3c2 Use new PERL5 variable instead of ${LOCALBASE}/bin/perl. 2000-08-27 02:46:03 +00:00
hubertf
d3d16ac67a We aren't FreeBSD 2000-07-26 02:57:49 +00:00
tron
2dee8c6ecb Update "squid" package to version 2.3 STABLE 3. Changes since 2.3 STABLE 2:
- 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-05-19 07:18:55 +00:00
rh
bc2b0a9079 Update md5 checksum and remove PATCH_DIST_ARGS which is now superfluous
due to fixed patches.  Fixes PR 10026 by David Rankin.
2000-05-03 15:14:53 +00:00
tron
9d21aec5b7 - Update home page URL.
- Update master site list.
- Apply patches from squid home page.
2000-03-21 10:09:51 +00:00
tron
e0f3b9a4ee Back out last commit. "ftp.xlink.de" is not an official name. 2000-03-07 20:05:22 +00:00
tron
45d51bc174 Use other alias name "ftp.xlink.de" instead of "ftp.xlink.net" so that
"MASTER_SORT = .de" recognizes this site as german mirror.
2000-03-07 18:59:47 +00:00
tron
bd3cadf79e Corrections for japanese error templates supplied by Takahiro Kambe
in PR pkg/9534.
2000-03-06 21:18:26 +00:00
tron
ef5b675348 Update "squid" package to version 2.3STABLE2. Changes since version
2.3STABLE1:
- Changed Copyright text.
- Changed configure so that some IRIX-6.4 hacks apply to all IRIX-6.* versions.
- Cleaned up HTML bugs in error pages.
- Told configure to check for netinet/if_ether.h, which is used in ARP ACL
  code, but might not be required.
- Added "Cookie" to known HTTP headers so it can be used in anonymizer
  configuration.
- Added optional TCP_REDIRECT log code for logging of 301/302 responses
  returned by Squid.
- Added a check for a currently running Squid process. If the pid file exists,
  and the pid is running, Squid complains and refuses to start another
  instance.
- Changed async I/O scope to PTHREAD_SCOPE_PROCESS for IRIX.
- Fixed a bug with the PURGE method.  The purge enable flag was not getting
  cleared during reconfigure. Also required PURGE method to be used in
  http_access list before enabling.
- Fixed async I/O assertions for file open errors.
- Fixed internal DNS assertion when unpacking truncated messages.
- Fixed anonymize_headers bug that caused all headers to be allowed after a
  reconfigure.
- Fixed an access denied bug for accelerator-only installations.
- Fixed internal DNS initialization so that it uses 'dns_nameservers'
  settings in squid.conf if set.
- Fixed 'maxconn' ACL bug that caused it to work backwards (Pedro Ribeiro).
- Fixed syslog bug for daemon mode on Linux.
- Fixed 'http_port' parsing bugs.
- Fixed internal DNS byte ordering bugs for PTR queries.
- Fixed internal DNS queue getting stuck during periods of low activity
  (Henrik).
- Fixed byte ordering bugs for parsing EPLF FTP listings on 64-bit systems.
- Fixed 'request_body_max_size' bug that caused all POST, PUT requests to be
  denied if max size is set to zero.
- Fixed 'redirector_access' bug when using 'myport' ACLs.
- Fixed CARP neighbor selection bugs for down peers.
- Added 'client_persistent_connections' and 'server_persistent_connections'
  flags to disable persistent connections for clients and servers.
- Fixed access logging bug that caused many requests to be logged as TCP_MISS.
- Added some bounds checking to delay pools code.
This partially fixes PR pkg/9534 by Takahiro Kambe.
2000-03-06 18:52:06 +00:00
tron
b175f5d3f9 Update "squid" package to version 2.3 STABLE 1 using patches supplied by
Takahiro Kambe in PR pkg/9486. Changes since version 2.2 STABLE 5:
- many bug fixes
- WCCP support
- Storage API
- internal DNS servers
2000-02-27 23:11:12 +00:00
tron
2b7fce65e2 Define defaults for configuration variables after including "bsd.pkg.mk"
of course.
1999-11-12 22:56:31 +00:00
tron
cce3bb6605 Do the metadata rebuild as last step of logfile rotation so that programs
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-12 22:32:21 +00:00
tron
19e417b14b Add new configuration variables "SQUID_CONFIGURE_ARGS", "SQUID_HTTP_PORT"
and "SQUID_ICP_PORT" to allow easy modifification of the squid build
parameters.

This fixes the second part of PR pkg/8764 by Luke Mewburn.
1999-11-12 22:20:49 +00:00
tron
2a9006273c Update "squid" package to version 2.2STABLE5. Changes since 2.2STABLE4:
- 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-12 22:07:10 +00:00
rh
9690735cef defuzz 1999-11-12 16:25:30 +00:00
tron
8d7d754dfa Remove me as maintainer of those packages. 1999-10-07 17:41:46 +00:00
soren
3a94a4cd47 Use a relative path for bsd.pkg.mk instead of relying on the search path. 1999-09-28 20:40:02 +00:00
tron
e9aefdd09a Use "${INSTALL_FILE}" instead of "${PKGDIR}/INSTALL". 1999-08-17 23:10:55 +00:00
agc
09ecf7d753 Make this package work on Solaris. 1999-08-02 12:14:00 +00:00
tron
2779179ca6 Update "squid" package to version 2.2.STABLE4. 1999-07-14 21:45:50 +00:00
agc
00a16e3008 Add package patch checksum files. 1999-07-09 14:22:59 +00:00
tron
20e1e2e4a3 Update "squid" package to version 2.2.STABLE3. 1999-06-03 16:42:35 +00:00
tron
e15a96017f Remove obsolete mirror site. 1999-05-28 21:58:25 +00:00
tron
6c33ba9867 Fix path in master site list. Problem noted by Hubert Feyrer. 1999-05-12 16:17:34 +00:00
tron
ac36b26288 Update "squid" package to version 2.2s2 (squid-2.2.STABLE2). 1999-05-02 12:49:43 +00:00
tron
b83f445f4a Enable transport proxy support. Fixes PR pkg/7383 by Olaf Seibert. 1999-05-02 00:48:31 +00:00
bad
7ef687321e BUILD_DEPENDS on the pkg version of perl and make sure configure uses
that.  Fixes PR#7348 by rhialto@polder.ubc.kun.nl.
1999-04-09 17:54:26 +00:00
agc
1bb3007c04 s/make/${MAKE}/g 1999-03-08 10:53:55 +00:00
hubertf
2a95ad9c6b Fix CONFLICTS (remove redundancy, mostly) 1999-02-20 22:48:24 +00:00
bad
4f728368e7 pkg/INSTALL gets invoked with two well defined arguments by pkg_add.
Change it so that it works with pkg_add.  Change Makefile to invoke it
the same way pkg_add does.
1999-01-29 19:26:37 +00:00
tron
9c2fd9ade5 Sync with "squid-current" package. 1998-12-06 12:42:00 +00:00
tsarna
5e9cc577b8 Automatically append HOMEPAge to DESCR files, and remove homepage URLs
from individual DESCR files that had them.
1998-08-26 16:50:48 +00:00
tsarna
6bd0d65c65 The Grand Homepagification:
- New, optional Makefile variable HOMEPAGE, specifies a URL for
	  the home page of the software if it has one.
	- The value of HOMEPAGE is used to add a link from the
	  README.html files.
	- pkglint updated to know about it.  The "correct" location for
	  HOMEPAGE in the Makefile is after MAINTAINER, in that same
	  section.
1998-08-20 15:16:34 +00:00
agc
f7c4996e0b Add NetBSD RCS Ids. 1998-08-07 13:27:33 +00:00
agc
41bfb30737 Add NetBSD RCS Ids. 1998-08-07 11:08:53 +00:00
tron
648ed09d23 Better leave "squid.out" in "/var/squid" together with all the other
logfiles because it doesn't really belong to "/var/run".
1998-05-25 18:19:01 +00:00
tron
c5da52c0e8 Create "etc/squid/squid.conf" during "pkg_add". 1998-05-24 20:02:05 +00:00
tron
2007e948b9 Put logfile into "/var/run" and do not pollute syslog. 1998-05-24 20:00:56 +00:00
tron
3c9dc3de69 "RunCache" doesn't put its logfile in the current directory any more. So we
don't need to change it.
1998-05-24 19:59:28 +00:00
tron
9a6221a4b9 pidfile belongs to "/var/run". 1998-05-24 19:03:05 +00:00
tron
beb57e57b9 Minor cleanup. 1998-05-24 19:01:19 +00:00
tron
b307255bb5 New "squid-1.1.21" package based on FreeBSD port adapted by Rene Hexel
in PR pkg/5314.
1998-05-23 21:27:20 +00:00