mirror of
http://git.nowherejezfoltodf4jiyl6r56jnzintap5vyjlia7fkirfsnfizflqd.onion/nihilist/blog-contributions.git
synced 2025-07-02 11:56:40 +00:00
a good fuckin update
This commit is contained in:
parent
7b3f8ea7ed
commit
1f6ed2fa82
80 changed files with 534 additions and 534 deletions
|
@ -46,7 +46,7 @@
|
|||
|
||||
<li><a href="/about.html">About</a></li>
|
||||
<li><a href="/blog.html">Categories</a></li>
|
||||
<li><a href="https://blog.nihilism.network/donate.html">Donate</a></li>
|
||||
<li><a href="https://blog.nowhere.moe/donate.html">Donate</a></li>
|
||||
<li><a href="/contact.html">Contact</a></li>
|
||||
</ul>
|
||||
</div><!--/.nav-collapse -->
|
||||
|
@ -105,10 +105,10 @@ curl ifconfig.me
|
|||
</pre></code>
|
||||
<p>Once done, install tor and compute your Tor domain:</p>
|
||||
<pre><code class="nim">
|
||||
[ Datura-Network ] [ /dev/pts/11 ] [/srv]
|
||||
[ nowhere.moe ] [ /dev/pts/11 ] [/srv]
|
||||
→ apt install gcc libc6-dev libsodium-dev make autoconf tor
|
||||
|
||||
[ Datura-Network ] [ /dev/pts/11 ] [/srv]
|
||||
[ nowhere.moe ] [ /dev/pts/11 ] [/srv]
|
||||
→ git clone https://github.com/cathugger/mkp224o
|
||||
Cloning into 'mkp224o'...
|
||||
remote: Enumerating objects: 1571, done.
|
||||
|
@ -118,10 +118,10 @@ remote: Total 1571 (delta 341), reused 350 (delta 317), pack-reused 1169
|
|||
Receiving objects: 100% (1571/1571), 1.89 MiB | 6.32 MiB/s, done.
|
||||
Resolving deltas: 100% (982/982), done.
|
||||
|
||||
[ Datura-Network ] [ /dev/pts/11 ] [/srv]
|
||||
[ nowhere.moe ] [ /dev/pts/11 ] [/srv]
|
||||
→ cd mkp224o
|
||||
|
||||
[ Datura-Network ] [ /dev/pts/11 ] [/srv/mkp224o]
|
||||
[ nowhere.moe ] [ /dev/pts/11 ] [/srv/mkp224o]
|
||||
→ ls
|
||||
autogen.sh base64_to.c filters_common.inc.h ioutil.h test_base64.c worker.h
|
||||
base16_from.c calcest.c filters.h keccak.c test_ed25519.c worker_impl.inc.h
|
||||
|
@ -133,10 +133,10 @@ base32_to.c cpucount.c hex.h README.md worker_batc
|
|||
base64_from.c cpucount.h ifilter_bitsum.h test_base16.c worker_batch_pass.inc.h
|
||||
base64.h ed25519 ioutil.c test_base32.c worker.c
|
||||
|
||||
[ Datura-Network ] [ /dev/pts/11 ] [/srv/mkp224o]
|
||||
[ nowhere.moe ] [ /dev/pts/11 ] [/srv/mkp224o]
|
||||
→ ./autogen.sh
|
||||
|
||||
[ Datura-Network ] [ /dev/pts/11 ] [/srv/mkp224o]
|
||||
[ nowhere.moe ] [ /dev/pts/11 ] [/srv/mkp224o]
|
||||
→ ./configure
|
||||
checking for gcc... gcc
|
||||
checking whether the C compiler works... yes
|
||||
|
@ -162,14 +162,14 @@ checking whether ARGON2ID13 is supported by libsodium... yes
|
|||
configure: creating ./config.status
|
||||
config.status: creating GNUmakefile
|
||||
|
||||
[ Datura-Network ] [ /dev/pts/11 ] [/srv/mkp224o]
|
||||
[ nowhere.moe ] [ /dev/pts/11 ] [/srv/mkp224o]
|
||||
→ make
|
||||
|
||||
</code></pre>
|
||||
|
||||
<p>Now i want my tor domain to contain the "datura" characters so i do the following:</p>
|
||||
<pre><code class="nim">
|
||||
[ Datura-Network ] [ /dev/pts/11 ] [/srv/mkp224o]
|
||||
[ nowhere.moe ] [ /dev/pts/11 ] [/srv/mkp224o]
|
||||
→ ./mkp224o datura
|
||||
sorting filters... done.
|
||||
filters:
|
||||
|
@ -179,7 +179,7 @@ using 12 threads
|
|||
daturacccspczuluj2hbgqfcpkjo75hn7bzmuzsm5zys3az6k3su45ad.onion
|
||||
daturaxnp7x4ubwlslgyeaft5dabaxotmsaxanayocnpxarc7wi36kid.onion
|
||||
|
||||
[ Datura-Network ] [ /dev/pts/11 ] [lib/tor/onions]
|
||||
[ nowhere.moe ] [ /dev/pts/11 ] [lib/tor/onions]
|
||||
→ ls -lash
|
||||
total 16K
|
||||
4.0K drwx------ 4 debian-tor debian-tor 4.0K Jan 27 15:33 .
|
||||
|
@ -187,7 +187,7 @@ total 16K
|
|||
4.0K drwx------ 3 debian-tor debian-tor 4.0K Jul 12 2023 daturab6drmkhyeia4ch5gvfc2f3wgo6bhjrv3pz6n7kxmvoznlkq4yd.onion
|
||||
4.0K drwx------ 3 debian-tor debian-tor 4.0K Jan 27 15:48 nihilhfjmj55gfbleupwl2ub7lvbhq4kkoioatiopahfqwkcnglsawyd.onion
|
||||
|
||||
[ Datura-Network ] [ /dev/pts/11 ] [lib/tor/onions]
|
||||
[ nowhere.moe ] [ /dev/pts/11 ] [lib/tor/onions]
|
||||
→ ls -lash daturab6drmkhyeia4ch5gvfc2f3wgo6bhjrv3pz6n7kxmvoznlkq4yd.onion
|
||||
total 24K
|
||||
4.0K drwx------ 3 debian-tor debian-tor 4.0K Jul 12 2023 .
|
||||
|
@ -198,7 +198,7 @@ total 24K
|
|||
4.0K -r-------- 1 debian-tor debian-tor 96 Jul 12 2023 hs_ed25519_secret_key
|
||||
|
||||
|
||||
[ Datura-Network ] [ /dev/pts/11 ] [/srv/mkp224o]
|
||||
[ nowhere.moe ] [ /dev/pts/11 ] [/srv/mkp224o]
|
||||
→ cat /etc/tor/torrc
|
||||
HiddenServiceDir /var/lib/tor/onions/daturab6drmkhyeia4ch5gvfc2f3wgo6bhjrv3pz6n7kxmvoznlkq4yd.onion/
|
||||
HiddenServicePort 80 127.0.0.1:4443 # for web service HTTP (recommended!)
|
||||
|
@ -215,27 +215,27 @@ HiddenServicePort 80 127.0.0.1:4445
|
|||
</code></pre>
|
||||
<p>Make sure that the file permissions are correct in the /var/lib/tor/onions/datura...onion/ directory:</p>
|
||||
<pre><code class="nim">
|
||||
[ Datura-Network ] [ /dev/pts/11 ] [lib/tor/onions]
|
||||
[ nowhere.moe ] [ /dev/pts/11 ] [lib/tor/onions]
|
||||
→ chmod 700 daturab6drmkhyeia4ch5gvfc2f3wgo6bhjrv3pz6n7kxmvoznlkq4yd.onion
|
||||
|
||||
[ Datura-Network ] [ /dev/pts/11 ] [lib/tor/onions]
|
||||
[ nowhere.moe ] [ /dev/pts/11 ] [lib/tor/onions]
|
||||
→ chmod 400 daturab6drmkhyeia4ch5gvfc2f3wgo6bhjrv3pz6n7kxmvoznlkq4yd.onion/*
|
||||
|
||||
[ Datura-Network ] [ /dev/pts/11 ] [lib/tor/onions]
|
||||
[ nowhere.moe ] [ /dev/pts/11 ] [lib/tor/onions]
|
||||
→ chmod 700 daturab6drmkhyeia4ch5gvfc2f3wgo6bhjrv3pz6n7kxmvoznlkq4yd.onion/authorized_clients -R
|
||||
|
||||
[ Datura-Network ] [ /dev/pts/11 ] [lib/tor/onions]
|
||||
[ nowhere.moe ] [ /dev/pts/11 ] [lib/tor/onions]
|
||||
→ chown debian-tor: /var/lib/tor/onions -R
|
||||
</pre></code>
|
||||
|
||||
<p>Now let's set it up on our webserver:</p>
|
||||
<pre><code class="nim">
|
||||
[ Datura-Network ] [ /dev/pts/11 ] [~debian-tor/onions]
|
||||
→ cat /etc/nginx/sites-available/datura.network.conf
|
||||
[ nowhere.moe ] [ /dev/pts/11 ] [~debian-tor/onions]
|
||||
→ cat /etc/nginx/sites-available/nowhere.moe.conf
|
||||
server {
|
||||
listen 80;
|
||||
listen [::]:80;
|
||||
server_name datura.network;
|
||||
server_name nowhere.moe;
|
||||
return 301 https://$server_name$request_uri;
|
||||
}
|
||||
|
||||
|
@ -249,22 +249,22 @@ server {
|
|||
|
||||
listen 443 ssl http2;
|
||||
listen [::]:443 ssl http2;
|
||||
server_name datura.network;
|
||||
server_name nowhere.moe;
|
||||
|
||||
ssl_certificate /etc/acme/certs/datura.network/fullchain.cer;
|
||||
ssl_trusted_certificate /etc/acme/certs/datura.network/datura.network.cer;
|
||||
ssl_certificate_key /etc/acme/certs/datura.network/datura.network.key;
|
||||
ssl_certificate /etc/acme/certs/nowhere.moe/fullchain.cer;
|
||||
ssl_trusted_certificate /etc/acme/certs/nowhere.moe/nowhere.moe.cer;
|
||||
ssl_certificate_key /etc/acme/certs/nowhere.moe/nowhere.moe.key;
|
||||
|
||||
[...]
|
||||
root /srv/datura.network/;
|
||||
root /srv/nowhere.moe/;
|
||||
}
|
||||
|
||||
[ Datura-Network ] [ /dev/pts/11 ] [~debian-tor/onions]
|
||||
→ cat /etc/nginx/sites-available/nihilism.network.conf
|
||||
[ nowhere.moe ] [ /dev/pts/11 ] [~debian-tor/onions]
|
||||
→ cat /etc/nginx/sites-available/nowhere.moe.conf
|
||||
server {
|
||||
listen 80;
|
||||
listen [::]:80;
|
||||
server_name nihilism.network;
|
||||
server_name nowhere.moe;
|
||||
return 301 https://$server_name$request_uri;
|
||||
}
|
||||
|
||||
|
@ -278,27 +278,27 @@ server {
|
|||
|
||||
listen 443 ssl http2;
|
||||
listen [::]:443 ssl http2;
|
||||
server_name nihilism.network;
|
||||
server_name nowhere.moe;
|
||||
[...]
|
||||
|
||||
root /srv/datura.network/;
|
||||
root /srv/nowhere.moe/;
|
||||
|
||||
ssl_certificate /etc/acme/certs/datura.network/fullchain.cer;
|
||||
ssl_trusted_certificate /etc/acme/certs/datura.network/datura.network.cer;
|
||||
ssl_certificate_key /etc/acme/certs/datura.network/datura.network.key;
|
||||
ssl_certificate /etc/acme/certs/nowhere.moe/fullchain.cer;
|
||||
ssl_trusted_certificate /etc/acme/certs/nowhere.moe/nowhere.moe.cer;
|
||||
ssl_certificate_key /etc/acme/certs/nowhere.moe/nowhere.moe.key;
|
||||
}
|
||||
|
||||
[ Datura Network ] [ /dev/pts/0 ] [tor/onions/daturab6drmkhyeia4ch5gvfc2f3wgo6bhjrv3pz6n7kxmvoznlkq4yd.onion]
|
||||
[ nowhere.moe ] [ /dev/pts/0 ] [tor/onions/daturab6drmkhyeia4ch5gvfc2f3wgo6bhjrv3pz6n7kxmvoznlkq4yd.onion]
|
||||
→ nginx -t
|
||||
2023/07/12 21:46:16 [emerg] 113983#113983: could not build server_names_hash, you should increase server_names_hash_bucket_size: 64
|
||||
nginx: configuration file /etc/nginx/nginx.conf test failed
|
||||
|
||||
#if it gives you this error do the following:
|
||||
|
||||
[ Datura Network ] [ /dev/pts/0 ] [tor/onions/daturab6drmkhyeia4ch5gvfc2f3wgo6bhjrv3pz6n7kxmvoznlkq4yd.onion]
|
||||
[ nowhere.moe ] [ /dev/pts/0 ] [tor/onions/daturab6drmkhyeia4ch5gvfc2f3wgo6bhjrv3pz6n7kxmvoznlkq4yd.onion]
|
||||
→ vim /etc/nginx/nginx.conf
|
||||
|
||||
[ Datura Network ] [ /dev/pts/0 ] [tor/onions/daturab6drmkhyeia4ch5gvfc2f3wgo6bhjrv3pz6n7kxmvoznlkq4yd.onion]
|
||||
[ nowhere.moe ] [ /dev/pts/0 ] [tor/onions/daturab6drmkhyeia4ch5gvfc2f3wgo6bhjrv3pz6n7kxmvoznlkq4yd.onion]
|
||||
→ cat /etc/nginx/nginx.conf |grep 128
|
||||
server_names_hash_bucket_size 128;
|
||||
|
||||
|
@ -334,10 +334,10 @@ Jan 23 16:57:21.000 [notice] Bootstrapped 100%: Done
|
|||
<img src="2.png" class="imgRz">
|
||||
<p>It works! Now let's use systemctl to start tor instead:</p>
|
||||
<pre><code class="nim">
|
||||
[ Datura-Network ] [ /dev/pts/11 ] [~debian-tor/onions]
|
||||
[ nowhere.moe ] [ /dev/pts/11 ] [~debian-tor/onions]
|
||||
→ systemctl restart tor@default
|
||||
|
||||
[ Datura-Network ] [ /dev/pts/11 ] [~debian-tor/onions]
|
||||
[ nowhere.moe ] [ /dev/pts/11 ] [~debian-tor/onions]
|
||||
→ systemctl status tor@default
|
||||
● tor@default.service - Anonymizing overlay network for TCP
|
||||
Loaded: loaded (/lib/systemd/system/tor@default.service; enabled-runtime; preset: enabled)
|
||||
|
@ -352,21 +352,21 @@ Jan 23 16:57:21.000 [notice] Bootstrapped 100%: Done
|
|||
├─3027336 /usr/bin/tor --defaults-torrc /usr/share/tor/tor-service-defaults-torrc -f /etc/tor/torrc --RunAsDaemon 0
|
||||
└─3027337 /usr/bin/obfs4proxy
|
||||
|
||||
Feb 01 15:24:26 Datura-Network Tor[3027336]: Your network connection speed appears to have changed. Resetting timeout to 60000ms after 18 timeouts and 1000 buildtimes.
|
||||
Feb 01 15:25:09 Datura-Network Tor[3027336]: Performing bandwidth self-test...done.
|
||||
Feb 01 15:24:26 nowhere.moe Tor[3027336]: Your network connection speed appears to have changed. Resetting timeout to 60000ms after 18 timeouts and 1000 buildtimes.
|
||||
Feb 01 15:25:09 nowhere.moe Tor[3027336]: Performing bandwidth self-test...done.
|
||||
|
||||
</code></pre>
|
||||
<p>Now we can do the same for a subdomain:</p>
|
||||
<pre><code class="nim">
|
||||
|
||||
[ Datura-Network ] [ /dev/pts/11 ] [/etc/nginx/sites-available]
|
||||
→ cat cringe.datura.network.conf
|
||||
[ nowhere.moe ] [ /dev/pts/11 ] [/etc/nginx/sites-available]
|
||||
→ cat cringe.nowhere.moe.conf
|
||||
server {
|
||||
listen 443 ssl;
|
||||
server_name cringe.datura.network;
|
||||
server_name cringe.nowhere.moe;
|
||||
|
||||
ssl_certificate /etc/acme/certs/cringe.datura.network/cringe.datura.network.cer;
|
||||
ssl_certificate_key /etc/acme/certs/cringe.datura.network/cringe.datura.network.key;
|
||||
ssl_certificate /etc/acme/certs/cringe.nowhere.moe/cringe.nowhere.moe.cer;
|
||||
ssl_certificate_key /etc/acme/certs/cringe.nowhere.moe/cringe.nowhere.moe.key;
|
||||
|
||||
<b> ######## TOR CHANGES ########
|
||||
listen 4443;
|
||||
|
@ -387,12 +387,12 @@ server {
|
|||
}
|
||||
}
|
||||
|
||||
[ Datura-Network ] [ /dev/pts/11 ] [/etc/nginx/sites-available]
|
||||
[ nowhere.moe ] [ /dev/pts/11 ] [/etc/nginx/sites-available]
|
||||
→ nginx -t
|
||||
nginx: the configuration file /etc/nginx/nginx.conf syntax is ok
|
||||
nginx: configuration file /etc/nginx/nginx.conf test is successful
|
||||
|
||||
[ Datura-Network ] [ /dev/pts/11 ] [/etc/nginx/sites-available]
|
||||
[ nowhere.moe ] [ /dev/pts/11 ] [/etc/nginx/sites-available]
|
||||
→ nginx -s reload
|
||||
2024/02/01 15:45:18 [notice] 3045373#3045373: signal process started
|
||||
|
||||
|
@ -420,14 +420,14 @@ nginx: configuration file /etc/nginx/nginx.conf test is successful
|
|||
<h4>My Links</h4>
|
||||
<p>
|
||||
|
||||
<a target="_blank" rel="noopener noreferrer" href="http://blog.nihilism.network/rss/feed.xml">RSS Feed</a><br/><a target="_blank" rel="noopener noreferrer" href="https://matrix.to/#/#nihilism:m.datura.network">Matrix Chat</a><br/>
|
||||
<a target="_blank" rel="noopener noreferrer" href="http://blog.nowhere.moe/rss/feed.xml">RSS Feed</a><br/><a target="_blank" rel="noopener noreferrer" href="https://matrix.to/#/#nihilism:m.nowhere.moe">Matrix Chat</a><br/>
|
||||
|
||||
</p>
|
||||
</div><!-- /col-lg-4 -->
|
||||
|
||||
<div class="col-lg-4">
|
||||
<h4>About nihilist</h4>
|
||||
<p style="word-wrap: break-word;"><u>Donate XMR:</u> 8AUYjhQeG3D5aodJDtqG499N5jXXM71gYKD8LgSsFB9BUV1o7muLv3DXHoydRTK4SZaaUBq4EAUqpZHLrX2VZLH71Jrd9k8</p></br><p><u>Contact:</u> nihilist@nihilism.network (<a href="https://nihilism.network/nihilist.pubkey">PGP</a>)</p>
|
||||
<p style="word-wrap: break-word;"><u>Donate XMR:</u> 8AUYjhQeG3D5aodJDtqG499N5jXXM71gYKD8LgSsFB9BUV1o7muLv3DXHoydRTK4SZaaUBq4EAUqpZHLrX2VZLH71Jrd9k8</p></br><p><u>Contact:</u> nihilist@nowhere.moe (<a href="https://nowhere.moe/nihilist.pubkey">PGP</a>)</p>
|
||||
</div><!-- /col-lg-4 -->
|
||||
|
||||
</div>
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue