squid page manipulation

Scott Ullrich sullrich at gmail.com
Thu Aug 24 19:26:14 UTC 2006

On 8/24/06, Carlos Silva <security at yourdot-mail.com> wrote:
> Hi,
> Is that possible to manipulate a page that squid proxies?
> For example, in that page, there is an javascript alert(); function and
> i want to discard that so the browser doesn't see that.
> Basically, I want that squid change the HTML source codes from the pages
> that i download, with matching criterias.

Yes, this should be possible.   While this is not exactly what your
looking for it does modify the images mid-stream so it should be
possible to do the same for the HTML mid-flight.  Take a look at
http://www.ex-parrot.com/~pete/upside-down-ternet.html which is an
interesting idea.


More information about the freebsd-current mailing list