FUN WITH LINUX

Bup: A git-based backup-system

30 June 2015

bup - Very efficient backup system based on the git packfile format, providing fast incremental saves and global deduplication (among and within files, including virtual machine images).

Read more..
Sophos Virus-Scan is now free

30 June 2015

Sophos Virus-Scan for Linux is now free(even for servers). https://www.sophos.com/en-us/products/free-tools/sophos-antivirus-for-linux.aspx

Read more..
postgresql: using auto-incrementing keys

21 June 2015

Sometimes it’s nice to have an auto-incrementing value in our database so that we don’t have to generate a unique id(for example). In postgresql we can achieve this using sequences:

CREATE SEQUENCE key_seq;
CREATE TABLE sometable (
    key_id INTEGER NOT NULL DEFAULT nextval('key_seq')
);
ALTER SEQUENCE key_seq OWNED BY sometable.key_id;
Read more..
postgresql: install and activate crypto-functions

18 June 2015

Postgresql is a pretty cool database and it even has functions for encryption.  So if you write a user-database, you don’t need to use crypto-functions from your programming language to encrypt your password. You can directly use postgresql-functions!

Read more..
Debian Jessie: nrpe without command-args

28 May 2015

Due to security issues nrpe-server in Debian Jessie is now compiled without “–enable-command-args”. If you want to use it you have to recompile it.

Read more..
Reverse-Proxy for Exchange 2003

26 May 2015

I know that nobody should use Microsoft Exchange 2003 anymore. But there are still some 2003s out there. I wanted to create a reverse-proxy for such an exchange-server on linux to have at least a better encryption, when some problems appeared:

Read more..
Opportunistic Locking

26 May 2015

Some Systems lock up the system while transferring large files via CIFS. I have a linux system which tries to backup to a NAS. Today it just hanged. The backup-file(very large) was not accessible anymore and I wasn’t able to delete the file. Therefore even the backup-service just hanged. In the syslog I found lines like:

Read more..
Logjam ( Attacks against Diffie-Hellman)

21 May 2015

There are several weaknesses in how Diffie-Hellman key exchange are deployed. This weaknesses have a huge impact, since many servers are affected. Here are some advices how to setup a prober key exchange on serveral servers.

Read more..
Hack A Day: LED-Cube

16 May 2015

I created a LED-Cube. It was a lot of fun to make it. I used very cheap LEDs, therefore it’s not perfect. But it is good enough to programm some nice effects. I used an arduino to controll the cube. It was interesting to play with bit-shift-registers and it was cool to programm more with bit-operations. The soldering was hell, but it was worthy

PS: yeah, I know..my cam makes lousy videos…

Read more..
Except where otherwise noted, content on this site is licensed under a Creative Commons Attribution 3.0 Unported License.

Copyright 2015-present Hoti