You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Instantly share code, notes, and snippets.
Jorrit Folmer
jorritfolmer
Cyber Defense Engineering Consultant improving security monitoring for security teams and SOCs.
Running a lab with Elasticsearch, Kibana, Fleet and Elastic Package Registry containers
0. Prep container host
This HOWTO assumes Red Hat Enterprise Linux 9.x or 10.x with Podman.
Even though this is a lab, the assumptions are that the skeleton could be
scaled to something in production without major reconstructions, hence the
reason for the elaborate TLS incantations that could easily be replaced
by requesting certificates to be signed by another Root CA.
Adding memtest86+ v7 to Red Hat Enterprise Linux 9 Grub2 UEFI menu
How to add memtest86+ to the UEFI grub2 boot menu in Red Hat Enterprise Linux 9
The two methods below can be used to boot Memtest86+ from the grub2 boot loader on Red Hat Enterprise Linux 9.
This is convenient when a system is located in a datacenter instead of on your desk, and has a remote console like e.g. iLO.
Unfortunately the most recent Memtest86+ v7 cannot currently detect correctable ECC errors, so the only hint is very low performance in the memtest interface like the elapsed timer not updating every second. In that case EDAC errors filling up /var/log/messages are a more reliable indicator.
Using the EFI filesystem and a /etc/grub.d config file
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
The rsyslog config below realises a reusable building block to onboard syslog data, for example into Splunk. It assumes an on-prem enterprise environment and uses the file system as a buffer/queue to decouple syslog senders from a receiver like Splunk Universal Forwarder (UF). This way you can restart Splunk UF without any data loss.
The following four configuration files ensure:
Reception of syslog into one log file for every source IP address.
Fitness for a high volume syslog setup by having rsyslog NOT throttle
Least privilege for Splunk UF by having rsyslog create files with appropriate umask and group
Retention of all log files for 1 day to prevent availability issues from "disk full" scenarios
You need at least 8 GB of RAM for the installation to succeed. If not, the installer will give you weird errors. See below for the difference in output between a successful and unsuccessful installation.
Replace a1redacted-abcd` with your own tenant name and code.
These steps show how to install Tailwind CSS in a Pelican project, purge and minify it so you don't have to reference a 3+ MB CSS file but only several kB.