Friday, September 28th, 2007
Scaffolding is dangerous!
Yet another lesson learned the hard way. All the FFL points went a bit wonky. when i investigated, it seems a bunch of stats had been deleted. I did a count(*) on the stats table, then again a few minutes later and there was one less. A dig around the raw access logs………
66.249.65.179 - - [27/Sep/2007:12:15:00 +0100] “GET /stats/delete/1049 HTTP/1.1″ 302 5 “-” “Mozilla/5.0 (compatible; Googlebot/2.1; +http://www.google.com/bot.html)”66..249.65.179 - - [27/Sep/2007:12:17:16 +0100] “GET /stats/delete/1055 HTTP/1.1″ 302 5 “-” “Mozilla/5.0 (compatible; Googlebot/2.1; +http://www.google.com/bot.html)”
66.249.65.179 - - [27/Sep/2007:12:20:27 +0100] “GET /stats/delete/1112 HTTP/1.1″ 302 5 “-” “Mozilla/5.0 (compatible; Googlebot/2.1; +http://www.google.com/bot.html)”
66.249.65.179 - - [27/Sep/2007:12:25:59 +0100] “GET /stats/delete/1110 HTTP/1.1″ 302 5 “-” “Mozilla/5.0 (compatible; Googlebot/2.1; +http://www.google.com/bot.html)”
66.249.65.179 - - [27/Sep/2007:12:26:00 +0100] “GET /stats/delete/1915 HTTP/1.1″ 302 5 “-” “Mozilla/5.0 (compatible; Googlebot/2.1; +http://www.google.com/bot.html)”
66.249.65.179 - - [27/Sep/2007:12:34:29 +0100] “GET /stats/delete/1050 HTTP/1.1″ 302 5 “-” “Mozilla/5.0 (compatible; Googlebot/2.1; +http://www.google.com/bot.html)”
somehow Google had come across a scaffolded controller with delete links etc…. the Googlebot then decided to just hitting away at those links… every couple of minutes…. for the last 24 hours….
Reported in a Cake trac ticket - although it’s not really a bug with Cake, but beware!






