[squid-dev] Injecting custom JavaScript
Kinkie
gkinkie at gmail.com
Thu Jun 18 12:04:48 UTC 2015
Hi,
in order to do what you aim for you can either use an (externa) ICAP
service or an eCap adaptor (http://www.e-cap.org/).
On Thu, Jun 18, 2015 at 1:42 PM, James Hunter
<james.hunter at jartechnologies.com> wrote:
> Hi,
>
> I've been looking to inject special JavaScript code into every HTML page my
> squid proxy receives via HTTPS connections, this is for an application where
> the users will be fully aware of the injection.
>
> I've correctly configured Squid to do the SSL Bump, having verified in
> WireShark that the two sides are communicating via separate connections.
>
> Can someone point out where the plain HTTP / TCP request flows through
> squid, after it's deciphered by one side - but before it's encrypted for the
> other? I want to scan the buffer's to find any <BODY> tags and ensure that
> the script is inserted.
>
> Many thanks,
>
> James
> _______________________________________________
> squid-dev mailing list
> squid-dev at lists.squid-cache.org
> http://lists.squid-cache.org/listinfo/squid-dev
--
Francesco
More information about the squid-dev
mailing list