info 404s
This commit is contained in:
parent
c4541b38d3
commit
f936a4cae9
2
main.go
2
main.go
|
@ -90,7 +90,7 @@ func filter(res http.ResponseWriter, req *http.Request, listenPort, proxyPort in
|
||||||
return
|
return
|
||||||
}
|
}
|
||||||
|
|
||||||
log.Debugf("different IP in the last %v minutes, 404ing\n", SameCookieTimeLimitMins)
|
log.Infof("different IP in the last %v minutes, 404ing\n", SameCookieTimeLimitMins)
|
||||||
res.WriteHeader(http.StatusNotFound)
|
res.WriteHeader(http.StatusNotFound)
|
||||||
fmt.Fprint(res, "404 - suspected botnet")
|
fmt.Fprint(res, "404 - suspected botnet")
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue