On the last weeks I’ve been playing a bit with Ruby. Until now I’ve to say I’m very comfortable working with this language, it’s amazing very easy to work with data structures and the syntax it’s very simple and clear
Protecting SSH with Two-Factor authentication
Google authenticator is a client to provide multi-factor authentication based on time-based one-time password algorithm TOTP. How you can see it’s very easy to increase a bit more the security in our Linux servers. A verification token has to be
Backup Swiss Knife Tool
Hello everybody, Recently I developed a set of Perl modules and scripts to take some backups (files and database) and I uploaded the project to GitHub. So basically the functionality of this modules are: Take full and incremental backups rotated
Script to count http requests
After some time without updating, due a some changes and some work that require my attention, now I’m returning to post in the blog. Actually I migrate to Ireland, Dublin, since a couple of months, due a job opportunity. I’ve
Blocking Port Scan Attacks with psad
Port Scan Attack Detector (psad) allow us detect and block possible port scan or suspicious traffic in real time. psad is designed for work with iptables, configuring syslog to send log messages from the facility kern.info to /var/lib/psad/psadfifo, to analyze
Postfix SMTP Relay to smtp.gmail.com
In some situations it’s needed if you have an internal mail server with a dynamic IP address, or simply one server hosting an application that have one form contact for example and a mail daemon listening in localhost, it can
Deploying Java Unix Daemon with Java Service Wrapper
Java Service Wrapper is a library that provides a set of binaries and scripts for different architectures and operating systems that allow us to run a Java application as a service daemon. There are some integration methods to run a
Migrating opentodo blog to a VPS
After some time without updating the blog due to some projects and work reasons, now I return to continuing posting!! These days I’ve been working to migrate this blog to a VPS. As yet this blog was hosted in a
Authenticate DNS Zone Transfer with TSIG
TSIG (Transaction Signatures) provides authentication and data integrity for the communication between servers. This communication includes zone transfers, notifications, recursive queries or dynamic updates. A shared secret will be generated in one of both servers and the same secret with
Configuring a SSL/TLS VPN with OpenVPN
openvpn is a vpn solution that implements connections for the layer 2 or 3, using the SSL/TLS protocol stack. Configuring a vpn SSL/TLS is a good idea and enhance the security of our communications due to the data cipher using