<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	>

<channel>
	<title>Vita di un sys-admin &#187; merda</title>
	<atom:link href="http://blog.angelofailla.com/tag/merda/feed/" rel="self" type="application/rss+xml" />
	<link>http://blog.angelofailla.com</link>
	<description>Storie, esperienze e pensieri da Dublino.</description>
	<lastBuildDate>Sun, 14 Aug 2011 22:11:12 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.3.1</generator>
		<item>
		<title>Complimenti Debian. Si salvi chi puo&#8217;!</title>
		<link>http://blog.angelofailla.com/2008/05/14/complimenti-debian-si-salvi-chi-puo/</link>
		<comments>http://blog.angelofailla.com/2008/05/14/complimenti-debian-si-salvi-chi-puo/#comments</comments>
		<pubDate>Wed, 14 May 2008 09:57:54 +0000</pubDate>
		<dc:creator>pallotron</dc:creator>
				<category><![CDATA[Comunicazioni]]></category>
		<category><![CDATA[Informatica]]></category>
		<category><![CDATA[Lamentazioni]]></category>
		<category><![CDATA[Linux]]></category>
		<category><![CDATA[Software]]></category>
		<category><![CDATA[debian]]></category>
		<category><![CDATA[free software]]></category>
		<category><![CDATA[gnu]]></category>
		<category><![CDATA[linux]]></category>
		<category><![CDATA[merda]]></category>
		<category><![CDATA[openssl]]></category>
		<category><![CDATA[security]]></category>
		<category><![CDATA[Software Libero]]></category>
		<category><![CDATA[ssh]]></category>
		<category><![CDATA[ssl]]></category>

		<guid isPermaLink="false">http://blog.angelofailla.com/?p=804&#038;langswitch_lang=en</guid>
		<description><![CDATA[MANNAGGIA A DEBIAN! &#8216;Sta volta hanno fatto una cazzata! Avete server Debian installati dal 2006 in poi? AGGIORNATE IMMEDIATAMENTE OPENSSL E RICREATE TUTTE LE VOSTRE CA, CERTIFICATI PEM, CHIAVI SSH DI CLIENT E SERVER. Leggete qui: http://www.debian.org/security/2008/dsa-1571 Ed anche qui: http://wiki.debian.org/SSLkeys (c&#8217;e&#8217; un tool che dovrebbe aiutarvi a capire quali server SSH sono vulnerabili e [...]]]></description>
			<content:encoded><![CDATA[<p>MANNAGGIA A <a href="http://www.debian.org">DEBIAN</a>! &#8216;Sta volta hanno fatto una cazzata!</p>
<p>Avete server Debian installati dal 2006 in poi? <strong>AGGIORNATE IMMEDIATAMENTE OPENSSL E RICREATE TUTTE LE VOSTRE CA, CERTIFICATI PEM, CHIAVI SSH DI CLIENT E SERVER.</strong></p>
<p>Leggete qui:</p>
<p><a href="http://www.debian.org/security/2008/dsa-1571">http://www.debian.org/security/2008/dsa-1571</a></p>
<p>Ed anche qui:</p>
<p><a href="http://wiki.debian.org/SSLkeys">http://wiki.debian.org/SSLkeys</a> (c&#8217;e&#8217; un tool che <strong>dovrebbe</strong> aiutarvi a capire quali server SSH sono vulnerabili e quali no&#8230; anche se non e&#8217; detto che non possa generare falsi positivi/negativi).</p>
<p style="padding-left: 30px;">&#8220;&#8221;Luciano Bello discovered that the random number generator in Debian&#8217;s openssl<br />
package is predictable. This is caused by an incorrect Debian-specific change<br />
to the openssl package (CVE-2008-0166). As a result, cryptographic key<br />
material may be guessable.&#8221;"</p>
<p style="padding-left: 30px;">&#8220;Well, it looks like it&#8217;s more toward the minutes or seconds range, because dowkd.pl contains a simple list of around 260,000 fingerprints for these vulnerable keys&#8230; that is, if you&#8217;re vulnerable, I can look your SSH server&#8217;s host key fingerprint up in a rather small database to find your private key.Yikes.&#8221;</p>
<p style="padding-left: 30px;">&#8220;It was a modification from the debian package maintainers that has cause the issue. In short they disabled the random portion of encryption process, also known as the iv, salt, seed. Which means basically means all the keys are predictable, because the randomness has been removed. This in turn creates weak keys, and a target for brute force and man in the middle attacks. The bug is limited to Debian systems, and its clones, since it was introduced by the Debian maintainers.&#8221;</p>
<p>Modificare il codice di un pacchetto critico come OpenSSL, frutto di lunghi studi matematici sulla crittografia e fare sta cazzata. Complimenti!!!!</p>
<p>Pare che la patch malsana risalga al 2 Maggio 2006. Ben 2 anni. Vi rendete conto di quanti server in tutto il mondo possono essere vulnerabili?!!!?!</p>
<p>Ci aspettano ore di davanti ai computer per aggiornare caterve di macchine. COMPLIMENTI!</p>
<p><strong>Update:</strong></p>
<p>Per sshd basta usare questi comandi:</p>
<pre># apt-get update
# apt-get install libssl-dev openssl
# rm /etc/ssh/ssh_host*
# dpkg-reconfigure openssh-server</pre>
<p>Ovviamente la fingerprint del vostro server ssh cambiera&#8217;.</p>
<p><strong>Update2:</strong></p>
<p>Ovviamente  se usate certificati SSH RSA per accedere ai server senza password (o anche con la password) dovete ricrearli con ssh-keygen ed aggiornare authorized_keys su ogni macchina a cui avete accesso. CHE PALLE!</p>
<p>Ovviamente tutti i consigli solo se il vostro server e&#8217; stato isntallato dopo il 2006 o la vostra chiave RSA e&#8217; stata creata dopo il 2006.</p>
<p><strong>Update 3</strong>:</p>
<p><a href="http://xkcd.com/424/"><img class="alignnone size-full wp-image-805" title="security_holes" src="http://blog.angelofailla.com/wp-content/uploads/2008/05/security_holes.png" alt="" width="493" height="527" /></a></p>
<img src="http://blog.angelofailla.com/?ak_action=api_record_view&id=804&type=feed" alt="" /><p><a class="a2a_dd a2a_target addtoany_share_save" href="http://www.addtoany.com/share_save#url=http%3A%2F%2Fblog.angelofailla.com%2F2008%2F05%2F14%2Fcomplimenti-debian-si-salvi-chi-puo%2F&amp;title=Complimenti%20Debian.%20Si%20salvi%20chi%20puo%26%238217%3B%21" id="wpa2a_2"><img src="http://blog.angelofailla.com/wp-content/plugins/add-to-any/share_save_171_16.png" width="171" height="16" alt="Share"/></a></p>]]></content:encoded>
			<wfw:commentRss>http://blog.angelofailla.com/2008/05/14/complimenti-debian-si-salvi-chi-puo/feed/</wfw:commentRss>
		<slash:comments>11</slash:comments>
		</item>
		<item>
		<title>Impossibile sniffare sulla interfaccia di loopback in Solaris?</title>
		<link>http://blog.angelofailla.com/2008/08/12/impossibile-sniffare-sulla-interfaccia-di-loopback-in-solaris/</link>
		<comments>http://blog.angelofailla.com/2008/08/12/impossibile-sniffare-sulla-interfaccia-di-loopback-in-solaris/#comments</comments>
		<pubDate>Tue, 12 Aug 2008 18:01:36 +0000</pubDate>
		<dc:creator>pallotron</dc:creator>
				<category><![CDATA[Esperienze]]></category>
		<category><![CDATA[Informatica]]></category>
		<category><![CDATA[Lamentazioni]]></category>
		<category><![CDATA[Lavoro]]></category>
		<category><![CDATA[Unix]]></category>
		<category><![CDATA[lamentazione]]></category>
		<category><![CDATA[merda]]></category>
		<category><![CDATA[sniff]]></category>
		<category><![CDATA[snoop]]></category>
		<category><![CDATA[solaris]]></category>
		<category><![CDATA[sysadmin]]></category>

		<guid isPermaLink="false">http://blog.angelofailla.com/?p=984&#038;langswitch_lang=en</guid>
		<description><![CDATA[Salve, Oggi ho sclerato una giornata per fare il troubleshooting di una cosa su Solaris. Problemi di comunicazione random tra apache che fa reverse proxy verso un tomcat nella stessa Zona di Solaris con traffico passante sulla interfaccia di loopback. Pero&#8217;: root@solaris # ./tcpdump -n -i lo0 tcpdump: /dev/lo0: No such file or directory root@solaris [...]]]></description>
			<content:encoded><![CDATA[<p>Salve,</p>
<p>Oggi ho sclerato una giornata per fare il troubleshooting di una cosa su Solaris. Problemi di comunicazione random tra apache che fa reverse proxy verso un tomcat nella stessa Zona di Solaris con traffico passante sulla interfaccia di loopback. Pero&#8217;:</p>
<pre>root@solaris # ./tcpdump -n -i lo0
tcpdump: /dev/lo0: No such file or directory

root@solaris # snoop -d lo0
snoop: /dev/lo: No such file or directory</pre>
<p>Solaris. Sei proprio un sistema operativo di merda!</p>
<p>Leggete <a href="http://phildev.net/ipf/IPFsolaris.html#solaris12">http://phildev.net/ipf/IPFsolaris.html#solaris12</a>:</p>
<blockquote><p><strong># Why can&#8217;t I filter on the loopback interface, or virtual interfaces?</strong><br />
The loopback interface on Solaris is a <strong>&#8220;fake&#8221; interface.</strong> You cannot filter it, nor can you snoop it. This is for <strong>performance reasons</strong>. Virtual interfaces in Solaris are very similar, to filter on them, use the physical interface instead. </p></blockquote>
<p>Perfomance reasons! Ma andatevene affanculo va&#8217;!<br />
Alla fine sono riuscito a  sniffare in un altro modo invertendo il reverse proxy verso un tomcat di un altro nodo e sniffando sulla interfaccia reale&#8230; sono riuscito ad isolare il problema e a decidere chi dei due sia il colpevole (almeno credo) e domani ci lavoro.</p>
<p>Saluti.</p>
<img src="http://blog.angelofailla.com/?ak_action=api_record_view&id=984&type=feed" alt="" /><p><a class="a2a_dd a2a_target addtoany_share_save" href="http://www.addtoany.com/share_save#url=http%3A%2F%2Fblog.angelofailla.com%2F2008%2F08%2F12%2Fimpossibile-sniffare-sulla-interfaccia-di-loopback-in-solaris%2F&amp;title=Impossibile%20sniffare%20sulla%20interfaccia%20di%20loopback%20in%20Solaris%3F" id="wpa2a_4"><img src="http://blog.angelofailla.com/wp-content/plugins/add-to-any/share_save_171_16.png" width="171" height="16" alt="Share"/></a></p>]]></content:encoded>
			<wfw:commentRss>http://blog.angelofailla.com/2008/08/12/impossibile-sniffare-sulla-interfaccia-di-loopback-in-solaris/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
	</channel>
</rss>

