UWOT.EU

XScreenSaver and backlight

Long story short: in Fedora 20 (and as far as I remember also 19 and 18) XScreenSaver doesn’t power off the monitor backlight when locking the screen.Being the lazy ass I am it took like me 2 or 3 years to find the motivation to solve the issue.It was actually pretty simple, no need to edit some obscure config file or else, in XFCE just click on: Application menu -> Settings -> Screensaver. …

Posted on

ejabberd and lost messages, possible “solutions”

Being the tinfoil hat I am I obviously don’t like nor use whatsapp, some time ago I set up my own XMPP server and made a bunch of close friends switch to it.There are multiple clients for every platform, my personal preference goes to Xabber on Android and Pidgin on GNU/Linux; both support OTR encryption and all around are pretty decent clients.The only real issue we had so far is the very annoying problem of lost messages; if the internet connection is stable and decent the problem will very likely never come up, too bad that mobile phone internet connection is everything but stable. …

Posted on

CentOS 6.5 is out

Ok, -everyone- knows it, this new version introduces a number of interesting updates, one above all: openssl version 1.0.1.Openssl is the library used by many programs to perform encryption tasks, for example it’s used by openssh, webservers, etc etc.The version included in CentOS 6.4 was really outdated, it doesn’t support TLS v1.2 for example, so I had to install it separately (which is a PITA to say the least).With the new version included in CentOS 6. …

Posted on

This is not a comeback

It’s been quite a while since the last time I fired up the single stage (actually, it should be 290 days), let alone having a LN2 session.Past saturday I went to my grandfather’s place and got him a new PC since his precedent one is, to say the least, outdated.Anyway, since the old one has some interesting parts I decided to give it a try, hooked it to the single stage and baaaaaaam. …

Posted on

ipset, a clever and effective way to block indesired hosts

This post is meant to be the sequel of the one I wrote one month ago about CentOS as router, transparent proxy, and much more.A big chunk of the precedent article is on how configure squid and squidGuard to act as a transparent proxy with URLs filtering capabilities.But there’s a problem with that: nowadays many sites (f4c3b00k.c0m just to name the most annoying one) are HTTPS.With HTTP one can really easily intercept a packet and read the payload (which contains the URL) but with HTTPS this is not possible anymore since the payload is encrypted. …

Posted on

miniDLNA on Fedora 19

I got a new TV for the living room (a Panasonic Viera TX-L39E6E) which is DLNA capable.To be honest I’m also planning to build some kind of media center, maybe a really low power one, based on some kind of raspeberry-pi lookalike device.Anyway, for now I’m using my workstation (Fedora 19 x86_64) to stream video contents using miniDLNA.First of all, let’s install it with the usual:Then, edit the following file:Rebuild the database with (every media file in every subfolder will be added):The last thing to do is add a couple of firewall rules, in Fedora 19 it can be done via the firewall-config gui:miniDLNA has its own service wihch can be controlled using the “systemctl” command, but since I use it only every once in a while I prefer to start it manually when it’s necessary using the following command (-d is for debug mode, this way if something doesn’t work like it should the debugging procedure will be easier):Now the DLNA server should be visible from the Panasonic DLNA client. …

Posted on

CentOS as router, transparent proxy, and much more

As usual, long story short: I’ve to setup a firewall to log traffic, block some stuff and do some other things.– epel repo is required –The system is made of a single CentOS machine with 2 physical network adapters:1. eth0, connected to WAN, static IP address 192.168.0.32. eth1, connected to LAN, static IP address 10.0.0.1/24.:. Network adapters configuration WAN network adapter:LAN network adapter:.:. DHCP Since we want our machine to act as a router, a pretty important part of it is a DHCP server. …

Posted on

CyanogenMod 10.1.2 high network traffic

Ok, I know I fucked up, I know everyone who knows me just a little bit would never expect this, but I got my first mobile phone or, like they call them nowadays: a smartphone.I don’t like the “smartphone” buzzword since I think the only smart ones here are the guys who are able to sell this stuff for hundreds of bucks to billions of people, so I’ll stick with the old and almost forgotten “mobile phone” name. …

Posted on