OpenSSH - Generate server key

OpenSSH require different keys depending if you use SSH1 or SSH2 protocol. All keys are generated by “ssh-keygen” commad, that one should be available on your system with the ssh package. Default key lengths are also appropriate (2048 bits for rsa and 1024 bits for dsa) For SSH1 protocol, you need a rsa1 key generated has follow: # ssh-keygen -q -f /etc/ssh/ssh_host_key -N '' -t rsa1 For SSH2 protocol, you need two keys, one rsa key and one dsa key generated has follow: ...

11 August 2009 @ 22:08 · leo

Cisco ASA - Enable SSH

If you have tried to setup SSH access on a new ASA, it might not have worked the way you wanted. That is because the RSA keys need to be generated first. To do that: from configure terminal: fw01/act(config)# crypto key generate rsaINFO: The name for the keys will be: Keypair generation process begin. Please wait… And then configure SSH to be allowed from the inside interface: fw01/act(config)# ssh (inser your ip) (insert your netmask) outside ...

6 August 2009 @ 00:32 · leo

Vim - Fix arrow keys that display A B C D on remote shell

A little fix for arrow keys in Vim, that display A B C D on remote terminal if in the system you don’t wanna declare “TERM” just insert into yout ~/.vimrc the terminal type like this: set term=xterm

22 July 2009 @ 10:57 · leo

Cool Tools for OpenSPARC

Optimized Applications for Solaris OS and OpenSparc computing. Simple and very useful example is “Cool Stack” a web deployment packge include most commonly used free and open source applications, recompiled to deliver a 30 to 200 percent performance improvement over standard binaries compiled with GCC. Cool Tools.

21 July 2009 @ 03:09 · leo

CSW packaging

Memo: Solaris package. CSW packaging home.

21 July 2009 @ 02:52 · leo

Satellite

[caption id=“attachment_524” align=“alignleft” width=“512” caption=“9° Est”][/caption] Recentemente ho rifatto i puntamenti di alcune parabole, qui in particolare il grafico dello spettro del satellite Eurobird 9° Est (Ex Hotbird 2 ora riposizionato) facente parte della flotta Eutelsat.

18 July 2009 @ 05:06 · leo

Asterisk - Eutelia SIP

Questo risulta essere un argomento un po’ delicato sopratutto sconsigliato a chi non ha un minimo di dimestichezza con asterisk, dal momento che non mi dilunghero troppo in spiegazioni sul funzionamento ma darò indicazioni essenziali e basta. Chiunque abbia provato ad usare asterisk su eutelia una volta skypho è sicuramente incappato in qualche problema sia sulla parte di registrazione sia sulla parte di streaming dei flussi rtp, la spiegazione di tutto ciò è abbastanza semplice eutelia appoggia il sistema sip che distribuisce ai cliente utilizzando il Cisco SIP Gateway, lo si può capire velocemente facendo debug. Questa soluzione spesso non è molto propensa a dialogare con asterik in modo standard, pertanto se state usando interfacce GUI o soluzioni embedded potete smettere di leggere perchè la maggior parte delle volte è impossibile uscire dagli schemi imposti. ...

18 July 2009 @ 04:55 · leo

IIS Socket Pooling

C’è una cosa brutta da sapere e si scopre quando per caso proviamo ad installare un servizio in ascolto sulla porta 80 su windows che ha già attivo per sfortuna nostra IIS, si chiama socket pooling, infatti automaticamente iis decide di essere in ascolto su tutti i socket quindi ogni indirizzo configurato sulla macchina, impedendo l’avvio di qualsiasi altro servizio (es. apache) anche se apparentemente configurato correttamente. Per ovviare a questo problema ecco come fare: -Prima di tutto installate i support tools, dove sono? Inserite il cd nella directory \Support\Tools trovate un pacchetto suptools.msi -Ora potete procedere: ...

18 July 2009 @ 04:06 · leo

Miaoo - Tomcat su Debian

Breve draft su come installare tomcat su debian, in questo caso lenny, le versioni dei pacchetti potrebbero cambiare ma il risultato finale è quello. Partiamo installando quello che ci serve: #apt-get install tomcat5.5 tomcat5.5-admin sun-java5-jdk tomcat5.5-webapps Attenzione, se l’installazione debian di default sicuramente non trovo il java jdk, è necessario quindi aggiungere il repository non-free, in apt editando in questo modo: /etc/apt/source.list deb http://your-mirror-url/debian/ lenny main non-free deb-src http://your-mirror-url/debian/ lenny main non-free Configurare il sistema per utilizzare java ...

18 July 2009 @ 03:40 · leo

SCSI R.I.P.

During a raining night.. Syslog tail: Jul 18 03:02:18 pbx01 kernel: [265460.092056] >>>>>>>>> Dump Card State Begins <<<<<<<< Jul 18 03:02:18 pbx01 kernel: [265460.092059] scsi0: Dumping Card State in Command phase,/ at SEQADDR 0x157 Jul 18 03:02:18 pbx01 kernel: [265460.092063] Card was paused [cut] Jul 18 03:02:18 pbx01 kernel: [265460.092511] Pending list: Jul 18 03:02:18 pbx01 kernel: [265460.092514] 6 SCB_CONTROL[0x60]:(TAG_ENB|DISCENB) Jul 18 03:02:18 pbx01 kernel: [265460.092521] SCB_SCSIID[0x7] SCB_LUN\[0x0]Jul 18 03:02:18 pbx01 kernel: [265460.092526] 2 SCB_CONTROL[0x74\]: / (DISCONNECTED|MK_MESSAGE|TAG_ENB|DISCENB) Jul 18 03:02:18 pbx01 kernel: [265460.092534] SCB_SCSIID[0x7] SCB_LUN[0x0\] Jul 18 03:02:18 pbx01 kernel: [265460.092539] 3 SCB_CONTROL[0x0] SCB_SCSIID[0x7] SCB_LUN[0x0] Jul 18 03:02:18 pbx01 kernel: [265460.092547] Kernel Free SCB list: 7 1 4 5 11 10 9 8 Jul 18 03:02:18 pbx01 kernel: [265460.092556] Jul 18 03:02:18 pbx01 kernel: [265460.092558] <<<<<<<<< Dump Card State Ends >>>>>>>>> Jul 18 03:02:18 pbx01 kernel: [265460.092570] scsi0:0:0:0: Cmd aborted from QINFIFO Jul 18 03:02:18 pbx01 kernel: [265460.092579] aic7xxx_abort returns 0x2002 Jul 18 03:02:18 pbx01 kernel: [265460.092590] sd 0:0:0:0: [sda] Attempting to queue a TARGET RESET message Jul 18 03:02:18 pbx01 kernel: [265460.092594] CDB: 0x2a 0x0 0x0 0x5a 0xf3 0xbc 0x0 0x0 0x8 0x0 Jul 18 03:02:18 pbx01 kernel: [265460.092604] aic7xxx_dev_reset returns 0x2003 Jul 18 03:02:18 pbx01 kernel: [265460.092655] Recovery SCB completes Jul 18 03:02:18 pbx01 kernel: [265460.092696] Recovery SCB completes pbx01:/# pbx01:/# Timeout, server not responding. leobook2-w:~ leonardorizzi$ Ouch!

18 July 2009 @ 02:57 · leo