1. Security Vulnerability CVE-2014-0160 (Heartbleed)

             CVE-2014-0160 – Heartbleed got us all with pants down, there’s a new vulnerability found in a pretty recent version of openssl, it affects all versions starting 1.0.1 and fixed in 1.0.1g, it got a name debian vendors claim that the fixed version is 1.0.1e-2+deb7u5, but while I was writing this post openssl-1.0.1e-2+deb7u5 was gone and openssl-1.0.1e-2+deb7u6 replaced it, Debian announcement  did not update on this one.

    Here’s how you patch CVE-2014-0160 on debian/ubuntu:

    Debian:

    Squeeze – unaffected

    Wheezy  –

    apt-get update

    apt-get install openssl=1.0.1e-2+deb7u6

    Ubuntu:

    for example on 12.04

    apt-get update

    apt-get install openssl=1.0.1-4ubuntu5.12

    other versions – check yourself,

    when you finished fixing it, don’t forget to  /etc/init.d/ssh restart

    and keep security in your sources list!

    תגיות: , , , , , , ,

  2. how to install gdnsd

    let’s begin:
    ssh into destination machine
    get latest gdnsd:
    wget https://github.com/blblack/gdnsd/archive/master.zip
    unzip master.zip

    get into the unpacked folder
    cd gdnsd-master/

    Install dependencies :
    apt-get install libev-dev libcap-dev ragel
    create user gdnsd:
    useradd gdnsd
    run autogen
    ./autogen.sh
    run configure
    ./configure --with-rootdir=/home/gdnsd --prefix=/home/gdnsd --exec-prefix=/home/gdnsd
    make && make install
    now you’re done.
    one more thing… 🙂
    you need to get geoip database, this database can be downloaded from maxmind
    wget -q -O "/home/gdnsd/etc/geoip/GeoLiteCity.dat.gz" http://geolite.maxmind.com/download/geoip/database/GeoLiteCity.dat.gz

    תגיות: , , , , ,

  3. how to add hebrew keyboard layout to lxde – איך להוסיף מקלדת עברית לlxde

    how do you add hebrew + english layout to lxde with alt-shift as key sequence to switch between the layouts

    echo -e '\n@setxkbmap -option grp:switch,grp:alt_shift_toggle,grp_led:scroll us,il' >>/etc/xdg/lxsession/LXDE/autostart

    after that you need to end session (better reboot), but if you want the results right here right now, just


    setxkbmap -option grp:switch,grp:alt_shift_toggle,grp_led:scroll us,il

    איך להוסיף מקלדת עברית לlxde ? מאוד פשוט – השתמשו בהסבר למעלה.

    תגיות: , , , , ,