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

    Squid - Is it possible to log only a specific client ip address?

    Scheduled Pinned Locked Moved pfSense Packages
    2 Posts 2 Posters 1.3k 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
      meymona
      last edited by

      I agreed to sharing my Internet access with my neighbour for the next three months. For legal reasons I told him not to download illegal files and he agreed to that. In order to be ceratain, he is sticking to our agreement, I told him I would log all data and he agreed to that, too.

      I installed squid and activated logging. In order to save the flashdrive's endurance, pfsene is running on, I would like to log only traffic generated by his Ip-Address. Is that possible?

      As an alternative: Is there any wiki howto send all logfiles to syslog? In that case I could use a different syslog server….

      1 Reply Last reply Reply Quote 0
      • jimpJ
        jimp Rebel Alliance Developer Netgate
        last edited by

        You could disable the main transparent mode checkbox, and craft your own NAT rule to send only his specific IP into the proxy.

        Though you must keep in mind that when working in transparent mode you will not see HTTPS traffic, and also that only tracks web access, it does not track anything else such as torrents, ftp, tor, and so on.

        Remember: Upvote with the 👍 button for any user/post you find to be helpful, informative, or deserving of recognition!

        Need help fast? Netgate Global Support!

        Do not Chat/PM for help!

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