Category: Linux

Linux: Anonymize IP logs with syslog-ng 0

Linux: Anonymize IP logs with syslog-ng

By using a replacement for the default system logger, syslog-ng, you can selectively stop IPs from being written to log files, for example on a mail server.

Linux: Automatically shredding files before deletion 0

Linux: Automatically shredding files before deletion

I am currently playing with the thought of [url=http://linux.die.net/man/1/shred]shredding[/url] files automatically before they are unlinked from the file system (for example on a mail server). I wrote a small library that you can inject...

Ubuntu is Tracking You: Disable connections to Canonical 0

Ubuntu is Tracking You: Disable connections to Canonical

Ubuntu not only connects to Canonical servers on request, it does so permanently in the background. It even transmits geolocation information for the weather applet. Here’s a quick fix that removes all components involved...

Linux Shell Script to Display SHA1 Fingerprint of Remote SSL Certificates 0

Linux Shell Script to Display SHA1 Fingerprint of Remote SSL Certificates

$ ./fingerprint.sh www.torservers.net status.headstrong.de SHA1 Fingerprint=90:14:6B:74:FC:B8:30:C8:48:06:4F:52:A6:27:C4:0A:EE:D8:C5:6E SHA1 Fingerprint=19:46:7F:F7:C5:1C:B7:C9:03:58:88:19:46:DC:55:BA:57:49:92:96

Howto: Enable Receive Packet Steering (RPS) on Linux 2.6.35 0

Howto: Enable Receive Packet Steering (RPS) on Linux 2.6.35

We run a high bandwidth Tor exit node on a Gbit connection. Unfortunately, the NIC by our hoster doesn’t support MSI-X to distribute interrupt load across all cores. The latest linux kernel 2.6.35 adds...

Torservers.net: Multiple Tor instances on Debian 2

Torservers.net: Multiple Tor instances on Debian

Note to self: Don’t forget to set configuration option PidFile in torrc when you run multiple instances of Tor.

A book full of useful Unix quotes and stories (also applicable for Linux) 0

A book full of useful Unix quotes and stories (also applicable for Linux)

[quote]The UNIX-HATERS Handbook? Why? Of what earthly good could it be? Who is the audience? What a perverted idea. But then again, I have been sitting here in my living room—still wearing my coat—for...

Remove IPs from Outgoing Mail (Postfix SMTP) 9

Remove IPs from Outgoing Mail (Postfix SMTP)

I use Postfix as SMTP server. By default, it includes every user’s IP and hostname in outgoing mails, even internal ones. As there is no need for the outside world to see what IPs...

Tor on Debian, self compiled for better Performance 1

Tor on Debian, self compiled for better Performance

According to the [url=https://www.torproject.org/faq.html.en#RelayMemory]TorProject FAQ[/url], a Tor relay will use less memory if compiled with openBSD-malloc and the latest openSSL. This helps if you’re resources are limited, or if you run a high bandwidth...

Lenny’s Xen Kernel 2.6.26 Causes DomU Freezes 9

Lenny’s Xen Kernel 2.6.26 Causes DomU Freezes

With the release of Debian 5.0 “Lenny” as stable, I have upgraded my servers and installed its Xen 3.1.2 and Kernel 2.6.26 Xen packages for my DomU’s. After that, one of my DomU’s kept...