Modify

Ticket #2000 (closed defect: fixed)

Opened 3 years ago

Last modified 5 months ago

Spaces in group names break Squid

Reported by: alemartini Owned by: javier.amor.garcia@…
Milestone: 2.2.X Component: users
Severity: normal Keywords: yNzclGBeCwT
Cc:

Description

If you have a group name with spaces on it, and then use that group in association with a filter profile for Squid / Dansguardian, then Squid won't start anymore after saving changes.

I suppose that this probably happens because squid doesn't allow objects with spaces in its ACLs.

Two possible solutions:

1) Do not allow entering group names with spaces in them 2) Allow spaces in group names, but do not allow to associate such a group to a filter profile. Or at least show a big, clear warninng explaining the implications.

This may seem as a minor issue, since it takes very little to an experienced sysadmin to figure what went wrong and correct it. However, users with less experience could completely break their proxies with just a small mistake.

Attachments

Change History

comment:1 Changed 3 years ago by javier.amor.garcia@…

  • Owner changed from jsalamero@… to javier.amor.garcia@…

Thanks a lot for you bug report. I will try to look the issue later on the day

comment:2 Changed 3 years ago by javier.amor.garcia@…

  • Status changed from new to closed
  • Resolution set to fixed

(In [18077]) NN: Fixed problem with whitespaces in users/groups/objects in squid configuration file closes #2000

comment:3 Changed 3 years ago by javier.amor.garcia@…

if you want to check te fix: 1) Downlaod the new version of squid.conf.mas ->  http://trac.ebox-platform.com/export/18077/trunk/client/squid/stubs/squid.conf.mas

2) Use it to replace /usr/share/ebox/stubs/squid/squid.conf.mas (I suggest you back up the fiel first)

3) restart hTTP module '/etc/init.d/ebox squdi restart'

comment:4 Changed 3 years ago by javier.amor.garcia@…

Related bug -> #2005

comment:5 Changed 3 years ago by javier.amor.garcia@…

(In [18228]) BP: fixed problems with ACL names: abreviatted names for names too long and fixed some leftover of whitespace bug closes #2005 refs #2000

comment:6 Changed 5 months ago by Chistina

  • Keywords yNzclGBeCwT added
  • Milestone set to 2.2.X

This makes eveyrtihng so completely painless.

View

Add a comment

Modify Ticket

Change Properties
<Author field>
Action
as closed
The resolution will be deleted. Next status will be 'reopened'
Author


E-mail address and user name can be saved in the Preferences.

 
Note: See TracTickets for help on using tickets.