Nginx, Modsecurity and ELK stack

Nginx, Modsecurity and ELK stack

  It has been a while since i have written here and lately i was kinda struggling to import and have meaningful modsecurity data in ELK. Long story short the easiest way is to convince Modsecurity to write the data in json format. In this way all the “parsing” and importing becomes more easier. Otherwise…

Read More Read More

DMARC / Spamassassin / Qmail

DMARC / Spamassassin / Qmail

There are a lot of articles regarding DMARC so i will not start again about what it is and what is useful for. Also i will not talk about the drawbacks when it’s implemented. I will instead give you a hint about where to generate a DMARC policy  and where to verify it. Until you…

Read More Read More

Gentoo and upgrading perl core

Gentoo and upgrading perl core

GENERAL RULE: always back-up and always use maintenance windows. On a busy server with lots of scripts and programs installed this task might become quite hard since you don’t know from where the problems can appear. If you look on the official documentation you will find that in order to upgrade perl-core you should upgrade…

Read More Read More

Gentoo – spamassassin with pyzor, razor and dcc

Gentoo – spamassassin with pyzor, razor and dcc

You will find a lot of documentation regarding those but almost nowhere is explaining you that by just un-commenting these in spamassasin config files will not have those working. In order to work you will need to install separate packages from different vendors. In order to use the above for spamassassin you will install only…

Read More Read More

Different types of find between dates and list / delete / move

Different types of find between dates and list / delete / move

I’ve struggled for some time with find mtime/atime/ctime but the results were not so confident sometimes and this is because how Linux is operating. If you want to delete all the files between 2018-06-01 and 2019-01-01 you need to: 1) create two files with these dates touch -amt 201806010000 ref1 touch -amt 201901010000 ref2 2)…

Read More Read More

Nagios, VMware/vSphere, VMware Perl SDK 6.5 on Gentoo Linux

Nagios, VMware/vSphere, VMware Perl SDK 6.5 on Gentoo Linux

Tutorials on how to install nagios to collect data from ESXi for Redhat/Ubuntu you can find plenty on internet. Unfortunately is not the case for Gentoo. What you need to know that is not impossible and fairly easy (once you get it done). Here the steps: 1) Download VMware-vSphere-Perl-SDK-6.5.0-xxxx.x86_64.tar.gz from VMware site. 2) Once you…

Read More Read More

Shrink lvm partition in VMware

Shrink lvm partition in VMware

Back-up the VM ; this is way you have a VM so you can clone it easily or using a back-up tool Remove the connected interfaces and test your back-up ; you never know Boot from live CD ( since most of the operation that need to be done you need not to have mounted…

Read More Read More

Photoshop to Epson L850 printing

Photoshop to Epson L850 printing

Note to myself: In printer use Nozzle check If not ok use Head Cleaning If banding – use Print Head aliment and than choose from printer which one is more ok If banding – disable “High Speed” In settings(“More Options”) -> Customer- No color Adjustments ( we don’t want that printer will do again adjustments…

Read More Read More