<?xml version="1.0" encoding="utf-8" ?>

<rss version="2.0" 
   xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#"
   xmlns:admin="http://webns.net/mvcb/"
   xmlns:dc="http://purl.org/dc/elements/1.1/"
   xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
   xmlns:wfw="http://wellformedweb.org/CommentAPI/"
   xmlns:content="http://purl.org/rss/1.0/modules/content/"
   >
<channel>
    <title>Niels Provos</title>
    <link>http://www.provos.org/</link>
    <description>systrace, spybye and other things.</description>
    <dc:language>en</dc:language>
    <generator>Serendipity 1.3.1 - http://www.s9y.org/</generator>
    
    

<item>
    <title>Adobe PDF Vulnerability: Stack overflow in Font File parsing</title>
    <link>http://www.provos.org/index.php?/archives/87-Adobe-PDF-Vulnerability-Stack-overflow-in-Font-File-parsing.html</link>
            <category>Malware</category>
            <category>News</category>
            <category>SpyBye</category>
    
    <comments>http://www.provos.org/index.php?/archives/87-Adobe-PDF-Vulnerability-Stack-overflow-in-Font-File-parsing.html#comments</comments>
    <wfw:comment>http://www.provos.org/wfwcomment.php?cid=87</wfw:comment>

    <slash:comments>0</slash:comments>
    <wfw:commentRss>http://www.provos.org/rss.php?version=2.0&amp;type=comments&amp;cid=87</wfw:commentRss>
    

    <author>nospam@example.com (Niels Provos)</author>
    <content:encoded>
    Metasploit has a great &lt;a href=&quot;http://blog.metasploit.com/2010/09/return-of-unpublished-adobe.html&quot;&gt;write up on new vulnerability in PDF&lt;/a&gt;.  The basic problem is a stack overflow when parsing OpenType fonts.  In particular, &lt;a href=&quot;http://www.adobe.com/devnet/opentype/gdk/topic.html&quot;&gt;SING Glyphlet tables&lt;/a&gt; contain a 27 byte long unique name that is expected to be NUL-terminated and stored in a 28-byte buffer.  The vulnerable code is using &lt;strong&gt;strcat&lt;/strong&gt; and lacks bounds checking resulting in a stack overflow.&lt;br /&gt;
&lt;br /&gt;
The PDF in the wild prepares the heap via Javascript and contains multiple different font files that are selected by navigating to a specific page in the PDF based on the viewer version.   Each font files has slightly different shell code.    It was amusing to see that the attackers after modifying the &lt;strong&gt;head&lt;/strong&gt; and &lt;strong&gt;SING&lt;/strong&gt; tables did not fix up their respective checksums.   According to Metasploit, this exploit works under Windows 7 with both DEP and ASLR turned on.   Fun Fun.   As of now, no patched version is available.  The &lt;a href=&quot;http://secbrowsing.blogspot.com/2010/09/protect-yourself-against-todays-pdf.html&quot;&gt;SecBrowsing blog&lt;/a&gt; contains instructions with temporary remedies. 
    </content:encoded>

    <pubDate>Thu, 09 Sep 2010 22:18:39 -0700</pubDate>
    <guid isPermaLink="false">http://www.provos.org/index.php?/archives/87-guid.html</guid>
    <category>exploit</category>
<category>malware</category>
<category>security</category>

</item>
<item>
    <title>Libevent-2.0.7-rc release</title>
    <link>http://www.provos.org/index.php?/archives/86-Libevent-2.0.7-rc-release.html</link>
            <category>Libevent</category>
            <category>News</category>
    
    <comments>http://www.provos.org/index.php?/archives/86-Libevent-2.0.7-rc-release.html#comments</comments>
    <wfw:comment>http://www.provos.org/wfwcomment.php?cid=86</wfw:comment>

    <slash:comments>0</slash:comments>
    <wfw:commentRss>http://www.provos.org/rss.php?version=2.0&amp;type=comments&amp;cid=86</wfw:commentRss>
    

    <author>nospam@example.com (Niels Provos)</author>
    <content:encoded>
    Nick announced the release of Libevent-2.0.7-rc today.    Here is an excerpt from his email:&lt;br /&gt;
&lt;br /&gt;
&lt;blockquote&gt;Thanks to everybody who reported and fixed bugs in Libevent 2.0.6-rc,&lt;br /&gt;
Libevent 2.0.7-rc should be much more stable and portable, especially&lt;br /&gt;
for people using IOCP, Windows, rate-limiting, or threads.&lt;br /&gt;
&lt;br /&gt;
There are also numerous small bugfixes thoughout the codebase (though&lt;br /&gt;
still not, alas, in the http stuff).&lt;br /&gt;
&lt;br /&gt;
For a complete list of changes, just see the &lt;a href=&quot;http://levent.git.sourceforge.net/git/gitweb.cgi?p=levent/levent;a=blob;f=ChangeLog;hb=fe008ed656766266b93cdf2083f5b8bc50e6aad3&quot;&gt;ChangeLog&lt;/a&gt; included with&lt;br /&gt;
the source distribution.&lt;/blockquote&gt;&lt;br /&gt;
&lt;br /&gt;
You can download source code of libevent releases from &lt;a href=&quot;http://www.monkey.org/~provos/libevent/&quot;&gt;monkey.org&lt;/a&gt; 
    </content:encoded>

    <pubDate>Thu, 09 Sep 2010 22:15:40 -0700</pubDate>
    <guid isPermaLink="false">http://www.provos.org/index.php?/archives/86-guid.html</guid>
    <category>libevent</category>
<category>release</category>

</item>
<item>
    <title>Anatomy of a PDF Exploit</title>
    <link>http://www.provos.org/index.php?/archives/85-Anatomy-of-a-PDF-Exploit.html</link>
            <category>Hacking</category>
            <category>Malware</category>
            <category>Security</category>
    
    <comments>http://www.provos.org/index.php?/archives/85-Anatomy-of-a-PDF-Exploit.html#comments</comments>
    <wfw:comment>http://www.provos.org/wfwcomment.php?cid=85</wfw:comment>

    <slash:comments>0</slash:comments>
    <wfw:commentRss>http://www.provos.org/rss.php?version=2.0&amp;type=comments&amp;cid=85</wfw:commentRss>
    

    <author>nospam@example.com (Niels Provos)</author>
    <content:encoded>
    PDF has become the de-facto standard for formatting print documents.  Over the years, it has evolved into a &lt;a href=&quot;http://www.adobe.com/devnet/pdf/pdf_reference.html&quot;&gt;feature rich and very complex system&lt;/a&gt;.  PDF supports embedded Javascript that can be used for form validation and contains support for different image formats and 3D models, etc.  As a result, PDF implementations have numerous vulnerabilities that can be exploit by adversaries to gain control over a user’s computer.   Here are a number of CVEs that are currently being exploited in the wild: &lt;a href=&quot;http://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2007-5659&quot;&gt;CVE-2007-5659&lt;/a&gt;, &lt;a href=&quot;http://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2008-2992&quot;&gt;CVE-2008-2992&lt;/a&gt;, &lt;a href=&quot;http://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2009-0927&quot;&gt;CVE-2009-0927&lt;/a&gt;, &lt;a href=&quot;http://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2009-2994&quot;&gt;CVE-2009-2994&lt;/a&gt;, &lt;a href=&quot;http://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2009-4324&quot;&gt;CVE-2009-4324&lt;/a&gt;, &lt;a href=&quot;http://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2010-0188&quot;&gt;CVE-2010-0188&lt;/a&gt;.&lt;br /&gt;
&lt;br /&gt;
In this blog post, we are going to look at current exploitation of CVE-2010-0188: An integer overflow in the parsing of the dot range option in TIFF files.   The vulnerability was publicly &lt;a href=&quot;http://www.adobe.com/support/security/bulletins/apsb10-07.html&quot;&gt;announced in February 2010&lt;/a&gt;.  Examples of &lt;a href=&quot;http://www.exploit-db.com/exploits/11787/&quot;&gt;exploit code&lt;/a&gt; are readily available on the Internet and a very good explanation of how the exploit works has been provided by &lt;a href=&quot;http://blog.fortinet.com/cve-2010-0188-exploit-in-the-wild/&quot;&gt;Fortinet&lt;/a&gt;.&lt;br /&gt;
&lt;br /&gt;
The exploit described by Fortinet utilizes an AcroForm described in XML.  The XML contains an image field with an embedded TIFF image that triggers the vulnerability.&lt;br /&gt;
&lt;br /&gt;
&lt;!-- s9ymdb:12 --&gt;&lt;img class=&quot;serendipity_image_left&quot; width=&quot;691&quot; height=&quot;209&quot; style=&quot;border: 0px; padding-left: 5px; padding-right: 5px; padding-bottom: 10px;&quot; src=&quot;http://www.provos.org/uploads/image2.png&quot; alt=&quot;&quot; /&gt; &lt;br /&gt;&lt;a href=&quot;http://www.provos.org/index.php?/archives/85-Anatomy-of-a-PDF-Exploit.html#extended&quot;&gt;Continue reading &quot;Anatomy of a PDF Exploit&quot;&lt;/a&gt;
    </content:encoded>

    <pubDate>Thu, 19 Aug 2010 17:10:08 -0700</pubDate>
    <guid isPermaLink="false">http://www.provos.org/index.php?/archives/85-guid.html</guid>
    <category>exploit</category>
<category>malware</category>
<category>pdf</category>

</item>
<item>
    <title>Heat treating the Wakizashi</title>
    <link>http://www.provos.org/index.php?/archives/84-Heat-treating-the-Wakizashi.html</link>
            <category>Hacking</category>
    
    <comments>http://www.provos.org/index.php?/archives/84-Heat-treating-the-Wakizashi.html#comments</comments>
    <wfw:comment>http://www.provos.org/wfwcomment.php?cid=84</wfw:comment>

    <slash:comments>0</slash:comments>
    <wfw:commentRss>http://www.provos.org/rss.php?version=2.0&amp;type=comments&amp;cid=84</wfw:commentRss>
    

    <author>nospam@example.com (Niels Provos)</author>
    <content:encoded>
    &lt;div style=&quot;float:left&quot;&gt;&lt;object width=&quot;640&quot; height=&quot;385&quot;&gt;&lt;param name=&quot;movie&quot; value=&quot;http://www.youtube.com/v/gy0QDfS9kiU&amp;amp;hl=en_US&amp;amp;fs=1&quot;&gt;&lt;/param&gt;&lt;param name=&quot;allowFullScreen&quot; value=&quot;true&quot;&gt;&lt;/param&gt;&lt;param name=&quot;allowscriptaccess&quot; value=&quot;always&quot;&gt;&lt;/param&gt;&lt;embed src=&quot;http://www.youtube.com/v/gy0QDfS9kiU&amp;amp;hl=en_US&amp;amp;fs=1&quot; type=&quot;application/x-shockwave-flash&quot; allowscriptaccess=&quot;always&quot; allowfullscreen=&quot;true&quot; width=&quot;640&quot; height=&quot;385&quot;&gt;&lt;/embed&gt;&lt;/object&gt;&lt;/div&gt;Heat treating a sword using a water quench is a tense affair as the sword my crack and many hours of work may be lost.   This video shows heat treating a wakizashi I made from forge welded cable that was folded several times.   The Japanese differential heat treat calls for coating the back of the blade with a clay layer that retards the quench and allows the covered part of the steel to remain softer.   The border between harder and softer steel becomes visible as hamon.   Although, the heat treating was successful, the blade developed a welding flaw and at this point it looks like 20 hours of work might have been lost.   
    </content:encoded>

    <pubDate>Fri, 30 Jul 2010 20:33:16 -0700</pubDate>
    <guid isPermaLink="false">http://www.provos.org/index.php?/archives/84-guid.html</guid>
    <category>bladesmithing</category>
<category>wakizashi</category>

</item>
<item>
    <title>Folding Steel</title>
    <link>http://www.provos.org/index.php?/archives/83-Folding-Steel.html</link>
            <category>Hacking</category>
    
    <comments>http://www.provos.org/index.php?/archives/83-Folding-Steel.html#comments</comments>
    <wfw:comment>http://www.provos.org/wfwcomment.php?cid=83</wfw:comment>

    <slash:comments>0</slash:comments>
    <wfw:commentRss>http://www.provos.org/rss.php?version=2.0&amp;type=comments&amp;cid=83</wfw:commentRss>
    

    <author>nospam@example.com (Niels Provos)</author>
    <content:encoded>
    &lt;a href=&quot;http://www.flickr.com/photos/nielsprovos/4651011415/&quot; title=&quot;Blacksmith Knife by provos@monkey, on Flickr&quot;&gt;&lt;img src=&quot;http://farm5.static.flickr.com/4006/4651011415_20e3531968_m.jpg&quot; width=&quot;240&quot; height=&quot;160&quot; alt=&quot;Folded Steel&quot; class=&quot;serendipity_image_left&quot; style=&quot;border: 0px none ; float: left; padding-left: 5px; padding-right: 5px;&quot; /&gt;&lt;/a&gt;When examining a traditionally forged Japanese sword, the steel structure (&lt;a href=&quot;http://www.ncjsc.org/hada-1.html&quot;&gt;hada&lt;/a&gt;) often looks like wood grain.  This structure is a result of folding and forge welding &lt;a href=&quot;http://en.wikipedia.org/wiki/Tamahagane&quot;&gt;tamahagane&lt;/a&gt;.  To simulate such hada without using expensive tamahagane, I took 24in of 1in diameter steel cable and forge welded it into a single piece of steel.   That steel was then folded 7 times with some surface manipulation and then forged into a small wakizashi.  The picture shows the tang after the scale was removed, polished and then lightly etched to show the grain.   The steel structure seems similar to mokume hada.   Now, I just need to find the time to shape, heat treat, polish and mount the sword.  Expect progress pictures as work permits - probably in a few months. 
    </content:encoded>

    <pubDate>Sun, 30 May 2010 19:26:51 -0700</pubDate>
    <guid isPermaLink="false">http://www.provos.org/index.php?/archives/83-guid.html</guid>
    <category>bladesmithing</category>
<category>forge</category>
<category>wakizashi</category>

</item>
<item>
    <title>Railroad Spike Knife</title>
    <link>http://www.provos.org/index.php?/archives/82-Railroad-Spike-Knife.html</link>
            <category>Hacking</category>
    
    <comments>http://www.provos.org/index.php?/archives/82-Railroad-Spike-Knife.html#comments</comments>
    <wfw:comment>http://www.provos.org/wfwcomment.php?cid=82</wfw:comment>

    <slash:comments>0</slash:comments>
    <wfw:commentRss>http://www.provos.org/rss.php?version=2.0&amp;type=comments&amp;cid=82</wfw:commentRss>
    

    <author>nospam@example.com (Niels Provos)</author>
    <content:encoded>
    &lt;a href=&quot;http://www.flickr.com/photos/nielsprovos/4446434635/&quot; title=&quot;Blacksmith Knife by provos@monkey, on Flickr&quot;&gt;&lt;img src=&quot;http://farm3.static.flickr.com/2743/4446434635_6feea28de1_m.jpg&quot; width=&quot;240&quot; height=&quot;180&quot; alt=&quot;Blacksmith Knife&quot; class=&quot;serendipity_image_left&quot; style=&quot;border: 0px none ; float: left; padding-left: 5px; padding-right: 5px;&quot; /&gt;&lt;/a&gt;The is a knife made from a high carbon railroad spike.   The blade is flat ground and about 4.5in long. The whole knife is a little bit longer than 10in.    The twist in the handle feels nice in the hand.  HC in this case apparently means 1030 which is pretty low carbon content for a knife.   While it got to be very sharp, the edge is probably not going to stay that way for very long.&lt;br /&gt;
&lt;p style=&quot;clear:both&quot;&gt;&lt;br /&gt;
&lt;a href=&quot;http://www.flickr.com/photos/nielsprovos/4452276651/&quot; title=&quot;Blacksmith Knife (finished) by provos@monkey, on Flickr&quot;&gt;&lt;img src=&quot;http://farm3.static.flickr.com/2695/4452276651_881539915f_m.jpg&quot; width=&quot;240&quot; height=&quot;159&quot; alt=&quot;Blacksmith Knife (finished)&quot;  class=&quot;serendipity_image_left&quot; style=&quot;border: 0px none ; float: left; padding-left: 5px; padding-right: 5px;&quot; /&gt;&lt;/a&gt;Forging this was a lot of fun and using the spring fuller really helped with separating the steel from the handle and the blade.   Making this knife actually didn&#039;t take very long.  About an hour of forging time, a couple hours of grinding and polishing.&lt;br /&gt;
&lt;br /&gt;
&lt;p style=&quot;clear: both&quot;&gt; 
    </content:encoded>

    <pubDate>Tue, 23 Mar 2010 23:05:57 -0700</pubDate>
    <guid isPermaLink="false">http://www.provos.org/index.php?/archives/82-guid.html</guid>
    <category>bladesmithing</category>
<category>knife</category>

</item>
<item>
    <title>Libevent 2.0.4-alpha released</title>
    <link>http://www.provos.org/index.php?/archives/81-Libevent-2.0.4-alpha-released.html</link>
            <category>Libevent</category>
            <category>News</category>
    
    <comments>http://www.provos.org/index.php?/archives/81-Libevent-2.0.4-alpha-released.html#comments</comments>
    <wfw:comment>http://www.provos.org/wfwcomment.php?cid=81</wfw:comment>

    <slash:comments>1</slash:comments>
    <wfw:commentRss>http://www.provos.org/rss.php?version=2.0&amp;type=comments&amp;cid=81</wfw:commentRss>
    

    <author>nospam@example.com (Niels Provos)</author>
    <content:encoded>
    Libevent 2.0.4-alpha is now available for download:&lt;br /&gt;
&lt;br /&gt;
 &lt;a href=&quot;http://monkey.org/~provos/libevent-2.0.4-alpha.tar.gz&quot;&gt;http://monkey.org/~provos/libevent-2.0.4-alpha.tar.gz&lt;/a&gt;&lt;br /&gt;
 &lt;a href=&quot;http://monkey.org/~provos/libevent-2.0.4-alpha.tar.gz.sig&quot;&gt;http://monkey.org/~provos/libevent-2.0.4-alpha.tar.gz.sig&lt;/a&gt;&lt;br /&gt;
&lt;br /&gt;
The complete change list is available &lt;a href=&quot;http://bit.ly/bnH6OT&quot;&gt;here&lt;/a&gt;.&lt;br /&gt;
&lt;br /&gt;
Some of the feature improvements include:&lt;br /&gt;
&lt;ul&gt;&lt;li&gt;bufferevents can now be rate limited&lt;/li&gt;&lt;li&gt;http connections can now resolve host names asynchronously&lt;/li&gt;&lt;li&gt;a facility for lock debugging&lt;/li&gt;&lt;li&gt;arc4random() for evdns&lt;/li&gt;&lt;/ul&gt;&lt;br /&gt;
However, we (that means mostly Nick) have also made a large number of bug fixes and stability improvements across many platforms.    Many thanks to everyone who helped by providing bug reports and patches including Brodie Thiesfield, Dagobert Michelsen, Evan Jones, Joachim Bauch, Pavel Plesov, Roman Puls, Sebastian Hahn, William Ahern, Yasuoka Masahiko and Zhuang Yuyao.&lt;br /&gt;
&lt;br /&gt;
In a separate email, Nick also provided a much more &lt;a hef=&quot;http://archives.seul.org/libevent/users/Mar-2010/msg00003.html&quot;&gt;verbose description&lt;/a&gt; of what all changed.&lt;br /&gt;
 
    </content:encoded>

    <pubDate>Fri, 05 Mar 2010 23:32:00 -0800</pubDate>
    <guid isPermaLink="false">http://www.provos.org/index.php?/archives/81-guid.html</guid>
    <category>libevent</category>
<category>release</category>

</item>
<item>
    <title>Cable Tantos</title>
    <link>http://www.provos.org/index.php?/archives/80-Cable-Tantos.html</link>
            <category>Hacking</category>
    
    <comments>http://www.provos.org/index.php?/archives/80-Cable-Tantos.html#comments</comments>
    <wfw:comment>http://www.provos.org/wfwcomment.php?cid=80</wfw:comment>

    <slash:comments>1</slash:comments>
    <wfw:commentRss>http://www.provos.org/rss.php?version=2.0&amp;type=comments&amp;cid=80</wfw:commentRss>
    

    <author>nospam@example.com (Niels Provos)</author>
    <content:encoded>
    &lt;a href=&quot;http://www.flickr.com/photos/nielsprovos/4344876391/&quot; title=&quot;Cable Tanto by provos@monkey, on Flickr&quot;&gt;&lt;img src=&quot;http://farm3.static.flickr.com/2714/4344876391_af98c14087_m.jpg&quot; width=&quot;240&quot; height=&quot;113&quot; alt=&quot;Cable Tanto&quot; class=&quot;serendipity_image_left&quot; style=&quot;border: 0px none ; float: left; padding-left: 5px; padding-right: 5px;&quot; /&gt;&lt;/a&gt;Although, I have made various attempts at forging knives, this tanto is the first knife I have completed. It&#039;s a shinogi-zukuri tanto with choji hamon.   The steel was made from &lt;a href=&quot;http://www.youtube.com/watch?v=rP9uoK4Lvec&quot;&gt;forge-welded high carbon cable&lt;/a&gt;. Originally, this was supposed to become a wakizashi, but due to a bad hammer blow when forging the sunobe, I had to fold it over and no longer had enough steel for a longer blade.   As a result, the blade is only about 9in long. The habaki was made from brazed copper and the shira-saya was carved from a popular blank. &lt;br /&gt;
&lt;p style=&quot;clear:both&quot;&gt;&lt;br /&gt;
&lt;a href=&quot;http://www.flickr.com/photos/nielsprovos/4357631679/&quot; title=&quot;Cable Tantos by provos@monkey, on Flickr&quot;&gt;&lt;img src=&quot;http://farm5.static.flickr.com/4045/4357631679_bcf5ec16a2_m.jpg&quot; width=&quot;240&quot; height=&quot;135&quot; alt=&quot;Cable Tantos&quot; class=&quot;serendipity_image_left&quot; style=&quot;border: 0px none ; float: left; padding-left: 5px; padding-right: 5px;&quot; /&gt;&lt;/a&gt;The picture to the left shows two more cable tantos in various stages of progress.  The top one had some rough grinding done to it whereas the bottom one is straight from the forge.  Only about 10% of the time is actually spent forging the blades.   The rest of time is spent grinding, polishing and working on the habaki as well as on the saya and everything else.&lt;br /&gt;
&lt;p style=&quot;clear: both&quot;&gt; 
    </content:encoded>

    <pubDate>Sun, 14 Feb 2010 19:16:18 -0800</pubDate>
    <guid isPermaLink="false">http://www.provos.org/index.php?/archives/80-guid.html</guid>
    <category>blacksmithing</category>
<category>bladesmithing</category>
<category>forge</category>
<category>tanto</category>

</item>
<item>
    <title>OpenSSL Client Certificates and Libevent-2.0.3-alpha</title>
    <link>http://www.provos.org/index.php?/archives/79-OpenSSL-Client-Certificates-and-Libevent-2.0.3-alpha.html</link>
            <category>Libevent</category>
    
    <comments>http://www.provos.org/index.php?/archives/79-OpenSSL-Client-Certificates-and-Libevent-2.0.3-alpha.html#comments</comments>
    <wfw:comment>http://www.provos.org/wfwcomment.php?cid=79</wfw:comment>

    <slash:comments>0</slash:comments>
    <wfw:commentRss>http://www.provos.org/rss.php?version=2.0&amp;type=comments&amp;cid=79</wfw:commentRss>
    

    <author>nospam@example.com (Niels Provos)</author>
    <content:encoded>
    Tom Pusateri reported success with using OpenSSL client certificates and libevent&#039;s builtin OpenSSL support.  Here is what he wrote on the mailing list:&lt;br /&gt;
&lt;blockquote&gt;&lt;br /&gt;
I tried 2.0.3 alpha against the Apple Push notification feedback service which requires a client key/certificate and it works great.&lt;br /&gt;
&lt;br /&gt;
One hint... Make sure you add the key and cert to the SSL context before calling SSL_new(). Otherwise, you&#039;ll get an error that looks like:&lt;br /&gt;
&lt;dl&gt;&lt;dd&gt;&lt;em&gt;sslv3 alert handshake failure in SSL routines SSL3_READ_BYTES&lt;/em&gt;&lt;/dd&gt;&lt;/dl&gt;Here&#039;s the working code:&lt;br /&gt;
&lt;br /&gt;
&lt;font size=&quot;2&quot;&gt;&lt;pre&gt;
static void
init_feedback_service(struct event_base *ev_base,
    struct evdns_base *dns)
{
   int rc;
   struct bufferevent *bev;
   SSL_CTX *ssl_ctx;
   SSL *ssl;

   ssl_ctx = SSL_CTX_new(SSLv3_method());

   rc = SSL_CTX_use_certificate_file(ssl_ctx, &quot;my_apple_cert_key.pem&quot;,
       SSL_FILETYPE_PEM);
   if (rc != 1) {
       errx(EXIT_FAILURE, &quot;Could not load certificate file&quot;);
   }
   rc = SSL_CTX_use_PrivateKey_file(ssl_ctx, &quot;my_apple_cert_key.pem&quot;,
       SSL_FILETYPE_PEM);
   if (rc != 1) {
       errx(EXIT_FAILURE, &quot;Could not load private key file&quot;);
   }

   ssl = SSL_new(ssl_ctx);
   bev = bufferevent_openssl_socket_new(ev_base, -1, ssl,
       BUFFEREVENT_SSL_CONNECTING, BEV_OPT_CLOSE_ON_FREE);
   bufferevent_setcb(bev, feedback_read_cb, NULL,
       feedback_event_cb, NULL);
   rc = bufferevent_socket_connect_hostname(bev, dns, AF_INET,
       &quot;feedback.sandbox.push.apple.com&quot;, 2196);
   if (rc &lt; 0) {
       warnx(&quot;could not connect to feedback service: %s&quot;,
             evutil_socket_error_to_string(EVUTIL_SOCKET_ERROR()));
       bufferevent_free(bev);
       return;
   }
   bufferevent_enable(bev, EV_READ);
}
&lt;/pre&gt;&lt;/font&gt;&lt;/blockquote&gt; 
    </content:encoded>

    <pubDate>Fri, 04 Dec 2009 18:02:15 -0800</pubDate>
    <guid isPermaLink="false">http://www.provos.org/index.php?/archives/79-guid.html</guid>
    <category>libevent</category>

</item>
<item>
    <title>Libevent-2.0.3-alpha release</title>
    <link>http://www.provos.org/index.php?/archives/78-Libevent-2.0.3-alpha-release.html</link>
            <category>Libevent</category>
            <category>News</category>
    
    <comments>http://www.provos.org/index.php?/archives/78-Libevent-2.0.3-alpha-release.html#comments</comments>
    <wfw:comment>http://www.provos.org/wfwcomment.php?cid=78</wfw:comment>

    <slash:comments>3</slash:comments>
    <wfw:commentRss>http://www.provos.org/rss.php?version=2.0&amp;type=comments&amp;cid=78</wfw:commentRss>
    

    <author>nospam@example.com (Niels Provos)</author>
    <content:encoded>
    It has been a while since the last alpha release of libevent-2.0. Yesterday, we released 2.0.3-alpha which can be downloaded from&lt;br /&gt;
&lt;br /&gt;
 &lt;a href=&quot;http://monkey.org/~provos/libevent-2.0.3-alpha.tar.gz&quot;&gt;http://monkey.org/~provos/libevent-2.0.3-alpha.tar.gz&lt;/a&gt;&lt;br /&gt;
&lt;br /&gt;
Please, give it a spin and let us know if you run into any problems. There have been a lot of changes since the last release, mostly due to Nick&#039;s hard work.  Here are just some highlights, the ChangeLog contains the full story:&lt;br /&gt;
&lt;br /&gt;
 - SSL/TLS support on bufferevents, using the OpenSSL library&lt;br /&gt;
 - Improved searching on evbuffer objects&lt;br /&gt;
 - Improved support for Windows&lt;br /&gt;
 - More efficient memory allocation for event_bases that use epoll&lt;br /&gt;
 - Improved thread-safety&lt;br /&gt;
 - The IOCP bufferevent backend is now exposed on Windows; many thanks to Christopher Davis for his work.&lt;br /&gt;
&lt;br /&gt;
Many thanks to everyone who helped with patches and bug reports including Rocco Carbone, Brodie Thiesfield, Caitlin Mercer, David Reiss, Alexander Pronchenkov, Jacek Masiulaniec, Ka-Hing Cheung, Christopher Davis, Ferenc Szalai, and Ryan Phillips.&lt;br /&gt;
&lt;br /&gt;
&lt;em&gt;Edited to fix the link.&lt;/em&gt; 
    </content:encoded>

    <pubDate>Fri, 20 Nov 2009 21:23:55 -0800</pubDate>
    <guid isPermaLink="false">http://www.provos.org/index.php?/archives/78-guid.html</guid>
    <category>libevent</category>
<category>release</category>

</item>
<item>
    <title>Libevent 1.4.13-stable released</title>
    <link>http://www.provos.org/index.php?/archives/77-Libevent-1.4.13-stable-released.html</link>
            <category>Libevent</category>
            <category>News</category>
    
    <comments>http://www.provos.org/index.php?/archives/77-Libevent-1.4.13-stable-released.html#comments</comments>
    <wfw:comment>http://www.provos.org/wfwcomment.php?cid=77</wfw:comment>

    <slash:comments>0</slash:comments>
    <wfw:commentRss>http://www.provos.org/rss.php?version=2.0&amp;type=comments&amp;cid=77</wfw:commentRss>
    

    <author>nospam@example.com (Niels Provos)</author>
    <content:encoded>
    We just released a new stable version of &lt;a href=&quot;http://www.monkey.org/~provos/libevent/&quot;&gt;Libevent&lt;/a&gt; that fixes the following problems:&lt;ul&gt;&lt;li&gt;If the kernel tells us that there are a negative number of bytes to read from a socket, do not believe it.  Fixes bug &lt;a href=&quot;http://sourceforge.net/tracker/?func=detail&amp;aid=2841177&amp;group_id=50884&amp;atid=461322&quot;&gt;2841177&lt;/a&gt;; found by Alexander Pronchenkov.&lt;/li&gt;&lt;li&gt;Do not allocate the maximum event queue and fd array for the epoll backend at startup.  Instead, start out accepting 32 events at a time, and double the queue&#039;s size when it seems that the OS is generating events faster than we&#039;re requesting them.  Saves up to 512K per epoll-based event_base.  Resolves bug &lt;a href=&quot;http://sourceforge.net/tracker/?func=detail&amp;aid=2839240&amp;group_id=50884&amp;atid=461322&quot;&gt;2839240&lt;/a&gt;.&lt;/li&gt;&lt;li&gt;Fix compilation on Android, which forgot to define fd_mask in its sys/select.h&lt;/li&gt;&lt;li&gt;Do not drop data from evbuffer when out of memory; reported by Jacek Masiulaniec&lt;/li&gt;&lt;li&gt;Rename our replacement compat/sys/_time.h header to avoid build a conflict on HPUX; reported by Kathryn Hogg.&lt;/li&gt;&lt;li&gt;Build kqueue.c correctly on GNU/kFreeBSD platforms. Patch pulled upstream from Debian.&lt;/li&gt;&lt;li&gt;Fix a problem with excessive memory allocation when using multiple event priorities.&lt;/li&gt;&lt;li&gt;When running set[ug]id, don&#039;t check the environment. Based on a patch from OpenBSD.&lt;/li&gt;&lt;/ul&gt;&lt;br /&gt;
A new alpha release of libevent 2.0 is on its way, too.   Thanks to everyone who submitted patches and bug reports.&lt;br /&gt;
&lt;br /&gt;
The source code is available at &lt;a href=&quot;http://www.monkey.org/~provos/libevent-1.4.13-stable.tar.gz&quot;&gt;http://www.monkey.org/~provos/libevent-1.4.13-stable.tar.gz&lt;/a&gt;.  Don&#039;t forget to verify the &lt;a href=&quot;http://www.monkey.org/~provos/libevent-1.4.13-stable.tar.gz.sig&quot;&gt;signature&lt;/a&gt;. 
    </content:encoded>

    <pubDate>Tue, 17 Nov 2009 20:16:10 -0800</pubDate>
    <guid isPermaLink="false">http://www.provos.org/index.php?/archives/77-guid.html</guid>
    <category>libevent</category>
<category>release</category>

</item>
<item>
    <title>San Mai Knife</title>
    <link>http://www.provos.org/index.php?/archives/76-San-Mai-Knife.html</link>
            <category>Hacking</category>
    
    <comments>http://www.provos.org/index.php?/archives/76-San-Mai-Knife.html#comments</comments>
    <wfw:comment>http://www.provos.org/wfwcomment.php?cid=76</wfw:comment>

    <slash:comments>0</slash:comments>
    <wfw:commentRss>http://www.provos.org/rss.php?version=2.0&amp;type=comments&amp;cid=76</wfw:commentRss>
    

    <author>nospam@example.com (Niels Provos)</author>
    <content:encoded>
    &lt;a href=&quot;http://www.flickr.com/photos/nielsprovos/4013107612/&quot; title=&quot;Failed San Mai Attempt by provos@monkey, on Flickr&quot;&gt;&lt;img src=&quot;http://farm3.static.flickr.com/2611/4013107612_a6135c6575_m.jpg&quot; width=&quot;240&quot; height=&quot;159&quot; alt=&quot;Failed San Mai Attempt&quot; class=&quot;serendipity_image_left&quot; style=&quot;border: 0px none ; float: left; padding-left: 5px; padding-right: 5px;&quot; /&gt;&lt;/a&gt; A while ago, I forged a &lt;a href=&quot;http://www.flickr.com/photos/nielsprovos/3601778013/&quot;&gt;San Mai billet&lt;/a&gt; with the hope to turn it into a tanto.  Unfortunately, the forge I was using had a very oxygen rich atmosphere and the welds did not take very well.   Over the last couple of days, I spent some time grinding and heat treating the remaining steel into a knife for practice purposes.   The cable structure of the knife came out very nicely with repeated applications of lemon juice and metal polish to remove the oxides left by the lemon juice etch.&lt;br /&gt;
&lt;br /&gt;
I also figured out how to take decent pictures of the steel.   The trick was to use direct light rather than diffused light that shines directly on the blade, and then have black surfaces inside the light box.  The angle of the knife needs to be so that the black is reflected do the camera.   Although, this is a failed knife due to all the welding flaws, it still was an interesting experiment. 
    </content:encoded>

    <pubDate>Thu, 15 Oct 2009 14:48:38 -0700</pubDate>
    <guid isPermaLink="false">http://www.provos.org/index.php?/archives/76-guid.html</guid>
    <category>bladesmithing</category>
<category>knife</category>

</item>
<item>
    <title>Forging a Wakizashi</title>
    <link>http://www.provos.org/index.php?/archives/75-Forging-a-Wakizashi.html</link>
            <category>Hacking</category>
    
    <comments>http://www.provos.org/index.php?/archives/75-Forging-a-Wakizashi.html#comments</comments>
    <wfw:comment>http://www.provos.org/wfwcomment.php?cid=75</wfw:comment>

    <slash:comments>0</slash:comments>
    <wfw:commentRss>http://www.provos.org/rss.php?version=2.0&amp;type=comments&amp;cid=75</wfw:commentRss>
    

    <author>nospam@example.com (Niels Provos)</author>
    <content:encoded>
    &lt;a href=&quot;http://www.flickr.com/photos/nielsprovos/3913846940/&quot; title=&quot;Wakizashi by provos@monkey, on Flickr&quot;&gt;&lt;img src=&quot;http://farm4.static.flickr.com/3481/3913846940_26cc91d776_m.jpg&quot; width=&quot;240&quot; height=&quot;208&quot; alt=&quot;Wakizashi&quot; class=&quot;serendipity_image_left&quot; style=&quot;border: 0px none ; float: left; padding-left: 5px; padding-right: 5px;&quot; /&gt;&lt;/a&gt;I just finished taking the &lt;a href=&quot;http://www.tomboyama.com/&quot;&gt;5-day basic forging class&lt;/a&gt; taught by Michael Bell at &lt;a href=&quot;http://www.dragonflyforge.com/&quot;&gt;Dragonfly Forge&lt;/a&gt;.   The wakizashi in the picture is the result of it.   The blade is about 18in long and was forged from forge-welded cable.    The forge welding of the cable conducted by Michael and his son Gabriel took the better half of the first day.  Afterward, the steel was forged into a sunobe which has the basic taper for the tang and point of the sword.   We then forged in the ji and the shinogi ji.   The remainder of the time was spent grinding in preparation for heat treatment.   Before the clay was applied, we draw filed the blade so that all file marks were parallel with the edge rather than the perpendicular marks left by the belt grinder.   Applying the clay was a three step process; a light coating of the whole blade, applying the ashi lines, and then coating everything that should remain soft.   You can see the ashi and where the clay was applied on the middle picture.   After heat treating, the blade took on a nice curve and it was back to the grinder.  During the last day there was a little bit of time to polish on stones which showed hints of some very wild hamon as well as some mune yaki.  The whole class was a great experience. 
    </content:encoded>

    <pubDate>Mon, 14 Sep 2009 11:43:26 -0700</pubDate>
    <guid isPermaLink="false">http://www.provos.org/index.php?/archives/75-guid.html</guid>
    <category>bladesmithing</category>
<category>forge</category>
<category>wakizashi</category>

</item>
<item>
    <title>LEET '10 Call for Papers</title>
    <link>http://www.provos.org/index.php?/archives/74-LEET-10-Call-for-Papers.html</link>
            <category>Malware</category>
            <category>News</category>
            <category>Security</category>
    
    <comments>http://www.provos.org/index.php?/archives/74-LEET-10-Call-for-Papers.html#comments</comments>
    <wfw:comment>http://www.provos.org/wfwcomment.php?cid=74</wfw:comment>

    <slash:comments>0</slash:comments>
    <wfw:commentRss>http://www.provos.org/rss.php?version=2.0&amp;type=comments&amp;cid=74</wfw:commentRss>
    

    <author>nospam@example.com (Niels Provos)</author>
    <content:encoded>
    The call for papers for the &lt;strong&gt;3rd USENIX Workshop on Large-Scale Exploits and Emergent Threats&lt;/strong&gt; (LEET &#039;10) Botnets, Spyware, Worms, and More just went out.   It will be held on &lt;strong&gt;April 27, 2010&lt;/strong&gt; in San Jose, CA.&lt;br /&gt;
&lt;br /&gt;
&lt;a href=&quot;http://www.usenix.org/event/leet10/cfp/&quot;&gt;LEET &#039;10&lt;/a&gt; will be co-located with the 7th USENIX Symposium on Networked Systems Design and Implementation (NSDI &#039;10), which will take place April 28–30, 2010.&lt;br /&gt;
&lt;br /&gt;
&lt;strong&gt;Important Dates&lt;/strong&gt;&lt;br /&gt;
&lt;ul&gt;&lt;li&gt;Submissions due: Thursday, February 25, 2010, 11:59 p.m. PST&lt;/li&gt;&lt;li&gt;Notification of acceptance: Wednesday, March 24, 2010&lt;/li&gt;&lt;li&gt;Final papers due: Monday, April 5, 2010&lt;/li&gt;&lt;/ul&gt;&lt;br /&gt;
&lt;strong&gt;Workshop Organizers&lt;/strong&gt;&lt;br /&gt;
&lt;em&gt;Program Chair&lt;/em&gt;&lt;ul&gt;&lt;li&gt;Michael Bailey, University of Michigan&lt;/li&gt;&lt;/ul&gt;&lt;em&gt;Program Committee&lt;/em&gt;&lt;ul&gt;&lt;li&gt;Dan Boneh, Stanford University&lt;/li&gt;&lt;li&gt;Nick Feamster, Georgia Institute of Technology&lt;/li&gt;&lt;li&gt;Jaeyeon Jung, Intel Labs, Seattle&lt;/li&gt;&lt;li&gt;Christian Kreibich, International Computer Science Institute&lt;/li&gt;&lt;li&gt;Patrick McDaniel, Pennsylvania State University&lt;/li&gt;&lt;li&gt;Fabian Monrose, University of North Carolina, Chapel Hill&lt;/li&gt;&lt;li&gt;Jose Nazario, Arbor Networks, Inc.&lt;/li&gt;&lt;li&gt;Stefan Savage, University of California, San Diego&lt;/li&gt;&lt;li&gt;Matt Williamson, AVG Technologies&lt;/li&gt;&lt;li&gt;Yinglian Xie, Microsoft Research&lt;/li&gt;&lt;li&gt;Vinod Yegneswaran, SRI International&lt;/li&gt;&lt;br /&gt;
&lt;/ul&gt;Go submit your work! 
    </content:encoded>

    <pubDate>Sat, 29 Aug 2009 12:35:46 -0700</pubDate>
    <guid isPermaLink="false">http://www.provos.org/index.php?/archives/74-guid.html</guid>
    <category>cfp</category>
<category>malware</category>
<category>research</category>
<category>security</category>

</item>
<item>
    <title>Ask Google's Anti-Malware Team</title>
    <link>http://www.provos.org/index.php?/archives/73-Ask-Googles-Anti-Malware-Team.html</link>
            <category>Malware</category>
            <category>News</category>
            <category>SpyBye</category>
    
    <comments>http://www.provos.org/index.php?/archives/73-Ask-Googles-Anti-Malware-Team.html#comments</comments>
    <wfw:comment>http://www.provos.org/wfwcomment.php?cid=73</wfw:comment>

    <slash:comments>0</slash:comments>
    <wfw:commentRss>http://www.provos.org/rss.php?version=2.0&amp;type=comments&amp;cid=73</wfw:commentRss>
    

    <author>nospam@example.com (Niels Provos)</author>
    <content:encoded>
    Google&#039;s Anti-Malware team has prepared a moderator page where web masters and users &lt;a href=&quot;http://moderator.appspot.com/#15/e=a77ea&amp;t=a9521&quot;&gt;can ask questions&lt;/a&gt; and vote which questions they would like to see answered.   The voting period ends on Friday, August 28th at which point the Anti-Malware team will prepare answers for some of the top-rated questions. 
    </content:encoded>

    <pubDate>Sun, 16 Aug 2009 16:42:12 -0700</pubDate>
    <guid isPermaLink="false">http://www.provos.org/index.php?/archives/73-guid.html</guid>
    <category>malware</category>

</item>

</channel>
</rss>