Add notes for 2017-08-12

This commit is contained in:
2017-08-12 18:32:45 +03:00
parent fcd67161f4
commit 7d675f93f8
3 changed files with 50 additions and 8 deletions

View File

@ -94,3 +94,24 @@ dspace#= \copy (select distinct text_value, count(*) from metadatavalue where me
## 2017-08-12
- I sent a message to the mailing list about the duplicate content issue with `/rest` and `/bitstream` URLs
- Looking at the logs for the REST API on `/rest`, it looks like there is someone hammering doing testing or something on it...
```
# awk '{print $1}' /var/log/nginx/rest.log.1 | sort -n | uniq -c | sort -h | tail -n 5
140 66.249.66.91
404 66.249.66.90
1479 50.116.102.77
9794 45.5.184.196
85736 70.32.83.92
```
- The top offender is 70.32.83.92 which is actually the same IP as ccafs.cgiar.org, so I will email the Macaroni Bros to see if they can test on DSpace Test instead
- I've enabled logging of `/oai` requests on nginx as well so we can potentially determine bad actors here (also to see if anyone is actually using OAI!)
```
# log oai requests
location /oai {
access_log /var/log/nginx/oai.log;
proxy_pass http://tomcat_http;
}
```