Raspberry cross-compiling


Posted: agosto 9th, 2014 | Author: | Filed under: English, Guide, Linux, Programmazione | Tags: , , , , , , , , , , , | No Comments »


I want to cross-compile some stuff for my Raspberry, this is a (memo for me) tutorial to do that. Read the rest of this entry »


Fail2Ban to protect various server types from intrusions


Posted: settembre 24th, 2013 | Author: | Filed under: Administration, English, Guide, Howto, recensione | Tags: , , , , , , , , , | No Comments »


It’s quite normal to see some ip addresses that try to connect to my ssh server with bruteforce attacks. Fail2Ban is the solution to block these attacks.

Setup it’s very easy:

aptitude install fail2ban
cd /etc/fail2ban
sudo cp jail.conf jail.local

now we can edit jail.local to change the default configuration.

to enable email notifications, we have to change the line:

action = %(action_)s

with

action = %(action_mw)s

everything is configured right now, you will receive an email notification for each attack blocked.

 


simulate keyboard/mouse input


Posted: settembre 23rd, 2013 | Author: | Filed under: English, Guide, Howto | Tags: , , , , , , , , | No Comments »


The program that you have to use to do what’s in the subject is: xdotool

eg. xdotool key –clearmodifiers –window `(xdotool search –classname Navigator | head -1)` ctrl+alt+p


How QEMU works – Chapter 1


Posted: maggio 20th, 2013 | Author: | Filed under: English, Guide, QEMU, Virtualizzazione | Tags: , , , , , | No Comments »


I’ve worked a lot with QEMU some months ago and I’ve learned some tricks that maybe can be useful for someone. Before starting this is the list of the arguments which will be treated in the future articles

  1. QEMU introduction
  2. TCG helpers
    TCG variables
    TCG caches
  3. QEMU parameters
    QEMU RAM functions
  4. ARM semihosting Read the rest of this entry »

OMG I’ve deleted a system directory! How do I recover it?


Posted: febbraio 20th, 2013 | Author: | Filed under: English, Guide, Howto | Tags: , , , , , , , , , , | No Comments »


Ok, a little introduction first. I was working on an uninstall target of a Makefile for a system library. For a very unlucky case (or maybe for my stupidity) I’ve deleted (fortunately not all) my /usr directory :)

And now?

As I said before not every files and binaries were deleted because I realized quickly what I was doing and I pressed ctrl-c to stop it before it was late.

Let’s start with the trick.
Read the rest of this entry »


  • Articoli Recenti:

  • Tag

  • Categorie

  • Meta

  • Licenza Creative Commons

    Copyright © 2017, | ldlabs.org – Blog is proudly powered by WordPress All rights Reserved | Theme by Ryan McNair modified By Francesco Apollonio

    Smilla Magazine Il Bloggatore iwinuxfeed.altervista.org Feedelissimo - tecnologia WebShake - tecnologia