09.27.07
Posted in hardware, software, unix at 12:54 am by brainstorm
Fa uns dies que havia muntat el típic setup “fake RAID+LVM” usant tres disc durs amb una combinació de RAID5 i RAID1. Fins aqui, normal. Un cop tot muntat i amb el sistema bootant (grub instal·lat al MBR de cada un dels discs) he decidit fer les proves típiques per comprovar la fiabilitat del RAID: desconnectar algun dels discs per veure si continua bootant/funcionant.
Doncs res, sorpresa: Ubuntu server es nega a bootar si falta algun dels discs O_o ! RAID no era interessant entre altres coses per temes d’alta disponibilitat !!??
El cas és que salta una consola del ramdisk inicial i no arrenca res de l’array :/ Després de passar-me una bona estona pels foros, trobar i aplicar la solució, reporto el bug al launchpad d’Ubuntu.
Bé, només volia estalviar aquest trencaclosques que lliga initramfs+mdadm per al que vol que el seu RAID funcioni com hauria, enjoy it 
Permalink
08.27.07
Posted in howto, inet, software, unix at 5:08 pm by brainstorm

La batalla continua indefinidament: es milloren els motors antispam (spamassassin, dspam…) i els spammers s’adapten, s’usen llistes negres remotes (RBL’s) i ells s’adapten… que un gif com attachment pot tenir pinta d’spam ? Doncs ells usen PDF’s… el compte de mai acabar :/
Doncs bé, fart de rebre una mitja de 10 spams diaris a l’Inbox vaig decidir implantar mesures dràstiques. Primer vaig probar amb greylisting (usant postgrey). El resultat va ser decepcionant: apenes filtrava un 10% més dels spams respecte a no tenir aquesta mesura.
La capacitat d’adaptació i perseverança dels spammers em recorda a uns personatges d’una sèrie de ciència ficció :-/… El cas és que finalment em vaig decantar per SPF… conclusió després de setmanes d’ús i revisió de logs exhaustiva: tant de bo ho hagués fet abans !
Read the rest of this entry »
Permalink
07.16.07
Posted in inet, software, unix at 10:08 pm by brainstorm
As I exposed on a previous post, I was planning to replicate my DNS server using FreeDNS as a secondary nameserver for redundancy. My main concern was how to overcome the 20 subdomain limit advertised by FreeDNS.
I thought about creating a new DNS view to allow FreeDNS to transfer a subset of my subdomains (the twenty most “critical” by my criteria). But apparently, there’s no need to do so if you just use the DNS backup feature
Thanks FreeDNS !
Read the rest of this entry »
Permalink
06.16.07
Posted in gadgets, howto, software, unix at 5:55 pm by brainstorm
If you’re switching between providers and want to keep your addressbook and sms’s, here is a simple way of doing so with gnokii:
$ gnokii --getsms AR 1 10 -d >> sms_archive
$ gnokii --getphonebook SM 1 200 > phonebook
The “AR” stands for “ARchive” and tells gnokii to search the SMS’s there, and not in the INbox (”IN” being another cellphone storage area). Following AR, there is the SMS range you want to save (sms 1st till 10th). Make sure you have a look at gnokii manpage if this is not working for you. For instance, on the following command, the “SM” is referring to the SIM card… perhaps you’re not storing your phonebook there, but in the internal mobile phone memory (”ME”).
Here I’m assuming that you have configured your /etc/gnokiirc properly. Just for the record, I’m using a bluetooth usb adapter.
As a result of this mini-howto, you have a plaintext copy of your phonebook and sms messages on your computer, isn’t it easy and convenient ?
Sure, there are clearly better and comprehensive alternatives out there, like SyncML (OpenSync), but this solution suits my needs very quickly and it’s quite effortless.
Doing a backup of the photos is even simpler if you happen to have kblueetothd, one of the coolest KDE kioslaves: just drag&drop the pictures to your PC and you’re done !
Permalink
02.15.07
Posted in software, unix, wifi at 1:22 am by brainstorm
Part de la feina que havia de fer al 3GSM consistia en escanejar les xarxes inalàmbriques que hi havia en rang (podien arribar fins les 300 sense moure’s massa). De totes aquestes xarxes calia veure quines eren legítimes i quines s’havien muntat sense permís exprés de l’organització.
Com que els portàtils dels que disposàvem corrien windows, em van venir al cap unes tools que vaig descobrir a LISA’05: Wireless Weapons of Mass Destruction for Windows, concretament la utilitat ssidscan.vbs que suposadament retorna un llistat d’SSID’s per command line per tal de poder parsejar els resultats a posteriori… he dit suposadament, aquest és el resultat:
Com veieu, per un bug documentat (i pel que sembla, no arreglat encara (!!!) no mostra correctament el nom dels SSIDs real: lletres addicionals, altres que falten, caràcters estranys en alguns casos…
Read the rest of this entry »
Permalink
« Previous entries