Skip to content

Commit 20d78ce

Browse files
committed
daily
1 parent 8c6a450 commit 20d78ce

File tree

3 files changed

+5
-5
lines changed

3 files changed

+5
-5
lines changed

monitoring/monit/services/redis-server_script

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,4 +8,4 @@
88

99
set -e
1010

11-
echo "ping" | nc -C -q 10 localhost 6379 | grep -F "+PONG"
11+
echo "PING" | nc -C -q 10 localhost 6379 | grep -F "+PONG"

security/fail2ban-conf/action.d/sendmail-geoip-lines.local

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ actionban = printf %%b "X-Fail2ban: <ip>,<sender>
1212
From: <sendername> <<sender>>
1313
To: <dest>\n
1414
<failures> attempts against <name> - https://www.abuseipdb.com/check/<ip> https://bgp.he.net/ip/<ip>\n
15-
https://toolbox.googleapps.com/apps/dig/#TXT/<ip-rev>abuse-contacts.abusix.org\n\n
15+
https://toolbox.googleapps.com/apps/dig/#TXT/<ip-rev>abuse-contacts.abusix.org https://ipinfo.io/<ip>\n\n
1616
Country: `mmdblookup --file /var/lib/GeoIP/GeoLite2-Country.mmdb --ip '<ip>' registered_country iso_code | sed -n -e '0,/.*"\([A-Z]\+\)".*/s//\1/p'`
1717
AS: `mmdblookup --file /var/lib/GeoIP/GeoLite2-ASN.mmdb --ip '<ip>' | sed -n -e 's/^\s\+\(\([0-9]\+\)\|"\(.\+\)"\) <\S\+>$/\2\3/;TNext;x;/./{x;H;bNext};x;h;:Next;${x;s/\n/ /g;s/^/AS/;p}'`
1818
Hostname: `host -W 3 -t PTR '<ip>' 2>&1`\n

tools/firefox.sh

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
#
33
# Simulate Mozilla Firefox with wget.
44
#
5-
# VERSION :1.0.1
5+
# VERSION :1.0.2
66
# DATE :2015-07-31
77
# AUTHOR :Viktor Szépe <[email protected]>
88
# URL :https://github.com/szepeviktor/debian-server-tools
@@ -14,7 +14,7 @@
1414
#
1515
# GET /request/uri HTTP/1.1
1616
# Host: hostname:port
17-
# User-Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:55.0) Gecko/20100101 Firefox/55.0.2
17+
# User-Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:142.0) Gecko/20100101 Firefox/142.0
1818
# Accept: text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8
1919
# Accept-Language: en-US,en;q=0.5
2020
# Accept-Encoding: gzip, deflate
@@ -29,7 +29,7 @@
2929

3030

3131

32-
UA="Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:55.0) Gecko/20100101 Firefox/55.0.2"
32+
UA="Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:142.0) Gecko/20100101 Firefox/142.0"
3333

3434
/usr/bin/wget --user-agent="$UA" \
3535
--header="Accept: text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8" \

0 commit comments

Comments
 (0)