CVE and update status of the FreeBSD ports tree3,295 unaddressed CVEs in 670 portsAll times are CET
Port details

www/squid 7.7

HTTP Caching Proxy

Port info

Maintainer
timp87@gmail.com
Packages
latest: 7.7
Upstream
up to date
Last update
to 7.7 · c1ddf91668
Quarterly
2026Q4: 7.7
Formerly
www/squid26 until 2007-02-07
WWW
https://www.squid-cache.org/
Links
cgit · VuXML · Report wrong data

Install

Package
# pkg install squid
installs 7.7 from latest; from quarterly (2026Q4) 7.7
Port
# cd /usr/ports/www/squid && make install clean
# make -C /usr/ports/www/squid config  # change options first
Size
2.5 MiB download · 7.9 MiB installed
Depends on
lang/perl5.42 5.42.3
License
GPLv2
Creates
user squid, group squid
Options
25 of 39 on in the package: ARP_ACL AUTH_NIS CACHE_DIGESTS DELAY_POOLS DOCS EXAMPLES FOLLOW_XFF FS_AUFS FS_DISKD FS_ROCK GSSAPI_BASE HTCP ICAP ICMP IPV6 KQUEUE LARGEFILE LAX_HTTP SNMP SSL SSL_CRTD TP_IPFW VIA_DB WCCP WCCPV2
Show the 14 options that are off
AUTH_LDAP AUTH_SASL AUTH_SMB AUTH_SQL DEBUG ECAP GSSAPI_HEIMDAL GSSAPI_MIT GSSAPI_NONE NETTLE STACKTRACES TDB TP_IPF TP_PF
pkg-message
Shown after installing
o You can find the configuration files for this package in the
       directory /usr/local/etc/squid.

     o The default cache directory is /var/squid/cache/.
       The default log directory is /var/log/squid/.

       Note:
       You must initialize new cache directories before you can start
       squid.  Do this by running "squid -z" as 'root' or 'squid'.
       If your cache directories are already initialized (e.g. after an
       upgrade of squid) you do not need to initialize them again.

     o When using DiskD storage scheme remember to read documentation:
         http://wiki.squid-cache.org/Features/DiskDaemon
       and alter your kern.ipc defaults in /boot/loader.conf. DiskD will not
       work reliably without this. Last recomendations were:

         kern.ipc.msgmnb=8192
         kern.ipc.msgssz=64
         kern.ipc.msgtql=2048

     o The pre-translated error pages are no longer included into the port.
       If you need them install www/squid-langpack port as well.

     o The default configuration will deny everyone but the local host and
       local networks as defined in RFC 1918 for IPv4 and RFCs 4193 and
       4291 for IPv6 access to the proxy service.  Edit the "http_access
       allow/deny" directives in /usr/local/etc/squid/squid.conf
       to suit your needs.

     o If AUTH_SQL option is set, please, don't forget to install one of
       following perl modules depending on database you like:
         databases/p5-DBD-mysql (MySQL)
         databases/p5-DBD-mysql4 (MariaDB)
         databases/p5-DBD-Pg
         databases/p5-DBD-SQLite

     To enable Squid, set squid_enable=yes in either
     /etc/rc.conf, /etc/rc.conf.local or /etc/rc.conf.d/squid
     Please see /usr/local/etc/rc.d/squid for further details.

     Note:
     If you just updated your Squid installation from an earlier version,
     make sure to check your Squid configuration against the 3.4 default
     configuration file /usr/local/etc/squid/squid.conf.sample.

     /usr/local/etc/squid/squid.conf.documented is a fully annotated
     configuration file you can consult for further reference.

     Additionally, you should check your configuration by calling
     'squid -f /path/to/squid.conf -k parse' before starting Squid.

Packages by version and architecture

latest

FreeBSD versionamd64aarch64i386
FreeBSD 167.77.7–
FreeBSD 157.77.7–
FreeBSD 147.77.77.7

quarterly (2026Q4)

FreeBSD versionamd64aarch64i386
FreeBSD 157.77.7–
FreeBSD 147.77.77.7

version as in the ports tree (latest) or the most common one (quarterly) · different version · ✗ not built · – no packages for this platform. Package sets that have not been rebuilt for 60 days are left out.

Unaddressed and VuXML only (0)

No unaddressed CVE and nothing reported by pkg audit for the packaged version 7.7.

Fixed (45)

Show 45 fixed
VuXML entries whose affected range the packaged version has left.

Problem reports (0) · open in Bugzilla, most recently changed first

None.

Commits (428)

Kurt Jaeger (pi) · 4.11_1
www/squid: add CONFLICTS with incoming squid-devel and rework

- add delayer external acl helper to the build
- add eDirectory_userip external acl helper to the build if LDAP enabled
- add eDirectory and LDAP digest auth helpers to the build if LDAP enabled
- add DB log daemon helper to the build
- add LFS url rewrite helper to the build
- remove useless REINPLACE_CMD from post-patch
- remove DIST_SUBDIR as it's useless now
- simplify REINPLACE_CMD in post-patch-IPV6-off
- regenerate patches to make portlint happy
- reverse sort plist

PR:		246139
Submitted by:	Pavel Timofeev <timp87@gmail.com> (maintainer)
899bcacc01
Kurt Jaeger (pi) · 4.11
www/squid: update 4.10 -> 4.11

PR:		245758
Submitted by:	timp87@gmail.com (maintainer)
Relnotes:	http://www.squid-cache.org/Versions/v4/squid-4.11-RELEASENOTES.html
f9a49e23bd
Kurt Jaeger (pi) · 4.10
www/squid: upgrade 4.9 -> 4.10

PR:		244026
Submitted by:	timp87@gmail.com (maintainer)
Relnotes:	http://lists.squid-cache.org/pipermail/squid-announce/2020-February/000107.html
Security:	http://www.squid-cache.org/Advisories/SQUID-2020_1.txt
		http://www.squid-cache.org/Advisories/SQUID-2020_2.txt
		http://www.squid-cache.org/Advisories/SQUID-2020_3.txt
55b574abd9
Piotr Kubaj (pkubaj) · 4.9
www/squid: fix build on GCC architectures

Add --disable-strict-error-checking to CONFIGURE_ARGS for everyone. It adds -Werror, which is against ports tree policy and causes:
Icmp6.cc: In member function 'virtual void Icmp6::SendEcho(Ip::Address&, int, const char*, int)':
Icmp6.cc:165:72: error: converting a packed 'icmp6_hdr' pointer (alignment 1) to a 'short unsigned int' pointer (alignment 2) may result in an unaligned pointer value [-Werror=address-of-packed-member]
  165 |     icmp->icmp6_cksum = CheckSum((unsigned short *) icmp, icmp6_pktsize);
      |                                                                        ^
In file included from Icmp6.h:20,
                 from Icmp6.cc:18:
/usr/include/netinet/icmp6.h:72:8: note: defined here
   72 | struct icmp6_hdr {
      |        ^~~~~~~~~
At global scope:
cc1plus: error: unrecognized command line option '-Wno-deprecated-register' [-Werror]
cc1plus: all warnings being treated as errors

PR:		241804
Approved by:	timp87@gmail.com (maintainer), mentors (implicit approval)
3e0d5f3a28
Jochen Neumeister (joneum) · 4.9
Update to 4.9

Changelog: http://www.squid-cache.org/Advisories/SQUID-2019_11.txt

PR:		241976
MFH:		2019Q4
Security:	620685d6-0aa3-11ea-9673-4c72b94353b5
Sponsored by:	Netzkommune GmbH
3630c41ee4
Steve Wills (swills) · 4.8_1
www/squid: Fix build with libc++ 9

PR:		240830
Submitted by:	dim
Approved by:	maintainer timeout (timp87@gmail.com, >2 weeks)
c386276cef
Baptiste Daroussin (bapt) · 4.8_1
Drop the ipv6 virtual category for w* category as it is not relevant anymore
9801311880
Mathieu Arnold (mat) · 4.8_1
Convert to UCL & cleanup pkg-message (categories w)
a400cfc5f4
Gerald Pfeifer (gerald) · 4.8_1
Bump PORTREVISION for ports depending on the canonical version of GCC as defined in Mk/bsd.default-versions.mk which has moved from GCC 8.3 to GCC 9.1 under most circumstances now after revision 507371.

This includes ports
 - with USE_GCC=yes or USE_GCC=any,
 - with USES=fortran,
 - using Mk/bsd.octave.mk which in turn features USES=fortran, and
 - with USES=compiler specifying openmp, nestedfct, c11, c++0x, c++11-lang,
   c++11-lib, c++14-lang, c++17-lang, or gcc-c++11-lib
plus, everything INDEX-11 shows with a dependency on lang/gcc9 now.

PR:		238330
ea8c8ec7da
Steve Wills (swills) · 4.8
www/squid: update to 4.8

PR:		239214
Submitted by:	timp87@gmail.com (maintainer)
a652a54f20
Sunpoet Po-Chuan Hsieh (sunpoet) · 4.7_2
Update security/nettle to 3.5.1

- Bump PORTREVISION of dependent ports for shlib change
- Fix build of devel/pijul [1]

Changes:	https://git.lysator.liu.se/nettle/nettle/blob/master/NEWS
PR:		238991
Exp-run by:	antoine
Thanks to:	tobik [1]
d99d942bb0
Antoine Brodin (antoine) · 4.7_1
Switch default version of samba from 4.7 to 4.8

With hat:	portmgr
47ce821484
Jochen Neumeister (joneum) · 4.7
Update to 4.7

Changelog:

- Bug 4942: --with-filedescriptors does not do anything
- Bug 4928: Cannot convert non-IPv4 to IPv4
- Bug 4823: assertion failed: "lowestOffset () <= target_offset"
- Bug 4796: comm.cc !isOpen(conn->fd) assertion when rotating logs
- Fix squidclient authentication to origin servers
- Fix stack-based buffer-overflow when parsing SNMP messages
- Add support for buffer-size= to UDP logging
- TLS: When using OpenSSL, trust intermediate CAs from trusted store

PR:		237882
Submitted by:		timp87@gmail.com (maintainer)
Sponsored by:	Netzkommune GmbH
fd0752d423
Piotr Kubaj (pkubaj) · 4.6_1
www/squid: fix build with GCC-based architectures

Add -Wno-error=stringop-truncation to CFLAGS when using GCC.

PR:		237276
Approved by:	timp87@gmail.com (maintainer timeout), mat (mentor)
Differential Revision:	https://reviews.freebsd.org/D20104
3dc217b8c8
Cy Schubert (cy) · 4.6_1
Fix build under 13-CURRENT due to src commit r345982 causing a namespace collision from sys/fcntl.h.

PR:		237353
Submitted by:	cy@
Approved by:	portmgr (blanket: build/run/packaging fix)
MFH:		2019Q2
b8dcb92ad0
Renato Botelho (garga) · 4.6_1
www/squid: Fix build with GSSAPI options

In some circumstances squid's configure script cannot detect properly which
GSSAPI is being used to build with and break build.  Applied patch from
upstream ticket and also passes path of desired krb5-config to be used
during build

PR:		236959
Approved by:	maintainer timeout (2 weeks)
Obtained from:	https://bugs.squid-cache.org/show_bug.cgi?id=4933 (based on)
Sponsored by:	Rubicon Communications, LLC (Netgate)
6d0d4c3320
Dimitry Andric (dim) · 4.6
Fix build of www/squid and www/squid-devel with clang 8

This fixes an error with a defaulted copy constructor:

../../src/security/ServerOptions.h:38:5: error: explicitly defaulted copy constructor is implicitly deleted [-Werror,-Wdefaulted-function-deleted]
    ServerOptions(const ServerOptions &) = default;
    ^
../../src/security/ServerOptions.h:110:29: note: copy constructor of 'ServerOptions' is implicitly deleted because field 'clientCaStack' has a deleted copy constructor
    X509_NAME_STACK_Pointer clientCaStack;
                            ^
/usr/include/c++/v1/memory:2494:3: note: copy constructor is implicitly deleted because 'unique_ptr<stack_st_X509_NAME, Security::ServerOptions::sk_X509_NAME_free_wrapper>' has a user-declared move constructor
  unique_ptr(unique_ptr&& __u) noexcept
  ^

The copy constructor can instead be deleted.

Approved by:	timp87@gmail.com (maintainer)
PR:		236210
MFH:		2019Q2
ad35b3f8ee
Steve Wills (swills) · 4.6
www/squid: update to 4.6

PR:		236090
Submitted by:	timp87@gmail.com (maintainer)
Reported by:	ncrogers@gmail.com
026b64bcf1
Steve Wills (swills) · 4.5
www/squid: update to 4.5

PR:		234777
Submitted by:	timp87@gmail.com (maintainer)
f3fab0c2e4
Gerald Pfeifer (gerald) · 4.4_1
Bump PORTREVISION for ports depending on the canonical version of GCC defined via Mk/bsd.default-versions.mk which has moved from GCC 7.4 t GCC 8.2 under most circumstances.

This includes ports
 - with USE_GCC=yes or USE_GCC=any,
 - with USES=fortran,
 - using Mk/bsd.octave.mk which in turn features USES=fortran, and
 - with USES=compiler specifying openmp, nestedfct, c11, c++0x, c++11-lang,
   c++11-lib, c++14-lang, c++17-lang, or gcc-c++11-lib
plus, as a double check, everything INDEX-11 showed depending on lang/gcc7.

PR:		231590
a9f015d155
Steve Wills (swills) · 4.4
www/squid: Update to 4.4

While here, pet portlint

PR:		233845
Submitted by:	takefu@airport.fm
Approved by:	timp87@gmail.com (maintainer)
450579e85f
Kurt Jaeger (pi) · 4.3_1
www/squid: fix bug in 4.3, no connections are accepted after ECONNABORTED

- without the fix, squid locks up every couple of hours, no longer
  accept(2)-ing new connections, and needs to be restarted.

PR:		231950
Submitted by:	Mark.Martinec@ijs.si
Reviewed by:	Oleh Hushchenkov <gor@clogic.com.ua>
Approved by:	Pavel Timofeev <timp87@gmail.com> (maintainer)
Obtained from:	https://bugs.squid-cache.org/show_bug.cgi?id=4889
d7f970d763
Kurt Jaeger (pi) · 4.3
www/squid: update 4.1 -> 4.3

- fix build with LibreSSL

PR:		231442
Submitted by:	timp87@gmail.com (maintainer), takefu@airport.fm
Relnotes:	http://www.squid-cache.org/Versions/v4/changesets/
fe04bd204a
Antoine Brodin (antoine) · 4.1_2
Switch default version of samba to 4.7 Samba 4.6 will be discontinued in a few weeks

Reviewed by:	mat
Differential Revision:	https://reviews.freebsd.org/D16904
ec3e56288a
Gerald Pfeifer (gerald) · 4.1_1
Bump PORTREVISION for ports depending on the canonical version of GCC in the ports tree (via Mk/bsd.default-versions.mk and lang/gcc) which has now moved from GCC 6 to GCC 7 by default.

This includes ports
 - featuring USE_GCC=yes or USE_GCC=any,
 - featuring USES=fortran,
 - using Mk/bsd.octave.mk which in turn features USES=fortran, and those
 - with USES=compiler specifying one of openmp, nestedfct, c11, c++0x,
   c++11-lib, c++11-lang, c++14-lang, c++17-lang, or gcc-c++11-lib.

PR:		222542
09f9633cb6
Steve Wills (swills) · 4.1
www/squid: update to 4.1

PR:		229601
Submitted by:	timp87@gmail.com (maintainer)
6597864489
Danilo G. Baio (dbaio) · 3.5.27_3
www/squid: Fixes security vulnerabilities

Add patches to fix CVE's:
  CVE-2018-1000024
  CVE-2018-1000027

PR:		226139
Submitted by:	Yasuhiro KIMURA <yasu@utahime.org>
Approved by:	timp87@gmail.com (maintainer)
MFH:		2018Q1
Security:	d5b6d151-1887-11e8-94f7-9c5c8e75236a
663d5c4447
Sunpoet Po-Chuan Hsieh (sunpoet) · 3.5.27_2
Use BROKEN_SSL

Approved by:	portmgr (blanket)
98f77b8a40
Antoine Brodin (antoine) · 3.5.27_2
Change default version of samba from 4.4 to 4.6

Reviewed by:	mat
With hat:	portmgr
Differential Revision:	https://reviews.freebsd.org/D13529
ddd8c8640e
Steve Wills (swills) · 3.5.27_1
Fix typo in previous commit

Reported by:	Yasuhiro KIMURA <yasu@utahime.org>
b5212fa478
Steve Wills (swills) · 3.5.27
www/squid: Enable PCRE support

PR:		223505
Submitted by:	OlivierW <olivierw1+bugzilla-freebsd@hotmail.com> (inspired by)
Approved by:	timp87@gmail.com (maintainer)
f5addc17d5
Guido Falsi (madpilot) · 3.5.27
Update www/squid to 3.5.27

PR:		221765
Submitted by:	timp87@gmail.com (maintainer)
12c3e0aa92
Jochen Neumeister (joneum) · 3.5.26
- www/squid: Update from 3.5.25 to 3.5.26 - Changes:  *Bug 4711: SubjectAlternativeNames is missing in some generated certificates  *Bug 4695: squidpurge: GCC 7 build errors  *Bug 4682: ignoring http_access deny when client-first bumping mode is used  *Bug 4682: Fix ssl_bump "bump" action documentation  *Bug 4653: %st lies about tunneled traffic volumes  *Bug 4589: ssl_crtd: returning zero on fail

PR:		219773
Submitted by:	timp87 at gmail.com (maintainer)
Approved by:	tz, miwi (mentors)
Differential Revision:	https://reviews.freebsd.org/D11041
7ebf28c017
Martin Wilke (miwi) · 3.5.25
- Update to 3.5.25

PR:		218343
Submitted by:	maintainer
894cc4d1ba
Mark Linimon (linimon) · 3.5.24_2
Provide more descriptive error messages for ports failing on powerpc64.

While here, pet portlint.

Approved by:	portmgr (tier-2 blanket)
b5fc89bb28
Antoine Brodin (antoine) · 3.5.24_2
Switch default version of samba from 4.3 to 4.4

With hat:	portmgr
Differential Revision:	https://reviews.freebsd.org/D10131
8fb879105d
Antoine Brodin (antoine) · 3.5.24_1
- Add USES=samba to handle dependency on samba   Valid ARGS:  build, env, lib, run (default: build,run) - Add SAMBA_DEFAULT to bsd.default-versions.mk (default: 4.3) - Remove obsolete samba36 ports - Modify samba4x ports to install libsmbclient - Convert the ports tree to USES=samba

Reviewed by:	mat
Differential Revision:	https://reviews.freebsd.org/D8919
7cfe69b584
Thomas Zander (riggs) · 3.5.24
Update to upstream version 3.5.24; retire support for FreeBSD < 10

PR:		216578
Submitted by:	timp87@gmail.com (maintainer)
89b75732d8
Jason Unovitch (junovitch) · 3.5.23
www/squid: update 3.5.22 -> 3.5.23

- Spell CHOSEN_COMPILER_TYPE correctly
- Remove upstreamed patch (IPv6 + PF crash)
- Add --enable-zph-qos option to default set
  http://wiki.squid-cache.org/Features/QualityOfService

PR:		215416
Submitted by:	Pavel Timofeev <timp87@gmail.com> (maintainer)
Security:	CVE-2016-10002
Security:	CVE-2016-10003
Security:	https://vuxml.FreeBSD.org/freebsd/41f8af15-c8b9-11e6-ae1b-002590263bf5.html
MFH:		2016Q4
153512e0d8
Mathieu Arnold (mat) · 3.5.22
Mark some ports as not openssl-devel ready.

Sponsored by:	Absolight
703ff6d361
Dmitry Marakasov (amdmi3) · 3.5.22
- Update to 3.5.22 - Switch to options helpers

PR:		212909
Submitted by:	timp87@gmail.com (maintainer)
bff4531d5c
Jason Unovitch (junovitch) · 3.5.20
www/squid: update 3.5.19 -> 3.5.20

- Also swap USE_OPENSSL=yes to USES=ssl

PR:		210811
Submitted by:	Pavel Timofeev <timp87@gmail.com> (maintainer)
1c76791eb4
Dmitry Marakasov (amdmi3) · 3.5.19
Remove NLS, DOCS, EXAMPLES and IPV6 from OPTIONS_DEFAULT, they are enabled by default anyway and don't need to be listed

Approved by:	portmgr blanket
c86e9d9724
Dmitry Marakasov (amdmi3) · 3.5.19
- Fix trailing whitespace in pkg-messages

Approved by:	portmgr blanket
e87a8bd319
Bernard Spil (brnrd) · 3.5.19
www/squid: Fix configure errors for libssl

- Fix building with ports' OpenSSL/LibreSSL
  - Use GSSAPI descriptions from Mk/Uses/gssapi.mk
  - Use more OPTIONS features

PR:		208584
Submitted by:	timp87@gmail.com (maintainer)
MFH:		2016Q2
c987bca235
Matthew Seaman (matthew) · 3.5.19
Security update to 3.5.19

PR:		209334
Submitted by:	timp87@gmail.com (maintainer)
Security:	25e5205b-1447-11e6-9ead-6805ca0b3d42
69c289404d
Matthew Seaman (matthew) · 3.5.17_1
Add conflicts against the new squid-devel port

Rework transparent proxy / firewall related options

PR:		203860
Submitted by:	timp87@gmail.com (maintainer)
494932d0b3
Steve Wills (swills) · 3.5.17
many ports: mark broken on powerpc64
86cd4fbe5a
Kurt Jaeger (pi) · 3.5.17
www/squid: 3.5.16 -> 3.5.17

Changes:
  http://www.squid-cache.org/Versions/v3/3.5/changesets/SQUID_3_5_17.html
  http://www.squid-cache.org/Advisories/SQUID-2016_5.txt

PR:		208939
Submitted by:	Pavel Timofeev <timp87@gmail.com> (maintainer)
MFH:		2016Q2
Security:	CVE-2016-4052, CVE-2016-4053, CVE-2016-4054
08529b8538
Kurt Jaeger (pi) · 3.5.16_1
www/squid: Add all available official patches up to 14031

It fixes two annoying and long-standing problems:
- header forgery detection (using sslbump) leads to crash
- add chained certificates and signing certificate to
  peek-then-bumped connections.

PR:		207901
MFH:		2016Q2
Submitted by:	Pavel Timofeev <timp87@gmail.com> (maintainer)
Reported by:	Christophe Anselme-Moizan <christophe.anselmemoizan@orange.com>
8dc8527ccf