M
M
Mark Doe2016-09-08 02:04:24
Squid
Mark Doe, 2016-09-08 02:04:24

How to modify traffic in a corporate network?

Greetings!
There is a small building. network (about 20 clients), there was a task to embed arbitrary html into a list of 5-7 sites (a small block with text)
The task is as follows:
- All clients access the Internet via squid + sslbump, certificates are created and installed in trusted authorities, which include logs requests
- You can set it up as you like, but it is desirable to minimally touch client machines (for obvious reasons)
Are there any ready-made solutions for injecting html code through squid? In which direction to dig?
Thanks in advance for your reply

Answer the question

In order to leave comments, you need to log in

3 answer(s)
E
Eugene, 2016-09-08
@mourr

Did a similar task. Only there was a redirect to the page (for a number of sites), where it was possible, after reading, to go further (or refuse).
Implemented was squid + squidguard (possible without it) + self-written python rewriter and a little shamanism.

D
Dmitry Shitskov, 2016-09-08
@Zarom

On squid, I didn't manage to do that in due time. I had to use privoxy, which can modify the content.

A
alexdob, 2016-09-08
@alexdob

the most correct thing to look at is ICAP.. less correct - ACL.. and not at all correct - code hack. in general, the recipe with ICAP is simple - we raise the server, write the signature, modify it in the right direction.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question