Http traffic manipulation
-
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 -
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 -
Actually, this is hilarious! Thank you very much for the squid advice as well. I'll look into it!