Writing
The archive
251 posts on Kubernetes, security, Linux and the odd drone. Page 5 of 9.
2020
Running Counter-strike 1.6 and CSGO in kubernetes !
Yee so it was a long time ago when I spend days playing counter strike 1.6. And now when i got some more power full servers and some time I was thinking of…
Modsecurity 3 dos / scaraping protection Working !
Yess this is a brute force that work for modsecurity 3 and its not that many. Spent days searching the net and trying to find out how to get them working. First…
Filebeat => logstash => Elasticsearch and working modules
Setting up filbeat modules to work when you are uisng logstash to send logs over to elastic. So i started setting up filbeat to ship my mysql-slow.log and…
WordPress + Gatsby = Love
I like the ide of using wordpress as a backend service and then use a static file genertor to fetch the data from wordpress and then generate static files. Its…
Openvas results to json and Elasticsearch and kibana
I have some openvas scanners running but to use the scanners a need the results as json files. Then i can use my ELK stack to visualize and have dashboards over…
Send Openvas result to Kibana with vulwisperer
Vulwisperer is a tool to read the finding from a openvas scanner and to send them to a other tools. Here i want them to be sent to a elasticsearch and kibana…
Nikto webbscanner for kubernetes (samma.io)
I hope that you have already test my nmap scanners for kubernetes. Now its time for some more OWASP and webb scanner.Nikto is a webb application scanners and…
Nmap security scanner for kubernetes (samma.io)
I have worked with many of the diffent scanners around i i have a hard time liking them. What a miss is a scanner that can be run fast and simple and that send…
WordPress static hosting with firebase and google cloud
Some time ago i started looking to move this wordpress blog into a static file blog system. So to find the best tool a started to test the different blog tools…
2019
2018
Local Developing for Google Cloud
I have now starting to move all my hosting and code to the Google cloud platform. But when i developing new things i want to use the power and flexibility that…
Recover SQL innodb Database
How to recover an SQL innodb db with docker. When I moved this wordpress to it new hosting a did not have any good backup of the db. And i only got the mysql…
2016
Alexa and Jenkins (Docker)
So I have an Alexa echo dot at home. Use it to control stuff but I wanted it to do more like release and deploy the stuff I build. This is how you can integrate…
ddclient for loopia in Docker
So i uses loopia.se as my dns provider. And a also have some dns for my home but it always change ip (have dynamic ip home ) So for fixing this i build a docker…
Nginx with TLS (Handel certs in Docker)
I use alot of nginx with tls. And almost ll of my docker are public. So how do i solve the tls issues. Well i have done it like so in my docker file i generate…
Autodeploy you docker images to AWS (git push = deploy)
So I have a lot of small project and some large. To buil in quality into my code i need to run test in my code. And my code in a prod like env. I always uses…
WordPress multisite to wordpress singelsite (Easy linux)
So i hade to slip up my wordpress multisite to singel sites and it was not that hard when i found out how. First start with setting up the new wordpress and…
Roll you own Docker Registry with nginx (In Docker)
When yor private numbers of docker images grow is time to setup you own private repo. Do have you own docker repo you need 1. the docker registry 2. nginx to…
Maxscale Sql scaling with mariadb Cluster on Centos in Docker
So scaling sql server has now bean easy with mariadb maxscale. Here i uses it to connect to my mariadb cluster and setup two new servers. One is a loadbalanser…
MariaDB cluster with Dynamic Nodes on Centos 7 in Docker
So running sql in docker is a big qestion now. To make some test i have setup two mariadb cluster docker containers. The first one is the mariadb cluster…
Openldap with SQL Backend (Mariadb Centos 7 ) in Docker
We use Ldap for handling our users and I have spent time setting up Openldap and tryng to configur it. But now i have given up my ldap skills and setup my…
2015
Mesos cluster with Marathon running Docker
Hi So for hosting docker in large scale i have tested mesos cluster. Here is a guide for setting up 3 nodes in mesos running Centos 7. And the adding Marathon…
Elasticsearch controller
So we uses alot of easticsearch. And here is i small script to get status and do some simple task with es server. You can get cluster status and cron for index…
Python DOS protection (iptables,dos)
here are a small script I use to have some sort of dos protection on my webservers. import subprocess whitelist=[‘192.168.1.2’] blockvalue=2 alertvalue=1 proc =…
Move an Megento site to new url
So I hade to move en megent site from topunder.se to test.topunder.se this is so that you can test and try new stuff on a site that is not you primary site…
Foreman provision to bare and libvirtd (Centos7, foreman, libvirtd, KVM)
So I have started to play around with foreman and to get it to provision my diffrent servers. I started by starting up some local virtual servers on my laptop…
Build Openvpn centos 7
Here is how i build and setup openvpn on my centos 7 box. 1. Download and install openvpn latest Some yum packages yum install openssl-devel lzo-devel pam-devel…
Python3 and rabbitmq
Im using rabbitmq in some of my python apps. Here is a small guide to get pyton3 to send and recive data from rabbitmq I uses the code from…
Raspberry pi And Tellusd
Im using tellus to get info from my sensors like huminity and temp. And to get to work am using my rasp pi to recive and send siganls. Here is a quick guide to…
Setup SPI on Raspberry pi (mcp3008, Adafruit)
Im building my own watering system and to that I will have some sensores.. They are connected to my pi over SFI and a mcp3008 from Adafruit. The gear…