<?xml version="1.0" encoding="UTF-8"?><rss xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:atom="http://www.w3.org/2005/Atom" version="2.0"><channel><title><![CDATA[Fix: squidguard and hostnames]]></title><description><![CDATA[<p dir="auto">Hi all,</p>
<p dir="auto">I'm pretty new to pfsense, but I love it already!</p>
<p dir="auto">I was trying to restrict my users by hostname since we use DHCP quite a bit here.  Turns out it doesn't work out-of-the box with version 1.4_2 v.1.9</p>
<p dir="auto">I had to change the following:</p>
<p dir="auto">in /usr/local/pkg/squidguard_configurator.inc</p>
<p dir="auto">Line 858 changes from:</p>
<p dir="auto">elseif (is_domain_valid($sr)) $sg_tag-&gt;items[] = "domain $sr";</p>
<p dir="auto">to:</p>
<p dir="auto">elseif (is_domain_valid($sr)) $sg_tag-&gt;items[] = "srcdomain $sr";</p>
<p dir="auto">I don't know if this breaks "whole domain" ACLs, but it works for what we need.</p>
<p dir="auto">I hope others will find this useful!</p>
]]></description><link>https://forum.netgate.com/topic/38808/fix-squidguard-and-hostnames</link><generator>RSS for Node</generator><lastBuildDate>Wed, 18 Nov 2026 15:14:08 GMT</lastBuildDate><atom:link href="https://forum.netgate.com/topic/38808.rss" rel="self" type="application/rss+xml"/><pubDate>Wed, 02 Nov 2011 21:08:19 GMT</pubDate><ttl>60</ttl></channel></rss>