fix index

This commit is contained in:
anon 2025-06-07 16:14:06 +02:00
parent 85347f700f
commit 0bf4a52a76
2 changed files with 25 additions and 26 deletions

View file

@ -19,6 +19,7 @@ With this new mkdocs blog version, we have completely changed how you can find b
(Check out [this blogpost](whytheblog/index.md) for more details on our mission) (Check out [this blogpost](whytheblog/index.md) for more details on our mission)
## Our latest contributed tutorials: ## Our latest contributed tutorials:
- 2025-06-07: [Anonymous Alerting System (via SimpleX)](simplexalerts/index.md)
- 2025-06-07: [Stylometry Protection (Using Local LLMs) [old tutorial rewrite]](stylometry/index.md) - 2025-06-07: [Stylometry Protection (Using Local LLMs) [old tutorial rewrite]](stylometry/index.md)
- 2025-06-06: [Laws do not stop crimes](lawsdonotstopcrime/index.md) - 2025-06-06: [Laws do not stop crimes](lawsdonotstopcrime/index.md)
- 2025-06-05: [DoT, DoH, DNSCrypt, DNS over Tor and Local DNS: What actually protects you?](dnscrypt/index.md) - 2025-06-05: [DoT, DoH, DNSCrypt, DNS over Tor and Local DNS: What actually protects you?](dnscrypt/index.md)

View file

@ -7,10 +7,9 @@ tags:
- Core Tutorial - Core Tutorial
--- ---
# The case for alerting # Anonymous Alerting System (via SimpleX)
As you know, [monitoring](../anonymous_server_monitoring/index.md) is important when running any kind of operations, especially so As you know, [monitoring](../anonymous_server_monitoring/index.md) is important when running any kind of operations, especially so for clandestine ones.
for clandestine ones.
## Alert Types ## Alert Types
@ -241,6 +240,7 @@ Run your client in server mode:
This command will: This command will:
- create two databases that your client uses for reconnecting to groups and interacting with the simpleX Network - create two databases that your client uses for reconnecting to groups and interacting with the simpleX Network
- make sure that simplex routes all traffic through Tor (thanks to the -x argument)
- set this client display name (what you will see in your groups when receiving alerts) - set this client display name (what you will see in your groups when receiving alerts)
- open a websocket port that the alerter will use on 127.0.0.1:1337 - open a websocket port that the alerter will use on 127.0.0.1:1337
@ -502,9 +502,9 @@ And here's the alert:
To turn the simplex-chat and the alerter into systemd services, you only need to create two files: To turn the simplex-chat and the alerter into systemd services, you only need to create two files:
## /etc/systemd/system/simplex-chat.service ## /etc/systemd/system/simplex-chat.service
```text ```sh
vim /etc/systemd/system/simplex-chat.service sudo vim /etc/systemd/system/simplex-chat.service
cat /etc/systemd/system/simplex-chat.service sudo cat /etc/systemd/system/simplex-chat.service
``` ```
[Unit] [Unit]
@ -517,28 +517,26 @@ To turn the simplex-chat and the alerter into systemd services, you only need to
## /etc/systemd/system/alerter.service ## /etc/systemd/system/alerter.service
```text ```sh
vim /etc/systemd/system/alerter.service sudo vim /etc/systemd/system/alerter.service
cat /etc/systemd/system/xxx sudo cat /etc/systemd/system/alerter.service
[Unit]
Requires=simplex-chat.service
[Service]
ExecStart=docker run --rm simplex-alerter -c /etc/alerter-config.yaml -e 127.0.0.1:1337
[Install]
WantedBy=simplex-chat.service
``` ```
[Unit]
Requires=simplex-chat.service
[Service]
ExecStart=docker run --rm simplex-alerter -c /etc/alerter-config.yaml -e 127.0.0.1:1337
[Install]
WantedBy=simplex-chat.service
## Enable the services ## Enable the services
Now enable the services Now enable the service:
```sh
sudo systemctl daemon-reload sudo systemctl daemon-reload
sudo systemctl enable --now simplex-chat.service sudo systemctl enable --now simplex-chat.service
sudo systemctl enable --now alerter.service sudo systemctl enable --now alerter.service
```
# Conclusion # Conclusion
We now have an easy way to set multiple alerts to different groups based on our monitoring system, furthermore those alerts will be sent over tor through a privacy-preserving messaging system. We now have an easy way to set multiple alerts to different groups based on our monitoring system, furthermore those alerts will be sent over tor through a privacy-preserving messaging system.