Skip to content

Commit

Permalink
daily
Browse files Browse the repository at this point in the history
  • Loading branch information
szepeviktor committed Jan 16, 2025
1 parent 0ffc953 commit 7f30316
Show file tree
Hide file tree
Showing 4 changed files with 15 additions and 2 deletions.
2 changes: 2 additions & 0 deletions .typos.toml
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@ extend-exclude = [
"mail/courier-pythonfilter/",
"mail/msglint/",
"mysql/mysqltuner/",
"repo/",
"webserver/server-configs-nginx/",
".git/",
"Intercom.md", # HU
Expand Down Expand Up @@ -32,6 +33,7 @@ extend-ignore-re = [
" ue End underlining",
"\\|ignor\\[ei\\]",
"nmap -n -Pn",
"vim:.*\\bnoet\\b",
]

[default.extend-words]
Expand Down
5 changes: 5 additions & 0 deletions monitoring/apache-4xx-report.sh
Original file line number Diff line number Diff line change
Expand Up @@ -173,6 +173,11 @@ done <<<"${APACHE_CONFIGS}" >"${LOG_EXCERPT}"
echo "Ignored: $(printf '%4d' "${COUNT}") × #${PATTERN}#"
done

# Summary
#Array_to_lines "${IGNORE_PATTERNS[@]}" \
# | grep --extended-regexp --invert-match --file=- "${LOG_EXCERPT}" \
# | sed -n -e 's#^\(\S\+:\).* \(".\+" [0-9]\+\) .*$#\1 \2#p' | sort | uniq -cd

Array_to_lines "${IGNORE_PATTERNS[@]}" \
| grep --extended-regexp --invert-match --file=- "${LOG_EXCERPT}" \
| dd iflag=fullblock bs=1M count=2 2>/dev/null
Expand Down
9 changes: 7 additions & 2 deletions security/myattackers-ipsets/ipset/datacamp.ipset
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,7 @@ add datacamp 64.137.61.0/24
#add datacamp 84.17.43.0/24
#add datacamp 103.47.54.0/24
#add datacamp 138.128.151.0/24
add datacamp 166.1.12.0/24
# IPXO / Invermae
add datacamp 185.240.120.0/23

Expand All @@ -28,6 +29,7 @@ add datacamp 193.218.190.0/24

# AS206092 - IPXO / SECFIREWALL / Internet Utilities Europe and Asia
add datacamp 37.140.223.0/24
add datacamp 194.195.91.0/24
# LAYERSWITCH
add datacamp 37.140.254.0/24
# Legaco, Panq
Expand Down Expand Up @@ -56,10 +58,10 @@ add datacamp 45.8.19.0/24
# VPN Consumer Washington DC
add datacamp 136.144.42.0/24

add datacamp 166.1.12.0/24
# AS7203 - Leaseweb USA
add datacamp 191.101.41.0/24

# AS42831 / Legaco
# AS42831 - Legaco
add datacamp 185.192.70.0/24

# AS137409 - Global Secure Layer
Expand All @@ -70,3 +72,6 @@ add datacamp 212.30.37.0/24
add datacamp 157.254.225.0/24

# AS202044 - Getechbrothers

# AS7018 - AT&T / Internet Utilities Europe and Asia / IPXO
add datacamp 88.209.255.0/24
1 change: 1 addition & 0 deletions webserver/Production-website.md
Original file line number Diff line number Diff line change
Expand Up @@ -439,6 +439,7 @@ tail -f /var/log/apache2/SITE_USER-error.log | sed -e 's|\\n|\n●|g'

### SEO

- Canonical URL-s, www/non-www/http/https redirection
- `blog_public` and robots.txt :snail:
- XML sitemaps linked from robots.txt :snail:
- Excluded pages: `noindex, nofollow` :snail:
Expand Down

0 comments on commit 7f30316

Please sign in to comment.