Antoine Aflalo

My journey in the computer world

Category

Scripts

Increment version of release for debian packaging with git tag

At work we’re using debian packaging to prepare our release, this mean we need to prepare the changelog, commit the change on the changelog and tag the release. Moreover we need to track what the current release number and to… Continue Reading →

Elastic Stack with TLS

Introduction At work, we decided to give a try to the Elastic Stack (Elastic Search, Logstash and Filebeat in our case) while having the whole communication secured with TLS. TLS Protocol You might at this point wonder how all the… Continue Reading →

SalesForce ID 15 chars to 18 chars in PHP

Like in a lot of companies, SalesForce is used to manage customer file and information. Our application need to interface with the SF Database to either update/create records or fetch some information for our support/marketing. We encounter a weird issue… Continue Reading →

Fail2ban and CloudFlare

In a previous blog post (Fail2ban + Tarpit), I explained how to setup a Tarpit for Fail2ban to use it against the attacker that got banned multiple times. It works great especially in conjunction with WP Fail2ban, a fail2ban plugin for… Continue Reading →

Nginx Referrer Blacklist updated

I went through my google analytic log and updated the referrer blacklist for Nginx. As before, it’s available as a gist on GitHub.

letsencryp.sh a client to automatize let’s encrypt renewal and creation

I’ve been playing around with let’s encrypt and the official client available on github. I have to admit the client is great to automatize the process and with some tweaking can be also applied to nginx. But it’s slow and… Continue Reading →

Autotagging and versioning for C# app with AppVeyor and Git

I needed a way to auto-tag my release when I’m modifying the AssemblyInfo.cs file in my C# application. I created a pre-commit, post-commit and simple version.sh file to do so: The version.sh contain which file need to be monitored. When… Continue Reading →

Fail2ban + Tarpit

This website is hosted on my own dedicated server (a kimsufi) and like every server, it’s getting regularly attacked. To identify those attacks, I needed to add a layer of security to ban recurrent attempt, this layer is Fail2ban. It’s… Continue Reading →

Tutorial for OpenVPN TAP Bridge Mode

I’m using my raspberry pi as a NAS with a samba server to provide the content through my home network. I wanted to have that content directly accessible from the rest of the world but without the traffic to be… Continue Reading →

User Script for Stand Still. Stay Silent

I discovered a wonderful comic named Stand Still. Stay Silent I wanted to add the possiblity to use the arrow keys to browse the web comic, I then created a script for it :

© 2018 Antoine Aflalo — Powered by WordPress

Theme by Anders NorenUp ↑