Category Archives: OS

Force apt-get to use IPv4 instead of IPv6

It seems that Ubuntu/Debian (or perhaps other distros as well) prefer IPv6 DNS records instead of IPv4 when applicable and some times this results in loss of connectivity or similar problems. I ran into this issue today while trying to update an old VPS with apt-get/aptitude. Specifically, security.ubuntu.com was being resolved in an unreachable IPv6… Read More »

Loading

Determine supported SSL Cipher Suite for particular web server.

What is SSL Cipher Suite? A cipher suite is a named combination of authentication, encryption, message authentication code (MAC) and key exchange algorithms used to negotiate the security settings for a network connection using the Transport Layer Security (TLS) / Secure Sockets Layer (SSL) network protocol Below bash script gets a list of supported cipher… Read More »

Loading

Graylog2: “Could not bind UDP syslog input to address /0.0.0.0:514”

Problem Received error “Could not bind UDP syslog input to address /0.0.0.0:514, Failed to bind to: /0.0.0.0:514, Address already in use” when adding log input using UDP 514 (default syslog port). Explanation In UNIX/LINUX, assigned port 1024 and below require root privilege. Either you run graylog2 as root (not recommended) or follow below workaround. Solution… Read More »

Loading

XRDP

Install xrdp apt-get install xrdp Configure xrdp GNOME apt-get install gnome-session-fallback echo gnome-session –session=gnome-fallback > ~/.xsession Xfce (xubuntu) echo xfce4-session > ~/.xsession LXDE (lubuntu) echo lxsession -s Lubuntu -e LXDE > ~/.xsession Incoming search terms:192 168 88 1/userman

Loading