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

Squid disable multiple sessions

Scheduled Pinned Locked Moved Cache/Proxy
4 Posts 2 Posters 664 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.
  • A
    atn78
    last edited by Jun 23, 2020, 2:33 PM

    Hello, I want to set a server running pfsense with squid. I want to be sure that users aren't using the same login in different PCs or using proxy behind mine to permit access to more users than allowed.

    Thanks for helping.

    V 1 Reply Last reply Jun 23, 2020, 3:30 PM Reply Quote 0
    • V
      viktor_g Netgate @atn78
      last edited by Jun 23, 2020, 3:30 PM

      @atn78 use max_user_ip and authenticate_ip_ttl ACL options

      from http://www.squid-cache.org/Doc/config/acl/:

      acl aclname max_user_ip [-s] number
      # This will be matched when the user attempts to log in from more
      # than <number> different ip addresses. The authenticate_ip_ttl
      # parameter controls the timeout on the ip entries. [fast]
      # If -s is specified the limit is strict, denying browsing
      # from any further IP addresses until the ttl has expired. Without
      # -s Squid will just annoy the user by "randomly" denying requests.
      # (the counter is reset each time the limit is reached and a
      # request is denied)
      # NOTE: in acceleration mode or where there is mesh of child proxies,
      # clients may appear to come from multiple addresses if they are
      # going through proxy farms, so a limit of 1 may cause user problems.

      1 Reply Last reply Reply Quote 0
      • V
        viktor_g Netgate
        last edited by Jul 4, 2020, 5:27 AM

        https://redmine.pfsense.org/issues/10725

        1 Reply Last reply Reply Quote 1
        • A
          atn78
          last edited by Jul 4, 2020, 7:25 PM

          thanks @viktor_g

          1 Reply Last reply Reply Quote 0
          • First post
            Last post
          Copyright 2025 Rubicon Communications LLC (Netgate). All rights reserved.
            This community forum collects and processes your personal information.
            consent.not_received