Posts Tagged ‘comp’

MikroTik configuration revision control with rancid

The config revision control tool rancid (Really Awesome New Cisco confIg Differ, but not at all limited to Cisco devices) has proven extremely useful. Rancid notifies you if there’s been some changes to a device, and since it’s Subversion backed it’s easy to extract full configurations in case you need it. Rancid has been supporting […]

Securely managing multiple Mikrotik units with dsh

dsh is a nice Unix/Linux tool for managing multiple systems efficiently, and I’m using it both at home and at work. In some distributions dsh has been replaced by pdsh, but no worries, pdsh is dsh compatible. Since all MikroTik devices running RouterOS might be managed over SSH, why not use dsh to manage these […]

Using BOPM with InspIRCd

Using Blitzed Open Proxy Monitor (BOPM) with a fairly new version of InspIRCd needed a slightly different configuration than suggested here and there. The following is working for me, using InspIRCd 2.0.9 and the BOPM package provided by Ubuntu (Lucid, but shouldn’t make much of a difference). First of all, the BOPM service wasn’t granted […]

Reaching multiple instances of the same IP address

A friend recently presented me with the following challenge: Configure a system through which several appliances, all of them having an identical, non-routable, default IP configuration, can be reached simultaneously. All appliances are preconfigured with an IP address of 192.168.1.1 and they had no routing configuration enabled. Yet they should all be reachable over the […]

Avoid hotlinking with Varnish

There’s a quite a few articles on how to configure Apache to avoid hotlinking, so that material on your web server isn’t used on remote sites (at least not without your knowing). This is how to do the same with Varnish. The example suggests that you forbid hotlinking to anything under http://www.example.com/fun/. The code will […]

Spanning-tree on Linksys srw2008

After finally admitting defeat I had to boot into Windows for managing my Linksys SRW2008 switch through its WebView, the reason being I could not find out how to enable regular spanning-tree on the switch. Having enabled it through its IE-specific web UI, I logged in to the (rather poorly documented) CLI afterwards to check […]

GeoIP and MySQL

For my own and possibly others’ reference, these are quick notes on how to use GeoIP data from MaxMind in their new split file formats. Older tutorials describe using the GeoIP data from a time when they were one file, it seems now MaxMind have split into two files. The files are split into Location […]

Ikke autorisert personer!

I dag ble jeg gjort oppmerksom på den flotte oversettelsen på de nye selvbetjeningssidene for (blant annet) å søke om visum til USA (med min utheving): Er hjemmesiden sikker og privat? Ja. Denne hjemmesiden blir operert av den Amerikanske myndigheten, og det benyttes teknologi som gjør at ikke autorisert personer får tilgang til informasjonen du […]

Remote syslogging with OpenWRT Kamikaze 8.09

For Kamikaze 8.09 (RC1) the documentation on remote syslogging is a bit inaccurate or outdated – but this ticket pointed me in the right direction. Add the following to /etc/config/system: log_ip 10.20.30.40 Reboot your unit and watch the logs roll in. Verify by checking what syslog is up to: root@OpenWRT:~# ps -ef | grep syslog […]

VLAN woes

I’ve been planning to do this for a long time and now I’m finally there. My home network now consists of two virtual host servers (one Xen and one KVM) and a firewall between them, all nodes understanding VLANs. On top of this, add a small but powerful Linksys switch and a Linksys wireless access […]