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

    Http traffic manipulation

    Scheduled Pinned Locked Moved General pfSense Questions
    3 Posts 2 Posters 1.6k 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.
    • S Offline
      stream
      last edited by

      Hello everyone!

      At the moment I am looking at getting into development, as I require a certain functionality from pfSense.
      Since it is FreeBSD-based, would it be possible to implement a function that intercepts all HTTP traffic (unencrypted) and manipulates it in a certain way?

      The situation is, I have a hotspot, and it would be nice to display a small counter at the top of every requested page (by inserting the html code into the HTTP stream. Is it physycally possible? I know it might not be the best place to ask this question, but is it something that can be done?

      Thank you, and sorry if it's the wrong place to ask!

      Best regards,
      Tony

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

        It's possible with squid, though I wouldn't recommend it.

        For a funny take on this kind of scenario, check this out:
        http://www.ex-parrot.com/pete/upside-down-ternet.html

        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
        • S Offline
          stream
          last edited by

          Actually, this is hilarious! Thank you very much for the squid advice as well. I'll look into it!

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