Menu

Show posts

This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.

Show posts Menu

Messages - jkellerer

#1
Had it as well, used the following as a quick fix (reinstall would probably also fix it, haven't tried):


curl -sL 'https://raw.githubusercontent.com/opnsense/ports/master/www/squid/files/squid.in' \
  | sed 's|%%PREFIX%%|/usr/local|g' \
  > /usr/local/etc/rc.d/squid \
  && chmod +x /usr/local/etc/rc.d/squid

#2
Had the issue today as well after modifying policies. Added a "%" in the policy description and this broke regeneration of rules. Removing "%" fixed it.

Since sqlite is used in the backend, I assume the policy descriptions are not properly escaped and can break SQL statements if certain characters are used. It may not be the only reason for this error but it is one possible cause.