mirror of
https://github.com/alanorth/cgspace-notes.git
synced 2025-01-27 05:49:12 +01:00
Update notes for 2024-01-07
This commit is contained in:
@ -67,5 +67,43 @@ stream {
|
||||
- I noticed tons of logs from pm2 in the systemd journal, so I disabled those in the systemd unit because they are available from pm2's log directory anyway
|
||||
- I also noticed the same for Solr, so I disabled stdout for that systemd unit as well
|
||||
- I spent a lot of time bringing back the nginx rate limits we used in DSpace 6 and it seems to have helped
|
||||
- I see some client doing weird HEAD requests to search pages:
|
||||
|
||||
```
|
||||
47.76.35.19 - - [07/Jan/2024:00:00:02 +0100] "HEAD /search/?f.accessRights=Open+Access%2Cequals&f.actionArea=Resilient+Agrifood+Systems%2Cequals&f.author=Burkart%2C+Stefan%2Cequals&f.country=Kenya%2Cequals&f.impactArea=Climate+adaptation+and+mitigation%2Cequals&f.itemtype=Brief%2Cequals&f.publisher=CGIAR+System+Organization%2Cequals&f.region=Asia%2Cequals&f.sdg=SDG+12+-+Responsible+consumption+and+production%2Cequals&f.sponsorship=CGIAR+Trust+Fund%2Cequals&f.subject=environmental+factors%2Cequals&spc.page=1 HTTP/1.1" 499 0 "-" "Mozilla/5.0 (Windows NT 6.1; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/74.0.2504.63 Safari/537.36"
|
||||
```
|
||||
|
||||
- I will add their network blocks (AS45102) and regenerate my list of bot networks:
|
||||
|
||||
```console
|
||||
$ wget https://asn.ipinfo.app/api/text/list/AS16276 \
|
||||
https://asn.ipinfo.app/api/text/list/AS23576 \
|
||||
https://asn.ipinfo.app/api/text/list/AS24940 \
|
||||
https://asn.ipinfo.app/api/text/list/AS13238 \
|
||||
https://asn.ipinfo.app/api/text/list/AS14061 \
|
||||
https://asn.ipinfo.app/api/text/list/AS12876 \
|
||||
https://asn.ipinfo.app/api/text/list/AS55286 \
|
||||
https://asn.ipinfo.app/api/text/list/AS203020 \
|
||||
https://asn.ipinfo.app/api/text/list/AS204287 \
|
||||
https://asn.ipinfo.app/api/text/list/AS50245 \
|
||||
https://asn.ipinfo.app/api/text/list/AS6939 \
|
||||
https://asn.ipinfo.app/api/text/list/AS45102 \
|
||||
https://asn.ipinfo.app/api/text/list/AS21859
|
||||
$ cat AS* | sort | uniq | wc -l
|
||||
4897
|
||||
$ cat AS* | ~/go/bin/mapcidr -a > /tmp/networks.txt
|
||||
$ wc -l /tmp/networks.txt
|
||||
2017 /tmp/networks.txt
|
||||
```
|
||||
|
||||
- I'm surprised to see the number of networks reduced from my current ones... hmmm.
|
||||
- I will also update my list of Bing networks:
|
||||
|
||||
```console
|
||||
$ ./ilri/bing-networks-to-ips.sh
|
||||
$ ~/go/bin/mapcidr -a < /tmp/bing-ips.txt > /tmp/bing-networks.txt
|
||||
$ wc -l /tmp/bing-networks.txt
|
||||
250 /tmp/bing-networks.txt
|
||||
```
|
||||
|
||||
<!-- vim: set sw=2 ts=2: -->
|
||||
|
Reference in New Issue
Block a user