<?xml version="1.0" encoding="UTF-8"?><rss xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:atom="http://www.w3.org/2005/Atom" version="2.0" xmlns:cc="http://cyber.law.harvard.edu/rss/creativeCommonsRssModule.html">
    <channel>
        <title><![CDATA[Stories by Hosam Hani on Medium]]></title>
        <description><![CDATA[Stories by Hosam Hani on Medium]]></description>
        <link>https://medium.com/@s0sta?source=rss-0643e61a3930------2</link>
        <image>
            <url>https://cdn-images-1.medium.com/fit/c/150/150/1*R3RzFqwG7tfd_gpGhDtxiw.jpeg</url>
            <title>Stories by Hosam Hani on Medium</title>
            <link>https://medium.com/@s0sta?source=rss-0643e61a3930------2</link>
        </image>
        <generator>Medium</generator>
        <lastBuildDate>Thu, 03 Dec 2026 06:40:18 GMT</lastBuildDate>
        <atom:link href="https://medium.com/@s0sta/feed" rel="self" type="application/rss+xml"/>
        <webMaster><![CDATA[yourfriends@medium.com]]></webMaster>
        <atom:link href="http://medium.superfeedr.com/" rel="hub"/>
        <item>
            <title><![CDATA[Defaults are a starting point.]]></title>
            <link>https://s0sta.medium.com/defaults-are-a-starting-point-3f5cebb3470a?source=rss-0643e61a3930------2</link>
            <guid isPermaLink="false">https://medium.com/p/3f5cebb3470a</guid>
            <category><![CDATA[linux]]></category>
            <dc:creator><![CDATA[Hosam Hani]]></dc:creator>
            <pubDate>Wed, 02 Dec 2026 21:19:31 GMT</pubDate>
            <atom:updated>2026-12-02T21:19:31.426Z</atom:updated>
            <content:encoded><![CDATA[<p>nginx works out of the box. These nine settings are what make it work well, safely, and in front of a real application.</p><h3>Safety</h3><pre>server_tokens off;</pre><p>Hides the nginx version number in response headers and error pages. It will not stop a real attacker, but there is no reason to advertise it.</p><pre>client_max_body_size 64m;</pre><p>The maximum size of a request body. The default is only 1 MB, which is why file uploads and big WordPress imports fail with “413 Request Entity Too Large”.</p><pre>limit_req zone=login burst=5;</pre><p>Rate limiting for sensitive paths like login pages. It needs a matching limit_req_zone in the http block, which defines the key and the rate.</p><h3>Speed</h3><pre>gzip on;</pre><p>Compresses HTML, CSS, JavaScript and JSON. Text responses often shrink to a third of their size. Add gzip_types for anything beyond HTML.</p><pre>expires 30d;</pre><p>In a location for static files, tells browsers to cache images, CSS and JS for 30 days instead of asking again on every page.</p><pre>keepalive_timeout 65;</pre><p>Keeps client connections open so the next request skips a new TCP and TLS handshake.</p><h3>Proxy</h3><pre>proxy_read_timeout 120s;</pre><p>How long nginx waits for a response from the backend. Too short and slow reports or exports fail with 504. Too long and stuck requests pile up.</p><pre>proxy_set_header X-Real-IP $remote_addr;</pre><p>Passes the real client IP to the application. Without it, every visitor looks like 127.0.0.1 in your app logs.</p><pre>return 301 https://$host$request_uri;</pre><p>In the port 80 server block, sends every HTTP request to HTTPS.</p><h3>After every change</h3><p>nginx -t &amp;&amp; systemctl reload nginx.</p><p>Defaults are a starting point.</p><p>Which nginx setting saved you the most trouble?9 nginx Settings for a Real Application</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*VBQBx8fCncYQ0dI2oDt0lA.gif" /></figure><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=3f5cebb3470a" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Quiz: 3 Networking Questions That Keep Coming Up]]></title>
            <link>https://s0sta.medium.com/quiz-3-networking-questions-that-keep-coming-up-71e22625cb2b?source=rss-0643e61a3930------2</link>
            <guid isPermaLink="false">https://medium.com/p/71e22625cb2b</guid>
            <category><![CDATA[command-line]]></category>
            <category><![CDATA[sysadmin]]></category>
            <category><![CDATA[cloud-computing]]></category>
            <category><![CDATA[networking]]></category>
            <category><![CDATA[italy]]></category>
            <dc:creator><![CDATA[Hosam Hani]]></dc:creator>
            <pubDate>Wed, 02 Dec 2026 21:18:42 GMT</pubDate>
            <atom:updated>2026-12-02T21:18:42.320Z</atom:updated>
            <content:encoded><![CDATA[<figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*-1TATPCwfqhvkqKOeb_NHg.gif" /></figure><h3>Interviews test the basics because real outages are caused by them.</h3><p>Three networking questions that come up in IT interviews again and again. Try to answer before you read on.</p><h3>1. How many usable host addresses does a /26 subnet have?</h3><p>62. A /26 leaves 6 bits for hosts, which is 2 to the power of 6, so 64 addresses. The first is the network address and the last is the broadcast address, so 62 can be given to devices. A quick way to remember: /24 gives 254, and each extra bit halves it. /25 gives 126, /26 gives 62, /27 gives 30.</p><h3>2. DNS normally uses UDP port 53. When does it use TCP 53?</h3><p>For large responses and zone transfers. When a reply does not fit in a UDP packet, the server marks it as truncated and the client asks again over TCP. Zone transfers between DNS servers always use TCP. This is why a firewall that only allows UDP 53 causes failures that are rare and hard to explain, especially with DNSSEC and big TXT records.</p><h3>3. What does ARP do on a local network?</h3><p>It finds the MAC address for an IP address. Before a PC can send a frame to 192.168.1.1, it broadcasts “who has 192.168.1.1?” and the owner replies with its MAC address. The result is cached in the ARP table, which ip neigh shows on Linux and arp -a on Windows. Two devices answering for the same IP is how you spot an IP conflict, or ARP spoofing.</p><p>Interviews test the basics because real outages are so often caused by them.</p><p>How many did you get right?</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=71e22625cb2b" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[5 Windows Admin Habits That Hand Attackers the Domain]]></title>
            <link>https://s0sta.medium.com/5-windows-admin-habits-that-hand-attackers-the-domain-e5da72373812?source=rss-0643e61a3930------2</link>
            <guid isPermaLink="false">https://medium.com/p/e5da72373812</guid>
            <category><![CDATA[windows]]></category>
            <category><![CDATA[cloud-computing]]></category>
            <category><![CDATA[italy]]></category>
            <category><![CDATA[sysadmin]]></category>
            <category><![CDATA[cybersecurity]]></category>
            <dc:creator><![CDATA[Hosam Hani]]></dc:creator>
            <pubDate>Wed, 02 Dec 2026 21:14:45 GMT</pubDate>
            <atom:updated>2026-12-02T21:14:45.296Z</atom:updated>
            <content:encoded><![CDATA[<figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*G6eLgNBdR14enONMhuBnjA.gif" /></figure><h3>Convenience is the attack surface.</h3><p>Five Windows admin habits that save a few minutes and cost a lot when an attacker finds them.</p><h3>1. Using a Domain Admin account for daily work</h3><p>Email, browsing and documents as Domain Admin means one phishing click hands over the entire domain. Instead: a normal account for daily work, and a separate admin account used only for admin tasks, ideally from a dedicated admin workstation.</p><h3>2. Turning the whole firewall off</h3><p>netsh advfirewall set allprofiles state off makes an app work by removing all protection at once. Instead: add one inbound rule for the exact port and program the application needs.</p><h3>3. The same local admin password on every PC</h3><p>Attackers who get that password, or its hash, from one machine can move to every other machine with it. Instead: Windows LAPS gives each computer a unique local admin password that rotates automatically and is stored in AD or Entra ID.</p><h3>4. Restoring a domain controller from an old snapshot</h3><p>Rolling back a DC with an unsupported snapshot can cause USN rollback and break replication. Modern hypervisors with VM-Generation ID protect against much of this, but the safe path is still an AD-aware system state backup and a documented restore process.</p><h3>5. RDP open to the internet</h3><p>Port 3389 is scanned around the clock, and exposed RDP is one of the most common ransomware entry points. Instead: reach RDP only through a VPN or an RD Gateway, with MFA.</p><h3>The pattern</h3><p>Every one of these has been the first step in a real breach.</p><p>Convenience is the attack surface.</p><p>Which of these have you had to clean up?</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=e5da72373812" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[6 Stages Between Sending an Email and the Inbox]]></title>
            <link>https://s0sta.medium.com/6-stages-between-sending-an-email-and-the-inbox-b616fd89e491?source=rss-0643e61a3930------2</link>
            <guid isPermaLink="false">https://medium.com/p/b616fd89e491</guid>
            <category><![CDATA[italy]]></category>
            <category><![CDATA[email-marketing]]></category>
            <category><![CDATA[sysadmin]]></category>
            <category><![CDATA[dns]]></category>
            <category><![CDATA[cybersecurity]]></category>
            <dc:creator><![CDATA[Hosam Hani]]></dc:creator>
            <pubDate>Wed, 02 Dec 2026 21:10:50 GMT</pubDate>
            <atom:updated>2026-12-02T21:10:50.630Z</atom:updated>
            <content:encoded><![CDATA[<figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*NeCcWb9Jke0n_PGpDhICig.gif" /></figure><h3>Delivered is not the same as inbox.</h3><p>“The email was sent” and “the email arrived in the inbox” are two very different things. Six stages sit between them.</p><h3>1. The client submits the mail</h3><p>Outlook, a phone or your application sends the message to its outgoing mail server on port 587, with a login and TLS.</p><h3>2. The sending server looks up MX</h3><p>It asks DNS for the MX records of the recipient’s domain. These say which server accepts mail for that domain. A wrong MX record means mail goes nowhere, or to the wrong place.</p><h3>3. SMTP handoff with TLS</h3><p>The sending server connects to the receiving server on port 25 and, ideally, upgrades the connection with STARTTLS. The message is now handed over.</p><h3>4. SPF and DKIM checks</h3><p>The receiving server checks SPF: is this sending IP listed in the domain’s SPF record? And DKIM: does the cryptographic signature in the header match the public key published in DNS?</p><h3>5. DMARC decides</h3><p>DMARC requires that SPF or DKIM pass and match the visible From domain. If they do not, the domain’s DMARC policy says what to do: p=none to only report, p=quarantine for the junk folder, p=reject to refuse the message.</p><h3>6. Spam filter, then inbox</h3><p>Even fully authenticated mail is scored on content, links, sending reputation and user behaviour. That decides inbox or junk.</p><h3>The practical lesson</h3><p>A new website or system that sends email from your domain must be added to SPF and set up with DKIM. Otherwise its mail fails DMARC, and the customer never sees the order confirmation.</p><p>Delivered is not the same as inbox.</p><p>Does your domain have a DMARC policy yet?</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=b616fd89e491" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[9 Active Directory Checks for a Quarterly Review]]></title>
            <link>https://s0sta.medium.com/9-active-directory-checks-for-a-quarterly-review-442d617e14c8?source=rss-0643e61a3930------2</link>
            <guid isPermaLink="false">https://medium.com/p/442d617e14c8</guid>
            <category><![CDATA[italy]]></category>
            <category><![CDATA[cybersecurity]]></category>
            <category><![CDATA[cloud-computing]]></category>
            <category><![CDATA[sysadmin]]></category>
            <category><![CDATA[windows]]></category>
            <dc:creator><![CDATA[Hosam Hani]]></dc:creator>
            <pubDate>Wed, 02 Dec 2026 21:09:21 GMT</pubDate>
            <atom:updated>2026-12-02T21:09:21.147Z</atom:updated>
            <content:encoded><![CDATA[<figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*hwTPDIW7npV67S-x_yYpSg.gif" /></figure><h3>AD drifts. Check it on purpose.</h3><p>Active Directory does not break all at once. It drifts: old accounts, extra admins, forgotten computers. Nine checks to run every quarter.</p><h3>Accounts</h3><p><strong>Inactive users disabled</strong> — Search-ADAccount -AccountInactive -UsersOnly finds accounts that have not logged in for a while. Former employees and old test accounts are a favourite entry point.</p><p><strong>No passwords that never expire</strong> — check for PasswordNeverExpires on user accounts. Service accounts are the usual culprits. Group managed service accounts (gMSA) solve this properly.</p><p><strong>Few Domain Admins</strong> — Get-ADGroupMember ‘Domain Admins’. Every name on that list should be a person who needs it, using a separate admin account. Fewer is better.</p><h3>Machines</h3><p><strong>Stale computers removed</strong> — computer accounts that have not been active for 90 days or more. Disable first, delete later.</p><p><strong>LAPS on every PC</strong> — Windows LAPS gives each machine a unique, rotating local admin password. Without it, one stolen local admin password often works on every PC.</p><p><strong>Replication healthy</strong> — repadmin /replsummary shows replication failures between domain controllers. Silent replication problems turn into strange login issues.</p><h3>The domain</h3><p><strong>DCs pass dcdiag</strong> — dcdiag /q prints only the errors. A clean run is the goal.</p><p><strong>AD backup tested</strong> — a system state backup of at least one DC, and a test restore in an isolated lab. AD is the one system everything else depends on.</p><p><strong>krbtgt rotated</strong> — the password of the krbtgt account signs every Kerberos ticket. Rotate it on a schedule, twice each time with replication in between, using Microsoft’s documented process.</p><p>AD drifts. Check it on purpose.</p><p>How often is your AD reviewed?</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=442d617e14c8" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[502 means look behind nginx.]]></title>
            <link>https://s0sta.medium.com/502-means-look-behind-nginx-162e126c4cd4?source=rss-0643e61a3930------2</link>
            <guid isPermaLink="false">https://medium.com/p/162e126c4cd4</guid>
            <category><![CDATA[web-development]]></category>
            <category><![CDATA[nginx]]></category>
            <category><![CDATA[sysadmin]]></category>
            <category><![CDATA[linux]]></category>
            <category><![CDATA[troubleshooting]]></category>
            <dc:creator><![CDATA[Hosam Hani]]></dc:creator>
            <pubDate>Tue, 01 Dec 2026 21:17:55 GMT</pubDate>
            <atom:updated>2026-12-01T21:17:55.329Z</atom:updated>
            <content:encoded><![CDATA[<p>502 Bad Gateway. nginx is running fine. What failed is the application behind it: PHP-FPM, Node, Gunicorn or whatever nginx passes requests to.</p><h3>Diagnose</h3><pre>tail -f /var/log/nginx/error.log</pre><p>nginx writes exactly what went wrong when it tried to reach the backend. “Connection refused” means nothing is listening. “No such file or directory” means the socket does not exist. “upstream timed out” is a 504, a slow backend rather than a missing one.</p><pre>systemctl status php8.3-fpm</pre><p>Is the backend service running? If it crashed, its own log or journalctl -u php8.3-fpm explains why.</p><pre>grep -r fastcgi_pass /etc/nginx/sites-enabled/</pre><p>Which socket or port nginx expects. For apps behind proxy_pass, search for that instead.</p><h3>Fix</h3><pre>systemctl restart php8.3-fpm</pre><p>Get the backend running again, then read its log so it does not happen again tonight.</p><pre>ls -l /run/php/</pre><p>The socket in the nginx config must exist with exactly that name, and nginx must have permission to use it.</p><pre>nginx -t &amp;&amp; systemctl reload nginx</pre><p>After correcting the path, test the config and reload. No downtime.</p><h3>Prevent</h3><p><strong>pm.max_children</strong> — when all PHP-FPM workers are busy, new requests wait and eventually fail. Size it to your RAM and traffic, and watch the log for “server reached pm.max_children”.</p><p><strong>Monitor the backend</strong> — an uptime check that only tests nginx can stay green while the app is dead. Check a page that needs the application.</p><p><strong>Version in the socket name</strong> — a PHP upgrade from 8.2 to 8.3 often changes the socket path. The upgrade succeeds, and the site returns 502 until nginx is updated.</p><p>502 means look behind nginx.</p><p>What usually causes your 502s?Fix: 502 Bad Gateway</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*KSKeWg-iM_AxfJZ7wDozHg.gif" /></figure><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=162e126c4cd4" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Defense in Depth: Six Layers From the Data Outward]]></title>
            <link>https://s0sta.medium.com/defense-in-depth-six-layers-from-the-data-outward-0b3d17656e6b?source=rss-0643e61a3930------2</link>
            <guid isPermaLink="false">https://medium.com/p/0b3d17656e6b</guid>
            <category><![CDATA[linux]]></category>
            <category><![CDATA[networking]]></category>
            <category><![CDATA[cybersecurity]]></category>
            <category><![CDATA[italy]]></category>
            <category><![CDATA[cloud-computing]]></category>
            <dc:creator><![CDATA[Hosam Hani]]></dc:creator>
            <pubDate>Tue, 01 Dec 2026 21:16:22 GMT</pubDate>
            <atom:updated>2026-12-01T21:16:22.195Z</atom:updated>
            <content:encoded><![CDATA[<figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*PnASMDHGfdARh0wyVCvUQg.gif" /></figure><h3>No single layer is enough.</h3><p>No security control is perfect. Defense in depth means stacking layers so that when one fails, the next one stops the attack. Six layers, from the data outward.</p><h3>Layer 1 — Data</h3><p>The thing attackers actually want. Encrypt it at rest and in transit, give access only to people who need it, and keep backups that are offline or immutable and have been restored at least once.</p><h3>Layer 2 — Application</h3><p>Keep it updated, require strong authentication with MFA, validate input, and put a web application firewall in front of anything public.</p><h3>Layer 3 — Server</h3><p>Patch on a schedule, remove services you do not use, harden SSH and RDP, and log to somewhere the attacker cannot easily erase.</p><h3>Layer 4 — Network</h3><p>Firewalls that deny by default, segmentation so a compromised printer cannot reach the finance server, and remote access through a VPN or a zero-trust gateway rather than open ports.</p><h3>Layer 5 — Endpoint</h3><p>EDR on laptops and servers, full disk encryption, and no local admin rights for daily work. Most attacks start on an endpoint.</p><h3>Layer 6 — People</h3><p>Phishing awareness, and just as important, an easy and blame-free way to report a suspicious email or a mistake within minutes.</p><h3>Why layers matter</h3><p>A phishing email gets past the filter. The user clicks. EDR blocks the payload. Even if it did not, segmentation limits the spread, and offline backups make the ransom note irrelevant.</p><h3>If you can only start with three things</h3><p>MFA everywhere, patching on a schedule, and backups you have tested.</p><p>No single layer is enough.</p><p>Which layer is the weakest where you work?</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=0b3d17656e6b" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[9 dig Commands That Solve Almost Every DNS Question]]></title>
            <link>https://s0sta.medium.com/9-dig-commands-that-solve-almost-every-dns-question-3be3721d0c62?source=rss-0643e61a3930------2</link>
            <guid isPermaLink="false">https://medium.com/p/3be3721d0c62</guid>
            <category><![CDATA[sysadmin]]></category>
            <category><![CDATA[dns]]></category>
            <category><![CDATA[troubleshooting]]></category>
            <category><![CDATA[linux]]></category>
            <category><![CDATA[networking]]></category>
            <dc:creator><![CDATA[Hosam Hani]]></dc:creator>
            <pubDate>Tue, 01 Dec 2026 21:14:25 GMT</pubDate>
            <atom:updated>2026-12-01T21:14:25.214Z</atom:updated>
            <content:encoded><![CDATA[<figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*gqJezy2ITrkq8Ax035H9mw.gif" /></figure><h3>“It is always DNS.” Sometimes it is. dig tells you for sure.</h3><p>“It is always DNS.” Sometimes it is. dig tells you for sure. Nine commands that answer almost every DNS question.</p><h3>What does DNS say?</h3><pre>dig shop.example.com +short</pre><p>Only the answer, the IP address, without the rest of the output.</p><pre>dig example.com MX +short</pre><p>The mail servers for a domain and their priority. Lower number, higher priority.</p><pre>dig example.com TXT +short</pre><p>Text records: SPF, DKIM selectors, domain verification codes. Most email delivery problems start here.</p><h3>Who says what?</h3><pre>dig @1.1.1.1 shop.example.com +short</pre><p>Ask one specific resolver instead of your default. Compare 1.1.1.1, 8.8.8.8 and your company DNS to see who is out of date.</p><pre>dig @ns1.example.com shop.example.com +short</pre><p>Ask the authoritative nameserver directly. If it gives a different answer than the public resolvers, they are still serving a cached value.</p><pre>dig shop.example.com +noall +answer</pre><p>Shows the TTL. That number is how many seconds the cached answer will live. It tells you how long you have to wait after a change.</p><h3>Follow the whole chain</h3><pre>dig shop.example.com +trace</pre><p>Follows the lookup from the root servers, to .com, to your nameservers, to the final answer. Broken delegation shows up clearly here.</p><pre>dig example.com NS +short</pre><p>The authoritative nameservers. After a migration, check they point where you think.</p><pre>dig -x 203.0.113.10 +short</pre><p>The reverse lookup, IP to name. Mail servers with no matching PTR record often land in spam.</p><h3>The three facts</h3><p>The answer, which server gave it, and the TTL. Those three solve most DNS mysteries.</p><p>Is it always DNS where you work?</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=3be3721d0c62" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[ext4 vs XFS vs Btrfs: Each One Is Right Somewhere]]></title>
            <link>https://s0sta.medium.com/ext4-vs-xfs-vs-btrfs-each-one-is-right-somewhere-04d10983219d?source=rss-0643e61a3930------2</link>
            <guid isPermaLink="false">https://medium.com/p/04d10983219d</guid>
            <category><![CDATA[storage]]></category>
            <category><![CDATA[linux]]></category>
            <category><![CDATA[italy]]></category>
            <category><![CDATA[cloud-computing]]></category>
            <category><![CDATA[sysadmin]]></category>
            <dc:creator><![CDATA[Hosam Hani]]></dc:creator>
            <pubDate>Tue, 01 Dec 2026 21:10:26 GMT</pubDate>
            <atom:updated>2026-12-01T21:10:26.239Z</atom:updated>
            <content:encoded><![CDATA[<figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*Ms3rYjLCWYSVML7H-1Hqig.gif" /></figure><h3>The most important feature is that someone can repair it at 3 AM.</h3><p>Three Linux filesystems you will meet on servers. Each one is the right answer somewhere.</p><h3>ext4</h3><p>The long-time default on Debian and Ubuntu. Extremely mature, well understood, and every rescue tool supports it. It can grow online and shrink while unmounted. It checksums its metadata but not your data, and it has no snapshots of its own, so people pair it with LVM when they need them.</p><h3>XFS</h3><p>The default on RHEL, Rocky and Alma Linux. It shines with very large disks, very large files and many parallel writes, which is why it is common on file and database servers. Its one hard limit: an XFS filesystem cannot be shrunk. Plan your sizes, or be ready to copy the data to a new volume.</p><h3>Btrfs</h3><p>The default on Fedora and openSUSE. It has snapshots built in, checksums on data as well as metadata so silent corruption is detected, compression, and it can grow and shrink online. The honest caveat: its RAID 5 and 6 modes are still not recommended for important data. RAID 1 and 10 are fine.</p><h3>The practical choice</h3><p>ext4 for most servers and VMs, especially if your team already knows it.</p><p>XFS for big storage and heavy I/O, on the RHEL family where it is the default anyway.</p><p>Btrfs when snapshots before upgrades and data checksums matter more than familiarity.</p><h3>The rule</h3><p>The most important feature of a filesystem is that someone on your team knows how to repair it at 3 AM.</p><pre>df -Th</pre><p>Shows what each of your filesystems uses.</p><p>Which one runs on your servers?</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=04d10983219d" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[VLAN vs Subnet: Two Different Layers]]></title>
            <link>https://s0sta.medium.com/vlan-vs-subnet-two-different-layers-1e09376a692a?source=rss-0643e61a3930------2</link>
            <guid isPermaLink="false">https://medium.com/p/1e09376a692a</guid>
            <category><![CDATA[sysadmin]]></category>
            <category><![CDATA[cybersecurity]]></category>
            <category><![CDATA[cloud-computing]]></category>
            <category><![CDATA[networking]]></category>
            <dc:creator><![CDATA[Hosam Hani]]></dc:creator>
            <pubDate>Tue, 01 Dec 2026 21:08:56 GMT</pubDate>
            <atom:updated>2026-12-01T21:08:56.765Z</atom:updated>
            <content:encoded><![CDATA[<figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*z6Kog92q2SKCKB0IegHctQ.gif" /></figure><h3>VLAN separates on the switch. Subnet separates in IP. Use both.</h3><p>VLANs and subnets are often mixed up because they are almost always used together. They solve the problem at two different layers.</p><h3>A VLAN works at Layer 2</h3><p>On the switch. switchport access vlan 20 puts a port into VLAN 20. Devices in VLAN 20 can only see each other’s broadcasts, as if they were on a separate physical switch. Between switches, a trunk carries many VLANs over one cable, with an 802.1Q tag on each frame saying which VLAN it belongs to.</p><h3>A subnet works at Layer 3</h3><p>In IP addressing. 192.168.20.0/24 is a range of 254 usable addresses. Devices in different subnets cannot talk directly. Their traffic has to go through a router or a Layer 3 switch.</p><h3>How they fit together</h3><p>The usual design is one subnet per VLAN. VLAN 10 is 192.168.10.0/24 for staff, VLAN 20 is 192.168.20.0/24 for finance, VLAN 30 for printers, VLAN 40 for guest Wi-Fi. The router or Layer 3 switch has an interface in each one, and that is where you control what can talk to what.</p><h3>Where people get confused</h3><p>Putting two subnets in one VLAN works, but broadcasts still reach everyone, so you gain addresses, not separation.</p><p>Creating VLANs without firewall rules between them separates broadcasts, but the router may still forward everything. The security comes from the rules on the router, not from the VLAN alone.</p><h3>The practical win</h3><p>Printers, cameras and guest devices in their own VLAN and subnet means a compromised camera cannot reach the finance PCs.</p><p>VLAN separates on the switch. Subnet separates in IP. Use both.</p><p>How are your networks segmented?</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=1e09376a692a" width="1" height="1" alt="">]]></content:encoded>
        </item>
    </channel>
</rss>