Various updates. - gopherhole - My gopherhole source code.
(HTM) git clone git://jay.scot/gopherhole
(DIR) Log
(DIR) Files
(DIR) Refs
---
(DIR) commit bc1397d2f3a72c405d73785cffc6320460ffe39b
(DIR) parent 6eaa2a0e24f24964fa5fe0cfb2c1280a7c183b3c
(HTM) Author: Jay Scott <me@jay.scot>
Date: Wed, 19 Nov 2025 19:09:59 +0000
Various updates.
Diffstat:
M bin/sync.sh | 8 ++++++--
M meta/system.cgi | 2 +-
A notes/geomyidae_001.txt | 8 ++++++++
M notes/index.gph | 5 +++++
A notes/libre_freestyle_001.txt | 7 +++++++
M notes/openbsd_001.txt | 1 +
M phlog/index.gph | 1 -
7 files changed, 28 insertions(+), 4 deletions(-)
---
(DIR) diff --git a/bin/sync.sh b/bin/sync.sh
@@ -1,7 +1,11 @@
-openrsync -v \
+lftp sftp://jay.scot -e "
+ mirror -R \
--delete \
--exclude=files* \
+ --exclude=meta/bad_ips.txt \
--exclude=.git* \
--exclude=bin* \
--exclude=scm* \
- -a . jay.scot:~/gopher
+ ./ ~/gopher;
+ bye
+"
(DIR) diff --git a/meta/system.cgi b/meta/system.cgi
@@ -14,5 +14,5 @@ printf "\tserver software : geomyidae, git, git-daemon\n"
printf "\tsystem uptime : %s\n" "$uptime"
printf "\tload average :%s\n\n\n" "$load"
-printf "Bad IPs (bruteforce attempts):\n\n\n"
+printf "Blocked IPs (ssh bruteforce attempts):\n\n\n"
printf "%s\n" "$bad_ips"
(DIR) diff --git a/notes/geomyidae_001.txt b/notes/geomyidae_001.txt
@@ -0,0 +1,8 @@
+Don't forget to set the host on geomyidae, else server will be wrong in the
+gophermap!
+
+doas vi /etc/rc.d/geomyidae
+
+daemon_flags="-u _geomyidae -g _geomyidae -h <hostname -b <base-path>"
+
+doas rcctl restart geomyidae
(DIR) diff --git a/notes/index.gph b/notes/index.gph
@@ -12,3 +12,8 @@
OpenBSD
[0|Enable forwarding for SMTP service|/notes/openbsd_001.txt|server|port]
+[0|Setting host on geomyidae|/notes/geomyidae_001.txt|server|port]
+
+MISC
+
+[0|Libre Freestyle Reader 2 Unlock|/notes/libre_freestyle_001.txt|server|port]
(DIR) diff --git a/notes/libre_freestyle_001.txt b/notes/libre_freestyle_001.txt
@@ -0,0 +1,7 @@
+The unlock code for a Libre Freestyle Reader 2 is:
+
+CAA1C
+
+Settings
+ -> Professional Options
+ -> Are you a healthcare professional? Yes
(DIR) diff --git a/notes/openbsd_001.txt b/notes/openbsd_001.txt
@@ -14,3 +14,4 @@ EOF
chmod 640 /etc/mail/secrets
chown root:_smtpd /etc/mail/secrets
echo "mailrelay username:password" > /etc/mail/secrets
+
(DIR) diff --git a/phlog/index.gph b/phlog/index.gph
@@ -18,7 +18,6 @@
[0|2023-11-27 ... My wee Microadventures|/phlog/026.txt|server|port]
[0|2023-09-15 ... New dumb phone at last, it cost £11.50 but came with £10 edit|/phlog/025.txt|server|port]
[0|2023-09-03 ... Ansible no more, moved all services to containers|/phlog/024.txt|server|port]
-[0|2023-08-22 ... We are all Jimmy - an A.I generated short story|/phlog/023.txt|server|port]
[0|2023-08-13 ... Earned my Terraform certification but not for a good reason|/phlog/022.txt|server|port]
[0|2023-07-06 ... A ready to read archive of old gopher Usenet groups|/phlog/021.txt|server|port]
[0|2023-07-03 ... Getting to grips with slrn|/phlog/020.txt|server|port]