Skip to content

Instantly share code, notes, and snippets.

# In The Name Of Allah .
# -- --- ---- -- ----- -
# Fri Nov 13 04:40:22 2020
# Written By : zer0err0r .
# ======= == = ========= =
# 12, VirtIO Windows LAB .
# Defining variables :
vm=win1
virsh='virsh --connect qemu:///system'
# In The Name Of Allah .
# -- --- ---- -- ----- -
# Fri Jan 22 05:48:48 2021
# Written By : zer0err0r .
# ======= == = ========= =
# 1, Introducing NFTables On CentOS 8 .
= Its the default NetFilter frontend in CentOS8 .
= I mean, The default firewall on CentOS8 [FirewallD] uses NFTables as a backend .
= In CentOS7 it was [Netfilter <= IPTables <= FirewallD] .
# In The Name Of Allah .
# -- --- ---- -- ----- -
# Fri Jan 22 05:48:48 2021
# Written By : zer0err0r .
# ======= == = ========= =
# 2, Lets Create A Basic SPI Firewall .
= We will create a new [table], then a [chain], Then define our [rules] .
= The ruleset that we will write represent a basic stateful_packet_inspection[SPI] firewall .
# In The Name Of Allah .
# -- --- ---- -- ----- -
# Fri Jan 22 05:48:48 2021
# Written By : zer0err0r .
# ======= == = ========= =
# 3, Persisting Our SPI Ruleset .
$ nft list ruleset > spi_nftables
$ nft flush ruleset
$ nft -f spi_nftables
@yorickdowne
yorickdowne / friday.md
Last active May 13, 2026 07:04
Debian 13 trixie upgrade

Debian 13 "Trixie"

To start, read the official release notes.

If your install fits into "vanilla Debian plus maybe a handful of 3rd-party repos", then this guide for a simple upgrade to Debian 13 "trixie" from Debian 12 "bookworm" can be helpful. 3rd-party repos are handled with a find command.

If you are on a fork of Debian such as RasPI OS, use their instructions, not this gist.

Note upgrade is only supported from Debian 12 to Debian 13. If you are on Debian 11, upgrade to Debian 12 first. Then once on Debian 12, you can upgrade to Debian 13.