Netgate Discussion Forum
    • Categories
    • Recent
    • Tags
    • Popular
    • Users
    • Search
    • Register
    • Login

    Squid "dotted" usernames

    Scheduled Pinned Locked Moved pfSense Packages
    6 Posts 3 Posters 2.2k Views
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • X Offline
      XZed
      last edited by

      Hello,

      I have a very old (but still running  ;D) squid/squidguard server and want to port it to a new pfsense server.

      But i noticed a "bug" :

      All the usernames have the following syntax :

      first name frst letter + "." + last name

      e.g. : "John Smith" : j.smith

      But, when i fill squiguard acl with this syntax, it refuses my syntax…

      Let me give an example :

      User : j.smith

      filled like that : ACL is accepted but doesn't work...

      Indeed : when testing squidguard allowed/denied websites, squidguard didn't consider the ACL to which username is allocated...

      SquidGuard seems to consider that j.smith is a domain or something like that and doesn't consider it like a username....

      When i try to put j.smith between quotes ( 'j.smith' ), the webgui doesn't accept it...

      The only solution i found was : convert each username to "dotless" syntax...

      So i would like to know several things :

      1. Is there any solution to my "dotted" usernames ?

      2. Why webgui doesn't accept this syntax ? Does my "domainname-like" suggestion is right ?

      3. I read some posts about "userlist" : in fact, i also have userlists in my previous squid condig but i didn't figure how to setup it in pfSense : i read many setup *.inc files but without success...

      Thank you for all your help,

      Sincerely,

      1 Reply Last reply Reply Quote 0
      • M Offline
        mhab12
        last edited by

        Does Squid parse regex in the usernames?  Try a leading forward slash which would tell the system not to do anything with the period, just leave it alone…

        i.e. j/.smith

        1 Reply Last reply Reply Quote 0
        • D Offline
          danswartz
          last edited by

          Isn't that a backslash?

          1 Reply Last reply Reply Quote 0
          • X Offline
            XZed
            last edited by

            I will try it tomorrow !

            Thank you very much, i'll feedback tomorrow !

            Sincerely,

            1 Reply Last reply Reply Quote 0
            • X Offline
              XZed
              last edited by

              Unfortunately, ACL don't accept "/" or "" characters  :(

              (I even tried to create squid users with this chartacters and then put "j.smith" on ACL… no way... because, in this conditions squid auth waits until the slash characters are filled in login box)

              Thanks  :(

              1 Reply Last reply Reply Quote 0
              • X Offline
                XZed
                last edited by

                I finally setup all usernames without special characters…

                Thanks for your help.

                1 Reply Last reply Reply Quote 0
                • First post
                  Last post
                Copyright 2025 Rubicon Communications LLC (Netgate). All rights reserved.