Skip to content

Commit 7699627

Browse files
committed
daily
1 parent c0d74c7 commit 7699627

3 files changed

Lines changed: 23 additions & 3 deletions

File tree

security/myattackers-ipsets/ipset/bucklog.ipset

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
# AS211590 - Bucklog
22
#: ipset -exist restore <ipset/bucklog.ipset
33
#: iptables -w -I myattackers-ipset -m set --match-set bucklog src -j REJECT
4-
create bucklog hash:net family inet hashsize 64 maxelem 64
4+
create bucklog hash:net family inet hashsize 64 maxelem 32
55
flush bucklog
66
#add bucklog 170.39.217.0/24
77
# FBW NETWORKS

webserver/apache-sites-available/Skeleton-site-ssl.conf

Lines changed: 13 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -154,6 +154,9 @@
154154
# Deny requests for JavaScript and CSS .map files
155155
RewriteRule "\.map$" - [R=404,END]
156156

157+
# Unknown file for Facebook
158+
RewriteRule "^/meta\.json$" - [R=204,END]
159+
157160
# Canonical redirect
158161
RewriteCond "%{HTTP_HOST}" "!=${SITE_DOMAIN}"
159162
RewriteRule "^" "%{REQUEST_SCHEME}://${SITE_DOMAIN}%{REQUEST_URI}" [R=permanent,END]
@@ -169,9 +172,17 @@
169172
#RewriteCond "%{REQUEST_FILENAME}" !-f
170173
#RewriteRule "^(.+)\.\d\d+\.(bmp|css|cur|gif|ico|jpe?g|js|png|svgz?|webp|webmanifest|eot|otf|ttf|woff|woff2)$" "/$1.$2"
171174

172-
## Missing images
175+
## Serve 404 image
176+
# convert -fill "#FF0000" -background "#F4F4F4" -font "DejaVu-Sans" -pointsize 42 -gravity north \
177+
# "(" ./sun-mountains.svg -resize 512x512 ")" \
178+
# "(" -size 512x90 xc:"#F4F4F4" -gravity center -annotate +0+0 "example.com" )" \
179+
# -append missing-image.png
180+
#<LocationMatch "^/wp-content/uploads/">
181+
# ErrorDocument 404 /missing-image.png
182+
#</LocationMatch>
173183
#RewriteCond "${DOCUMENT_ROOT}%{REQUEST_FILENAME}" !-f
174-
#RewriteRule "^.+\.(jpe?g|png|gif)$" "/default-image.jpg" [END]
184+
#RewriteRule "^/wp-content/uploads/" - [R=404,END]
185+
##RewriteRule "\.(jpe?g|png|gif|webp|avif)$" - [R=404,END]
175186

176187
# Don't index files for robots
177188
<LocationMatch "^/(robots\.txt|.*sitemap.*\.xml)$">
Lines changed: 9 additions & 0 deletions
Loading

0 commit comments

Comments
 (0)