Squid with LigthSqiud reporting



  • Hi

    i have installed LigthSquid and it partly working.
    0_1544794351327_8592f924-7562-466c-a0ca-a37f982383e9-image.png

    My DHCP has some static IP and dynamik in rage 100-255
    The question is that my static, in range 2-99 is not logged, or it is not showing on the LigthSquid report.

    Something i have misunderstood?

    I used this guide in some parts of setup
    Youtube Video



  • Are they even using the proxy at all? Lightsquid builds its reports based on the squid access.log file. Are you using transparent or explicit proxy? If transparent, check Services - Squid proxy server - General - Transparent Proxy Settings - Bypass Proxy for These Source IPs and see if there is anything there.



  • @kom said in Squid with LigthSqiud reporting:

    pass Proxy for These Source IP

    Nothing there

    0_1544803314270_1488c3e6-d2af-4604-8243-1ff83cd3ca74-image.png



  • Well, once you answer my question about which mode your proxy is running in and confirmation that the missing users are definitely using the proxy or not, I might be able to come up with other ideas.



  • @kom
    Thanks for helping me.

    Transparent HTTP Proxy is enebled

    SSL filtering disabled

    0_1544808798874_6eda7ee3-d2a0-4cf5-853c-5f1b945e33fe-image.png

    0_1544808903555_0353fe58-8ab5-4bab-8e14-02c9fc036ec0-image.png

    I also experience that log dont change:

    0_1544808976231_8d399c2a-8eb4-4379-829f-c3eb63ce8650-image.png

    The Sum Bytes are the same now as for 5 h ago



  • If you look at the squid access.log yourself, do you see any entries from IP addresses that are supposed to be in the report but aren't?



  • @kom
    I have a static ip on 192.168.0.50 that is not showing in log (a online smart house controller).

    DHCP range is from 192.168.0.100 -.200

    I only find log entries from DHCP range, no ip's under .100

    So i guess that range outide DHCP is not catched.



  • Which means they aren't using the proxy. Is it possible that those devices are using a different gateway? pfSense can only transparently capture traffic that passes through it.



  • Thanks for answer KOM.

    Static IP use the same gateway, and I have only one defined in System->Routing

    My conclusion so far is that IP's outside DHCP range are not captured (and static IP must be outside DHCP range).

    I think this is something that is not the intension for makers of Squid, so there must be an answer someware. The idea to monitor traffic and not messure static IP is not best practise :

    Anybody who have a indea for next step in this riddle?



  • And now its fun
    I switched on a pc with static IP and guess....:

    0_1544870306406_0e0ad24c-2c44-4e81-8c4e-82a97e62df99-image.png

    .16 ip is in log. and .16 is static

    I have many static, this is the only one in 3 days...

    Any new ideas?



  • Nope. Borked configuration maybe? I stopped using transparent years ago and switched to explicit + WPAD.



  • Hi

    In my LigthSquid logs I only get http:// entries:

    0_1545989957321_5b857bec-b09c-4a8d-ad49-a8b80cabd33d-image.png

    Is this an expected behaviour, not logging all types of access, like https?



  • You won't get ANY https traffic in transparent mode unless you install a trusted cert on every single last client that will use your proxy.


Log in to reply