Closed pmjdebruijn closed 13 years ago
Could you show your config (without key)
Sure... heh... Actually that URL already has my key in it :(
black-hash-file = /var/cache/squid-gsb/black-hash.dat malware-hash-file = /var/cache/squid-gsb/malware-hash.dat debug = 0 black-url = http://sb.google.com/safebrowsing/update?client=api&apikey=ABQIAAAAJmX7OrvGHaY_K5aehGqz5BRV_RVr3hQ1O0b_lkPpH_yKwLn0_Q&version=goog-black-hash:1:-1 malware-url = http://sb.google.com/safebrowsing/update?client=api&apikey=ABQIAAAAJmX7OrvGHaY_K5aehGqz5BRV_RVr3hQ1O0b_lkPpH_yKwLn0_Q&version=goog-malware-hash:1:-1
in the black-url & malware-url you need to specify URL of your pages that will display notice to user... For example, on some of your internal servers, that is accessible for all users
api key should be specified in key setting, and corresponding URLs are generated automatically
I'm closing it, because this is not a real issue, just a configuration problem
Doh, that's a bit embarressing :(
I assumed google had some standard pages for this...
no, it's completely up to you, which pages will shown on blocking...
You can setup some web server (like nginx, or lighttpd) to serve these pages on the same machine where squid is installed
It seems Squid-GSB is redirecting to a "wrong" URL whenever it encounters a bad page:
http://sb.google.com/safebrowsing/update?client=api&apikey=ABQIAAAAJmX7OrvGHaY_K5aehGqz5BRV_RVr3hQ1O0b_lkPpH_yKwLn0_Q&version=goog-black-hash:1:-1
This actually leads to a page where the hashlist is downloaded, so I don't think users should be redirected there...