Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5

Proxy Guard

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.

Attached Files
.rar proxy_guard.rar Size: 1,52 KB  Downloads: 504

[Image: kavove-zrnka-lajna.jpg]
Coffee phreak!

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

Users browsing this thread: 1 Guest(s)