M
M
Maxim2014-12-25 09:46:06
linux
Maxim, 2014-12-25 09:46:06

How to redirect every half hour in squid?

It is necessary that every half hour the user, when entering any site, my page with advertising is shown, for example.
How to implement it?

Answer the question

In order to leave comments, you need to log in

2 answer(s)
A
Armenian Radio, 2014-12-25
@maxpointn2point

squid has the necessary functionality - squid_session .

S
Sergey Petrikov, 2014-12-25
@RicoX

It is driven by a firewall and a script. We create a separate table on the firewall, for which we write a rule for redirecting all requests to port 80 to the desired page, using the script we get a table of all users and those who have viewed the page, and throw out those who have already looked at the last half an hour from the redirect table. You can't do this with just one proxy, you need a complex system, from ready-made solutions there is pfSense with similar functionality, and easyhotspot, if sclerosis doesn't change me, it can do this.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question