• Read logs in powershell console

    Read logs in powershell console. It’s easy to get lost in Windows large event logs and log files during troubleshooting, here to help are powershell cmdlets Get-EventLog and Get-Content. These cmdlets shows powershells strength compairing to the built-in gui-tools ...


  • ncat, a modern implementation of netcat

    ncat is a utility that is like the UNIX cat command but for network connections. It’s based on the original netcat and comes with a couple of more modern features. In this short post, we’ll go through a couple of examples to see exactly what uses this tool has. I’m ...


  • Slimming down the Internet routing table

    When an ISP or Autonomous System (AS) such as Redpill Linpro acquires a block of globally unique IP addresses (called a prefix), it must advertise it to the global Internet routing table. This advertisement causes all other ASes in the world to find out that the new prefix is now ...


  • Elastic Stack

    This is the first of three posts about Elastic Stack. Introduction At a glance, Elastic Stack is a web based search engine. It’s like Google. For your logs. Elastic stack contains multiple components. Elasticsearch stores your data, and eats all your disk space. Kibana, the web interface. It looks nice, ...


  • Using systemd timers

    You might, like me, once have tried to get something to run on the first monday of the month, or maybe the last friday of the month, or something else that’s a combination of a weekday (Mon–Sun) and a «week» (i.e. a date range, like 01–07). The naïve approach is ...


  • Spicing up your own access with capabilities

    I’ve always had a bad conscience about the audit trail on the servers I manage. Sure, we use personal accounts and sudo, so we know who ran every command. Unfortunately, the command in the sudo log is often just “bash”. The reason for this is simple: It is quite awkward ...


  • Adventures in bash - catching several exit values in a piped set of commands

    All in all, very odd, bash continues to be the most bizarre of languages, convoluted, twisted, but with strange solutions thrown in just when you are about to give up hope entirely.” (forum post at Techpatterns ) When re-working a database backup script at one of my customers I stumbled ...


  • PaaS Play

    The intention of this post is to get oneself kick-started into playing with Platform as a Service (PaaS) by interacting with a lab environment that is running in a VM on your local machine. It relies heavily on other parties (OpenShiftOrigin, jmorales, Red Hat and JavaZone) prior work that I ...


  • Publishing Jekyll updates with gitlab-ci

    Our company has embraced our local GitLab installation extensively. At its core, GitLab provides a repository management system based on the Git versioning system. A very practical extension to GitLab is the Gitlab CI feature. In short, the GitLab CI is a set of commands that can be run when ...


  • Liberating the network

    The network is a very proprietary place. When you buy an IP router or an Ethernet switch, what you’re really buying is a tightly integrated bundle of hardware and software. Mixing and matching software and hardware components in order to design a network infrastructure tailored to your precise set of ...


  • Grooming your SSL/TLS setup with cipherscan

    If you rely on ssl/tls certificates and you have a slew of services to maintain online, things can quickly get out of hand. If you don’t have the time or the resources to keep up to speed with what ciphers to disable or what techniques to employ serverside, you might ...


  • Welcome to a new season of our SysAdvent Blog!

    The staff at Redpill Linpro will this December again run an advent calendar with sysadmin-related content! Our season two of the SysAdvent Calendar will kick off, as expected, on December 1st. As with the original sysadvent blog, the article contents this year will be a bit longer compared to last ...


  • Thank you for visiting our SysAdvent Blog!

    We hope you have enjoyed the articles! This is the last post in this years sysadvent. If you want to read more, we have other blog entries at our main site, our employees have personal blogs that are aggregated at Planet Redpill Linpro, or you can visit the original sysadvent ...


  • RedHat Performance Tuning

    Performance tuning is done to increase system performance, reduce power usage or to ease the application impact on the rest of the system. If done prematurely, or without any measurements, performance tuning may, of course, have the opposite effect. But done systematically, performance tuning can be more of a science ...


  • Logging elapse time in apache and nginx

    Logging the elapse time in the web server access log can be very useful for statistics and problem solving. I usually throw it in at the end of the log line (that’s generally compatible with existing log-analysis tools like awstats), and on a keyword=value format so that it’s easy to ...