Proxy Guard

Bash skripty
User avatar
Ashus
Administrátor
Posts: 417
Joined: 07. 07. 2007 10:51
Location: Ostrava - Polanka nad Odrou
Contact:

Proxy Guard

Postby Ashus » 17. 08. 2007 14:35

Bash script, that guards the availability or functionality of more cascaded proxy servers in your network and switches trough them to minimize drop-out times. The result is squid.conf, re-applied immediately after change.

Use cron to execute this script regularly (each 3-10 minutes, depends on how quickly you want your clients happy).

Two modes are available: automatic and manual - automatics act according to custom settings and switches the cascaded proxy server by priorities of your servers, if the server above in the list doesn't work. Manual settings blocks the automatics and sets an uplink of your choice.

Furthermore, to test the functionality of the proxy, the script uses links (text web browser), or availability of the site by pinging. Each has its pros and cons: checking functionality - finds out practical real functionality, but is dependant on a website; availability - lesser data rate, but server can be available without working proxy service.
Attachments
proxy_guard.rar
(1.52 KiB) Downloaded 59 times
Image
Coffee phreak!
Donatosdog
Posts: 3
Joined: 21. 07. 2018 21:49

Proxy Guard

Postby Donatosdog » 08. 08. 2018 16:24

Its in one of the proxy threads. I cant find it at the moment but Ill dig it out in short order 5 says it was L4, that dude has one of everything

Who is online

Users browsing this forum: No registered users and 0 guests

cron