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

    lightsquid report filtering

    Scheduled Pinned Locked Moved Cache/Proxy
    5 Posts 3 Posters 610 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.
    • M
      mauricio2669
      last edited by

      Hello everyone, continuing with my project. I managed to configure squid as non-transparent (as proof). It works perfectly!

      I installed lightsquid and SARG to evaluate the reports generated. I get something similar to this:
      ** r2---sn-x1x7zn7s.c.2mdn.net:443 1 864 017 64.2 M 1.0%
      12 static.clarin.com:443 7 859 585 65.1 M 1.0%
      13 arc-anglerfish-arc2-prod-infobae.s3.amazonaws.com:443 1 728 070 65.8 M 0.8%
      14 d3nn82uaxijpm6.cloudfront.net:443 6 573 861 66.3 M 0.6%
      15 www.cadena3.com.ar 3 547 366 66.8 M 0.6%
      16 securepubads.g.doubleclick.net:443 13 533 625 67.3 M 0.6%
      17 cdn.lavoz.com.ar:443 12 516 833 67.8 M 0.6%
      18 use.fontawesome.com:443 4 498 180 68.3 M 0.5%
      19 a.teads.tv:443**
      The report is for management areas, which are interested in accessed sites, and browsing time. So you would need to report the accessed site and filter URL with advertising and other cache

      Has anyone succeeded in putting together something similar?

      1 Reply Last reply Reply Quote 0
      • KOMK
        KOM
        last edited by KOM

        I think Lightsquid does all of that. Sarg is no longer a package and hasn't been for some time so I have no comment on that. IIRC Lightsquid will tell you bytes transferred and time of day it was requested for each hour, but I don't think it tells you exactly how long they were on a site because that's hard if not impossible to figure out.

        W M 2 Replies Last reply Reply Quote 0
        • W
          WD_Doug @KOM
          last edited by

          @KOM Is it possible in LightSquid, in the Squid User Access Report to display a logged in user name from the captive portal, via the user logging in with their account created under the user manager?

          I get an IP address for user, and then a "?" for real name. Is there a way to populate the user field with the actual logged in username and not the IP address?

          1 Reply Last reply Reply Quote 0
          • M
            mauricio2669 @KOM
            last edited by

            @KOM thanks for answering!

            Ok I understand that it is difficult to know exactly how long a user has a focus on a browser or specific website.
            Lightsquid already works for me, is there any way to filter that report? For example, just show sites that start with * www. *. * ??

            I think that would be very useful with that

            regards!

            1 Reply Last reply Reply Quote 0
            • KOMK
              KOM
              last edited by

              @WD_Doug If none of the stock methods for reporting the user work for that, then you're going to have to hack something up. These might be useful:

              http://lightsquid.sourceforge.net/How%20It%20Work.html

              https://forum.netgate.com/topic/88886/lightsquid-not-showing-users/7

              @mauricio2669 Not really, and even the report itself is built on the fly from several pieces so it's not easy to parse yourself.

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