<?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"
	>

<channel>
	<title>divisionbyzero</title>
	<atom:link href="http://divisionbyzero.net/blog/feed/" rel="self" type="application/rss+xml" />
	<link>http://divisionbyzero.net/blog</link>
	<description>question . authority</description>
	<pubDate>Sun, 19 Oct 2008 01:29:47 +0000</pubDate>
	<generator>http://wordpress.org/?v=2.6.3</generator>
	<language>en</language>
			<item>
		<title>Pittsburgh Perl Workshop 2008</title>
		<link>http://divisionbyzero.net/blog/2008/10/15/pittsburgh-perl-workshop-2008/</link>
		<comments>http://divisionbyzero.net/blog/2008/10/15/pittsburgh-perl-workshop-2008/#comments</comments>
		<pubDate>Thu, 16 Oct 2008 01:31:32 +0000</pubDate>
		<dc:creator>brad</dc:creator>
		
		<category><![CDATA[Talks]]></category>

		<category><![CDATA[perl]]></category>

		<category><![CDATA[ppw]]></category>

		<category><![CDATA[ppw2008]]></category>

		<guid isPermaLink="false">http://divisionbyzero.net/blog/?p=54</guid>
		<description><![CDATA[I had the pleasure of speaking at the 2008 Pittsburgh Perl Workshop.  Due to some rather depressing news on the home front, I was only able to attend Saturday&#8217;s track and the Event Dinner.  Everything was awesome as usual.  I was even surprised to learn new things in the Advanced Pattern Matching [...]]]></description>
			<content:encoded><![CDATA[<p>I had the pleasure of speaking at the <a href="http://pghpw.org/ppw2008/">2008 Pittsburgh Perl Workshop</a>.  Due to some rather depressing news on the home front, I was only able to attend <a href="http://pghpw.org/ppw2008/schedule?day=2008-10-11">Saturday&#8217;s track</a> and the Event Dinner.  Everything was awesome as usual.  I was even surprised to learn new things in the <a href="http://pghpw.org/ppw2008/talk/1505">Advanced Pattern Matching</a> talk.</p>
<p>My talk was titled <a href="http://divisionbyzero.net/PGHPW08.pdf">Network Introspection with Open Source Tools</a> and was an overhaul of the presentation that I did at LinuxWorld earlier this year.  I took the feedback of the audience and tuned the talk to a Perl centric audience.  I wasn&#8217;t heckled badly on IRC, which is the ultimate gauge of success.</p>
<p>I&#8217;d like to thank the organizers, <a href="http://cmu.edu">CMU</a>, sponsors, and The Perl Foundation for another successful year of the Work Shop.  Next year, Pittsburgh is hosting YAPC::NA, and will not be hosting the Pittsburgh Perl Workshop.  I look forward to being able to drive to YAPC!</p>
<p>If you saw the talk and want to rant about it, feel free to do so here.</p>
]]></content:encoded>
			<wfw:commentRss>http://divisionbyzero.net/blog/2008/10/15/pittsburgh-perl-workshop-2008/feed/</wfw:commentRss>
		</item>
		<item>
		<title>Domestic Security</title>
		<link>http://divisionbyzero.net/blog/2008/09/12/domestic-security/</link>
		<comments>http://divisionbyzero.net/blog/2008/09/12/domestic-security/#comments</comments>
		<pubDate>Fri, 12 Sep 2008 19:58:08 +0000</pubDate>
		<dc:creator>brad</dc:creator>
		
		<category><![CDATA[Rant]]></category>

		<category><![CDATA[security hypocrisy]]></category>

		<guid isPermaLink="false">http://divisionbyzero.net/blog/?p=49</guid>
		<description><![CDATA[Just a little comic to remind ourselves what we&#8217;re giving away for &#8220;Security.&#8221;  This is not what our founding fathers had in mind.  I&#8217;m disappointed in the US Government and it&#8217;s people.
]]></description>
			<content:encoded><![CDATA[<p><div id="attachment_50" class="wp-caption alignnone" style="width: 310px"><a href="http://www.claybennett.com/pages/domestic_security.html"><img src="http://divisionbyzero.net/blog/wp-content/uploads/2008/09/security-300x212.jpg" alt="Domestic Security" title="security" width="300" height="212" class="size-medium wp-image-50" /></a><p class="wp-caption-text">Domestic Security</p></div><br />
Just a little comic to remind ourselves what we&#8217;re giving away for &#8220;Security.&#8221;  This is not what our founding fathers had in mind.  I&#8217;m disappointed in the US Government and it&#8217;s people.</p>
]]></content:encoded>
			<wfw:commentRss>http://divisionbyzero.net/blog/2008/09/12/domestic-security/feed/</wfw:commentRss>
		</item>
		<item>
		<title>LinuxWorld 2008 and the goings on..</title>
		<link>http://divisionbyzero.net/blog/2008/09/05/linuxworld-2008-and-the-goings-on/</link>
		<comments>http://divisionbyzero.net/blog/2008/09/05/linuxworld-2008-and-the-goings-on/#comments</comments>
		<pubDate>Fri, 05 Sep 2008 15:12:04 +0000</pubDate>
		<dc:creator>brad</dc:creator>
		
		<category><![CDATA[Talks]]></category>

		<category><![CDATA[eris]]></category>

		<category><![CDATA[linuxworld]]></category>

		<category><![CDATA[security]]></category>

		<guid isPermaLink="false">http://divisionbyzero.net/blog/?p=43</guid>
		<description><![CDATA[I had the privilege of speaking at LinuxWorld 2008 in San Francisco this year.  It was a lot of fun and I certainly enjoyed the discussions with folks after my talk.  My talk was on &#8220;Network Introspection with Open Source Tools&#8221; and I threatened to post updates on my progress here.
I&#8217;ve been working [...]]]></description>
			<content:encoded><![CDATA[<p>I had the privilege of speaking at <a href="http://linuxworldexpo.com/live/12/">LinuxWorld 2008</a> in San Francisco this year.  It was a lot of fun and I certainly enjoyed the discussions with folks after my talk.  My talk was on <a href="http://divisionbyzero.net/LinuxWorld08.pdf">&#8220;Network Introspection with Open Source Tools&#8221;</a> and I threatened to post updates on my progress here.</p>
<p>I&#8217;ve been working on packaging the code that I have into something that might be useful to the general public.  I&#8217;ll post another blog entry when I have a rough cut version of the package available for testing/breaking.</p>
]]></content:encoded>
			<wfw:commentRss>http://divisionbyzero.net/blog/2008/09/05/linuxworld-2008-and-the-goings-on/feed/</wfw:commentRss>
		</item>
		<item>
		<title>Books that Changed My Life</title>
		<link>http://divisionbyzero.net/blog/2008/06/30/books-that-changed-my-life/</link>
		<comments>http://divisionbyzero.net/blog/2008/06/30/books-that-changed-my-life/#comments</comments>
		<pubDate>Mon, 30 Jun 2008 21:32:54 +0000</pubDate>
		<dc:creator>brad</dc:creator>
		
		<category><![CDATA[Article]]></category>

		<category><![CDATA[books]]></category>

		<category><![CDATA[camus]]></category>

		<category><![CDATA[dawkins]]></category>

		<category><![CDATA[favorites]]></category>

		<category><![CDATA[orwell]]></category>

		<category><![CDATA[sagan]]></category>

		<category><![CDATA[stout]]></category>

		<category><![CDATA[wiesel]]></category>

		<guid isPermaLink="false">http://divisionbyzero.net/blog/?p=41</guid>
		<description><![CDATA[I saw a posting recently by someone who described the books that changed their life.  In an era of complete and total connection to TV, Internet, and Radio I thought the idea was excellent.  If you haven&#8217;t been reading books, I highly recommend that you take some time and head down to your [...]]]></description>
			<content:encoded><![CDATA[<p>I saw a posting recently by someone who described the books that changed their life.  In an era of complete and total connection to TV, Internet, and Radio I thought the idea was excellent.  If you haven&#8217;t been reading books, I highly recommend that you take some time and head down to your local library to check them out. </p>
<p>Keep in mind, I rarely read books in school.  After 5th Grade, I preferred to spend my time playing sports, building Legos, and screwing around.  I could &#8220;get by&#8221; on Cliff&#8217;s Notes, classroom dialog, and other 3rd party accounts of books.  I&#8217;ve finally taken a liking to reading, so this is a good time to share my list of books that changed my life in chronological order of my first reading them.</p>
<ol>
<li><a href="http://en.wikipedia.org/wiki/Night_(book)">Night</a> by Elie Wiesel</li>
<li><a href="http://en.wikipedia.org/wiki/The_Stranger_(novel)">The Stranger</a> by Albert Camus</li>
<li><a href="http://www.amazon.com/Myth-Sanity-Divided-Consciousness-Awareness/dp/0142000558">The Myth of Sanity</a> by Martha Stout, PhD</li>
<li><a href="http://en.wikipedia.org/wiki/The_God_Delusion">The God Delusion</a> by Richard Dawkins</li>
<li><a href="http://en.wikipedia.org/wiki/The_Demon_Haunted_World">The Demon Haunted World</a> by Carl Sagan</li>
<li><a href="http://en.wikipedia.org/wiki/Nineteen_Eighty-Four">1984</a> by George Orwell</li>
</ol>
<p><span id="more-41"></span></p>
<h3><em>Night</em> by Elie Wiesel</h3>
<p>Elie Wiesel has been criticized for this book and his continued vocalization of his experiences in the Holocaust.  Personally, I don&#8217;t agree with the criticism.  Open, honest, and constant discussions of humanities failures are necessary to prevent them from recurring.  Regardless of your stance on his speaking out, <eml>Night</em> is a book that you must read remembering that it is not a work of fiction, but a true story.  This book is Elie&#8217;s account of his time in Auschwitz.  It is very hard to digest.</p>
<p>I read this book as a high school senior.  At that time, the only struggles in my life were with girls or with my parents.  At times, those problems would have me a little down.  After reading <em>Night</em> I began to see the glass half full quite a bit more.</p>
<h3><em>The Stranger</em> by Albert Camus</h3>
<p>Albert Camus was an atheist, arguably a nihilist.  This was my in depth run-in with the philosophy of Nihilism.  For me, the story boiled down to a man being sentenced to death for not crying at his mother&#8217;s funeral.  Sure, there&#8217;s a lot more in the book, so go read it.  There&#8217;s certainly a part of me that connects with the main character.  The inability of society to cope with a person who experienced emotions differently than them was especially striking.  The character Camus presents exhibits patterns of someone classified as a &#8220;sociopath.&#8221;  This was also my first experience with abnormal psychology, which is something that I even to this day, completely enthralled by.</p>
<h3><em>The Myth of Sanity</em> by Martha Stout, PhD</h3>
<p>I finally began studying psychology via bn.com/borders.com/amazon.com in late 1999.  Prior to that, I was too busy not doing anything productive.  <em>The Myth of Sanity</em> is almost a scientific paper, except it gets way too personal.  No doubt, papers have been published by the author on the subject, but this book is a look into the experiences of a psychologist working with patients suffering from Disassociative Identity Disorder (previously classified as Multiple Personality Disorder).  The storytelling in the book gives a very human and simplistic look into the amazing defensive capabilities of the human mind.  If this book taught me anything, it&#8217;s that we know so very little about the potential of our most valued possession, our mind.</p>
<h3><em>The God Delusion</em> by Richard Dawkins</h3>
<p>Having been a good Catholic High School student, I contemplated the existence of God and often questioned the logical implications or reality distorting mechanisms of the dogma.  I never received any answers beyond &#8220;have faith.&#8221;  As a child, I had faith.  As I grew up, I learned that meant &#8220;have faith in what these people are telling you.&#8221; I also discovered that people are dirty, rotten, liars.  So I began to wonder how a book (the Bible) that was written so long ago could be verified to be accurate.  I also began to learn about how even the Justice System no longer trusts eye-witnesses are credible evidence.  People lie, or people&#8217;s senses lie to them.  Even in large groups, people are unreliable as evidence.</p>
<p>I decided to buy a copy of this book while in Texas (oh, I got a dirty look).  All the questions I asked were answered with references to peer reviewed papers and ongoing research with plausible hypotheses.  The experience of understanding the world as a purely natural environment devoid of any and all mysticism is akin to experiencing the world where any and all things are mysticism.  It is fantastic.  Seeing everything as a process of unrelated, complex interactions over exhaustively long periods of time makes every second that much more amazing.</p>
<p>Does anyone have all the answers?  Of course not.  This doesn&#8217;t mean that you should stop looking or discount science because the only alternative it to make shit up.  Admitting you don&#8217;t know the answer is one of the most important qualities I look for when interviewing new candidates for jobs.   Science doesn&#8217;t know all the answers, but at least it provides the methods to derive them, and the motivation to keep looking.</p>
<p>If you have questions and you&#8217;ve read the Bible attempting to figure it out, you&#8217;re doing yourself an injustice if you don&#8217;t look to science as well.  Check out <em>The God Delusion</em>.</p>
<h3><em>The Demon Haunted World</em> by Carl Sagan</h3>
<p>Carl Sagan should be required reading for all school children.  At the very least, you should read the short story <a href="http://www.users.qwest.net/~jcosta3/article_dragon.htm">&#8220;The Dragon in My Garage.&#8221;</a>  The rest of <em>The Demon Haunted World</em> is equally as alluring and wonderful.  Since reading this book, I&#8217;ve latched onto Carl Sagan&#8217;s works.  He was what we needed, and still need today.  His primary objective was to bring the joy and wonder back to science.  He was a brilliant proponent of science education, and an adamant dissenter of the Regan Star Wars program that he felt would ultimately lead to the destruction of life on our planet.</p>
<p>Sagan is unique in his enthusiasm and childish wonder for science and all things science.  He admits that he desperately wants to believe in UFO&#8217;s and alien visitations, but the evidence for those occurrences is horribly lacking.  Extraordinary claims require extraordinary evidence.  Nothing can be taken as fact without evidence, regardless of how bad you want it to be true.  I highly recommend all of Sagan&#8217;s works.  If you haven&#8217;t seen it, The Science Channel reruns <a href="http://en.wikipedia.org/wiki/Cosmos:_A_Personal_Voyage">Cosmos</a> fairly regularly and it&#8217;s definitely DVR quality material.</p>
<h3><em>1984</em> by George Orwell</h3>
<p>At the time Orwell wrote <em>1984</em>, it was a far fetched warning to future societies on the dangers of totalitarianism.  Unfortunately, most of the warnings have been ignored.  The UK has long since crossed the threshold of this disturbing proposed future.  The United States is on their way, if not through mechanisms described in Huxley&#8217;s <em>Brave New World</em> (on the list to read).  I read this book while traveling through the US&#8217;s airport system from Maryland to Boston, MA and back.  The sheer irony was haunting.</p>
<p>Anyone in the field of Information Security, Politics, or Public Service should have to reread this book every year.  There are a number of elements in <em>1984</em> that struck me.  On several occasions Orwell describes the perfect citizen of his distopian reality to be a balding, fat man who sweats profusely.  This was striking considering the obesity epidemic in the US.  Additionally, the invention of New Speak as a language that attempts to flush out the means to form rebellious thought by making it impossible to vocalize it.  This is censorship at it&#8217;s extreme.  Another striking feature was the how often the Party referenced the War as a reason to sacrifice minuscule personal liberties.  I&#8217;ve heard this exact logic from the White House.</p>
<p>I really liked <em>1984</em> and regret not reading it when it was assigned in High School.  I could write a term paper on the relevance to Information Security, Public Policy, and the &#8220;Democracy&#8221; of the United States.  Probably several papers.</p>
<h3>el fin.</h3>
<p>So that&#8217;s my most influential list, I&#8217;ll have to add a few more to the bottom later tonight when I sort through my book shelf.  Let me know if you like/dislike them.</p>
]]></content:encoded>
			<wfw:commentRss>http://divisionbyzero.net/blog/2008/06/30/books-that-changed-my-life/feed/</wfw:commentRss>
		</item>
		<item>
		<title>Updates, Recent Downtime</title>
		<link>http://divisionbyzero.net/blog/2008/06/03/updates-recent-downtime/</link>
		<comments>http://divisionbyzero.net/blog/2008/06/03/updates-recent-downtime/#comments</comments>
		<pubDate>Tue, 03 Jun 2008 16:30:09 +0000</pubDate>
		<dc:creator>brad</dc:creator>
		
		<category><![CDATA[Note]]></category>

		<category><![CDATA[news]]></category>

		<category><![CDATA[policy]]></category>

		<category><![CDATA[security]]></category>

		<guid isPermaLink="false">http://divisionbyzero.net/blog/?p=40</guid>
		<description><![CDATA[If you&#8217;ve noticed (probably not), recently the server has been unreachable.  A few weeks back this was due to a bad hard drive.  I finally transferred everything over to the new hard drive and got the sites back up and running thanks to a few friends and The Planet.
Then this weekend, the data [...]]]></description>
			<content:encoded><![CDATA[<p>If you&#8217;ve noticed (probably not), recently the server has been unreachable.  A few weeks back this was due to a bad hard drive.  I finally transferred everything over to the new hard drive and got the sites back up and running thanks to a few friends and <a href="http://theplanet.com">The Planet</a>.</p>
<p>Then this weekend, the data center that hosts this server <a href="http://mashable.com/2008/06/02/the-planets-data-center-explodes-fallout-extends-into-third-day/">exploded</a>.  The site is back up and running now, but there should be a few more hours of downtime on the horizon as they install and integrate a permanent electrical infrastructure to the data center.</p>
<p>Also, I&#8217;ve been selected to speak at the <a href="http://www.linuxworldexpo.com">Linux World Expo</a> in San Fransisco this year!  My talk is &#8220;<a href="http://linuxworldexpo.com/live/12/conference//tracks/tracksessions/Security/QMONYB00BIQP">Network Introspection with Open Source Tools</a>.&#8221;  If you&#8217;re going, please stop by and heckle me!</p>
<p>I may start updating this blog at some point.</p>
]]></content:encoded>
			<wfw:commentRss>http://divisionbyzero.net/blog/2008/06/03/updates-recent-downtime/feed/</wfw:commentRss>
		</item>
		<item>
		<title>Pittsburgh Perl Workshop 2007</title>
		<link>http://divisionbyzero.net/blog/2007/10/18/pittsburgh-perl-workshop-2007/</link>
		<comments>http://divisionbyzero.net/blog/2007/10/18/pittsburgh-perl-workshop-2007/#comments</comments>
		<pubDate>Thu, 18 Oct 2007 22:02:53 +0000</pubDate>
		<dc:creator>brad</dc:creator>
		
		<category><![CDATA[Talks]]></category>

		<category><![CDATA[perl]]></category>

		<category><![CDATA[ppw2007]]></category>

		<guid isPermaLink="false">http://divisionbyzero.net/blog/2007/10/18/pittsburgh-perl-workshop-2007/</guid>
		<description><![CDATA[
I&#8217;ve attended 4 Perl Conferences in the past 2 years.  This year&#8217;s Pittsburgh Perl Workshop is the first that I&#8217;ve presented at.  My talk was titled Security through Detection, Prevention, and Introspection. I have slides available.


I originally wanted to present a bunch of code, but I couldn&#8217;t really find a way to make the code [...]]]></description>
			<content:encoded><![CDATA[<p>
I&#8217;ve attended 4 Perl Conferences in the past 2 years.  This year&#8217;s Pittsburgh Perl Workshop is the first that I&#8217;ve presented at.  My talk was titled <span class="Apple-style-span" style="font-weight: bold; font-style: italic">Security through Detection, Prevention, and Introspection</span>. <a href="http://divisionbyzero.net/~brad/PGHPW07.pdf" alt="Slides for PGHPW07">I have slides available</a>.
</p>
<p>
I originally wanted to present a bunch of code, but I couldn&#8217;t really find a way to make the code very interesting.  I wanted to teach people that security is part of all of their jobs.  I made it a point to reveal some of the idiocy of the Federal Government Mandates in relation to IT Security.  I also gave an overview of the security system I&#8217;m building with Perl at work.
</p>
<p>
There were laughs, smiles, and a lot of people woke up.  All in all, I&#8217;d say it went very well.  I&#8217;d like to refine the presentation and possibly resubmit for <a href="http://yapc.org" alt="YAPC Website">YAPC::NA</a> this year.  Bigger audience, and an opportunity for me to conquer a large slice of my stage fright.
</p>
<p>
If anyone out there reading this saw the presentation and has feedback, please comment on this post!
</p>
<p>
<strong>UPDATE:</strong>  If you enjoyed the content of my talk on security, please check out these articles I&#8217;ve written:</p>
<ul>
<li><a href="http://divisionbyzero.net/blog/2006/07/12/trust/" alt="Trust">Trust</a> - Paradoxical Structure of Trust in Employers</li>
<li><a href="http://divisionbyzero.net/blog/2006/07/18/eating-your-own-dog-food/" alt="Eating Your Own Dog Food">Eating Your Own Dog Food</a> - Hypocritical IT Security Policies In the Real World</li>
<li><a href="http://divisionbyzero.net/blog/2006/08/21/full-disk-encryption/" alt="FDE">Full Disk Encryption</a> - In Theory and Practice</li>
<li><a href="http://divisionbyzero.net/blog/2006/10/31/is-security-theatre-good-enough/" alt="Is Security Theatre Good Enough?">Is Security Theatre Good Enough?</a> Frustrating observations into poor Risk Analysis in the general populace.</li>
</ul>
]]></content:encoded>
			<wfw:commentRss>http://divisionbyzero.net/blog/2007/10/18/pittsburgh-perl-workshop-2007/feed/</wfw:commentRss>
		</item>
		<item>
		<title>Proxy Evasion with SSH</title>
		<link>http://divisionbyzero.net/blog/2007/10/04/proxy-evasion-with-ssh/</link>
		<comments>http://divisionbyzero.net/blog/2007/10/04/proxy-evasion-with-ssh/#comments</comments>
		<pubDate>Thu, 04 Oct 2007 21:41:42 +0000</pubDate>
		<dc:creator>brad</dc:creator>
		
		<category><![CDATA[Article]]></category>

		<category><![CDATA[evasion]]></category>

		<category><![CDATA[policy]]></category>

		<category><![CDATA[proxy]]></category>

		<category><![CDATA[security]]></category>

		<category><![CDATA[ssh]]></category>

		<guid isPermaLink="false">http://divisionbyzero.net/blog/2007/10/04/proxy-evasion-with-ssh/</guid>
		<description><![CDATA[In our first installment,  we looked at some solutions to provide a hospitable environment for proxy evasion.  Today, we&#8217;ll dig deep into how to do this with my favorite protocol of all time, SSH.
OpenSSH is a glorious implementation of a critical network protocol.  Most networks have disabled and banned the use of [...]]]></description>
			<content:encoded><![CDATA[<p>In our <a href="http://divisionbyzero.net/blog/2006/12/09/proxy-evasion-the-environment/">first installment</a>,  we looked at some solutions to provide a hospitable environment for proxy evasion.  Today, we&#8217;ll dig deep into how to do this with my favorite protocol of all time, <a href="http://en.wikipedia.org/wiki/SSH">SSH</a>.</p>
<p><a href="http://openssh.org/">OpenSSH</a> is a glorious implementation of a critical network protocol.  Most networks have disabled and banned the use of telnet, rsh, and ftp in favor of the more &#8220;secure&#8221; SSH protocol.  OpenSSH runs on every platform I&#8217;ve encountered (using CygWin on Windows).  SSH provides an encrypted channel for data transfer.  Usually that&#8217;s Keyboard Interactive Sessions or Files (using SCP), however SSH is capable of setting up multiple channels and acting as a SOCKS4 or SOCKS5 Proxy.</p>
<p><span id="more-28"></span></p>
<p>From the manual:</p>
<blockquote>
<pre>
-D [bind_address:]port

Specifies a local ``dynamic'' application-level port forwarding.
This works by allocating a socket to listen to port on the local
side, optionally bound to the specified bind_address.  Whenever a
connection is made to this port, the connection is forwarded over
the secure channel, and the application protocol is then used to
determine where to connect to from the remote machine.  Currently
the SOCKS4 and SOCKS5 protocols are supported, and ssh will act
as a SOCKS server.  Only root can forward privileged ports.  Dy-
namic port forwardings can also be specified in the configuration
file.</pre>
</blockquote>
<p>That&#8217;s a lot of technical mumbo jumbo, so what does it mean?!  Well it means that if you have ssh and an ssh server outside of your work network that you can connect to, you can SOCKS5 Proxy all your Interesting Traffic elsewhere by issuing this command:</p>
<pre>ssh -D3128 server</pre>
<p>Then pointing your applications to SOCKS5 Proxy localhost port 3128 will encrypt all the traffic between you and the server that you&#8217;re connecting to.  <strong>This only provides privacy from the LOCAL or CORPORATE network, and does not encrypt your traffic on it&#8217;s way to it&#8217;s external destinations!!!!</strong></p>
<p>In the next installment, we&#8217;ll cover PuTTY.exe and how to evade proxies on Windows platforms.</p>
]]></content:encoded>
			<wfw:commentRss>http://divisionbyzero.net/blog/2007/10/04/proxy-evasion-with-ssh/feed/</wfw:commentRss>
		</item>
		<item>
		<title>Copy Back with cfengine</title>
		<link>http://divisionbyzero.net/blog/2007/05/03/copy-back-with-cfengine/</link>
		<comments>http://divisionbyzero.net/blog/2007/05/03/copy-back-with-cfengine/#comments</comments>
		<pubDate>Thu, 03 May 2007 22:01:02 +0000</pubDate>
		<dc:creator>brad</dc:creator>
		
		<category><![CDATA[Article]]></category>

		<category><![CDATA[cfengine]]></category>

		<category><![CDATA[management]]></category>

		<guid isPermaLink="false">http://divisionbyzero.net/blog/2007/05/03/copy-back-with-cfengine/</guid>
		<description><![CDATA[I love cfengine.  There are tons of resources out there for managing all kinds of common and uncommon system administration tasks.  Rather than regurgitate all that information I wanted to share how I worked around what has been noted as a short coming of cfengine, clients copying information back to the master server.

Configuring [...]]]></description>
			<content:encoded><![CDATA[<p>I love <a href="http://www.cfengine.org/">cfengine</a>.  There are tons of resources out there for managing all kinds of common and uncommon system administration tasks.  Rather than regurgitate all that information I wanted to share how I worked around what has been noted as a short coming of cfengine, clients copying information back to the master server.</p>
<p><span id="more-32"></span></p>
<h3>Configuring the cfengine master server, with cfegine!</h3>
<p>The easiest way to do secure file transfer without passwords would be ssh + public key authentication.  This will grant us a reasonable level of security, which we can fine tune with products like <a href="http://sublimation.org/scponly/wiki/index.php/Main_Page">scponly</a>.  For now, we&#8217;ll just play around with basics.</p>
<p>The first thing to do is to setup a user on your cfengine server to accept the file transfers.  Make this user unprivileged and make sure they are allowed to login with ssh.  I restrict ssh connectivity using groups.  I have a special group for utility accounts on my servers called &#8216;localssh&#8217;.  I&#8217;m going to create a user named &#8216;util&#8217; to handle this setup.</p>
<p><code>cfmaster# adduser -n -g localssh -h /home/util util</code></p>
<p>We need passwordless authentication, so we&#8217;re using ssh-keys.  However, we don&#8217;t want to generate those keys as they will be too much work.  We also want to make sure we keep that key under lock and barrel to ensure it&#8217;s safety.  I&#8217;ll use cfengine to configure the master server, and regenerate a utility key everyday.  This will ensure limited exposure of the key on the network.</p>
<p>Here&#8217;s the master section of our cfengine copyback.cf:</p>
<pre>
groups:
  hg_cfmaster     = ( cfmaster.domain.com )

control:
  any::
    util_keydir     = ( /usr/local/cfkeys )
    util_privkey   = ( /usr/local/cfkeys/util.dsa )
    util_pubkey   = ( /usr/local/cfkeys/util.dsa.pub )
    util_updir       = ( /home/util/cfin )
    actionsequence = ( directories tidy shellcommands )

directories:
  any::
    $(util_keydir)        mode=700 owner=root group=root fix=all

  hg_cfmaster::
    /home/util              mode=700 owner=util group=localssh fix=all
    $(util_updir)           mode=700 owner=util group=localssh fix=all

tidy:
  hg_cfmaster::
     $(util_keydir)   pattern=util.dsa age=1 r=0 define=dc_util_genkey

shellcommands:
  dc_util_genkey::
     "/usr/bin/ssh-keygen -t dsa -b 1024 -N '' -C 'util@domain.com' -f $(util_privkey)"

copy:
  hg_cfmaster::
    $(util_pubkey)      dest=/home/util/.ssh/authorized_keys mode=600 owner=util group=localssh type=sum</pre>
<p>What have we done!?@?!@?</p>
<p>Well, the control and groups sections setup our variables.  The &#8216;directories&#8217; section creates the directories and makes sure the permissions are nice and tight.  This ensures that cfengine keeps it that way.</p>
<p>The neat trick is my use of &#8220;dynamic classes&#8221; to take care of key regeneration.  The tidy section looks in the $(util_keydir) for anything matching &#8220;util.dsa&#8221; and removes it if it&#8217;s older than 1 day old.  The &#8220;define&#8221; section defines a dynamic class for the tidy statement if and only if files were deleted.</p>
<p>Then in shellcommands, if our dynamic class &#8220;dc_util_genkey&#8221; is active, we issue the ssh-keygen command to create our new key.</p>
<p>Last, the copy section moves the generated public_key into the ~/.ssh/authorized_keys file for our util user.  This enables the key for logging in without a password.  We can get fancier, but like I said, for now, its simple.</p>
<h3>Distributing the private key to the clients</h3>
<p>The cfengine clients are going to need the private key to be able to authenticate to our cfmaster server.  This is a quick addition in the aforementioned &#8216;copy&#8217; block so it looks like this:</p>
<pre>
copy:
  hg_cfmaster::
    $(util_pubkey)      dest=/home/util/.ssh/authorized_keys mode=600 owner=util group=localssh type=sum

  !hg_cfmaster::
     $(util_privkey)     dest=$(util_keydir) mode=0600 owner=root group=root type=sum server=$(policyhost)</pre>
<p>That&#8217;s it.  Now all the clients will decide if they need the key based on the checksum and replace it as a newer copy becomes available.  So, now we have an account that we can use to send files back to our cfengine master server.</p>
<h3>Sending a file to our cfengine master server</h3>
<p>What do we do now?  Well, I used this technique to issue a certificate request to my cfengine master server for a security tool called <a href="http://www.ossec.net">OSSEC-HIDS</a>.  This meant cfengine could manage the configurations and keys from my clients, making deployment completely automated.  Here&#8217;s an example using the key to scp a file back:</p>
<pre>
shellcommands:
  !hg_cfmaster::
    "/usr/bin/scp -i $(util_privkey) /tmp/somefilewithinformation.txt util@$(policyhost):~/$(host).txt"</pre>
<p>There ya go!  I&#8217;ll be putting up a page on the <a href="http://www.ossec.net/wiki/index.php/OSSEC">OSSEC-HIDS Wiki</a> on how I used this technique to manage all my clients configurations relatively soon.</p>
]]></content:encoded>
			<wfw:commentRss>http://divisionbyzero.net/blog/2007/05/03/copy-back-with-cfengine/feed/</wfw:commentRss>
		</item>
		<item>
		<title>Boycott the RIAA</title>
		<link>http://divisionbyzero.net/blog/2007/02/27/boycott-the-riaa/</link>
		<comments>http://divisionbyzero.net/blog/2007/02/27/boycott-the-riaa/#comments</comments>
		<pubDate>Tue, 27 Feb 2007 22:30:09 +0000</pubDate>
		<dc:creator>brad</dc:creator>
		
		<category><![CDATA[Rant]]></category>

		<category><![CDATA[funny]]></category>

		<category><![CDATA[riaa]]></category>

		<guid isPermaLink="false">http://divisionbyzero.net/blog/2007/02/27/boycott-the-riaa/</guid>
		<description><![CDATA[Gizmodo is stepping up to declare March, Boycott the RIAA Month.
This needs to happen.  Justice must be swift and unrelenting.  Back when the RIAA conned Metallica to lead the charge against Napster, they killed a significant portion of the internet.  I&#8217;d go as far as to blame them for being the catalyst [...]]]></description>
			<content:encoded><![CDATA[<p><a href="http://gizmodo.com/gadgets/home-entertainment/gizmodos-antiriaa-manifesto-239512.php">Gizmodo</a> is stepping up to declare March, Boycott the RIAA Month.</p>
<p>This needs to happen.  Justice must be swift and unrelenting.  Back when the <a href="http://en.wikipedia.org/wiki/Metallica#Napster_controversy">RIAA conned Metallica</a> to lead the charge against Napster, they killed a significant portion of the internet.  I&#8217;d go as far as to blame them for being the catalyst of the dotCom Bust.</p>
<p>Both the RIAA and MPAA need to shut the hell up and embrace new technologies.</p>
<p>(I promise I&#8217;ll post the Proxy Evasion Article as soon as I can get my Virtual Machine running!)</p>
]]></content:encoded>
			<wfw:commentRss>http://divisionbyzero.net/blog/2007/02/27/boycott-the-riaa/feed/</wfw:commentRss>
		</item>
		<item>
		<title>Getting back to things.</title>
		<link>http://divisionbyzero.net/blog/2007/01/19/getting-back-to-things/</link>
		<comments>http://divisionbyzero.net/blog/2007/01/19/getting-back-to-things/#comments</comments>
		<pubDate>Sat, 20 Jan 2007 03:41:42 +0000</pubDate>
		<dc:creator>brad</dc:creator>
		
		<category><![CDATA[Note]]></category>

		<category><![CDATA[security]]></category>

		<guid isPermaLink="false">http://divisionbyzero.net/blog/2007/01/19/getting-back-to-things/</guid>
		<description><![CDATA[The holidays are always a lot of fun.  I ran out of time to do some things like keeping this blog updated.  There&#8217;s been a ton of stuff in the news relevant to IT security.  I&#8217;m not going to recap.
I&#8217;ll be continuing my Proxy Evasion series as soon as I get a [...]]]></description>
			<content:encoded><![CDATA[<p>The holidays are always a lot of fun.  I ran out of time to do some things like keeping this blog updated.  There&#8217;s been a ton of stuff in the news relevant to IT security.  I&#8217;m not going to recap.</p>
<p>I&#8217;ll be continuing my <a href="http://divisionbyzero.net/blog/2006/12/09/proxy-evasion-the-environment/">Proxy Evasion</a> series as soon as I get a chance to put together some screen shots for the tutorial part of the article.</p>
<p>Hopefully that article will be completed relatively soon.</p>
<p>Hope everyone had a great holiday season.</p>
<p>Pick up a copy of this book:</p>
<p><a href="http://www.amazon.com/gp/redirect.html%3FASIN=0321444426%26tag=manalangcom-20%26lcode=xm2%26cID=2025%26ccmID=165953%26location=/o/ASIN/0321444426%253FSubscriptionId=0EMV44A9A5YT1RVDGZ82" title="View product details at Amazon"><img src="http://ec1.images-amazon.com/images/P/0321444426.01._SCTHUMBZZZ_V34644793_.jpg" alt="The Art of Software Security Assessment: Identifying and Preventing Software Vulnerabilities" /></a></p>
]]></content:encoded>
			<wfw:commentRss>http://divisionbyzero.net/blog/2007/01/19/getting-back-to-things/feed/</wfw:commentRss>
		</item>
	</channel>
</rss>
