feat: home server networking

This commit is contained in:
2024-11-25 00:37:04 +01:00
parent a80f33271b
commit 7998ae785c
3 changed files with 125 additions and 141 deletions

View File

@@ -0,0 +1,61 @@
---
layout: post
title: "Server Setup Part 2 - Networking"
tag: "home server"
---
This is part three of my server writeup.
I'll take a look at the networking services running on my homelab.
As usual, this is not a tutorial but merely a reminder for myself of what I have (or had) and a source of inspiration for others.
# Internal networking
At home, I have a decent internet connection: 1 GB/s symmetric, nominally.
The reality of this is outside the scope of this essay, but in the end, it's sufficient for my activities.
Most importantly, I'm not behind CGNAT.
The ISP-provided modem/router/AP all-in-one device is acceptable, and I'm satisfied with it in terms of configurability, except for the fact that it runs an OS whose source code I can't access (even though it's based on OpenWrt).
All my networking equipment supports 1 Gbit or less, as I currently don't need more.
In terms of network interfaces for my server, I run a virtual bridge network behind the RockPro64's single gigabit Ethernet port.
Setting it up was a bit tricky (as is the case for every IP change).
Be absolutely sure to set it to the correct static IP, default gateway, and DNS server.
Having a bridge network is mostly beneficial for virtualization, and even though Docker does its own networking, I dont mind it.
It imposes no drawbacks while providing flexibility.
Docker containers are accessed through port forwards, for which I prefer to use the default port when available, only remapping if theres a collision.
Many services (e.g., qBittorrent) will expect you to use a specific port and require extra configuration internally if you want to use another.
The OpenMediaVault control panel was also moved from ports 80/443 to allow Nextcloud to use them.
I no longer keep a homepage (eg. Homarr) running to remind me of the assigned ports—youll see why later.
Pi-hole is used for DNS, as it allows me to block network traffic according to my taste.
Currently, I have lists loaded against telemetry, ads, and pornography.
If I werent so lazy, I would have migrated to its DHCP server (in addition to providing DNS), but the ISP router does the job just fine—except that I cant back up its config.
Using Unbound in conjunction with Pi-hole would be ideal, as the recursive DNS solution provided by Unbound is more private than forwarding all my queries to 8.8.8.8 or 1.1.1.1.
Unfortunately, Ive failed to find a working AArch64 image for it when I tried, they kept restarting Unbound perpetually.
# External networking
My homelab has a fully qualified domain name (FQDN) because its required for Nextcloud (and its HTTPS certificates).
Since I dont want to pay for a static IP, I use DuckDNS for dynamic DNS, as they provide free domains.
This domain is then further divided into subdomains by a Caddy reverse proxy on my homelab to forward traffic to my various services.
This is why I no longer need a homepage.
The best thing is that Caddy provides Lets Encrypt certificates and HTTPS encryption, even if the underlying services dont support it.
This even works with DuckDNS domains, but a special container with built-in support is required.
I currently dont have a VPN set up, as my laptop has issues with WireGuard (even though it works fine from my phone) or Ive misconfigured it.
I havent bothered with it further, as my most important services are proxied out and accessible from the internet.
If I ever upgrade or change distros, Ill give WireGuard another chance.
# Final words
Although I have public IPv6, DuckDNS is yet to support it.
Luckily, I dont need it for my server just yet.
Im considering getting a regular domain instead of the one provided by DuckDNS, but so far, the prices Ive seen are pretty steep.
If I did get one, itd likely be to host my own email server.
Because Im somewhat paranoid about sharing my IP/domain (mostly due to fear of DoS attacks), this blog will continue to exist on GitHub Pages.
Im thinking about installing an x86 machine to take over networking, home automation, and maybe media server duties, but for now, thats only something Ive experimented with.

View File

@@ -1,4 +1,55 @@
<?xml version="1.0" encoding="utf-8"?><feed xmlns="http://www.w3.org/2005/Atom" ><generator uri="https://jekyllrb.com/" version="3.9.0">Jekyll</generator><link href="http://localhost:4000/feed.xml" rel="self" type="application/atom+xml" /><link href="http://localhost:4000/" rel="alternate" type="text/html" /><updated>2024-09-22T01:59:08+02:00</updated><id>http://localhost:4000/feed.xml</id><title type="html">Derisis13s temporary blog</title><subtitle>Just some nerd rambling</subtitle><entry><title type="html">Creating a Better, New World</title><link href="http://localhost:4000/2024/09/22/creating-a-better-new-world.html" rel="alternate" type="text/html" title="Creating a Better, New World" /><published>2024-09-22T00:00:00+02:00</published><updated>2024-09-22T00:00:00+02:00</updated><id>http://localhost:4000/2024/09/22/creating-a-better-new-world</id><content type="html" xml:base="http://localhost:4000/2024/09/22/creating-a-better-new-world.html">&lt;p&gt;&lt;em&gt;A Comparative Analysis of Code Geass and *Death Note*&lt;/em&gt;&lt;/p&gt;
<?xml version="1.0" encoding="utf-8"?><feed xmlns="http://www.w3.org/2005/Atom" ><generator uri="https://jekyllrb.com/" version="3.9.0">Jekyll</generator><link href="http://localhost:4000/feed.xml" rel="self" type="application/atom+xml" /><link href="http://localhost:4000/" rel="alternate" type="text/html" /><updated>2024-11-25T00:36:29+01:00</updated><id>http://localhost:4000/feed.xml</id><title type="html">Derisis13s temporary blog</title><subtitle>Just some nerd rambling</subtitle><entry><title type="html">Server Setup Part 2 - Networking</title><link href="http://localhost:4000/2024/11/25/networking.html" rel="alternate" type="text/html" title="Server Setup Part 2 - Networking" /><published>2024-11-25T00:00:00+01:00</published><updated>2024-11-25T00:00:00+01:00</updated><id>http://localhost:4000/2024/11/25/networking</id><content type="html" xml:base="http://localhost:4000/2024/11/25/networking.html">&lt;p&gt;This is part three of my server writeup.
Ill take a look at the networking services running on my homelab.
As usual, this is not a tutorial but merely a reminder for myself of what I have (or had) and a source of inspiration for others.&lt;/p&gt;
&lt;h1 id=&quot;internal-networking&quot;&gt;Internal networking&lt;/h1&gt;
&lt;p&gt;At home, I have a decent internet connection: 1 GB/s symmetric, nominally.
The reality of this is outside the scope of this essay, but in the end, its sufficient for my activities.
Most importantly, Im not behind CGNAT.
The ISP-provided modem/router/AP all-in-one device is acceptable, and Im satisfied with it in terms of configurability, except for the fact that it runs an OS whose source code I cant access (even though its based on OpenWrt).
All my networking equipment supports 1 Gbit or less, as I currently dont need more.&lt;/p&gt;
&lt;p&gt;In terms of network interfaces for my server, I run a virtual bridge network behind the RockPro64s single gigabit Ethernet port.
Setting it up was a bit tricky (as is the case for every IP change).
Be absolutely sure to set it to the correct static IP, default gateway, and DNS server.
Having a bridge network is mostly beneficial for virtualization, and even though Docker does its own networking, I dont mind it.
It imposes no drawbacks while providing flexibility.&lt;/p&gt;
&lt;p&gt;Docker containers are accessed through port forwards, for which I prefer to use the default port when available, only remapping if theres a collision.
Many services (e.g., qBittorrent) will expect you to use a specific port and require extra configuration internally if you want to use another.
The OpenMediaVault control panel was also moved from ports 80/443 to allow Nextcloud to use them.
I no longer keep a homepage (eg. Homarr) running to remind me of the assigned ports—youll see why later.&lt;/p&gt;
&lt;p&gt;Pi-hole is used for DNS, as it allows me to block network traffic according to my taste.
Currently, I have lists loaded against telemetry, ads, and pornography.
If I werent so lazy, I would have migrated to its DHCP server (in addition to providing DNS), but the ISP router does the job just fine—except that I cant back up its config.
Using Unbound in conjunction with Pi-hole would be ideal, as the recursive DNS solution provided by Unbound is more private than forwarding all my queries to 8.8.8.8 or 1.1.1.1.
Unfortunately, Ive failed to find a working AArch64 image for it when I tried, they kept restarting Unbound perpetually.&lt;/p&gt;
&lt;h1 id=&quot;external-networking&quot;&gt;External networking&lt;/h1&gt;
&lt;p&gt;My homelab has a fully qualified domain name (FQDN) because its required for Nextcloud (and its HTTPS certificates).
Since I dont want to pay for a static IP, I use DuckDNS for dynamic DNS, as they provide free domains.
This domain is then further divided into subdomains by a Caddy reverse proxy on my homelab to forward traffic to my various services.
This is why I no longer need a homepage.
The best thing is that Caddy provides Lets Encrypt certificates and HTTPS encryption, even if the underlying services dont support it.
This even works with DuckDNS domains, but a special container with built-in support is required.&lt;/p&gt;
&lt;p&gt;I currently dont have a VPN set up, as my laptop has issues with WireGuard (even though it works fine from my phone) or Ive misconfigured it.
I havent bothered with it further, as my most important services are proxied out and accessible from the internet.
If I ever upgrade or change distros, Ill give WireGuard another chance.&lt;/p&gt;
&lt;h1 id=&quot;final-words&quot;&gt;Final words&lt;/h1&gt;
&lt;p&gt;Although I have public IPv6, DuckDNS is yet to support it.
Luckily, I dont need it for my server just yet.&lt;/p&gt;
&lt;p&gt;Im considering getting a regular domain instead of the one provided by DuckDNS, but so far, the prices Ive seen are pretty steep.
If I did get one, itd likely be to host my own email server.
Because Im somewhat paranoid about sharing my IP/domain (mostly due to fear of DoS attacks), this blog will continue to exist on GitHub Pages.&lt;/p&gt;
&lt;p&gt;Im thinking about installing an x86 machine to take over networking, home automation, and maybe media server duties, but for now, thats only something Ive experimented with.&lt;/p&gt;</content><author><name></name></author><category term="home server" /><summary type="html">This is part three of my server writeup. Ill take a look at the networking services running on my homelab. As usual, this is not a tutorial but merely a reminder for myself of what I have (or had) and a source of inspiration for others.</summary></entry><entry><title type="html">Creating a Better, New World</title><link href="http://localhost:4000/2024/09/22/creating-a-better-new-world.html" rel="alternate" type="text/html" title="Creating a Better, New World" /><published>2024-09-22T00:00:00+02:00</published><updated>2024-09-22T00:00:00+02:00</updated><id>http://localhost:4000/2024/09/22/creating-a-better-new-world</id><content type="html" xml:base="http://localhost:4000/2024/09/22/creating-a-better-new-world.html">&lt;p&gt;&lt;em&gt;A Comparative Analysis of Code Geass and Death Note&lt;/em&gt;&lt;/p&gt;
&lt;p&gt;&lt;em&gt;Code Geass&lt;/em&gt; (the original two seasons) is one of my favourite anime, so when people recommended &lt;em&gt;Death Note&lt;/em&gt; as a similar story, I was intrigued.
During the first episodes, I saw the similarities in the motives and decided to write a comparative analysis to extract the archetypes represented by the two protagonists (antagonists?), Lelouch vi Britannia and Light Yagami.
@@ -59,9 +110,9 @@ In Lelouchs case, the supporting group is the Black Knights, a band of freedo
In Yagamis case, he joins the Special Provision for Kira only in the second half of the anime, and only as an extra layer of disguise.
They, too, arent the pinnacle of competence, but they remain wary of him, and eventually catch on, which proves detrimental for Kira—similarly to how Lelouchs situation worsens after Schneizel exposes him to the Black Knights.&lt;/p&gt;
&lt;p&gt;More interesting to me are the allies who share in the powers: the &lt;em&gt;Death Note&lt;/em&gt; and the Geass.
&lt;p&gt;More interesting to me are the allies who share in the powers: the Death Note and the Geass.
Yagami has quite a few of them, but the main one is Misa Amane—a fanatic of Kira and Light, who gives up three-quarters of her life to get affirmation from a psychopath who discards her after she is no longer of use to him.
A similar fate awaits all the other Kiras, who all get disposed of by Light when they achieve the goal they were given a &lt;em&gt;Death Note&lt;/em&gt; for, or when Light is at risk of getting found out.
A similar fate awaits all the other Kiras, who all get disposed of by Light when they achieve the goal they were given a Death Note for, or when Light is at risk of getting found out.
Teru Mikami, Kyouske Higuchi, and Kiyomi Takada are all just pawns in Lights quest, who can be sacrificed for the greater good—or so Light believes.&lt;/p&gt;
&lt;p&gt;Lelouch has only one Geass-user ally: Rolo.
@@ -86,14 +137,14 @@ Later, she grows emotionally attached to Lelouch, going as far as to give up her
The main reason I wanted to write this analysis is the symbolic similarities, which are quite consistent between the two series.&lt;/p&gt;
&lt;p&gt;The first is that both powers are linked to vision and eyes.
Lelouchs Geass requires eye contact to work, and the &lt;em&gt;Death Note&lt;/em&gt; requires you to visualize the target as well as write their name into the book.
Lelouchs Geass requires eye contact to work, and the Death Note requires you to visualize the target as well as write their name into the book.
Additionally, the shinigami eyes grant vision of names above the targets.
These sets of restrictions provide challenges to the wielders of the powers, as they force personal contact, leading to intentionally exciting situations.
But apart from being plot devices, they also highlight the visionary nature of the two lead characters.&lt;/p&gt;
&lt;p&gt;Another interesting similarity is that both stories feature a memory loss arc.
These allow us to peek into what would have happened if Light and Lelouch had never gotten hold of their powers and had never set out on their quests.
But they also show that once they started on their mission, they are no longer content with ordinary life, and their fate is what awaits them at the end of the road.&lt;/p&gt;
But they also show that once they started on their mission, they are no longer content with ordinary life, and their fate at the end of the road.&lt;/p&gt;
&lt;p&gt;But what fate awaits them at the end of the road?
For both, its death.
@@ -110,7 +161,7 @@ This reference even makes sense in-universe, as Ls origin (Wammys House) i
&lt;p&gt;The two anime — &lt;em&gt;Death Note&lt;/em&gt; and &lt;em&gt;Code Geass&lt;/em&gt; — showcase two similar characters whose alignment in terms of good and evil is comparable.
Both are shown to possess traits that are known in psychology as the dark tetrad, but Yagami is much more pathological than Lelouch.
Their relationships are mostly similar, both in terms of underlings and enemies, except for key differences that usually restore some of Lelouchs humanity and reveal the extent of Yagamis rotten nature.
They end the same but differently—both characters die, closing their stories, but Lelouch succeeds in his goal by sacrificing himself, while Light suffers for sacrificing everyone and everything for his twisted ego.&lt;/p&gt;</content><author><name></name></author><category term="anime" /><summary type="html">A Comparative Analysis of Code Geass and *Death Note*</summary></entry><entry><title type="html">AIndustrial Revolution</title><link href="http://localhost:4000/2024/07/28/aindustrial-revolution.html" rel="alternate" type="text/html" title="AIndustrial Revolution" /><published>2024-07-28T00:00:00+02:00</published><updated>2024-07-28T00:00:00+02:00</updated><id>http://localhost:4000/2024/07/28/aindustrial-revolution</id><content type="html" xml:base="http://localhost:4000/2024/07/28/aindustrial-revolution.html">&lt;p&gt;This post is from an essay I wrote last year when I was confronted with the hype around generative AI.
They end the same but differently—both characters die, closing their stories, but Lelouch succeeds in his goal by sacrificing himself, while Light suffers for sacrificing everyone and everything for his twisted ego.&lt;/p&gt;</content><author><name></name></author><category term="anime" /><summary type="html">A Comparative Analysis of Code Geass and Death Note</summary></entry><entry><title type="html">AIndustrial Revolution</title><link href="http://localhost:4000/2024/07/28/aindustrial-revolution.html" rel="alternate" type="text/html" title="AIndustrial Revolution" /><published>2024-07-28T00:00:00+02:00</published><updated>2024-07-28T00:00:00+02:00</updated><id>http://localhost:4000/2024/07/28/aindustrial-revolution</id><content type="html" xml:base="http://localhost:4000/2024/07/28/aindustrial-revolution.html">&lt;p&gt;This post is from an essay I wrote last year when I was confronted with the hype around generative AI.
I made some guesses about what the future might hold if machine intelligence lives up to the hype.
I attempt to imagine a future where artificial intelligence replaces human creative labor, make guesses about its effects by drawing parallels with the second industrial revolution, and offer my suggestions on how to deal with the changes as a creative worker.&lt;/p&gt;
@@ -221,135 +272,7 @@ And while the enter “key” in 8VIM is inconsistent - sometimes inserting newl
&lt;p&gt;8VIM remains a party trick - a way to make your phone unusable for others - but no more.
The touch typing promise is limited by the inability to input numbers and symbols blindly, and the promise of one-handedness is limited by the one hands grip without the thumb (as its used for typing).
So unless youre blind, have only one hand and only type telegraphs, its not for you.&lt;/p&gt;</content><author><name></name></author><category term="tech review" /><summary type="html">8VIM is an alternative keyboard created by Ravi Agarwal. Its premise is to replace the traditional target-based typing on touchscreens with more ergonomic, fast, and memorable gestures. It promises better accuracy, speed, and helpful shortcuts for editing text while typing. After one month of learning and then six months of exclusive usage on mobile, Im ready to give my review. Im comparing it to OpenBoard, my previous keyboard app, in both cases using the Hungarian layout, as I need to write using the languages special (umlaut) characters.</summary></entry><entry><title type="html">Creating a better, new world</title><link href="http://localhost:4000/2024/05/26/creating-a-better-new-world.html" rel="alternate" type="text/html" title="Creating a better, new world" /><published>2024-05-26T00:00:00+02:00</published><updated>2024-05-26T00:00:00+02:00</updated><id>http://localhost:4000/2024/05/26/creating-a-better-new-world</id><content type="html" xml:base="http://localhost:4000/2024/05/26/creating-a-better-new-world.html">&lt;p&gt;&lt;em&gt;A comparative analysis of Code Geass and Death Note&lt;/em&gt;&lt;/p&gt;
&lt;p&gt;Code Geass is one of my favourite anime, so when people recommended me Death Note as a similar story, I was intrigued.
During the first episodes I saw the similarities in the motives, and decided to write a comparative analysis to extract the archetypes represented by the two protagonists (antagonists?), Lelouch vi Britannia and Light Yagami.
Needless to say, this analysis contains full spoilers of both anime.&lt;/p&gt;
&lt;h1 id=&quot;dark-tetrad-traits&quot;&gt;Dark tetrad traits&lt;/h1&gt;
&lt;p&gt;The dark tetrad is an extension of the dark triad personality traits proposed by pscyhologists Delroy L. Paulhus and Kevin M. Williams.
Its an extension of the dark triad, that encapsulates the traits narcisism (to hold oneself in extremely high regard, in some cases infallable), machiavellianism (to see other people as means to acheive onselves goal) and pscyhopathy (to be void of remorse and consciense).
The fourt trait - sadism (to find pleasure in causing pain) - was proposed only later, extending the triad into a quad.
This collection of personality types is considered dark because they each lean towards malevolance, exploitation and antisocial behaviour.
Exploring these traits is the core of both stories, which is apparent in their main characters.&lt;/p&gt;
&lt;p&gt;Light Yagami is a prime example of the dark tetrad.
Hes clearly the unredeemable antagonist of the story, hes fully aware of the consequences of his actions yet hes fully committed to them.
This is trait pscyhopathy, as he shows no remorse no matter who he has to kill to acheive his goal, his utopia.
He also displays machiavellianism by even considering of sacraficing her sister to save himself, but also when pretending to work with the investigations and “befriending” L.
Most notable is his narcisism, putting himself in the position of god of the new world, being extremely smug about his victories and trembling in the face of defeat.
This is probably the most characteristic trait of Light.
His sadism is questionable, because he doesnt actively cause unneccessary pain, but how he cant help but announce his victory every single time to the defeated person - even at the risk of getting caught.&lt;/p&gt;
&lt;p&gt;Lelouch vi Britannia is on the other hand a much lighter case.
In some sense he can be called a humanitarian - rising against the opression of the Japanese, fighting for his sister, Nunally - its not clear troughout the story if hes more evil or good.
Later it turns out that his support of the operssed was only a secondary goal to destroying his father, which marks him as a machiavelli person along with his exploitation of Rolo, Shirley and Karen.
His thesis in his constant fighting with Suzaku is whether the ends justify the means, which furthers the machiavelli line.
With the character of Zero he also exhibits similar narcisistic behaviour as Light, he deems himself as the maker of miracles (a roundabout way of saying Im god) which is further emphasised by his antisociality in his class (a trait he also shares with Light).
The feeling of righteousness is also a characteristic of a narcisist, because it puts them above the others morally.
In the Zero requiem arc, Lelouch emphasises these traits to appear totally antagonistic and draw the hatred of the whole world onto himself.
His self-sacrafice shows an imporvement in his narcisistic traits by admitting to the idea that the world would be better without him, but paradoxically also states that only he could bring about the end of worldwide conflict and opression.
Sacraficing oneself is also the ultimate argument of his utlitarianism, by showing that even his life (something that many people hold most prescious) is below his final goal, maintaining his integrity even after betraying almost every single person that trusted him (as oppose to Light who holds his life most dear).
Where he remains relatable is how he feels remorseful and grieves many times during the series which excludes him being a pscyhopath or a sadist, unlike Light.&lt;/p&gt;
&lt;h1 id=&quot;values-and-motivations&quot;&gt;Values and motivations&lt;/h1&gt;
&lt;p&gt;The backgrounds of the two antagonists (protagonists?) are strikingly similar.
They both start off as excelling high-school students, which might be the most boring occupation out there.
Where they diverge is the rest of the worlds they inhabit.
While both find theirs rotten, Light lives in whats essentially the same as our world - which although has its problems, but definitely doesnt profit from his radical actions as Kira.
On the other hand, Lelouch lives in a reality where theres real opression, real genocide and real tyranny - even though hes in the privileged class, he cant stay silent about it.
In both series, storytelling amplifies this argument, by showing only minimal crimes in Death Note but full purges and exploitation of the “elevens” in Code Geass.&lt;/p&gt;
&lt;p&gt;The two characters families highly define their actions, but interestingly in an almost opposite way.
Light has his sense of justice as a familial heritage from his father, and thus destined to pretends to be his ally, whereas Lelouch is at conflict with his father (and also most his half-siblings), and destined to fight against him.
His sense of justice comes from his personal experience of abusement and goes against the exploitative nature of his ancestors - not unique in his generation, as Euphemia and Nunally also find Britannia despicable, but hes the one who takes action first.&lt;/p&gt;
&lt;p&gt;They both state they want to make the world a better place, and show that they are willing to go extreme measueres to acheive it.
But theres an interesting difference: Lelouch wants a world where he and his sister can live peacefully - which is value added to the existing - whereas Light wants a world without crime - which is something subtracted from the existing.
I generally value constructive methods and tend to be sceptical of destructive methods.
The outcome of the two stories seems to support this, but it may be rooted more in their aptness of making the correct sacrafices.&lt;/p&gt;
&lt;h1 id=&quot;enemies-and-challenges&quot;&gt;Enemies and challenges&lt;/h1&gt;
&lt;p&gt;An interesting parallel is the assumption of sectret identities.
Light is dubbed Kira by the internet, and Lelouch creates Zero as a (literal) mask for himself.
This shows that they both willing to tell lies both to their families and to their allies to protect themselves.
Neither identity proves sufficiently perfect, as both of them get unmasked at various points in the stories, but the upholding of this secret identity is a key struggle for both characters.
But they differ again in that Light - like a true pscyhopath - lies to anyone, even his last words being lies, but Lelouch is sworn against lying to Nunally.&lt;/p&gt;
&lt;p&gt;Both masterminds have their fair share of enemies to achieve their goals.
First and foremost are their own fathers, who hold opposing views both to Light and to Lelouch as well.
It comes as no surprise since both dads are of considerable authority, and both stand to uphold the current order of the world, while the sons main goal is to rewrite that.
The difference of what that really means is emphasised by how Soichiro Yagami is portrayed as a good character, not lacking in compasion and self sacrafice, but Charles Zi Britannia is an evil tyrant posessed by a twisted ideal.&lt;/p&gt;
&lt;p&gt;But the fathers are not the main opponents in neither story.
They are L and Suzaku - peers of Yagami and Lelouch.
Both of these enemies work in accordance of the fathers visions and ideals, but them being younger means that they can face the antago-protagonits better, and can have more personal relationships.
This relationships prove much important from the drama in the two stories - L considering Yagami his first friend, then being killed by him and Suzaku considering Lelouch his friend and killing him in the end - these fates are so extreme, they perplex anyone watching.
Processing the complete betreyal of a friend is the easier, but dying at a hands of your friend to reconcile the world with itself may be the peak of tragedy as a genre.&lt;/p&gt;
&lt;h1 id=&quot;allies-and-pawns&quot;&gt;Allies and pawns&lt;/h1&gt;
&lt;p&gt;As the journey of the two (anti)heroes unfolds, they both make allies, or at least sacraficial pawns to help them to their goal.
In Lelouchs case, the supporting group is the Black Knights, a bunch of freedom fighters, who doubt Zero, but have no better idea than to serve him.
In Yagamis case, he joins the Special Provision for Kira only at the second half of the anime, and only as an extra layer of disguise.
They too arent the pinacle of competence, but in their gut they remain vary of him and catch on eventually, which proves detrimental for Kira - similarly how Lelouchs situation changes for much the worse after Schneizel exposing him to the Black Knights.&lt;/p&gt;
&lt;p&gt;More interesting to me are the allies who share in the powers: the Death Note, and the Geass.
Yagami has quite a few of them, but the main one is Misa Amane - a fanatic of Kira and Light, who gives up three quarters of her life to get affirmation of a pscyhopath who discards her after she is no longer of use to him.
A similar fate awaits all the other Kiras, who all get disposed of by Light when they acheive the goal they were given a death note for, or when Light is at the risk of getting found out.
Teru Mikami, Kyouske Higuchi and Kiyomi Takada all are just pawns in Lights quest, that can be sacraficed for the greater good.
Or so Light believes.&lt;/p&gt;
&lt;p&gt;Lelouch has only one Geass-user ally: Rolo.
He steps into the picture as a fake brother, sent by his father to keep him in check, but manipulated into allying with Zero after he awakens.
Similarly to Misa, hes emotionally unstable and naive, serving as a prime victim for the machiavelli Lelouch, and becomes so attached to him, that he sacrafices his life to save Zero.
In this victim role, they both make good examples of how to get completely exploited and die for a lie you tell yourself.&lt;/p&gt;
&lt;p&gt;Despite the similarities of their underlings, the two stories have a big difference, namely in the supernatural entities bestowing the superpowers that change the world.
Ryuk, as a god of death, has no interest in the success or failure of Light more than entertainment and maybe as a way to eat apples, and he makes it clear that he doesnt want to help him.
After all hes only interested in humans to die, such is the condition of shinigamis.
His only goal is to kill some time - in the most bizarre sense.&lt;/p&gt;
&lt;p&gt;C.C. on the other hand is deeply involved in Lelouchs success, first as a partner in crime, and with the goal of ending her own misery.
I speculate she harbours a great deal of regert - in the case of Mao, she even states it, but I assume she feels some responsibility for Britannias conquest.
I base this on the support she provides to Lelouch for acheiving his aim, even from the beginning, by playing the part of the critique of his actions.
Later she grows emotionally attached to Lelouch, going as far in the end as to give up her own wish of dying for the sake of the new world order, based on his death - the event she spent the entirety of the story preventing.&lt;/p&gt;
&lt;h1 id=&quot;symbolical-similarities&quot;&gt;Symbolical similarities&lt;/h1&gt;
&lt;p&gt;Both series use symbols to convey deeper meaning.
The main reason I wanted to write this analysis are these symbolical similarities, which are quite consistent between the two series.&lt;/p&gt;
&lt;p&gt;The first is that both powers are linked to vision and eyes.
Lelouchs geass needs eye contact to work, and the death note requires you to visualize the target as well as write his name into the book.
Additionally, the shinigami eyes grant vision of names above the targets.
This set of restrictions provides challenges to the wielders of the powers, because they force personal contact, which leads to intentionally exciting situations.
But apart from being plot devices, they also highlight the visionary nature of the two lead characters.&lt;/p&gt;
&lt;p&gt;Another interesting simiarity is that both stories feature a memory loss arc.
These allow us to peek into what would have been if Light and Lelouch never got hold of their powers and never set out on their quests.
But they also show us that once they started on their mission, they are no longer contempt with the ordinary life and their fate is what waits them at the end of the road.&lt;/p&gt;
&lt;p&gt;But what fate waits them at the end of the road?
For both its death.
Light gets put out by Ryuk, right after hes discovered as Kira, and Lelouch sacrafices himself by the hands of Suzaku to acheive his goal of making the world a better place to live in.
Light gets close to his goal of becoming the god of the new world, but fails in the end, whereas Lelouch succeeds - but only by sacraficing everything including himself.&lt;/p&gt;
&lt;p&gt;Sacraficing oneself to cleanse the world - this is quite clearly a parallel to Jesus Christ, who is known as the ultimate example of self-sacrafice for the complete salvation of mankind.
Dying in the hands of Nunally is also intentionally similar to the Pieta - the symbol of Holy Mary holding her dead son.
And Death Note also has its Biblical reference: when L washes Yagamis feet, its the image of Jesus washing the feet of Judas Iscariot, before being betrayed and killed by him.
This one even makes sense in-universe, as Ls origin (Wammys house) is illustrated with christian symbols, including a church, so L might have been similar with the Bible from his orphanage days.&lt;/p&gt;
&lt;h1 id=&quot;conclusion&quot;&gt;Conclusion&lt;/h1&gt;
&lt;p&gt;The two anime - Death Note and Code Geass - showcase two similar charcters, whose alignment in terms of good and evil is similar.
Both are shown to posess treats that are known in pscyhology as the dark tetrad, but Yagami is much more pathological than Lelouch.
Their relationships are mostly similar, both in terms of underlings and enemies, except for a key differences which usually restore some of Lelouchs humanity and show the extent of Yagamis rotten nature.
They end the same but different - both characters die, closing their story, but Lelouch succeeds his goal by sacraficing himself, and Light suffers for sacraficing everyone and everything for his twisted ego.&lt;/p&gt;</content><author><name></name></author><category term="anime" /><summary type="html">A comparative analysis of Code Geass and Death Note</summary></entry><entry><title type="html">Storage in my home server</title><link href="http://localhost:4000/2024/05/26/storage.html" rel="alternate" type="text/html" title="Storage in my home server" /><published>2024-05-26T00:00:00+02:00</published><updated>2024-05-26T00:00:00+02:00</updated><id>http://localhost:4000/2024/05/26/storage</id><content type="html" xml:base="http://localhost:4000/2024/05/26/storage.html">&lt;p&gt;This is part two of my server writeup.
So unless youre blind, have only one hand and only type telegraphs, its not for you.&lt;/p&gt;</content><author><name></name></author><category term="tech review" /><summary type="html">8VIM is an alternative keyboard created by Ravi Agarwal. Its premise is to replace the traditional target-based typing on touchscreens with more ergonomic, fast, and memorable gestures. It promises better accuracy, speed, and helpful shortcuts for editing text while typing. After one month of learning and then six months of exclusive usage on mobile, Im ready to give my review. Im comparing it to OpenBoard, my previous keyboard app, in both cases using the Hungarian layout, as I need to write using the languages special (umlaut) characters.</summary></entry><entry><title type="html">Storage in my home server</title><link href="http://localhost:4000/2024/05/26/storage.html" rel="alternate" type="text/html" title="Storage in my home server" /><published>2024-05-26T00:00:00+02:00</published><updated>2024-05-26T00:00:00+02:00</updated><id>http://localhost:4000/2024/05/26/storage</id><content type="html" xml:base="http://localhost:4000/2024/05/26/storage.html">&lt;p&gt;This is part two of my server writeup.
Ill discuss how I organized the storage of my server starting from the hard drives, touching on file systems and redundancy, and even going into the folder structure, permissions and shared folders.&lt;/p&gt;
&lt;h1 id=&quot;changes-to-the-host-system&quot;&gt;Changes to the host system&lt;/h1&gt;

View File

@@ -38,7 +38,12 @@
<div class="wrapper">
<div class="home">
<h2 class="post-list-heading">Posts</h2>
<ul class="post-list"><li><span class="post-meta">Sep 22, 2024</span>
<ul class="post-list"><li><span class="post-meta">Nov 25, 2024</span>
<h3>
<a class="post-link" href="/2024/11/25/networking.html">
Server Setup Part 2 - Networking
</a>
</h3></li><li><span class="post-meta">Sep 22, 2024</span>
<h3>
<a class="post-link" href="/2024/09/22/creating-a-better-new-world.html">
Creating a Better, New World
@@ -58,11 +63,6 @@
<a class="post-link" href="/2024/05/26/storage.html">
Storage in my home server
</a>
</h3></li><li><span class="post-meta">May 26, 2024</span>
<h3>
<a class="post-link" href="/2024/05/26/creating-a-better-new-world.html">
Creating a better, new world
</a>
</h3></li><li><span class="post-meta">May 6, 2024</span>
<h3>
<a class="post-link" href="/2024/05/06/host.html">