Commit Graph

160 Commits

Author SHA1 Message Date
brad
5359105907 upgrade to 2.5.STABLE10
- Malicious users may spoof DNS lookups if the DNS client UDP port (random,
  assigned by OS at startup) is unfiltered and your network is not protected
  from IP spoofing.
- CVE-1999-0710, adds access controls to the cachemgr.cgi script, preventing
  it from being abused to reach other servers than allowed in a local
  configuration file.
2005-05-25 02:27:13 +00:00
brad
abdb1f835e upgrade to Squid 2.5.STABLE9 2005-02-25 16:37:25 +00:00
brad
8e2e7b5074 upgrade to Squid 2.5.STABLE8 + patches
Fixes 2 major issues over STABLE7 + the previous round of patches..

- Data corruption when HTTP reply headers is split in several packets
- Assertion failure on certain odd DNS responses
2005-02-17 03:32:24 +00:00
brad
c5a2906562 add missing ERR_INVALID_RESP to PLIST 2005-02-11 02:47:55 +00:00
brad
a754b815eb fix for ldap_search 2005-02-05 21:36:30 +00:00
brad
29a54c815a SECURITY:
add most of the latest distribution patches which include 4 security
fixes.

-Correct handling of oversized reply headers
-Buffer overflow in WCCP recvfrom() call
-Strengthen Squid from HTTP response splitting cache pollution attack
-Reject malformed HTTP requests and responses that conflict with the HTTP specifications
2005-02-04 04:27:38 +00:00
brad
6c1b677ada Fix 2 security issues...
A bug exists in the code that parses responses from Gopher servers.
The bug results in a buffer overflow if a Gopher server returns a
line longer than 4096 bytes.  The overflow results in memory
corruption and usually crashes Squid.

CAN-2005-0094

A bug exists in the code that parses WCCP messages.  An attacker
that sends a malformed WCCP messages, with a spoofed source address
matching Squid's "home router" can crash Squid.

CAN-2005-0095
2005-01-26 05:08:11 +00:00
naddy
ae76d3ea1f SIZE 2005-01-05 17:21:50 +00:00
alek
61a5f078cf - Kill DEINSTALL
- Replace INSTALL with @samples, @execs, etc.
- Add WANTLIB marker
- Bump PKGNAME
2004-12-07 19:33:33 +00:00
brad
91bd55630f use @newgroup / @newuser 2004-10-31 07:20:29 +00:00
brad
7d4db47663 better 2004-10-31 06:54:37 +00:00
brad
3935b2a8bb upgrade to Squid 2.5.STABLE7
A parsing error exists in the SNMP module of Squid where a
specially-crafted UDP packet can potentially cause the server to
restart, closing all current connections.
2004-10-20 21:44:20 +00:00
espie
e44839e34b new plists.
comment out netscape-dynmotif, since we don't have the required motif lib.
2004-09-15 18:49:48 +00:00
naddy
6b9c0f500b fix up MODGNU_CONFIG_GUESS_DIRS 2004-08-04 16:12:14 +00:00
brad
4532560e76 sync 2004-07-11 17:05:03 +00:00
brad
333f7e2260 upgrade to Squid 2.5.STABLE6 2004-07-11 17:00:47 +00:00
brad
d84edf1a11 remove messages about user/group change. 2004-06-24 03:16:55 +00:00
brad
86d502ddb4 - add 2 more distribution patches
- add snmp FLAVOR from Joel CARNAT <joel at carnat dot net>
- add some auth types and auth/acl helpers
- add NTLM auth SMB patch even though the default port does NOT compile this support in
2004-06-11 08:00:35 +00:00
brad
8134d5f3d6 one of the distrib patches was updated 2004-06-07 04:15:22 +00:00
brad
be1ae753c5 more distribution patches 2004-06-02 21:39:59 +00:00
brad
5c7d163fec Add 2 more distribution patches. One of them fixes an issue if using
Digest authentication. Users can crash Squid with a segmentation fault
simply by entering a blank user name.
2004-04-21 11:11:19 +00:00
brad
773296fdb7 sync 2004-04-16 00:39:03 +00:00
xsa
defa276606 catch @extra escapers ... 2004-04-15 08:58:32 +00:00
xsa
575015faec @extraaaaaaaaaaaaaaaaa ...
ok dhartmei@ jolan@ brad@ for their respective port;
2004-04-15 07:34:11 +00:00
brad
145a5e937b - add some distribution patches. From: Robert Nagy <thuglife at bsd dot hu>
- only apply optimization workaround for gcc if using 2.95
2004-04-13 00:40:47 +00:00
miod
f845f0f369 Tell squid that m88k does not imply SysV; maintainer ok 2004-04-06 05:35:59 +00:00
brad
b765b0c3ec upgrade to Squid 2.5.STABLE5 2004-03-03 01:20:42 +00:00
naddy
f16b99d84d The sparc64 compiler is gcc3 now; don't require the gcc3 module. 2004-02-25 02:35:15 +00:00
brad
b1f0d46719 add 29 of the latest distribution patches. 2004-02-16 10:21:20 +00:00
naddy
112339c1d4 remove WWW lines 2003-12-15 21:54:59 +00:00
brad
4e2e7789ec upgrade to Squid 2.5.STABLE4 2003-10-17 18:03:54 +00:00
brad
bdba8d4dc9 apply another distribution patch, the squid-2.5.STABLE3-mem_cfd.patch patch
broke the forwarded_for directive.
2003-08-22 21:12:18 +00:00
brad
d8d89da2a5 add some more distribution patches.
--
Thanks to mpech@ for some testing
2003-08-18 17:13:40 +00:00
brad
649f804830 optimization issues with gcc 2.95, use gcc 3 on sparc64.
--
From: Matthieu Herrb <matthieu dot herrb at laas dot fr>
2003-07-26 06:05:52 +00:00
brad
459cc69576 apply a number of distribution patches. 2003-07-23 01:47:20 +00:00
brad
f77c38db29 switch to new schema for user/group.
--
From: sturm@
Thanks to mpech@ for testing and pointing out the user/group
I almost missed in MESSAGE.
2003-07-08 20:43:20 +00:00
brad
b2f602749a upgrade to Squid 2.5.STABLE3
throw in the SSL gatewaying support, this is not enabled by default.
2003-07-07 17:44:43 +00:00
brad
5cd00e6c5d upgrade to Squid 2.5.STABLE2 2003-05-13 20:12:02 +00:00
brad
b0766fdf67 upgrade to Squid 2.5.STABLE1 2002-10-04 13:52:48 +00:00
brad
0ab206aa68 upgrade to Squid 2.5.PRE13 2002-09-20 01:27:10 +00:00
brad
d4b58e4aa8 upgrade to Squid 2.5.PRE11 2002-08-23 14:10:20 +00:00
brad
1b1ddd6bfa upgrade to Squid 2.5.PRE10
- The squid binary has been moved from bin/ to sbin/
- The cachemgr CGI is statically linked now
2002-07-24 18:14:08 +00:00
brad
01aba3a6ba upgrade to Squid 2.5.PRE8 2002-06-30 18:29:22 +00:00
brad
ef9a92736d fix sample configuration files path
--
From: Andrey Smagin <andrey@smagin.com>
2002-05-10 04:18:23 +00:00
brad
9657c1e001 upgrade to Squid 2.5.PRE7 2002-05-02 02:37:04 +00:00
brad
130f964688 upgrade to Squid 2.5.PRE6
- PF patches integrated
2002-04-17 18:03:21 +00:00
brad
39748ff848 upgrade to Squid 2.5.PRE5 2002-03-21 21:17:54 +00:00
brad
670c14f805 remove section which disables optimization, our compiler does not seem to have this bug. also fixes build on powerpc. 2002-03-19 15:20:07 +00:00
brad
f774579827 It's a bit unusual when I see in the Squid log that I'm supposedly running
i386-unknown-freebsd3.5 when I'm actually on a powerpc-unknown-openbsd3.0
system, turns out there is a stale auto-generated autoconf.h in the
distfile.
2002-03-16 19:05:26 +00:00
brad
10c5d0f6cd enable SEPARATE_BUILD 2002-03-16 18:18:30 +00:00
brad
dc1d731a87 drop the ampersand in the example 2002-03-09 18:11:16 +00:00
brad
db7d8cd8ce - fix CONFIGURE_ARGS option to enable removal policies (heap)
- enable diskd
2002-03-01 04:36:29 +00:00
brad
2a4d9f706b - rearrange
- pass in PKGNAME so the errors and icons notice/install messages do not
have some unexpected spaces
2002-02-21 21:03:52 +00:00
brad
ad5edec476 checksums changed for 2.5.PRE4, minor fix. 2002-02-21 16:53:07 +00:00
brad
108bbec985 use uid/gid of squid:squid instead of nobody:nogroup 2002-02-20 20:31:26 +00:00
brad
53133d4b10 upgrade to Squid 2.5.PRE4
- The port now runs as uid/gid of nobody:nobody instead of www:www
- This needs some testing, especially the transparent proxy support for PF
2002-02-20 01:17:03 +00:00
pvalchev
be54d47d8c CONFIGURE_STYLE=gnu w/ proper MODGNU_CONFIG_GUESS_DIRS
needed for the powerpc -> macppc name change
2001-09-28 06:02:12 +00:00
brad
f2aa83a34f more ports which use or can use pthreads 2001-08-30 02:24:52 +00:00
brad
d9ec50a97c better 2001-07-20 15:31:58 +00:00
brad
9317e492c3 upgrade to Squid 2.3.STABLE5 2001-07-20 14:37:38 +00:00
naddy
49afc89ea6 MASTER_SITES fix by Heikki Korpela <heko@saitti.net>:
- Add ftp.funet.fi and ftp.sunet.se mirrors where available.
- Remove broken ftp.funet.fi references.
2001-07-13 11:23:37 +00:00
brad
4277f59f35 remove the 2 FLAVORs currently available, enable the alternate heap
replacement algorithms by default.
2001-06-08 19:03:35 +00:00
lebel
2635bc0375 www: integrate COMMENT, bump NEED_VERSION. 2001-05-06 04:22:45 +00:00
brad
3580a84048 add a distribution patch:
squid-2.3.stable4-snmp-community-null-pointer.patch
Sending an unparsable SNMP query to Squid can cause a segment violation
2001-03-14 14:39:54 +00:00
brad
2d19447f4b new DESCR, actually describes what Squid is, taken from the FAQ. 2001-01-17 02:41:04 +00:00
brad
0247146330 add heap FLAVOR, enables alternate cache object replacement algorithms.
--
Requested by: J Shoemaker <shoemaker@softhome.net>
2001-01-17 02:38:20 +00:00
brad
9c33622cab remove this patch, it's not needed anymore now that we're using GCC
2.95.3, unfortunately this bug still affects GCC 2.95.3 and thus the other
workaround patch has been left in place until the issue has been fixed.
2001-01-15 17:22:01 +00:00
brad
7a77dc9bc4 tighten permissions. 2001-01-12 21:21:02 +00:00
brad
03f57d4e2a better 2001-01-08 20:03:11 +00:00
brad
5ee32b1bd3 add a distribution patch: (and update checksum for HTML quoting patch)
squid-2.3.stable4-carp-assertion.patch
Comparing floating point numbers for equality is tricky. The old way can cause an assertion even though two numbers actually do add up to 1
2000-12-08 17:09:52 +00:00
brad
17d47c144e update checksums for squid-2.3.stable4-html_quoting.patch patch now that
the issue has been fixed.
2000-11-21 23:36:54 +00:00
brad
da5b4b0e75 add 2 distribution patches: (and fix a mistake in the HTML quoting patch)
squid-2.3.stable4-accel_only_access.patch
clientAccessCheck incorrectly returns ACCESS_ALLOWED for proxy requests
when configured as an HTTP accelerator only

squid-2.3.stable4-html_quoting.patch
Everywhere where Squid inserts text received from the network into a HTML
page (error pages, FTP listings, Gopher listings, ...) care must be taken
to ensure that the text is properly encoded as HTML, or a malicious user
might be able to insert script code or other HTML tags, and exploit the
web browser of any user visiting their page or clicking on that funny link
received in a email..
2000-11-17 22:35:52 +00:00
brad
ec43f0d782 add a transparent FLAVOR, enables support for IPFilter so Squid can be
used in a transparent proxy setup. suggested by jakob@
2000-10-08 20:37:08 +00:00
brad
3918ceb4a1 add name to MAINTAINER 2000-09-24 07:03:59 +00:00
brad
39f4ba63e7 remove SYSCONFDIR from SUBST_VARS and SUBST_VARS too if no other variables
are listed
2000-09-06 05:48:47 +00:00
brad
ee0cfd3420 new make eliminates the need for FAKE_FLAGS 2000-08-31 06:43:40 +00:00
brad
e5caed9d66 explicitly set permissions 2000-08-24 22:00:03 +00:00
brad
979c4ee5c2 add 2 distribution patches:
squid-2.3.stable4-ipfw_configure.patch
The configure script uses "==" when it should use "=" for /bin/test

squid-2.3.stable4-invalid_ip_acl_entry.patch
The code that scans ACL tokens for IP addresses and hostnames couldn't
tell that "123.foo.com" is a hostname rather than an IP address
2000-08-11 06:30:34 +00:00
brad
029ccd5c7f - fixup notices, prevent some line wrapping as well
- remove extra if loop and replace with elif; pointed out by naddy@
2000-08-09 00:40:14 +00:00
brad
74a9ffd932 move sample files from lib/squid to share/examples/squid 2000-08-05 02:23:14 +00:00
brad
98cf57f75b - unconditionally show DEINSTALL message since there is more than just the
config directory that has to be removed
- change a whole bunch of vars in INSTALL from ${FOO} to $FOO so they do
not get substituded and have the substitution occur only once at the top
of the INSTALL script
2000-07-29 00:04:58 +00:00
brad
4197b9dcb0 add a distribution patch:
squid-2.3.stable4-internal_dns_rcode_table_formatting.patch
Missing a newline on cachemgr output
2000-07-23 18:21:20 +00:00
chris
aceeaaaea5 Add a patch for Squid STABLE4 that fixes ftp icons 2000-07-20 22:41:40 +00:00
chris
1f419cbf98 Add missing quote which prevented this port from installing
(tested???!)
2000-07-20 21:27:19 +00:00
brad
98eb1a3748 re-add $1 in a few places 2000-07-20 05:57:55 +00:00
brad
55da5bf055 upgrade to Squid 2.3.STABLE4 2000-07-20 01:17:09 +00:00
brad
d9707f1194 better INSTALL script 2000-07-19 07:38:31 +00:00
brad
b42604655b add #!/bin/sh 2000-07-19 06:47:03 +00:00
brad
4c66c6fb0a with these patches Squid now compiles with our ipf headers when using the
IPF Transparent proxying support
2000-07-12 21:26:30 +00:00
brad
85e8a0d4da upgrade to Squid 2.3.STABLE3
- NOTE: you can now override the dir used for cache/logs by using the
variable STATEDIR. i.e., "make STATEDIR=/alternate/dir package", and it
will be substituted into the INSTALL/DEINSTALL scripts.
2000-06-28 07:08:28 +00:00
brad
e6c62491fd correct HOMEPAGE URL 2000-06-10 06:27:25 +00:00
espie
1a2f04c979 Fake 2000-06-09 20:21:41 +00:00
espie
233ac49af6 explicit FAKE=No, so that we can turn FAKE on by default. 2000-04-09 17:35:57 +00:00
brad
3edea145ff - bump NEED_VERSION
- fix MASTER_SITES URLs, squid.nlanr.net -> www.squid-cache.org
- use DIST_SUBDIR
- YES -> Yes
- remove unnecessary CONFIGURE_ARGS option
- remove STRIP variable since INSTALL_PROGRAM has used INSTALL_STRIP for
awhile now, better fix coming soon
2000-03-30 21:59:26 +00:00
espie
0fd05ef2ce Move all NEED_VERSION right after CATEGORY 2000-03-24 22:11:32 +00:00
espie
edba5cfedf MAKEFILE-> MAKE_FILE 2000-02-22 17:08:31 +00:00
turan
504f314d16 espie will not shut up about this, DISTF -> DISTFILES, PKG -> PACKAGE 2000-02-15 05:03:51 +00:00
turan
1574b9aa2e gpl licenses 2000-02-12 08:02:07 +00:00
espie
e201e9d26b Kill most instances of PATCH_SITES 2000-02-02 17:02:38 +00:00
brad
4e70dc50d5 - check that PATCH_DEBUG is set to yes instead of just being defined
- change MAINTAINER, ports@ -> brad@
- add 2 distribution patches;

squid-2.2.stable5-domain-match.patch
Matching a hostname and a domain name doesn't always work, depending on
leading dots and other edge conditions. Plus, the code for matching in
ACL's worked one way, while the code for matching 'cache_peer_domain' list
worked slighly different.

The patch below makes all host/domain matching operate the same way. It
also changes the rules a bit, so your current configuration probably will
not work the way you want after applying this patch.

- patch was included in the patches dir because of the difference in
relative path in comparison to all the other distribution patches.

squid-2.2.stable5-mkhttpdlogtime-end-of-year.patch = patch-ai
mkhttpdlogtime() generates a date string of the form 31/Dec/1999:23:59:59 +0900.
But when the year changes, the timezone offset will be wrong, for example:
01/Jan/2000:00:00:00 -1500.
2000-01-17 15:38:38 +00:00