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

    Logging all URL access

    Scheduled Pinned Locked Moved General pfSense Questions
    2 Posts 2 Posters 1.5k 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.
    • J
      jdejong
      last edited by

      I have a client who is looking to log all HTTP traffic in a rolling log (ie. 3 months of logs, one log for each day). This is for a condo community that is offering wired/wireless interent to all people in the community. There biggest worry is getting a DMCA request or someone doing something illegal. I know squid can do this but I am worried about performance as well as being able to log everything i need (MAC, IP, Date/Time, URL).

      Let me know your thoughts. Thanks!

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

        The only way to do this would be with a proxy of some kind. Squid would work for HTTP transparently, but not HTTPS. If you want to do that, the clients would have to either hardcode the proxy settings or you could setup WPAD and they can use proxy autoconfigure.

        Even squid won't get the MAC address, though, just IP, date/time, and URL.

        Even if you could write some sort of DPI tool that would log URLs, it would still only work for HTTP.

        Another way around this is to give all your clients public IP addresses (which may not be feasible), and then just keep a record of who was assigned which public IP when (PPPoE would help you here, if you forced auth).

        Squid shouldn't be too bad performance-wise if you don't really have it caching, just logging.

        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.