Introducing dcw: a Poor Man PaaS tool

Posted on Tue 28 March 2017 in Systems • Tagged with Docker, Bash, SSHLeave a comment

Dcw (Docker Compose Wrapper) is very small and dirty Bash script wrapping the docker-compose command. The meaning of such wrapper is to expose some docker-compose operations and a set of well defined commands on the host machine.

The typical use-case is an SSH command executed via the ~/.ssh/authorized_keys file ...

Continue reading

A DNS server with Batteries Included with PowerDNS, Docker and Python

Posted on Tue 06 September 2016 in Systems • Tagged with Docker, Python, REST, PowerDNSLeave a comment

If you have to frequently create, destroy and re-configure DNS zones for testing purposes you will agree that manually editing a Bind zone file is an annoying and error-prone task.

In order to make this job simpler I worked on this Docker container: the container instantiate a PowerDNS and provides ...

Continue reading

Backup your Dropbox share with bacula

Posted on Fri 27 July 2012 in Systems • Tagged with backup, bacula, bash, dropboxLeave a comment

I don't like cloud storage, especially I don't like Dropbox security history.
Anyway Dropbox and others cloud storage are damn cheap and easy to use, I use it for sharing non-important documents.

This little howto explain how you can backup your Dropbox share with Bacula.

First you must ...

Continue reading

Poor man virtual consolidated backup update

Posted on Sun 01 April 2012 in Systems • Tagged with backup, bacula, bash, scriptLeave a comment

I just received a little patch to my pmvcb from Tilman Schmidt.
This patch add the support for the new ESXi syntax of snapshot.remove.

You can download the last pmvcb from my Github page

Thanks Tilman.

Continue reading

How to push a public IP on your laptop using SSH bridged tunnel

Posted on Sun 04 March 2012 in Systems • Tagged with routing, ssh, vpnLeave a comment

In my previous post I talked about Layer 3 VPN feature of OpenSSH (starting from version 4.3).
Now, I'm talking about bridged VPN or Layer 2 VPN. With this feature you can create a virtual network device that, through the encrypted tunnel, is connected on the same network ...

Continue reading

How to split DNS name resolution in VPN environment

Posted on Wed 30 November 2011 in Systems • Tagged with dns, openvpn, powerdns, scripting, vpnLeave a comment

I'm in this situation:
a VPN to remote concentrator that load many routes to private networks, vpn server push DNS configuration via OpenVPN protocol (see --dhcp-option DNS in openvpn(8) ).
The scope of this post is to explain how you can use remote DNS pushed by VPN concentrator only ...

Continue reading

Howto configure multiple mac address over a single ethernet interface

Posted on Tue 04 October 2011 in Systems • Tagged with iptables, linux, networking, routingLeave a comment

I up against this problem on a server hosted by Hetzner.My server is a virtual hypervisor containing several virtual machines.The Hetzner's politics is to statically associate a public IP to a single mac address, is therefore impossible to have multiple IP address on a single ethernet device ...

Continue reading

cisco IOS: Monitorare una vpn

Posted on Tue 23 August 2011 in Systems • Tagged with cisco, ios, monitoring, vpnLeave a comment

Avere a che fare con delle connettività scadenti è sempre un disastro.

Uno strumento per tenere monitorata una VPN e reagire in caso di down puo' essere comodo.

Esempio:
In questo esempio ho una VPN tra la rete A (192.168.2.0/24) e la rete B (192.168 ...

Continue reading

Bacula 5.0.3 debian squeeze backport

Posted on Mon 25 July 2011 in Systems • Tagged with bacula, debianLeave a comment

Packages available here: http://www.bertera.it/software/bacula/bacula-backports/

Continue reading

Poor man vmware consolidate backup

Posted on Mon 25 July 2011 in Systems • Tagged with backup, bacula, script, vmwareLeave a comment

  • Update: for an english version of this post you can read the README of pmvcb at github
    For bacula integration of pvmcb you can see the instruction on bacula wiki

VMware offre un pacchetto di backup per le macchine virtuali: VCB

VCB

Il VCB non fa altro che:

  • eseguire uno snapshot ...
Continue reading