Skip to content
Linux DevOps blog
Linux DevOps blog

Adding GeoIP alerting to your SSH logins

Bash, Security, Tools / IvoPalli

Adding GeoIP alerting to your SSH logins If you ever look in your server logs, I’m sure you’ve seen the steady stream of failed SSH login attempts. Most of these come from the more lawless parts of the world like China and Russia. But what if they happen to guess your password? Or a password […]

Adding GeoIP alerting to your SSH logins Read More »

Doing generic foreach loops in C

Leave a Comment / C / IvoPalli

Doing generic foreach loops in C While doing some work with linked lists, I looked into making an iterator loop. I wanted it to be generic without too much #define magic so as to still be readable for the average C programmer. I came up with this: This code defines two arrays and uses the

Doing generic foreach loops in C Read More »

Wildcard SSL certificates for VDX.nl

Leave a Comment / Bash / IvoPalli

Wildcard SSL certificates for VDX.nl NOTE: VDX has introduced two-factor authentication for their DNS services. While good for security, this does mean you can not script DNS changes anymore. As a result, I changed to https://hosting.nl/ for my DNS needs because they offer an easy REST API to do DNS changes. If you have domain

Wildcard SSL certificates for VDX.nl Read More »

Why ChatGPT is dumb as a brick, but it doesn’t matter

Leave a Comment / Opinion / IvoPalli

Why ChatGPT is dumb as a brick, but it doesn’t matter Everybody will probably have heard of ChatGPT by now and those without a programming background have been wowed by the ‘almost lifelike’ interface. As with any new thing that comes along (and it’s really not new), the end of programmers and IT people has

Why ChatGPT is dumb as a brick, but it doesn’t matter Read More »

Logging Linux CIFS and NFS traffic in Zabbix

Leave a Comment / Awk, Bash, Zabbix / IvoPalli

Logging Linux CIFS and NFS traffic in Zabbix The entire script can be downloaded at the end of the article, so no need to copy/paste. I recently started at a new job where one of the first challenges was to set up monitoring on a large storage cluster. The cluster has two servers acting as

Logging Linux CIFS and NFS traffic in Zabbix Read More »

Using gawk interactively to query a database

Leave a Comment / Awk / IvoPalli

Using gawk interactively to query a database In my previous post I showed you how to install a JBDC client to access a MaxDB database. Since I got that running I ran into an issue where I needed to retrieve a filepath from my database. This filepath was broken up into it individual components with

Using gawk interactively to query a database Read More »

JDBC to MaxDB on the Linux commandline

Leave a Comment / Tools / IvoPalli

JDBC to MaxDB on the Linux commandline ODBC is Microsofts effort into creating a unified way of talking to databases. Sure, you don’t get all of the bells and whistles that that particular database offers, but it does give you the option of talking to a database and getting the basics like reading and writing

JDBC to MaxDB on the Linux commandline Read More »

Finding software alternatives

Leave a Comment / Tools / IvoPalli

Finding software alternatives Sometimes you find a piece of software that’s not a complete fit for your problem. But what other similar software packages are there? A good place to check is https://alternativeto.net/ Here you can enter the name of what you found so far and see if there are any alternatives for you to

Finding software alternatives Read More »

A slightly better debug printf

Leave a Comment / C / IvoPalli

A slightly better debug printf While I’m familiar with tracing code in a debugger, I still use printf() a lot during debugging. However it’s worth it to make some small improvements. Introducing this little include file. (Call it debug.h) It has a number of features. For one, you can easily turn on or off debug

A slightly better debug printf Read More »

Chainloading JS libraries

Leave a Comment / Javascript / IvoPalli

Chainloading JS libraries on the fly Loading Javascript libraries with <script src=””> lines is easy. But there are instances when you need to load JS libraries but you can’t use that. One example is loading HTML into a <div> via JS. Any <script src=””> lines are just ignored. That’s way you want to be able

Chainloading JS libraries Read More »

Post pagination
1 2 Next →

Recent Posts

  • Adding GeoIP alerting to your SSH logins
  • Doing generic foreach loops in C
  • Wildcard SSL certificates for VDX.nl
  • Why ChatGPT is dumb as a brick, but it doesn’t matter
  • Logging Linux CIFS and NFS traffic in Zabbix

Archives

  • July 2024
  • April 2023
  • February 2023
  • January 2022
  • December 2021
  • November 2021

Copyright © 2025 Linux DevOps blog | Powered by Astra WordPress Theme