Night sky over New Mexico

Redirect local ports with firewalld

Redirecting local ports with iptables directly isn’t too difficult, but can we use firewalld to get the same result? 🧱

28 June 2024 · 4 min · 645 words · Major Hayden
Super cute raccoon standing in front of green foliage

Launch a watchtower container via podman quadlets

Podman’s new quadlet feature lets you specify container launch configuration via simple systemd-like unit files. 📦

31 May 2023 · 4 min · 649 words · map[email:major@mhtx.net name:Major Hayden]
Reflective box in the grass

1Password quick access in Sway

1Password has a handy quick access launcher and you can bring it on screen for fast access to passwords and two factor codes in Sway. 🔐

19 April 2023 · 2 min · 238 words · Major Hayden
View of a beach by the ocean from the air

Migrating to AWS CloudFront

New experiences bring joy! After working with fun AWS CloudFront hacks at work this week, I decided to migrate this blog to AWS S3 and CloudFront. ⛅

17 February 2023 · 11 min · 2326 words · Major Hayden
Wooden watchtower with mountains in the background

Automatic container updates with watchtower

Watchtower keeps an eye on your running containers and updates them when new containers appear upstream. 📦

4 January 2023 · 3 min · 481 words · Major Hayden
Cover image

Connect 1Password's CLI and app in i3 with lxpolkit

1Password’s CLI tool connects via PolicyKit to the 1Password application for authentication, but this isn’t the easiest in i3. 🔑

30 December 2022 · 3 min · 610 words · Major Hayden
Cover image

Use GNOME Keyring with Sway

Add encrypted ssh keys to your workflow more efficiently with gnome-keyring in the sway window manager.

5 August 2022 · 5 min · 1060 words · Major Hayden
Cover image

Basic authentication with Traefik on kubernetes

Keep prying eyes away from your sites behind Traefik with basic authentication. 🛃

20 April 2022 · 5 min · 873 words · Major Hayden

Encrypted gitops secrets with flux and age

Store encrypted kubernetes secrets safely in your gitops repository with easy-to-use age encryption. 🔐

19 April 2022 · 8 min · 1628 words · Major Hayden
Cover image

Secure Tailscale networks with firewalld

Tailscale provides a handy private network mesh across multiple devices but it needs security just like any other network. 🕵

30 October 2021 · 4 min · 645 words · Major Hayden
Cover image

Forwarding ports with firewalld

Learn how to forward ports with firewalld for IPv4 and IPv6 destinations. 🕵🏻

11 October 2021 · 4 min · 726 words · Major Hayden
Cover image

Inspecting OpenShift cgroups from inside the pod

...

5 April 2019 · 5 min · 1052 words · Major Hayden
Cover image

Running Ansible in OpenShift with arbitrary UIDs

...

22 March 2019 · 3 min · 590 words · Major Hayden

Running Home Assistant in a Docker container with a Z-Wave USB stick

...

14 January 2019 · 4 min · 645 words · Major Hayden
Cover image

Disable autoplay for videos in Firefox 65

...

18 December 2018 · 1 min · 136 words · Major Hayden

Use a secret as an environment variable in OpenShift deployments

Environment variables are easy to add to OpenShift deployments, but a more secure way to add these variables is by referencing a secret.

6 December 2018 · 2 min · 304 words · Major Hayden
Cover image

Changes in RHEL 7 Security Technical Implementation Guide Version 1, Release 3

...

2 November 2017 · 3 min · 501 words · Major Hayden
Cover image

Apply the STIG to even more operating systems with ansible-hardening

...

21 July 2017 · 2 min · 215 words · Major Hayden

Old role, new name: ansible-hardening

...

27 June 2017 · 1 min · 164 words · Major Hayden
Cover image

Enable AppArmor on a Debian Jessie cloud image

...

24 May 2017 · 3 min · 472 words · Major Hayden

RHEL 7 STIG v1 updates for openstack-ansible-security

...

5 April 2017 · 1 min · 204 words · Major Hayden

Display auditd messages with journalctl

...

5 January 2017 · 3 min · 525 words · Major Hayden

augenrules fails with “rule exists” when loading rules into auditd

...

3 January 2017 · 2 min · 425 words · Major Hayden
Cover image

Talk Recap: Holistic Security for OpenStack Clouds

...

31 October 2016 · 3 min · 541 words · Major Hayden
Cover image

Automated security hardening with Ansible: May updates

...

27 May 2016 · 3 min · 434 words · Major Hayden
Cover image

Troubleshooting OpenStack network connectivity

...

17 May 2016 · 6 min · 1140 words · Major Hayden

Preventing Ubuntu 16.04 from starting daemons when a package is installed

...

5 May 2016 · 2 min · 359 words · Major Hayden

802.1x with NetworkManager using nmcli

...

3 May 2016 · 2 min · 263 words · Major Hayden

Talk Recap: Automated security hardening with OpenStack-Ansible

...

26 April 2016 · 3 min · 597 words · Major Hayden
Cover image

Enable IPv6 privacy in NetworkManager

...

17 April 2016 · 3 min · 480 words · Major Hayden
Cover image

Automated Let’s Encrypt DNS challenges with Rackspace Cloud DNS

...

31 March 2016 · 4 min · 693 words · Major Hayden
Cover image

Enabling kwallet after accidentally disabling it

...

28 January 2016 · 2 min · 236 words · Major Hayden

Talking to college students about information security

...

10 November 2015 · 7 min · 1430 words · Major Hayden

systemd-networkd and macvlan interfaces

...

26 October 2015 · 3 min · 562 words · Major Hayden

What I learned while securing Ubuntu

...

14 October 2015 · 7 min · 1308 words · Major Hayden

Time Warner Road Runner, Linux, and large IPv6 subnets

...

11 September 2015 · 4 min · 802 words · Major Hayden

Chronicles of SELinux: Dealing with web content in unusual directories

...

10 September 2015 · 7 min · 1343 words · Major Hayden

Build a network router and firewall with Fedora 22 and systemd-networkd

...

27 August 2015 · 5 min · 926 words · Major Hayden

Research Paper: Securing Linux Containers

...

14 August 2015 · 3 min · 456 words · Major Hayden

Automated testing for Ansible CIS playbook on RHEL/CentOS 6

...

5 August 2015 · 1 min · 127 words · Major Hayden

Improving LXC template security

...

18 June 2015 · 2 min · 312 words · Major Hayden

Time for a new GPG key

...

11 June 2015 · 2 min · 254 words · Major Hayden

Adventures with GRE and IPSec on Mikrotik routers

...

27 May 2015 · 8 min · 1696 words · Major Hayden

You have a problem and icanhazip.com isn’t one of them

...

20 May 2015 · 3 min · 432 words · Major Hayden

Run virsh and access libvirt as a regular user

Libvirt is a handy way to manage containers and virtual machines on various systems. On most distributions, you can only access the libvirt daemon via the root user by default. I’d rather use a regular non-root user to access libvirt and limit that access via groups. ...

11 April 2015 · 1 min · 194 words · Major Hayden
Cover image

Helpful, low-FUD information security sites, mailing lists, and blogs

...

8 January 2015 · 1 min · 184 words · Major Hayden

Trust an IP address with firewalld’s rich rules

...

24 November 2014 · 2 min · 308 words · Major Hayden

Apache’s mod_proxy, mod_ssl, and BitTorrent Sync

...

28 September 2014 · 2 min · 337 words · Major Hayden

Etsy reminds us that information security is an active process

...

22 July 2014 · 1 min · 83 words · Major Hayden

AVC: denied dyntransition from sshd

...

3 July 2014 · 1 min · 163 words · Major Hayden