#ALGO=lz4
+ALGO=zstd
# Specifies the amount of RAM that should be used for zram
# based on a percentage the total amount of available memory
# This takes precedence and overrides SIZE below
#PERCENT=50
+PERCENTAGE=50
# Specifies a static amount of RAM that should be used for
# the ZRAM devices, this is in MiB
#SIZE=256
+SIZE=2048
# Specifies the priority for the swap devices, see swapon(2)
# for more details. Higher number = higher priority
# This should probably be higher than hdd/ssd swaps.
#PRIORITY=100
+PRIORITY=100
[Tue Jan 20 05:43:59 2026] [security2:error] [client xx.xx.xx.xx]
ModSecurity: Warning. Match of "within %{tx.allowed_methods}" against "REQUEST_METHOD" required.
[id "911100"] [msg "Method is not allowed by policy"] [data "CONNECT"] [severity "CRITICAL"]
[hostname "www.baidu.com"] [uri "/"]
sudo fail2ban-client status sshd | grep "IP list" | sed 's/.*IP list: \+//' | tr ' ' '\n' | while read ip; do geoiplookup "$ip" | cut -d: -f2; done | sort | uniq -c | sort -rn | head -n 20
こちらの結果は
1716 CN, China
1134 US, United States
498 CA, Canada
487 SG, Singapore
476 VN, Vietnam
394 ID, Indonesia
344 HK, Hong Kong
327 DE, Germany
314 IN, India
229 RU, Russian Federation
212 KR, Korea, Republic of
175 BR, Brazil
167 GB, United Kingdom
164 IR, Iran, Islamic Republic of
149 NL, Netherlands
124 FR, France
95 JP, Japan
86 TH, Thailand
71 IT, Italy
69 ES, Spain