[Bug 292200] www/squid version 7.3_1 with '--enable-eui' option crashed

From: <bugzilla-noreply_at_freebsd.org>
Date: Tue, 06 Jan 2026 05:06:40 UTC
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=292200

--- Comment #8 from Bekzod Alimov <bekmail@gmail.com> ---
I applied the patch and it works. Thank you.

root@sam:/usr/ports# patch -p1 < ~/squid_arp_fix_7.3.patch
Hmm...  Looks like a unified diff to me...
The text leading up to this was:
--------------------------
|From b2f1f0a5ff2629b4b39dac85653980cd885f05e5 Mon Sep 17 00:00:00 2001
|From: Pavel Timofeev <timp87@gmail.com>
|Date: Mon, 5 Jan 2026 15:11:51 -0700
|Subject: [PATCH] www/squid: fix ARP_ACL option build
|
|---
| www/squid/Makefile              |  2 +-
| www/squid/files/patch-configure | 42 +++++++++++++++++++++++----------
| 2 files changed, 30 insertions(+), 14 deletions(-)
|
|diff --git a/www/squid/Makefile b/www/squid/Makefile
|index 52ab01d14cf4..253b7c629874 100644
|--- a/www/squid/Makefile
|+++ b/www/squid/Makefile
--------------------------
Patching file www/squid/Makefile using Plan A...
Hunk #1 succeeded at 1.
Hmm...  The next patch looks like a unified diff to me...
The text leading up to this was:
--------------------------
|diff --git a/www/squid/files/patch-configure b/www/squid/files/patch-configure
|index f87538d28673..029b914fd6be 100644
|--- a/www/squid/files/patch-configure
|+++ b/www/squid/files/patch-configure
--------------------------
Patching file www/squid/files/patch-configure using Plan A...
Hunk #1 succeeded at 1.
Hunk #2 succeeded at 35.
Hunk #3 succeeded at 45.
Hunk #4 succeeded at 55.
Hunk #5 succeeded at 65.
Hunk #6 succeeded at 75.
Hunk #7 succeeded at 94.
Hunk #8 succeeded at 104.
Hunk #9 succeeded at 114.
Hunk #10 succeeded at 124.
Hunk #11 succeeded at 134.
Hunk #12 succeeded at 143.
Hunk #13 succeeded at 151.
Hmm...  Ignoring the trailing garbage.
done

root@sam:/usr/ports/www/squid# make clean
===>  Cleaning for squid-7.3_2

root@sam:/usr/ports/www/squid# make deinstall
===>  Deinstalling for squid
===>   Deinstalling squid-7.3_1
Updating database digests format: 100%
Checking integrity... done (0 conflicting)
Deinstallation has been requested for the following 1 packages (of 0 packages
in the universe):

Installed packages to be REMOVED:
        squid: 7.3_1

Number of packages to be removed: 1

The operation will free 8 MiB.
[1/1] Deinstalling squid-7.3_1...
[1/1] Deleting files for squid-7.3_1: 100%
==> You should manually remove the "squid" user
==> You should manually remove the "squid" group
You may need to manually remove /usr/local/etc/squid/squid.conf if it is no
longer needed.

root@sam:/usr/ports/www/squid# make install

root@sam:/usr/ports/www/squid# squid -k parse
2026/01/06 10:02:55| Processing Configuration File:
/usr/local/etc/squid/squid.conf (depth 0)
2026/01/06 10:02:55| Processing: acl localnet src 0.0.0.1-0.255.255.255 # RFC
1122 "this" network (LAN)
2026/01/06 10:02:55| Processing: acl localnet src 10.0.0.0/8            # RFC
1918 local private network (LAN)
2026/01/06 10:02:55| Processing: acl localnet src 100.64.0.0/10         # RFC
6598 shared address space (CGN)
2026/01/06 10:02:55| Processing: acl localnet src 169.254.0.0/16        # RFC
3927 link-local (directly plugged) machines
2026/01/06 10:02:55| Processing: acl localnet src 172.16.0.0/12         # RFC
1918 local private network (LAN)
2026/01/06 10:02:55| Processing: acl localnet src 192.168.0.0/16               
# RFC 1918 local private network (LAN)
2026/01/06 10:02:55| Processing: acl localnet src fc00::/7              # RFC
4193 local private network range
2026/01/06 10:02:55| Processing: acl localnet src fe80::/10             # RFC
4291 link-local (directly plugged) machines
2026/01/06 10:02:55| Processing: acl SSL_ports port 443
2026/01/06 10:02:55| Processing: acl Safe_ports port 80         # http
2026/01/06 10:02:55| Processing: acl Safe_ports port 21         # ftp
2026/01/06 10:02:55| Processing: acl Safe_ports port 443                # https
2026/01/06 10:02:55| Processing: acl Safe_ports port 70         # gopher
2026/01/06 10:02:55| Processing: acl Safe_ports port 210                # wais
2026/01/06 10:02:55| Processing: acl Safe_ports port 1025-65535 # unregistered
ports
2026/01/06 10:02:55| Processing: acl Safe_ports port 280                #
http-mgmt
2026/01/06 10:02:55| Processing: acl Safe_ports port 488                #
gss-http
2026/01/06 10:02:55| Processing: acl Safe_ports port 591                #
filemaker
2026/01/06 10:02:55| Processing: acl Safe_ports port 777                #
multiling http
2026/01/06 10:02:55| Processing: acl macl arp 08:00:27:99:18:83
2026/01/06 10:02:55| Processing: http_access deny !Safe_ports
2026/01/06 10:02:55| Processing: http_access deny CONNECT !SSL_ports
2026/01/06 10:02:55| Processing: http_access allow localhost manager
2026/01/06 10:02:55| Processing: http_access deny manager
2026/01/06 10:02:55| Processing: http_access allow localhost
2026/01/06 10:02:55| Processing: http_access deny to_localhost
2026/01/06 10:02:55| Processing: http_access deny to_linklocal
2026/01/06 10:02:55| Processing: http_access allow macl
2026/01/06 10:02:55| Processing: http_access deny all
2026/01/06 10:02:55| Processing: http_port 3128
2026/01/06 10:02:55| Processing: coredump_dir /var/squid/cache
2026/01/06 10:02:55| Processing: refresh_pattern ^ftp:          1440    20%    
10080
2026/01/06 10:02:55| Processing: refresh_pattern -i (/cgi-bin/|\?) 0    0%     
0
2026/01/06 10:02:55| Processing: refresh_pattern .              0       20%    
4320
2026/01/06 10:02:55| Requiring client certificates.

-- 
You are receiving this mail because:
You are the assignee for the bug.