<?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>psych0tik</title>
	<atom:link href="http://blog.psych0tik.net/feed/" rel="self" type="application/rss+xml" />
	<link>http://blog.psych0tik.net</link>
	<description>Use a hammer</description>
	<lastBuildDate>Wed, 22 Feb 2012 01:50:07 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
			<item>
		<title>psych0tik mirrors raspberry pi</title>
		<link>http://blog.psych0tik.net/2012/02/psych0tik-mirrors-raspberry-pi/</link>
		<comments>http://blog.psych0tik.net/2012/02/psych0tik-mirrors-raspberry-pi/#comments</comments>
		<pubDate>Wed, 22 Feb 2012 01:46:02 +0000</pubDate>
		<dc:creator>richo</dc:creator>
				<category><![CDATA[psych0tik News]]></category>
		<category><![CDATA[debian]]></category>
		<category><![CDATA[mirror]]></category>
		<category><![CDATA[Projects]]></category>
		<category><![CDATA[raspberri pi]]></category>

		<guid isPermaLink="false">http://blog.psych0tik.net/?p=1192</guid>
		<description><![CDATA[Anyone who&#8217;s spoken to me in person knows that I&#8217;m really excited about the upcoming release of Raspberry PI. I&#8217;ll keep the speil to a minimum, but a $35 ARM SoC with ethernet, USB and enough hardware onboard to decode &#8230; <a href="http://blog.psych0tik.net/2012/02/psych0tik-mirrors-raspberry-pi/">Continue reading <span class="meta-nav">&#8594;</span></a>]]></description>
			<content:encoded><![CDATA[<p>Anyone who&#8217;s spoken to me in person knows that I&#8217;m <em>really</em> excited about the upcoming release of <a href="www.raspberrypi.org/" title="raspberry pi homepage">Raspberry PI</a>.</p>
<p>I&#8217;ll keep the speil to a minimum, but a $35 ARM SoC with ethernet, USB and enough hardware onboard to decode 1080p video on 1 watt.. you can see why I&#8217;m pretty stoked.</p>
<p>Recently, there was a call for mirrors and psych0tik raised our hands, we&#8217;re mirroring any and all content (presently, debian 6 iso&#8217;s) needed to get your pi up and running, though unfortunately only for those of you with ipv6 access at this stage.</p>
<p>Point your (ip6 capable) browser at <a href="http://alura.psych0tik.net/rpi" title="psych0tik rpi mirror">alura.psych0tik.net/rpi</a> to get the images!</p>
<p>EDIT: For anyone having issues with their system giving preference to A records, I have removed the A record from alura.psych0.tk</p>
]]></content:encoded>
			<wfw:commentRss>http://blog.psych0tik.net/2012/02/psych0tik-mirrors-raspberry-pi/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Git stashing, and why you do it too much</title>
		<link>http://blog.psych0tik.net/2012/01/git-stashing-and-why-you-do-it-too-much/</link>
		<comments>http://blog.psych0tik.net/2012/01/git-stashing-and-why-you-do-it-too-much/#comments</comments>
		<pubDate>Wed, 01 Feb 2012 02:27:17 +0000</pubDate>
		<dc:creator>richo</dc:creator>
				<category><![CDATA[Articles]]></category>
		<category><![CDATA[collaboration]]></category>
		<category><![CDATA[git]]></category>
		<category><![CDATA[source control]]></category>
		<category><![CDATA[workflow]]></category>

		<guid isPermaLink="false">http://blog.psych0tik.net/?p=1175</guid>
		<description><![CDATA[First of all, this workflow depends entirely on an (rarely un)spoken rule in my repositories- if it&#8217;s in the wip/ or trash/ tree, don&#8217;t touch it. I&#8217;m planning on rebasing with impunity. I stash a lot at work, especially when &#8230; <a href="http://blog.psych0tik.net/2012/01/git-stashing-and-why-you-do-it-too-much/">Continue reading <span class="meta-nav">&#8594;</span></a>]]></description>
			<content:encoded><![CDATA[<p>First of all, this workflow depends entirely on an (rarely un)spoken rule in my repositories- if it&#8217;s in the wip/ or trash/ tree, don&#8217;t touch it. I&#8217;m planning on rebasing with impunity.<br />
I stash a lot at work, especially when I shouldn&#8217;t.</p>
<p>Generally, stashing occurs when I&#8217;m working on something that&#8217;s not ready for production or even feature complete enough to warrant publishing, and I need to rebase or start on something else. Nearly always I stash it and forget about it (even though my prompt <a href="https://github.com/richoH/dotfiles/blob/7624cdb421acbfae91787481dfc6310c665978f7/zshrc#L320-349" title="zshrc snippit for git status" target="_blank">yells at me when I have stashes</a>)</p>
<p>The alternative is to check it into a wip/ or trash/ branch (depending on how confident I feel about the change in question being a Good Idea). This is useful for a stack of reasons:</p>
<ol>
<li>It preserves some history about the idea (what else I was doing at the same time)</li>
<li>It makes tracking what you&#8217;re doing a lot simpler (because the stash stack is a pain at the best of times)</li>
<li>Most importantly, you can keep branching</li>
</ol>
<p>The last one is the most relevant, a stash isn&#8217;t rooted to any particular point on the tree which means if you make an invasive change you&#8217;re going to struggle (which is a pain when the patch in question alters some core behaviour and was only barely working to start with)</p>
<p>If I know it&#8217;s going to be a problem that I take a lot of stabs at I&#8217;ll generally make it a branch like wip/ideas/short_description_of_approach for simplicity to begin with; and this will only get better in git 1.7.9 which adds a description attribute for branches.</p>
<p>Stashes are awesome for getting a clean tree so you can rebase or do some non-trivial merging, but for keeping ideas straight it&#8217;s a pain; to the point where I&#8217;m considering a hook to delete my stashes after a week so that I can just be rid of them.</p>
]]></content:encoded>
			<wfw:commentRss>http://blog.psych0tik.net/2012/01/git-stashing-and-why-you-do-it-too-much/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Convert iterm color file to Xdefaults</title>
		<link>http://blog.psych0tik.net/2012/01/convert-iterm-color-file-to-xdefaults/</link>
		<comments>http://blog.psych0tik.net/2012/01/convert-iterm-color-file-to-xdefaults/#comments</comments>
		<pubDate>Fri, 27 Jan 2012 12:20:05 +0000</pubDate>
		<dc:creator>richo</dc:creator>
				<category><![CDATA[Articles]]></category>
		<category><![CDATA[colorschemes]]></category>
		<category><![CDATA[ruby]]></category>
		<category><![CDATA[terminal emulator]]></category>

		<guid isPermaLink="false">http://blog.psych0tik.net/?p=1172</guid>
		<description><![CDATA[My favourite colorscheme for vim (Jellybeans.vim recently had a pull request submitted including a colorscheme for iTerm2, a terminal emulator for OSX. Not wanting to go back to OSX after finally getting my encryption key back and being back in &#8230; <a href="http://blog.psych0tik.net/2012/01/convert-iterm-color-file-to-xdefaults/">Continue reading <span class="meta-nav">&#8594;</span></a>]]></description>
			<content:encoded><![CDATA[<p>My favourite colorscheme for vim (<a href="https://github.com/nanotech/jellybeans.vim" title="Jellybeans.vim" target="_blank">Jellybeans.vim</a> recently had a pull request submitted including a colorscheme for iTerm2, a terminal emulator for OSX.</p>
<p>Not wanting to go back to OSX after finally getting my encryption key back and being back in linux, I set about converting it to RGB values that urxvt can understand.</p>
<p>I realised two things while doing this-</p>
<p>1. plists are flaming piles of horror. Someone at Apple took bad acid.<br />
2. Ruby is cool for bashing up quick scripts.</p>
<p>The results are up on github as <a href="https://github.com/richoH/itermcolors2xdefaults" title="itermcolors2xdefaults" target="_blank">itermcolors2xdefaults</a> and it seems to work reasonably well.</p>
<p>The scheme in question was very feint so I added an option to multiply all the colors, but by and large it does what it says on the tin.</p>
]]></content:encoded>
			<wfw:commentRss>http://blog.psych0tik.net/2012/01/convert-iterm-color-file-to-xdefaults/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>~/.subversion in svn</title>
		<link>http://blog.psych0tik.net/2012/01/subversion-in-svn/</link>
		<comments>http://blog.psych0tik.net/2012/01/subversion-in-svn/#comments</comments>
		<pubDate>Wed, 11 Jan 2012 01:01:35 +0000</pubDate>
		<dc:creator>richo</dc:creator>
				<category><![CDATA[Guides]]></category>
		<category><![CDATA[Hax]]></category>
		<category><![CDATA[home directory]]></category>
		<category><![CDATA[SVN]]></category>

		<guid isPermaLink="false">http://blog.psych0tik.net/?p=1167</guid>
		<description><![CDATA[I have to do this way more often than I&#8217;d like, my home directory lives in svn, and my svn config comprises part of my home directory. The upshot is that subversion likes to make blank data if none already &#8230; <a href="http://blog.psych0tik.net/2012/01/subversion-in-svn/">Continue reading <span class="meta-nav">&#8594;</span></a>]]></description>
			<content:encoded><![CDATA[<p>I have to do this way more often than I&#8217;d like, my home directory lives in svn, and my svn config comprises part of my home directory. The upshot is that subversion likes to make blank data if none already exists, and then falls in a heap if the path it&#8217;s trying to create is already there.</p>
<p>This gets worse if you already have config you like and goes totally sideways if you actually depend upon some of it to get a clean checkout.</p>
<p>The solutions isn&#8217;t complex- but isn&#8217;t obvious either. Most solutions I&#8217;ve seen involved invoking svn, then trying to throw it in the background after it creates metadata but BEFORE it begins creating files, and then nuke the files. Kludgy at best- I much prefer this approach.</p>
<p><code>#!/bin/sh<br />
cd ~<br />
mv .subversion _subversion<br />
svn --config-dir _subversion up<br />
echo "You must now merge _subversion into .subversion"</code></p>
]]></content:encoded>
			<wfw:commentRss>http://blog.psych0tik.net/2012/01/subversion-in-svn/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>psych0tik domains are moving</title>
		<link>http://blog.psych0tik.net/2011/12/psych0tik-domains-are-moving/</link>
		<comments>http://blog.psych0tik.net/2011/12/psych0tik-domains-are-moving/#comments</comments>
		<pubDate>Fri, 23 Dec 2011 01:50:33 +0000</pubDate>
		<dc:creator>richo</dc:creator>
				<category><![CDATA[psych0tik News]]></category>
		<category><![CDATA[censorship]]></category>
		<category><![CDATA[DNS]]></category>
		<category><![CDATA[hacktivism]]></category>
		<category><![CDATA[news]]></category>
		<category><![CDATA[SOPA]]></category>

		<guid isPermaLink="false">http://blog.psych0tik.net/?p=1156</guid>
		<description><![CDATA[As part of our general hatred of SOPA, psych0tik has made a few changes to our infrastructure. Initially, psych0.tk was configured as a mirror domain for psych0tik.net; as it is controlled outside the US it is further seperated from their &#8230; <a href="http://blog.psych0tik.net/2011/12/psych0tik-domains-are-moving/">Continue reading <span class="meta-nav">&#8594;</span></a>]]></description>
			<content:encoded><![CDATA[<p>As part of our general hatred of SOPA, psych0tik has made a few changes to our infrastructure.</p>
<p>Initially, psych0.tk was configured as a mirror domain for psych0tik.net; as it is controlled outside the US it is further seperated from their draconian infrastructure and policy making, and in the event of things going sour should allow us to stay reachable while we sort things out and keep you posted.</p>
<p>The second change is moving registrars. Previously we had been with godaddy, but in light of godaddy&#8217;s support of SOPA (<a title="godaddy's support of SOPA" href="http://www.readwriteweb.com/archives/godaddys_sopa_support_sparks_calls_for_boycotts_an.php" target="_blank">Good explanation here</a>) we have migrated to gandi.net. I recommend that any of you with domains registered at godaddy do the same.</p>
<p>The final point is that while the domain transfer should be seemless, there could potentially be a hickup. In that event that this happens, we&#8217;ll keep our twitter account @psych0tiknet updated.</p>
]]></content:encoded>
			<wfw:commentRss>http://blog.psych0tik.net/2011/12/psych0tik-domains-are-moving/feed/</wfw:commentRss>
		<slash:comments>5</slash:comments>
		</item>
		<item>
		<title>psyCA Certificate Authority Management</title>
		<link>http://blog.psych0tik.net/2011/12/psyca-certificate-authority-management/</link>
		<comments>http://blog.psych0tik.net/2011/12/psyca-certificate-authority-management/#comments</comments>
		<pubDate>Sat, 10 Dec 2011 21:02:54 +0000</pubDate>
		<dc:creator>CarbonLifeForm</dc:creator>
				<category><![CDATA[psych0tik News]]></category>
		<category><![CDATA[psych0tik software]]></category>

		<guid isPermaLink="false">http://blog.psych0tik.net/?p=1140</guid>
		<description><![CDATA[We use Certificate Authorities indirectly every day while checking webmail and giving minimal thought to the authenticity of the page we&#8217;re reading from. Moxie Marlinspike talked about the flaws in the current trust in root CAs at BlackHat USA 2011. &#8230; <a href="http://blog.psych0tik.net/2011/12/psyca-certificate-authority-management/">Continue reading <span class="meta-nav">&#8594;</span></a>]]></description>
			<content:encoded><![CDATA[<p>We use Certificate Authorities indirectly every day while checking webmail and giving minimal thought to the authenticity of the page we&#8217;re reading from. Moxie Marlinspike <a href="http://www.youtube.com/watch?v=Z7Wl2FW2TcA">talked about the flaws in the current trust in root CAs</a> at BlackHat USA 2011. While flawed, certificate authorities can still be incredibly useful on a private level. Certificates can be used to authenticate users to VPNs, sign emails between users and organizations using s/MIME, enhance/substitute for password logins on websites, amongst other uses.</p>
<p>In my frustration while attempting to create and manage CAs for some of the above mentioned purposes I decided to fork and enhance the CA.sh script that openSSL ships with. I am currently working on fixing bugs, adding better error checking, extra features, and better usability. I have dubbed the CA.sh fork <a href="https://github.com/psych0tik/psyCA">psyCA</a> and has no dependencies except for OpenSSL and a POSIX shell.</p>
<p>Installation: installing the script consists of cloning the git repository</p>
<pre>git clone git://github.com/psych0tik/psyCA.git
chmod +x psyCA/CA.sh</pre>
<p>If you would like to contribute changes to the script or the default openssl.cnf please fork our repository and send us pull requests if you&#8217;re a GitHub user or email your patches to me or the psych0tik-list mailing list if you&#8217;re not a GitHub user.</p>
]]></content:encoded>
			<wfw:commentRss>http://blog.psych0tik.net/2011/12/psyca-certificate-authority-management/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>New box: Juggernaut</title>
		<link>http://blog.psych0tik.net/2011/11/new-box-juggernaut/</link>
		<comments>http://blog.psych0tik.net/2011/11/new-box-juggernaut/#comments</comments>
		<pubDate>Tue, 22 Nov 2011 05:49:25 +0000</pubDate>
		<dc:creator>samurai</dc:creator>
				<category><![CDATA[Articles]]></category>
		<category><![CDATA[Hax]]></category>
		<category><![CDATA[Buffalo]]></category>
		<category><![CDATA[ddwrt]]></category>
		<category><![CDATA[Gentoo]]></category>
		<category><![CDATA[Juggernaut]]></category>
		<category><![CDATA[Projects]]></category>
		<category><![CDATA[storm]]></category>
		<category><![CDATA[USBTHB]]></category>
		<category><![CDATA[Windows ME]]></category>

		<guid isPermaLink="false">http://blog.psych0tik.net/?p=1105</guid>
		<description><![CDATA[I&#8217;ve been working on getting Juggernaut up and running for a couple weeks now and have promised a few people pictures and a summary of what&#8217;s going on&#8230; so here we have it. I was lucky enough to be given &#8230; <a href="http://blog.psych0tik.net/2011/11/new-box-juggernaut/">Continue reading <span class="meta-nav">&#8594;</span></a>]]></description>
			<content:encoded><![CDATA[<p>I&#8217;ve been working on getting Juggernaut up and running for a couple weeks now and have promised a few people pictures and a summary of what&#8217;s going on&#8230; so here we have it.</p>
<p>I was lucky enough to be given the majority of the hardware by a coworker who had recently upgraded.  This started me out with the case and motherboard, along with 6 Gigs of ram, a Core2Duo @3.00Ghz, and dual nVidia GeForce 9500 GTs. I had to ditch the IDE CD/DVD drive and use a SATA device, as I&#8217;ve only got 1 IDE bus to work with.  The motherboard has 7 SATA slots, so I&#8217;ve been stuffing as much SATA into the machine as I could.</p>
<p>For storage, I went a little overboard.  As the primary drive, Juggernaut uses a 40G IDE drive.  On top of that he&#8217;s got another 41G IDE (a slave to the former), a 500G internal SATA drive (salvaged from a laptop), a 3T external USB drive, a 300G external firewire drive, a 80G external USB drive and finally a 3.5&#8243; floppy drive.  I&#8217;m still looking at getting something to support SD cards, so that this box can interface with pretty much any media around.  The 41G IDE slave also contains a Windows ME install that will try to boot, but fails horribly.</p>
<p>On top of the usual compute-y  things, I&#8217;ve also added a few unique input sources in the form of a USB attached tempurature, humidity and pressure sensor (USB-THB) and a RS232 attached (via a USB converter) 270 degree dome security camera.  Both of these were designed by Z.Monkey.</p>
<p>Finally hooked this all up to my KVM to run through my old CRT and purchased a new router (<a href="http://www.buffalo-technology.com/products/wireless/wireless-n-nfiniti/">Buffalo</a> makes a nice one that comes stock with ddwrt.)  I&#8217;ve installed the AMD64 build of Gentoo and have all the peripherals (minus the security camera) working.</p>
<p><a href="http://blog.psych0tik.net/wp-content/uploads/2011/11/Picture-002.jpg"><img title="Picture 002" src="http://blog.psych0tik.net/wp-content/uploads/2011/11/Picture-002-300x225.jpg" alt="" width="300" height="225" /></a></p>
<p>Straight down into the case.</p>
<p><a href="http://blog.psych0tik.net/wp-content/uploads/2011/11/Picture-012.jpg"><img title="Picture 012" src="http://blog.psych0tik.net/wp-content/uploads/2011/11/Picture-012-300x225.jpg" alt="" width="300" height="225" /></a></p>
<p>One of the graphics cards</p>
<p><a href="http://blog.psych0tik.net/wp-content/uploads/2011/11/Picture-013.jpg"><img title="Picture 013" src="http://blog.psych0tik.net/wp-content/uploads/2011/11/Picture-013-300x225.jpg" alt="" width="300" height="225" /></a></p>
<p>Both graphics cards attached</p>
<p><a href="http://blog.psych0tik.net/wp-content/uploads/2011/11/Picture-029.jpg"><img title="Picture 029" src="http://blog.psych0tik.net/wp-content/uploads/2011/11/Picture-029-225x300.jpg" alt="" width="225" height="300" /></a></p>
<p>Side view with camera</p>
<p><a href="http://blog.psych0tik.net/wp-content/uploads/2011/11/Picture-034.jpg"><img title="Picture 034" src="http://blog.psych0tik.net/wp-content/uploads/2011/11/Picture-034-225x300.jpg" alt="" width="225" height="300" /></a></p>
<p>Side view of the external storage cluster</p>
<p><a href="http://blog.psych0tik.net/wp-content/uploads/2011/11/Picture-011.jpg"><img title="Picture 011" src="http://blog.psych0tik.net/wp-content/uploads/2011/11/Picture-011-225x300.jpg" alt="" width="225" height="300" /></a></p>
<p>Front view.  The small SATA drive is mounted to the DVD drive with duct tape.  You can also see the floppy drive and one of the internal IDE drives.</p>
<p><a href="http://blog.psych0tik.net/wp-content/uploads/2011/11/Picture-023.jpg"><img title="Picture 023" src="http://blog.psych0tik.net/wp-content/uploads/2011/11/Picture-023-300x225.jpg" alt="" width="300" height="225" /></a></p>
<p>Security camera mounted to the control board (courtesy of Z.Monkey)</p>
<p><a href="http://blog.psych0tik.net/wp-content/uploads/2011/11/Picture-027.jpg"><img title="Picture 027" src="http://blog.psych0tik.net/wp-content/uploads/2011/11/Picture-027-300x225.jpg" alt="" width="300" height="225" /></a></p>
<p>Close up on the control circuit</p>
<p><a href="http://blog.psych0tik.net/wp-content/uploads/2011/11/Picture-020.jpg"><img title="Picture 020" src="http://blog.psych0tik.net/wp-content/uploads/2011/11/Picture-020-300x225.jpg" alt="" width="300" height="225" /></a></p>
<p>USBTHB, also courtesy of Z.Monkey</p>
<p><a href="http://blog.psych0tik.net/wp-content/uploads/2011/11/Picture-043.jpg"><img title="Picture 043" src="http://blog.psych0tik.net/wp-content/uploads/2011/11/Picture-043-225x300.jpg" alt="" width="225" height="300" /></a></p>
<p>Finished setup, with the security camera on top and the USBTHB on the wall</p>
<p><a href="http://blog.psych0tik.net/wp-content/uploads/2011/11/Picture-040-e1321910673177.jpg"><img class="alignnone size-medium wp-image-1118" title="Picture 040" src="http://blog.psych0tik.net/wp-content/uploads/2011/11/Picture-040-e1321910673177-225x300.jpg" alt="" width="225" height="300" /></a></p>
<p>Routers, including the new Buffalo router with ddwrt</p>
<p><a href="http://blog.psych0tik.net/wp-content/uploads/2011/11/Picture-044-e1321910643546.jpg"><img title="Picture 044" src="http://blog.psych0tik.net/wp-content/uploads/2011/11/Picture-044-e1321910643546-225x300.jpg" alt="" width="225" height="300" /></a></p>
<p>KVM, as well as Storm and the UPS</p>
]]></content:encoded>
			<wfw:commentRss>http://blog.psych0tik.net/2011/11/new-box-juggernaut/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Transparent logging socks proxy in bash</title>
		<link>http://blog.psych0tik.net/2011/11/transparent-logging-socks-proxy-in-bash/</link>
		<comments>http://blog.psych0tik.net/2011/11/transparent-logging-socks-proxy-in-bash/#comments</comments>
		<pubDate>Wed, 09 Nov 2011 11:49:06 +0000</pubDate>
		<dc:creator>richo</dc:creator>
				<category><![CDATA[Guides]]></category>
		<category><![CDATA[Hax]]></category>
		<category><![CDATA[bash]]></category>
		<category><![CDATA[Programming]]></category>
		<category><![CDATA[proxy]]></category>

		<guid isPermaLink="false">http://blog.psych0tik.net/?p=1102</guid>
		<description><![CDATA[It&#8217;s a quick one, but something I bashed (haha, get it?) up quickly for a coworker. First, make a socket Then bind a listening socket (Your netcat implementation may need -p before the port), tee the data back to your &#8230; <a href="http://blog.psych0tik.net/2011/11/transparent-logging-socks-proxy-in-bash/">Continue reading <span class="meta-nav">&#8594;</span></a>]]></description>
			<content:encoded><![CDATA[<p>It&#8217;s a quick one, but something I bashed (haha, get it?) up quickly for a coworker.</p>
<p>First, make a socket</p>
<div id="gist-1353383" class="gist">

        <div class="gist-file">
          <div class="gist-data gist-syntax">
              <div class="highlight"><pre><div class='line' id='LC1'><span class="c"># This is redundant with the new implementation</span></div><div class='line' id='LC2'>mkfifo /tmp/socks_proxy.fifo</div><div class='line' id='LC3'><br/></div></pre></div>
          </div>

          <div class="gist-meta">
            <a href="https://gist.github.com/raw/1353383/32ea556729d82d3806695454d8d8b8a04fb1b1e5/MakeFifo.sh" style="float:right;">view raw</a>
            <a href="https://gist.github.com/1353383#file_make_fifo.sh" style="float:right;margin-right:10px;color:#666">MakeFifo.sh</a>
            <a href="https://gist.github.com/1353383">This Gist</a> brought to you by <a href="http://github.com">GitHub</a>.
          </div>
        </div>
</div>

<p>Then bind a listening socket (Your netcat implementation may need -p before the port), tee the data back to your terminal and to the endpoint, which in turn talks back to the original netcat instance via the fifo.</p>
<div id="gist-1353383" class="gist">

        <div class="gist-file">
          <div class="gist-data gist-syntax">
              <div class="highlight"><pre><div class='line' id='LC1'><span class="k">while </span><span class="nb">true</span>; <span class="k">do</span></div><div class='line' id='LC2'><span class="k">    </span>mkfifo /tmp/socks_proxy.fifo</div><div class='line' id='LC3'>&nbsp;&nbsp;&nbsp;&nbsp;<span class="c">#                                                         vv host to proxy to goes here</span></div><div class='line' id='LC4'>&nbsp;&nbsp;&nbsp;&nbsp;nc -l 8085 &lt; /tmp/socks_proxy.fifo | tee /dev/stderr | nc google.com 80 | tee /tmp/socks_proxy.fifo</div><div class='line' id='LC5'>&nbsp;&nbsp;&nbsp;&nbsp;rm /tmp/socks_proxy.fifo</div><div class='line' id='LC6'><span class="k">done</span></div><div class='line' id='LC7'><br/></div></pre></div>
          </div>

          <div class="gist-meta">
            <a href="https://gist.github.com/raw/1353383/eac4554d79fdd24a6399004d54dca4e44c1698f6/TransparentProxy.sh" style="float:right;">view raw</a>
            <a href="https://gist.github.com/1353383#file_transparent_proxy.sh" style="float:right;margin-right:10px;color:#666">TransparentProxy.sh</a>
            <a href="https://gist.github.com/1353383">This Gist</a> brought to you by <a href="http://github.com">GitHub</a>.
          </div>
        </div>
</div>

]]></content:encoded>
			<wfw:commentRss>http://blog.psych0tik.net/2011/11/transparent-logging-socks-proxy-in-bash/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>psych0tik apt repo &#8211; powerpc support</title>
		<link>http://blog.psych0tik.net/2011/11/psych0tik-apt-repo-powerpc-support/</link>
		<comments>http://blog.psych0tik.net/2011/11/psych0tik-apt-repo-powerpc-support/#comments</comments>
		<pubDate>Fri, 04 Nov 2011 15:04:08 +0000</pubDate>
		<dc:creator>richo</dc:creator>
				<category><![CDATA[psych0tik News]]></category>
		<category><![CDATA[aptitude]]></category>
		<category><![CDATA[debian]]></category>
		<category><![CDATA[Linux]]></category>

		<guid isPermaLink="false">http://blog.psych0tik.net/?p=1096</guid>
		<description><![CDATA[On impulse I built myself a debian powerpc machine, which of course meant basking in the glory that is my metapackage environment that makes it stupid simple to set up new machines, however to my horror it all fell apart &#8230; <a href="http://blog.psych0tik.net/2011/11/psych0tik-apt-repo-powerpc-support/">Continue reading <span class="meta-nav">&#8594;</span></a>]]></description>
			<content:encoded><![CDATA[<p>On impulse I built myself a debian powerpc machine, which of course meant basking in the glory that is my metapackage environment that makes it stupid simple to set up new machines, however to my horror it all fell apart because a lot of my packages don&#8217;t exist for powerpc!</p>
<p>To this end, I&#8217;ve rebuilt nearly everything (the metenvironment suite, my openbox fork, my urxvt fork, vimpc) for powerpc and uploaded the resulting binaries to the psych0tik apt repo.</p>
<p>The same lines apply as before.</p>
]]></content:encoded>
			<wfw:commentRss>http://blog.psych0tik.net/2011/11/psych0tik-apt-repo-powerpc-support/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Updates to proxyElite: pE-API and fresher proxies</title>
		<link>http://blog.psych0tik.net/2011/10/updates-to-proxyelite-pe-api-and-fresher-proxies/</link>
		<comments>http://blog.psych0tik.net/2011/10/updates-to-proxyelite-pe-api-and-fresher-proxies/#comments</comments>
		<pubDate>Sun, 16 Oct 2011 05:42:39 +0000</pubDate>
		<dc:creator>samurai</dc:creator>
				<category><![CDATA[psych0tik News]]></category>
		<category><![CDATA[psych0tik software]]></category>
		<category><![CDATA[anonymity]]></category>
		<category><![CDATA[news]]></category>
		<category><![CDATA[Programming]]></category>
		<category><![CDATA[proxies]]></category>
		<category><![CDATA[proxyElite]]></category>
		<category><![CDATA[psych0tik]]></category>
		<category><![CDATA[python]]></category>

		<guid isPermaLink="false">http://blog.psych0tik.net/?p=1086</guid>
		<description><![CDATA[Over the last few months, I&#8217;ve been working to refine the beast that is proxyElite to provide more functionality and better results.  One of the key ingredients for that was the pE-API, an HTTP API to our proxy databases.   This &#8230; <a href="http://blog.psych0tik.net/2011/10/updates-to-proxyelite-pe-api-and-fresher-proxies/">Continue reading <span class="meta-nav">&#8594;</span></a>]]></description>
			<content:encoded><![CDATA[<p>Over the last few months, I&#8217;ve been working to refine the beast that is proxyElite to provide more functionality and better results.  One of the key ingredients for that was the pE-API, an HTTP API to our proxy databases.   This API allows for easy use of our proxy lists, including getting current proxies and querying IPs to determine if they are in our lists.  These features have varying levels, some of which require an API key and will be released and documented later on.</p>
<p>Another feature of the new API is to allow us to distribute the proxy scanning workload across multiple hosts.  Currently, this only involves scanning for new IP addresses, but other pieces of proxyElite will be added.  We&#8217;ve seen great results replacing our old &#8220;acquire new proxies&#8221; code with the pE-API driven proxy scanner and have added nearly 200 new proxies in the last few weeks.  These new additions are now keeping our lists well over 20 proxies, and a re-vamp of the pE-core has allowed for faster, more thorough proxy checks via the basicChecker.</p>
<p>If you&#8217;re keen on playing with the new features, we&#8217;ve got a bit of documentation and sample code (in python) available <a href="http://proxyElite.net/API/documentation.php">here</a>.  The sample code includes basic examples of parts of the API that require no key as well as a very alpha version of the autotumbler python library for HTTP proxy tumbling, which uses the pE-API to automatically generate proxy lists.</p>
]]></content:encoded>
			<wfw:commentRss>http://blog.psych0tik.net/2011/10/updates-to-proxyelite-pe-api-and-fresher-proxies/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
	</channel>
</rss>

