<?xml version="1.0" encoding="UTF-8"?>
<?xml-stylesheet type="text/xsl" media="screen" href="/~d/styles/atom10full.xsl"?><?xml-stylesheet type="text/css" media="screen" href="http://feeds.feedburner.com/~d/styles/itemcontent.css"?><feed xmlns="http://www.w3.org/2005/Atom" xmlns:openSearch="http://a9.com/-/spec/opensearch/1.1/" xmlns:blogger="http://schemas.google.com/blogger/2008" xmlns:georss="http://www.georss.org/georss" xmlns:gd="http://schemas.google.com/g/2005" xmlns:thr="http://purl.org/syndication/thread/1.0" xmlns:feedburner="http://rssnamespace.org/feedburner/ext/1.0" gd:etag="W/&quot;A08DQXY9fSp7ImA9WhBUE0w.&quot;"><id>tag:blogger.com,1999:blog-9220932811142893057</id><updated>2013-04-30T07:04:30.865-04:00</updated><category term="arin" /><category term="bgp" /><category term="wideband" /><category term="voalte" /><category term="books" /><category term="g-shock" /><category term="perl" /><category term="sipp" /><category term="openser" /><category term="ipv4" /><category term="telecom" /><category term="sip" /><category term="fedora" /><category term="linkedin" /><category term="Asterisk Cookbook" /><category term="pri" /><category term="shame" /><category term="sbc" /><category term="rfc3398" /><category term="cisco" /><category term="q931" /><category term="iphone" /><category term="cell phones" /><category term="social networking" /><category term="Maserati" /><category term="nokia" /><category term="consulting" /><category term="symbian" /><category term="amish" /><category term="oreilly" /><category term="performance" /><category term="dos" /><category term="cluecon" /><category term="myspace" /><category term="mci" /><category term="linux" /><category term="facebook" /><category term="ss7" /><category term="astlinux" /><category term="reviews" /><category term="orkut" /><category term="Star2Star" /><category term="recqual" /><category term="verizon" /><category term="snom" /><category term="submityoursip" /><category term="nanog" /><category term="dyndns" /><category term="despair" /><category term="godaddy" /><category term="kamailio" /><category term="sonus" /><category term="asterisk" /><category term="opensips" /><category term="sangoma" /><category term="cogent" /><category term="adsense" /><category term="time warner" /><category term="uunet" /><category term="quagga" /><category term="BMW" /><category term="history" /><category term="rtp" /><category term="drupal" /><category term="sipsak" /><category term="isdn" /><category term="ipv6" /><category term="freeswitch" /><category term="casio" /><title>Not Just AstLinux Stuff</title><subtitle type="html">I created AstLinux but I write and rant about a lot of other things here. Mostly rants about SIP and the other various technologies I deal with on a daily basis.</subtitle><link rel="http://schemas.google.com/g/2005#feed" type="application/atom+xml" href="http://blog.krisk.org/feeds/posts/default" /><link rel="alternate" type="text/html" href="http://blog.krisk.org/" /><link rel="next" type="application/atom+xml" href="http://www.blogger.com/feeds/9220932811142893057/posts/default?start-index=26&amp;max-results=25&amp;redirect=false&amp;v=2" /><author><name>Kristian Kielhofner</name><uri>http://www.blogger.com/profile/06405875458561185080</uri><email>noreply@blogger.com</email><gd:image rel="http://schemas.google.com/g/2005#thumbnail" width="23" height="32" src="http://4.bp.blogspot.com/-gr03qLpZIe8/Tp2gAW-nrvI/AAAAAAAAARo/LPwEMglNM0w/s220/kristian_kielhofner2.jpeg" /></author><generator version="7.00" uri="http://www.blogger.com">Blogger</generator><openSearch:totalResults>70</openSearch:totalResults><openSearch:startIndex>1</openSearch:startIndex><openSearch:itemsPerPage>25</openSearch:itemsPerPage><atom10:link xmlns:atom10="http://www.w3.org/2005/Atom" rel="self" type="application/atom+xml" href="http://feeds.feedburner.com/NotJustAstlinuxStuff" /><feedburner:info uri="notjustastlinuxstuff" /><atom10:link xmlns:atom10="http://www.w3.org/2005/Atom" rel="hub" href="http://pubsubhubbub.appspot.com/" /><entry gd:etag="W/&quot;CUUBRX0yfip7ImA9WhBSE0U.&quot;"><id>tag:blogger.com,1999:blog-9220932811142893057.post-5830575311205405221</id><published>2013-02-20T13:00:00.002-05:00</published><updated>2013-02-20T13:00:54.396-05:00</updated><app:edited xmlns:app="http://www.w3.org/2007/app">2013-02-20T13:00:54.396-05:00</app:edited><title>findpod - Find Your Own "Packets of Death"</title><content type="html">&lt;span id="internal-source-marker_0.03831990408932884" style="font-family: Arial; font-size: 15px; vertical-align: baseline;"&gt;After my &lt;/span&gt;&lt;a href="http://blog.krisk.org/2013/02/packets-of-death.html"&gt;&lt;span style="color: #1155cc; font-family: Arial; font-size: 15px; vertical-align: baseline;"&gt;original post&lt;/span&gt;&lt;/a&gt;&lt;span style="font-family: Arial; font-size: 15px; vertical-align: baseline;"&gt; on “packets of death” I’ve spent the last couple of weeks receiving reports from users all over the world ranging from:&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family: Arial; font-size: 15px; vertical-align: baseline;"&gt;&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family: Arial; font-size: 15px; vertical-align: baseline;"&gt;- Able to reproduce on 82574L with your “packets of death”&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family: Arial; font-size: 15px; vertical-align: baseline;"&gt;- Not able to reproduce on 82574L or any other controller&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family: Arial; font-size: 15px; vertical-align: baseline;"&gt;-
 Not able to reproduce with your “packets of death” but experiencing 
identical, sporadic failures across a wide range of controllers&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family: Arial; font-size: 15px; vertical-align: baseline;"&gt;&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family: Arial; font-size: 15px; vertical-align: baseline;"&gt;Of
 course the last category intrigued me the most. &amp;nbsp;There seem to be an 
awful lot of people experiencing sporadic failures of their ethernet 
controllers but many of them (as I noted in &lt;/span&gt;&lt;a href="http://blog.krisk.org/2013/02/packets-of-death-update.html"&gt;&lt;span style="color: #1155cc; font-family: Arial; font-size: 15px; vertical-align: baseline;"&gt;another update&lt;/span&gt;&lt;/a&gt;&lt;span style="font-family: Arial; font-size: 15px; vertical-align: baseline;"&gt;)
 don’t have the time or tools to diagnose the issue further. &amp;nbsp;In most 
cases the symptoms are identical to what I described in my original 
post:&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family: Arial; font-size: 15px; vertical-align: baseline;"&gt;&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family: Arial; font-size: 15px; vertical-align: baseline;"&gt;- Ethernet controller loses link (or reports some other hardware error)&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family: Arial; font-size: 15px; vertical-align: baseline;"&gt;- Varying amounts of time since boot (hours, days, weeks)&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family: Arial; font-size: 15px; vertical-align: baseline;"&gt;- Can only be resolved by a reboot or in some cases a complete power cycle&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family: Arial; font-size: 15px; vertical-align: baseline;"&gt;&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family: Arial; font-size: 15px; vertical-align: baseline;"&gt;Many
 of these users have been dealing with these failures in various ways 
but have been unable to find a root cause. &amp;nbsp;I’ve created a tool to help 
them with their diagnosis. &amp;nbsp;It’s called &lt;/span&gt;&lt;a href="http://www.kriskinc.com/intel-pod"&gt;&lt;span style="color: #1155cc; font-family: Arial; font-size: 15px; vertical-align: baseline;"&gt;findpod&lt;/span&gt;&lt;/a&gt;&lt;span style="font-family: Arial; font-size: 15px; vertical-align: baseline;"&gt; and it’s been tested on various Debian-based Linux distributions. &amp;nbsp;&lt;/span&gt;&lt;a href="http://www.kriskinc.com/intel-pod"&gt;&lt;span style="color: #1155cc; font-family: Arial; font-size: 15px; vertical-align: baseline;"&gt;Findpod&lt;/span&gt;&lt;/a&gt;&lt;span style="font-family: Arial; font-size: 15px; vertical-align: baseline;"&gt; uses the excellent &lt;/span&gt;&lt;a href="http://0pointer.de/lennart/projects/ifplugd/" target="_blank"&gt;&lt;span style="color: #1155cc; font-family: Arial; font-size: 15px; vertical-align: baseline;"&gt;ifplugd daemon&lt;/span&gt;&lt;/a&gt;&lt;span style="font-family: Arial; font-size: 15px; vertical-align: baseline;"&gt;, the venerable tcpdump, and screen.&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family: Arial; font-size: 15px; vertical-align: baseline;"&gt;&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family: Arial; font-size: 15px; vertical-align: baseline;"&gt;Once
 installed and started iflpugd will patiently wait to receive link 
status notifications from the Linux kernel. &amp;nbsp;Once link is detected on 
the target interface it will start a tcpdump session running inside of 
screen. &amp;nbsp;This tcpdump session will log all packets sent and received on 
that interface. &amp;nbsp;Here’s the thing - many of these failures are reported 
after days or weeks of processed traffic - the tcpdump capture file 
could easily reach several gigabytes or more! &amp;nbsp;Here’s where one key 
trick in findpod comes into play - by default findpod will only log the 
last 100MB sent or received on the target interface. &amp;nbsp;As long as ifplugd
 doesn’t report any link failures tcpdump will keep writing to the same 
100MB circular capture file.&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family: Arial; font-size: 15px; vertical-align: baseline;"&gt;&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family: Arial; font-size: 15px; vertical-align: baseline;"&gt;What
 happens when the interface loses link? &amp;nbsp;This is the second unique feature of findpod. &amp;nbsp;When ifplugd reports a loss of link it will wait for 30 
seconds before stopping the packet capture and moving the capture file 
to a meaningful (and known) name. &amp;nbsp;If you think your ethernet controller
 failures could be related to the types of traffic you’re sending or 
receiving (as I discovered with my “packets of death”) findpod will help
 you narrow it down to (at most) 100MB of network traffic, even if the 
capture runs for weeks and your interface handles GBs of data!&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family: Arial; font-size: 15px; vertical-align: baseline;"&gt;&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family: Arial; font-size: 15px; vertical-align: baseline;"&gt;Of
 course (more than likely) it’s even easier than that; if your link loss
 is being caused by a specific received packet it will be the last 
packet in the capture file provided by findpod and you’ll only have a 
100MB capture file to work with. &amp;nbsp;If your issue is anything like mine you should be able to isolate it down to a specific packet that you can feed to &lt;a href="http://tcpreplay.synfin.net/" target="_blank"&gt;tcpreplay&lt;/a&gt;;&amp;nbsp;reproducing your controller issue on demand.&lt;/span&gt;&lt;br /&gt;
&lt;span style="font-family: Arial;"&gt;&lt;span style="font-size: 15px;"&gt;&lt;br /&gt;&lt;/span&gt;&lt;/span&gt;&lt;span style="font-family: Arial; font-size: 15px; vertical-align: baseline;"&gt;Please tell me about your experiences with &lt;/span&gt;&lt;a href="http://www.kriskinc.com/intel-pod"&gt;&lt;span style="color: #1155cc; font-family: Arial; font-size: 15px; vertical-align: baseline;"&gt;findpod&lt;/span&gt;&lt;/a&gt;&lt;span style="font-family: Arial; font-size: 15px; vertical-align: baseline;"&gt;. &amp;nbsp;As always, comments and suggestions are welcome!&lt;/span&gt;&lt;img src="http://feeds.feedburner.com/~r/NotJustAstlinuxStuff/~4/RdRDW2UP4qo" height="1" width="1"/&gt;</content><link rel="replies" type="application/atom+xml" href="http://blog.krisk.org/feeds/5830575311205405221/comments/default" title="Post Comments" /><link rel="replies" type="text/html" href="http://www.blogger.com/comment.g?blogID=9220932811142893057&amp;postID=5830575311205405221" title="0 Comments" /><link rel="edit" type="application/atom+xml" href="http://www.blogger.com/feeds/9220932811142893057/posts/default/5830575311205405221?v=2" /><link rel="self" type="application/atom+xml" href="http://www.blogger.com/feeds/9220932811142893057/posts/default/5830575311205405221?v=2" /><link rel="alternate" type="text/html" href="http://feedproxy.google.com/~r/NotJustAstlinuxStuff/~3/RdRDW2UP4qo/findpod-find-your-own-packets-of-death.html" title="findpod - Find Your Own &quot;Packets of Death&quot;" /><author><name>Kristian Kielhofner</name><uri>http://www.blogger.com/profile/06405875458561185080</uri><email>noreply@blogger.com</email><gd:image rel="http://schemas.google.com/g/2005#thumbnail" width="23" height="32" src="http://4.bp.blogspot.com/-gr03qLpZIe8/Tp2gAW-nrvI/AAAAAAAAARo/LPwEMglNM0w/s220/kristian_kielhofner2.jpeg" /></author><thr:total>0</thr:total><feedburner:origLink>http://blog.krisk.org/2013/02/findpod-find-your-own-packets-of-death.html</feedburner:origLink></entry><entry gd:etag="W/&quot;CUMAQH08fyp7ImA9WhBSE0U.&quot;"><id>tag:blogger.com,1999:blog-9220932811142893057.post-2089975846897968593</id><published>2013-02-08T15:42:00.003-05:00</published><updated>2013-02-20T13:04:01.377-05:00</updated><app:edited xmlns:app="http://www.w3.org/2007/app">2013-02-20T13:04:01.377-05:00</app:edited><title>Packets of Death - UPDATE</title><content type="html">&lt;span style="font-family: Arial; font-size: 15px; font-weight: normal; text-decoration: initial; vertical-align: baseline; white-space: pre-wrap;"&gt;UPDATE - Intel has pointed me towards &lt;a href="http://communities.intel.com/community/wired/blog/2012/10/18/i210-launch-announcement" target="_blank"&gt;the successor to the 82574&lt;/a&gt;, which includes some of the features I suggest here. I think it's safe to say we're all looking forward to this chip hitting the streets!&lt;/span&gt;&lt;br /&gt;
&lt;span style="font-family: Arial; font-size: 15px; font-weight: normal; text-decoration: initial; vertical-align: baseline; white-space: pre-wrap;"&gt;&lt;br /&gt;&lt;/span&gt;
&lt;span id="internal-source-marker_0.3670935509726405"&gt;&lt;span style="font-family: Arial; font-size: 15px; font-weight: normal; text-decoration: initial; vertical-align: baseline; white-space: pre-wrap;"&gt;The last 48 hours has been interesting, to say the least.&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family: Arial; font-size: 15px; font-weight: normal; text-decoration: initial; vertical-align: baseline; white-space: pre-wrap;"&gt;&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family: Arial; font-size: 15px; font-weight: normal; text-decoration: initial; vertical-align: baseline; white-space: pre-wrap;"&gt;My &lt;/span&gt;&lt;a href="http://blog.krisk.org/2013/02/packets-of-death.html"&gt;&lt;span style="color: #1155cc; font-family: Arial; font-size: 15px; vertical-align: baseline; white-space: pre-wrap;"&gt;original post&lt;/span&gt;&lt;/a&gt;&lt;span style="font-family: Arial; font-size: 15px; font-weight: normal; text-decoration: initial; vertical-align: baseline; white-space: pre-wrap;"&gt; gathered much more attention than I originally thought. &amp;nbsp;I’ll always remember being on a conference call and having someone tell me “Hey, you’re on &lt;/span&gt;&lt;a href="http://tech.slashdot.org/story/13/02/06/2024251/intel-gigabit-nic-packet-of-death"&gt;&lt;span style="color: #1155cc; font-family: Arial; font-size: 15px; vertical-align: baseline; white-space: pre-wrap;"&gt;Slashdot&lt;/span&gt;&lt;/a&gt;&lt;span style="font-family: Arial; font-size: 15px; font-weight: normal; text-decoration: initial; vertical-align: baseline; white-space: pre-wrap;"&gt;”. &amp;nbsp;Considering the subject matter I suppose I should have expected that.&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family: Arial; font-size: 15px; font-weight: normal; text-decoration: initial; vertical-align: baseline; white-space: pre-wrap;"&gt;&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family: Arial; font-size: 15px; font-weight: normal; text-decoration: initial; vertical-align: baseline; white-space: pre-wrap;"&gt;As of today, here’s what I know:&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family: Arial; font-size: 15px; font-weight: normal; text-decoration: initial; vertical-align: baseline; white-space: pre-wrap;"&gt;&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family: Arial; font-size: 15px; font-weight: normal; text-decoration: initial; vertical-align: baseline; white-space: pre-wrap;"&gt;Many of you have shared the results of your testing. The vast majority of tested Intel ethernet controllers do not appear to be affected by this issue.&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family: Arial; font-size: 15px; font-weight: normal; text-decoration: initial; vertical-align: baseline; white-space: pre-wrap;"&gt;&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family: Arial; font-size: 15px; font-weight: normal; text-decoration: initial; vertical-align: baseline; white-space: pre-wrap;"&gt;Intel has &lt;/span&gt;&lt;a href="http://communities.intel.com/community/wired/blog/2013/02/07/intel-82574l-gigabit-ethernet-controller-statement"&gt;&lt;span style="color: #1155cc; font-family: Arial; font-size: 15px; vertical-align: baseline; white-space: pre-wrap;"&gt;responded&lt;/span&gt;&lt;/a&gt;&lt;span style="font-family: Arial; font-size: 15px; font-weight: normal; text-decoration: initial; vertical-align: baseline; white-space: pre-wrap;"&gt; with an expanded technical explanation of the issue. &amp;nbsp;I also received a very pleasant and professional phone call from Douglas Boom (at Intel) to update me on their assessment of the situation and discuss any ongoing concerns or problems I may have. Thank you Doug and well done Intel! &amp;nbsp;Note to other massive corporations that could be presented with issues like this: do what Intel did.&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family: Arial; font-size: 15px; font-weight: normal; text-decoration: initial; vertical-align: baseline; white-space: pre-wrap;"&gt;&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family: Arial; font-size: 15px; font-weight: normal; text-decoration: initial; vertical-align: baseline; white-space: pre-wrap;"&gt;To summarize their response, Intel says that a misconfigured EEPROM caused this issue. &amp;nbsp;The EEPROM is written by the motherboard manufacturer and not Intel. &amp;nbsp;Intel says my motherboard manufacturer did not follow their published guidelines for this process. &amp;nbsp;Based on what I’ve seen, how my issue was fixed, and what I’m learning from the crowdsourced testing process this seems like a perfectly plausible explanation. &amp;nbsp;Once again, thanks Intel!&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family: Arial; font-size: 15px; font-weight: normal; text-decoration: initial; vertical-align: baseline; white-space: pre-wrap;"&gt;&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family: Arial; font-size: 15px; font-weight: normal; text-decoration: initial; vertical-align: baseline; white-space: pre-wrap;"&gt;However, I still don’t believe this issue is completely isolated to this specific instance and one motherboard manufacturer. &amp;nbsp;For one, I have received at least two confirmed reports from people who were able to reproduce this issue - my “packet of death” shutting down 82574L hardware from different motherboard manufacturers. &amp;nbsp;This doesn’t surprise me at all.&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family: Arial; font-size: 15px; font-weight: normal; text-decoration: initial; vertical-align: baseline; white-space: pre-wrap;"&gt;&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family: Arial; font-size: 15px; font-weight: normal; text-decoration: initial; vertical-align: baseline; white-space: pre-wrap;"&gt;One thing we’re reminded of in this situation is just how complex all of these digital systems have become. &amp;nbsp;We’re a long way from configuring ethernet adapters with IRQ jumpers. &amp;nbsp;Intel has designed an incredibly complex ethernet controller - the &lt;/span&gt;&lt;a href="http://www.intel.com/content/www/us/en/ethernet-controllers/82574l-gbe-controller-datasheet.html"&gt;&lt;span style="color: #1155cc; font-family: Arial; font-size: 15px; vertical-align: baseline; white-space: pre-wrap;"&gt;datasheet&lt;/span&gt;&lt;/a&gt;&lt;span style="font-family: Arial; font-size: 15px; font-weight: normal; text-decoration: initial; vertical-align: baseline; white-space: pre-wrap;"&gt; is 490 pages long! &amp;nbsp;Of course I’m not faulting them for this - the features available in this controller (or many other controllers) dictate this level of complexity - management/IPMI features, WOL, various offloading mechanisms, interrupt queues, and more. &amp;nbsp;This complexity doesn’t even scratch the surface of the various other systems involved in getting data across the internet and into your eyeballs!&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family: Arial; font-size: 15px; font-weight: normal; text-decoration: initial; vertical-align: baseline; white-space: pre-wrap;"&gt;&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family: Arial; font-size: 15px; font-weight: normal; text-decoration: initial; vertical-align: baseline; white-space: pre-wrap;"&gt;Like any sufficiently advanced product all of these features are driven by a configuration mechanism. &amp;nbsp;The Linux kernel module for the 82574L (e1000e) has various options that can be passed to modify the behavior of the adapter. &amp;nbsp;Makes sense. &amp;nbsp;If I passed some stupid or unknown parameter to this module I would expect it to return with some kind of error informing me of my mistake. &amp;nbsp;I’m only human, mistakes are going to happen.&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family: Arial; font-size: 15px; font-weight: normal; text-decoration: initial; vertical-align: baseline; white-space: pre-wrap;"&gt;&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family: Arial; font-size: 15px; font-weight: normal; text-decoration: initial; vertical-align: baseline; white-space: pre-wrap;"&gt;At a lower level Intel has exposed these EEPROM configuration parameters to control various aspects of the controller. &amp;nbsp;As Intel says these EEPROM values are to be set by the motherboard manufacturer. &amp;nbsp;Here’s where the problem lies - it’s certainly possible this could be done incorrectly. &amp;nbsp;Motherboard manufacturers are human and they make mistakes too.&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family: Arial; font-size: 15px; font-weight: normal; text-decoration: initial; vertical-align: baseline; white-space: pre-wrap;"&gt;&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family: Arial; font-size: 15px; font-weight: normal; text-decoration: initial; vertical-align: baseline; white-space: pre-wrap;"&gt;Unfortunately, as we’ve learned in this case, there isn’t quite the same level of feedback when EEPROM misconfigurations happen. &amp;nbsp;In my previous example if I pass unknown parameters to a kernel module it’s going to come back and say “Hey - I don’t know what that is (dummy)” and exit with an error.&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family: Arial; font-size: 15px; font-weight: normal; text-decoration: initial; vertical-align: baseline; white-space: pre-wrap;"&gt;&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family: Arial; font-size: 15px; font-weight: normal; text-decoration: initial; vertical-align: baseline; white-space: pre-wrap;"&gt;As I’ve shown in some cases (mine) if an EEPROM is misconfigured everything appears normal until some insanely specific packet is received. &amp;nbsp;Then the controller shuts down, for some reason.&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family: Arial; font-size: 15px; font-weight: normal; text-decoration: initial; vertical-align: baseline; white-space: pre-wrap;"&gt;&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family: Arial; font-size: 15px; font-weight: normal; text-decoration: initial; vertical-align: baseline; white-space: pre-wrap;"&gt;Does that behavior make sense to anyone?&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family: Arial; font-size: 15px; font-weight: normal; text-decoration: initial; vertical-align: baseline; white-space: pre-wrap;"&gt;&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family: Arial; font-size: 15px; font-weight: normal; text-decoration: initial; vertical-align: baseline; white-space: pre-wrap;"&gt;I suggest the following:&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family: Arial; font-size: 15px; font-weight: normal; text-decoration: initial; vertical-align: baseline; white-space: pre-wrap;"&gt;&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family: Arial; font-size: 15px; font-weight: normal; text-decoration: initial; vertical-align: baseline; white-space: pre-wrap;"&gt;1) &amp;nbsp;Make future controllers have as much in-hardware sane behavior as possible when unknown conditions are encountered. &amp;nbsp;Error checking, basically. &amp;nbsp;Users can input data on a web form, that’s why there’s error checking. &amp;nbsp;Everyone knows users do stupid things. &amp;nbsp;Clearly some of the people programming Intel EEPROMs for motherboard OEMs do stupid things too. &amp;nbsp;What is sane default behavior? &amp;nbsp;EEPROM error encountered = adapter shutdown and error message. &amp;nbsp;Give the user notification and provide some mechanism for EEPROM validation and management...&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family: Arial; font-size: 15px; font-weight: normal; text-decoration: initial; vertical-align: baseline; white-space: pre-wrap;"&gt;&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family: Arial; font-size: 15px; font-weight: normal; text-decoration: initial; vertical-align: baseline; white-space: pre-wrap;"&gt;2) &amp;nbsp;Put more EEPROM validation in operating system drivers. &amp;nbsp;Intel maintains ethernet drivers for various platforms. &amp;nbsp;Why aren’t these drivers doing more validation of the adapter EEPROM? &amp;nbsp;If my EEPROM was so badly misconfigured, why couldn’t the e1000e module have discovered that and notified me?&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family: Arial; font-size: 15px; font-weight: normal; text-decoration: initial; vertical-align: baseline; white-space: pre-wrap;"&gt;&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family: Arial; font-size: 15px; font-weight: normal; text-decoration: initial; vertical-align: baseline; white-space: pre-wrap;"&gt;3) &amp;nbsp;Produce and support an external tool for EEPROM testing, programming, and updating. &amp;nbsp;In the course of working with Intel last fall I was provided a version of this tool for my testing so I know it exists. &amp;nbsp;While I can understand why you don’t want random users messing with their EEPROM (and causing potential support nightmares) it seems the benefits would clearly outweigh any potential problems (of which there are already plenty).&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family: Arial; font-size: 15px; font-weight: normal; text-decoration: initial; vertical-align: baseline; white-space: pre-wrap;"&gt;&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family: Arial; font-size: 15px; font-weight: normal; text-decoration: initial; vertical-align: baseline; white-space: pre-wrap;"&gt;The reality is Intel has no idea how many systems are affected by this issue or could be affected by issues like it. &amp;nbsp;How could they? &amp;nbsp;They’re expecting motherboard OEMs to follow their instructions (and understandably so). &amp;nbsp;Just look at the combination of variables required to reproduce this issue:&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family: Arial; font-size: 15px; font-weight: normal; text-decoration: initial; vertical-align: baseline; white-space: pre-wrap;"&gt;&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family: Arial; font-size: 15px; font-weight: normal; text-decoration: initial; vertical-align: baseline; white-space: pre-wrap;"&gt;- Intel 82574L&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family: Arial; font-size: 15px; font-weight: normal; text-decoration: initial; vertical-align: baseline; white-space: pre-wrap;"&gt;- Various specific misconfigured bytes in the EEPROM&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family: Arial; font-size: 15px; font-weight: normal; text-decoration: initial; vertical-align: baseline; white-space: pre-wrap;"&gt;- An insanely specific packet with the right value at just the right byte, received at a specific time&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family: Arial; font-size: 15px; font-weight: normal; text-decoration: initial; vertical-align: baseline; white-space: pre-wrap;"&gt;&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family: Arial; font-size: 15px; font-weight: normal; text-decoration: initial; vertical-align: baseline; white-space: pre-wrap;"&gt;While most people weren’t able to reproduce this issue with their controller and EEPROM combinations it did kick off various discussions of periodic, random, sporadic failures across a wide range of ethernet adapters and general computing weirdness. &amp;nbsp;A quick Google search returns a wide assortment of complaints with these adapters (and others like it) from a whole slew of users. &amp;nbsp;EEPROM corruption. &amp;nbsp;Random adapter resets. &amp;nbsp;Packet drops. &amp;nbsp;Various latency issues. &amp;nbsp;PCI bus scan errors. &amp;nbsp;ASPM problems. &amp;nbsp;The list goes on and on.&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family: Arial; font-size: 15px; font-weight: normal; text-decoration: initial; vertical-align: baseline; white-space: pre-wrap;"&gt;&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family: Arial; font-size: 15px; font-weight: normal; text-decoration: initial; vertical-align: baseline; white-space: pre-wrap;"&gt;Perhaps the “packet of death” for a slightly misconfigured Intel 82579 (for example) is my packet shifted 20 bytes in one direction or the other. &amp;nbsp;Who knows? &amp;nbsp;Please, please, please Intel - lets do everyone a favor and get these EEPROMs under control. &amp;nbsp;End users update firmware all of the time - routers, set-top boxes, sometimes even their cars! &amp;nbsp;Why can’t we have some utility to make sure our ethernet adapters aren’t just waiting to freak out when they receive the wrong packet?&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family: Arial; font-size: 15px; font-weight: normal; text-decoration: initial; vertical-align: baseline; white-space: pre-wrap;"&gt;&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family: Arial; font-size: 15px; font-weight: normal; text-decoration: initial; vertical-align: baseline; white-space: pre-wrap;"&gt;I don’t believe in magic, swamp gas, sun spots, or any of the other “explanations” offered for some of the random strange behavior we often see with these complex devices (ethernet adapters or otherwise). &amp;nbsp;That’s why I spent so long working on this issue to find a root cause (well that and screaming customers). &amp;nbsp;I, like anyone else, encounter bugs and general weirdness in devices and software everyday in my life. &amp;nbsp;Most of the time how do I respond to these bugs? &amp;nbsp;I reboot, shrug my shoulders, say “that was weird”, and move on. &amp;nbsp;Meanwhile I know, deep down, that there is a valid explanation for what just happened. &amp;nbsp;Just like there was with my ethernet controllers.&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family: Arial; font-size: 15px; font-weight: normal; text-decoration: initial; vertical-align: baseline; white-space: pre-wrap;"&gt;&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family: Arial; font-size: 15px; font-weight: normal; text-decoration: initial; vertical-align: baseline; white-space: pre-wrap;"&gt;Even with the explanation offered by Intel we could go much deeper. &amp;nbsp;Why these bytes at that location? &amp;nbsp;Why this packet? &amp;nbsp;What’s up with the “inoculation” effect of some of the values? &amp;nbsp;There are still many unanswered questions.&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family: Arial; font-size: 15px; font-weight: normal; text-decoration: initial; vertical-align: baseline; white-space: pre-wrap;"&gt;&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family: Arial; font-size: 15px; font-weight: normal; text-decoration: initial; vertical-align: baseline; white-space: pre-wrap;"&gt;I’ve enjoyed reading many others report their tales of “extreme debugging” with the digital devices in their lives. &amp;nbsp;It seems I’m not the only one that isn’t always satisfied with saying “that was weird” and moving on.&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span style="font-family: Arial; font-size: 15px; font-weight: normal; text-decoration: initial; vertical-align: baseline; white-space: pre-wrap;"&gt;&lt;br /&gt;&lt;/span&gt;
&lt;span style="font-family: Arial; font-size: 15px; font-weight: normal; text-decoration: initial; vertical-align: baseline; white-space: pre-wrap;"&gt;I've said it before and I'll say it again - I love the internet!&lt;/span&gt;&lt;img src="http://feeds.feedburner.com/~r/NotJustAstlinuxStuff/~4/0fFUXM5HZnQ" height="1" width="1"/&gt;</content><link rel="replies" type="application/atom+xml" href="http://blog.krisk.org/feeds/2089975846897968593/comments/default" title="Post Comments" /><link rel="replies" type="text/html" href="http://www.blogger.com/comment.g?blogID=9220932811142893057&amp;postID=2089975846897968593" title="2 Comments" /><link rel="edit" type="application/atom+xml" href="http://www.blogger.com/feeds/9220932811142893057/posts/default/2089975846897968593?v=2" /><link rel="self" type="application/atom+xml" href="http://www.blogger.com/feeds/9220932811142893057/posts/default/2089975846897968593?v=2" /><link rel="alternate" type="text/html" href="http://feedproxy.google.com/~r/NotJustAstlinuxStuff/~3/0fFUXM5HZnQ/packets-of-death-update.html" title="Packets of Death - UPDATE" /><author><name>Kristian Kielhofner</name><uri>http://www.blogger.com/profile/06405875458561185080</uri><email>noreply@blogger.com</email><gd:image rel="http://schemas.google.com/g/2005#thumbnail" width="23" height="32" src="http://4.bp.blogspot.com/-gr03qLpZIe8/Tp2gAW-nrvI/AAAAAAAAARo/LPwEMglNM0w/s220/kristian_kielhofner2.jpeg" /></author><thr:total>2</thr:total><feedburner:origLink>http://blog.krisk.org/2013/02/packets-of-death-update.html</feedburner:origLink></entry><entry gd:etag="W/&quot;CUQHR3c6fyp7ImA9WhBSE0U.&quot;"><id>tag:blogger.com,1999:blog-9220932811142893057.post-7783314994459210637</id><published>2013-02-06T11:01:00.000-05:00</published><updated>2013-02-20T13:02:16.917-05:00</updated><app:edited xmlns:app="http://www.w3.org/2007/app">2013-02-20T13:02:16.917-05:00</app:edited><title>Packets of Death</title><content type="html">&lt;span style="font-family: Arial; font-size: 15px; vertical-align: baseline;"&gt;When you're done reading this &lt;a href="http://blog.krisk.org/2013/02/packets-of-death-update.html"&gt;check out my update&lt;/a&gt;! Experiencing similar ethernet controller issues but &lt;a href="http://blog.krisk.org/2013/02/findpod-find-your-own-packets-of-death.html"&gt;don't know where to start&lt;/a&gt;?&lt;/span&gt;&lt;br /&gt;
&lt;span style="font-family: Arial; font-size: 15px; vertical-align: baseline;"&gt;&lt;br /&gt;&lt;/span&gt;
&lt;span style="font-family: Arial; font-size: 15px; vertical-align: baseline;"&gt;UPDATE: See the packets and find out if you're affected &lt;a href="http://www.kriskinc.com/intel-pod" target="_blank"&gt;here&lt;/a&gt;.&lt;/span&gt;&lt;br /&gt;
&lt;span style="font-family: Arial; font-size: 15px; vertical-align: baseline;"&gt;&lt;br /&gt;&lt;/span&gt;
&lt;span style="font-family: Arial; font-size: 15px; vertical-align: baseline;"&gt;UPDATE 2: Yes, I've reproduced this issue regardless of OS, ASPM state/settings, or software firewall settings. Obviously if you have a layer 2/3 firewall in front of an affected interface you'll be ok.&lt;/span&gt;&lt;br /&gt;
&lt;span style="font-family: Arial; font-size: 15px; vertical-align: baseline;"&gt;&lt;br /&gt;&lt;/span&gt;
&lt;span id="internal-source-marker_0.01523004649198012" style="font-family: Arial; font-size: 15px; vertical-align: baseline;"&gt;Packets of death. I started calling them that because that’s exactly what they are.&lt;/span&gt;&lt;br /&gt;
&lt;span style="font-family: Arial; font-size: 15px; vertical-align: baseline;"&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span style="font-family: Arial; font-size: 15px; vertical-align: baseline;"&gt;Star2Star
 has a hardware OEM that has built the last two versions of our 
on-premise customer appliance. I’ll get more into this appliance and the
 magic it provides in another post. For now let’s focus on these killer 
packets.&lt;/span&gt;&lt;br /&gt;
&lt;span style="font-family: Arial; font-size: 15px; vertical-align: baseline;"&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span style="font-family: Arial; font-size: 15px; vertical-align: baseline;"&gt;About
 a year ago we released a refresh of this on-premise equipment. It 
started off simple enough, pretty much just standard Moore’s Law stuff. 
Bigger, better, faster, cheaper. The new hardware was 64-bit capable, 
had 8X as much RAM, could accommodate additional local storage, and had 
four Intel (my preferred ethernet controller vendor) gigabit ethernet 
ports. We had (and have) all kinds of ideas for these four ports. All in
 all it was pretty exciting.&lt;/span&gt;&lt;br /&gt;
&lt;span style="font-family: Arial; font-size: 15px; vertical-align: baseline;"&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span style="font-family: Arial; font-size: 15px; vertical-align: baseline;"&gt;This
 new hardware flew through performance and functionality testing. The 
speed was there and the reliability was there. Perfect. After this 
extensive testing we slowly rolled the hardware out to a few beta sites.
 Sure enough, problems started to appear.&lt;/span&gt;&lt;br /&gt;
&lt;span style="font-family: Arial; font-size: 15px; vertical-align: baseline;"&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span style="font-family: Arial; font-size: 15px; vertical-align: baseline;"&gt;All it takes is a quick &lt;/span&gt;&lt;a href="https://www.google.com/#hl=en&amp;amp;output=search&amp;amp;sclient=psy-ab&amp;amp;q=82574l+e1000e&amp;amp;oq=82574l+e1000e&amp;amp;gs_l=hp.3...1193.4410.0.4568.13.13.0.0.0.0.80.872.13.13.0.les%3B..0.0...1c.1.jku0hV5K7oU&amp;amp;pbx=1&amp;amp;bav=on.2,or.r_gc.r_pw.r_cp.r_qf.&amp;amp;fp=4abeb2e72661de26&amp;amp;biw=1855&amp;amp;bih=994"&gt;&lt;span style="color: #1155cc; font-family: Arial; font-size: 15px; vertical-align: baseline;"&gt;Google search&lt;/span&gt;&lt;/a&gt;&lt;span style="font-family: Arial; font-size: 15px; vertical-align: baseline;"&gt;
 to see that the Intel 82574L ethernet controller has had at least a few
 problems. Including, but not necessarily limited to, EEPROM issues, 
ASPM bugs, MSI-X quirks, etc. We spent several months dealing with each 
and every one of these. We thought we were done.&lt;/span&gt;&lt;br /&gt;
&lt;span style="font-family: Arial; font-size: 15px; vertical-align: baseline;"&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span style="font-family: Arial; font-size: 15px; vertical-align: baseline;"&gt;We weren’t. It was only going to get worse.&lt;/span&gt;&lt;br /&gt;
&lt;span style="font-family: Arial; font-size: 15px; vertical-align: baseline;"&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span style="font-family: Arial; font-size: 15px; vertical-align: baseline;"&gt;I
 thought I had the perfect software image (and BIOS) developed and 
deployed. However, that’s not what the field was telling us. Units kept 
failing. Sometimes a reboot would bring the unit back, usually it 
wouldn’t. When the unit was shipped back, however, it would work when 
tested.&lt;/span&gt;&lt;br /&gt;
&lt;span style="font-family: Arial; font-size: 15px; vertical-align: baseline;"&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span style="font-family: Arial; font-size: 15px; vertical-align: baseline;"&gt;Wow. Things just got weird.&lt;/span&gt;&lt;br /&gt;
&lt;span style="font-family: Arial; font-size: 15px; vertical-align: baseline;"&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span style="font-family: Arial; font-size: 15px; vertical-align: baseline;"&gt;The
 weirdness continued and I finally got to the point where I had to roll 
my sleeves up. I was lucky enough to find a very patient and helpful 
reseller in the field to stay on the phone with me for three hours while
 I collected data. This customer location, for some reason or another, 
could predictably bring down the ethernet controller with voice traffic 
on their network.&lt;/span&gt;&lt;br /&gt;
&lt;span style="font-family: Arial; font-size: 15px; vertical-align: baseline;"&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span style="font-family: Arial; font-size: 15px; vertical-align: baseline;"&gt;Let
 me elaborate on that for a second. When I say “bring down” an ethernet 
controller I mean BRING DOWN an ethernet controller. The system and 
ethernet interfaces would appear fine and then after a random amount of 
traffic the interface would report a hardware error (lost communication 
with PHY) and lose link. Literally the link lights on the switch and 
interface would go out. It was dead.&lt;/span&gt;&lt;br /&gt;
&lt;span style="font-family: Arial; font-size: 15px; vertical-align: baseline;"&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span style="font-family: Arial; font-size: 15px; vertical-align: baseline;"&gt;Nothing
 but a power cycle would bring it back. Attempting to reload the kernel 
module or reboot the machine would result in a PCI scan error. The 
interface was dead until the machine was physically powered down and 
powered back on. In many cases, for our customers, this meant a truck 
roll.&lt;/span&gt;&lt;br /&gt;
&lt;span style="font-family: Arial; font-size: 15px; vertical-align: baseline;"&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span style="font-family: Arial; font-size: 15px; vertical-align: baseline;"&gt;While
 debugging with this very patient reseller I started stopping the packet
 captures as soon as the interface dropped. Eventually I caught on to a 
pattern: the last packet out of the interface was always a 100 Trying 
provisional response, and it was always a specific length. Not only 
that, I ended up tracing this (Asterisk) response to a specific phone 
manufacturer’s INVITE.&lt;/span&gt;&lt;br /&gt;
&lt;span style="font-family: Arial; font-size: 15px; vertical-align: baseline;"&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span style="font-family: Arial; font-size: 15px; vertical-align: baseline;"&gt;I
 got off the phone with the reseller, grabbed some guys and presented my
 evidence. Even though it was late in the afternoon on a Friday, 
everyone did their part to scramble and put together a test 
configuration with our new hardware and phones from this manufacturer.&lt;/span&gt;&lt;br /&gt;
&lt;span style="font-family: Arial; font-size: 15px; vertical-align: baseline;"&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span style="font-family: Arial; font-size: 15px; vertical-align: baseline;"&gt;We
 sat there, in a conference room, and dialed as fast as our fingers 
could. Eventually we found that we could duplicate the issue! Not on 
every call, and not on every device, but every once in a while we could 
crash the ethernet controller. However, every once in a while we 
couldn’t at all. After a power cycle we’d try again and hit it. Either 
way, as anyone who’s tried to diagnose a technical issue knows the first
 step is duplicating the problem. We were finally there.&lt;/span&gt;&lt;br /&gt;
&lt;span style="font-family: Arial; font-size: 15px; vertical-align: baseline;"&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span style="font-family: Arial; font-size: 15px; vertical-align: baseline;"&gt;Believe
 me, it took a long time to get here. I know how the OSI stack works. I 
know how software is segmented. I know that the contents of a SIP packet
 shouldn’t do anything to an ethernet adapter. It just doesn’t make any 
sense.&lt;/span&gt;&lt;br /&gt;
&lt;span style="font-family: Arial; font-size: 15px; vertical-align: baseline;"&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span style="font-family: Arial; font-size: 15px; vertical-align: baseline;"&gt;Between
 packet captures on our device and packet captures from the mirror port 
on the switch we were finally able to isolate the problem packet. Turns 
out it was the received INVITE, not the transmitted 100 Trying! The 
mirror port capture never saw the 100 Trying hit the wire.&lt;/span&gt;&lt;br /&gt;
&lt;span style="font-family: Arial; font-size: 15px; vertical-align: baseline;"&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span style="font-family: Arial; font-size: 15px; vertical-align: baseline;"&gt;Now
 we needed to look at this INVITE. Maybe the userspace daemon processing
 the INVITE was the problem? Maybe it was the transmitted 100 Trying? 
One of my colleagues suggested we shutdown the SIP software and see if 
the issue persisted. No SIP software running, no transmitted 100 Trying.&lt;/span&gt;&lt;br /&gt;
&lt;span style="font-family: Arial; font-size: 15px; vertical-align: baseline;"&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span style="font-family: Arial; font-size: 15px; vertical-align: baseline;"&gt;First we needed a better way to transmit the problem packet. We isolated the INVITE transmitted from the phone and used &lt;/span&gt;&lt;a href="http://tcpreplay.synfin.net/"&gt;&lt;span style="color: #1155cc; font-family: Arial; font-size: 15px; vertical-align: baseline;"&gt;tcpreplay&lt;/span&gt;&lt;/a&gt;&lt;span style="font-family: Arial; font-size: 15px; vertical-align: baseline;"&gt;
 to play it back on command. Sure enough it worked. &amp;nbsp;Now, for the first 
time in months, we could shut down these ports on command with a single 
packet. This was significant progress and it was time to go home, which 
really meant it was time to set this up in the lab at home!&lt;/span&gt;&lt;br /&gt;
&lt;span style="font-family: Arial; font-size: 15px; vertical-align: baseline;"&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span style="font-family: Arial; font-size: 15px; vertical-align: baseline;"&gt;Before I go any further I need to give another shout out to an excellent open source piece of software I found. &lt;/span&gt;&lt;a href="http://code.google.com/p/ostinato/"&gt;&lt;span style="color: #1155cc; font-family: Arial; font-size: 15px; vertical-align: baseline;"&gt;Ostinato&lt;/span&gt;&lt;/a&gt;&lt;span style="font-family: Arial; font-size: 15px; vertical-align: baseline;"&gt;
 turns you into a packet ninja. There’s literally no limit to what you 
can do with it. Without Ostinato I could have never gotten beyond this 
point.&lt;/span&gt;&lt;br /&gt;
&lt;span style="font-family: Arial; font-size: 15px; vertical-align: baseline;"&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span style="font-family: Arial; font-size: 15px; vertical-align: baseline;"&gt;With my packet Swiss army knife in hand I started poking and prodding. What I found was shocking.&lt;/span&gt;&lt;br /&gt;
&lt;span style="font-family: Arial; font-size: 15px; vertical-align: baseline;"&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span style="font-family: Arial; font-size: 15px; vertical-align: baseline;"&gt;It all starts with a strange SIP/SDP quirk. Take a look at this SDP:&lt;/span&gt;&lt;br /&gt;
&lt;span style="font-family: Arial; font-size: 15px; vertical-align: baseline;"&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span style="background-color: white; color: #222222; font-family: Arial; font-size: 13px; vertical-align: baseline;"&gt;v=0&lt;/span&gt;&lt;br /&gt;
&lt;span style="background-color: white; color: #222222; font-family: Arial; font-size: 13px; vertical-align: baseline;"&gt;o=- 20047 20047 IN IP4 10.41.22.248&lt;/span&gt;&lt;br /&gt;
&lt;span style="background-color: white; color: #222222; font-family: Arial; font-size: 13px; vertical-align: baseline;"&gt;s=SDP data&lt;/span&gt;&lt;br /&gt;
&lt;span style="background-color: white; color: #222222; font-family: Arial; font-size: 13px; vertical-align: baseline;"&gt;c=IN IP4 10.41.22.248&lt;/span&gt;&lt;br /&gt;
&lt;span style="background-color: white; color: #222222; font-family: Arial; font-size: 13px; vertical-align: baseline;"&gt;t=0 0&lt;/span&gt;&lt;br /&gt;
&lt;span style="background-color: white; color: #222222; font-family: Arial; font-size: 13px; vertical-align: baseline;"&gt;m=audio 11786 RTP/AVP 18 0 18 9 9 101&lt;/span&gt;&lt;br /&gt;
&lt;span style="background-color: white; color: #222222; font-family: Arial; font-size: 13px; vertical-align: baseline;"&gt;a=rtpmap:18 G729/8000&lt;/span&gt;&lt;br /&gt;
&lt;span style="background-color: white; color: #222222; font-family: Arial; font-size: 13px; vertical-align: baseline;"&gt;a=fmtp:18 annexb=no&lt;/span&gt;&lt;br /&gt;
&lt;span style="background-color: white; color: #222222; font-family: Arial; font-size: 13px; vertical-align: baseline;"&gt;a=rtpmap:0 PCMU/8000&lt;/span&gt;&lt;br /&gt;
&lt;span style="background-color: white; color: #222222; font-family: Arial; font-size: 13px; vertical-align: baseline;"&gt;a=rtpmap:18 G729/8000&lt;/span&gt;&lt;br /&gt;
&lt;span style="background-color: white; color: #222222; font-family: Arial; font-size: 13px; vertical-align: baseline;"&gt;a=fmtp:18 annexb=no&lt;/span&gt;&lt;br /&gt;
&lt;span style="background-color: white; color: #222222; font-family: Arial; font-size: 13px; vertical-align: baseline;"&gt;a=rtpmap:9 G722/8000&lt;/span&gt;&lt;br /&gt;
&lt;span style="background-color: white; color: #222222; font-family: Arial; font-size: 13px; vertical-align: baseline;"&gt;a=rtpmap:9 G722/8000&lt;/span&gt;&lt;br /&gt;
&lt;span style="background-color: white; color: #222222; font-family: Arial; font-size: 13px; vertical-align: baseline;"&gt;a=fmtp:101 0-15&lt;/span&gt;&lt;br /&gt;
&lt;span style="background-color: white; color: #222222; font-family: Arial; font-size: 13px; vertical-align: baseline;"&gt;a=rtpmap:101 telephone-event/8000&lt;/span&gt;&lt;br /&gt;
&lt;span style="background-color: white; color: #222222; font-family: Arial; font-size: 13px; vertical-align: baseline;"&gt;a=ptime:20&lt;/span&gt;&lt;br /&gt;
&lt;span style="background-color: white; color: #222222; font-family: Arial; font-size: 13px; vertical-align: baseline;"&gt;a=sendrecv&lt;/span&gt;&lt;br /&gt;
&lt;span style="background-color: white; color: #222222; font-family: Arial; font-size: 13px; vertical-align: baseline;"&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span style="background-color: white; color: #222222; font-family: Arial; font-size: 13px; vertical-align: baseline;"&gt;Wireshark picture:&lt;/span&gt;&lt;img height="328px;" src="https://lh3.googleusercontent.com/8ROejWpeKrGEVRjNbR1oZB_Ru66Ng2iPbMK-Lm1xcKhWOtoTOpH7mS3C3kiT3AS20arO_6GH-9VShBiXMuxct6axOLoaed6Nw4gSdbBkGG7CCYCciVCk" width="657px;" /&gt;&lt;span style="background-color: white; color: #222222; font-family: Arial; font-size: 13px; vertical-align: baseline;"&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span style="font-family: Arial; font-size: 15px; vertical-align: baseline;"&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span style="font-family: Arial; font-size: 15px; vertical-align: baseline;"&gt;Yes,
 I saw it right away too. The audio offer is duplicated and that’s a 
problem but again, what difference should that make to an Ethernet 
controller?!? Well, if nothing else it makes the ethernet frame 
larger...&lt;/span&gt;&lt;br /&gt;
&lt;span style="font-family: Arial; font-size: 15px; vertical-align: baseline;"&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span style="font-family: Arial; font-size: 15px; vertical-align: baseline;"&gt;But
 wait, there were plenty of successful ethernet frames in these packet 
captures. Some of them were smaller, some were larger. No problems with 
them. It was time to dig into the problem packet. After some more 
Ostinato-fu and plenty of power cycles I was able to isolate the problem
 pattern (with a problem frame).&lt;/span&gt;&lt;br /&gt;
&lt;span style="font-family: Arial; font-size: 15px; vertical-align: baseline;"&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span style="font-family: Arial; font-size: 15px; vertical-align: baseline;"&gt;Warning: we’re about to get into some hex.&lt;/span&gt;&lt;br /&gt;
&lt;span style="font-family: Arial; font-size: 15px; vertical-align: baseline;"&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span style="font-family: Arial; font-size: 15px; vertical-align: baseline;"&gt;The
 interface shutdown is triggered by a specific byte value at a specific 
offset. In this case the specific value was hex 32 at 0x47f. Hex 32 is 
an ASCII 2. Guess where the 2 was coming from?&lt;/span&gt;&lt;br /&gt;
&lt;span style="font-family: Arial; font-size: 15px; vertical-align: baseline;"&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span style="background-color: white; color: #222222; font-family: Arial; font-size: 13px; vertical-align: baseline;"&gt;a=ptime:20&lt;/span&gt;&lt;br /&gt;
&lt;span style="font-family: Arial; font-size: 15px; vertical-align: baseline;"&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span style="font-family: Arial; font-size: 15px; vertical-align: baseline;"&gt;All
 of our SDPs were identical (including ptime, obviously). All of the 
source and destination URIs were identical. The only difference was the 
Call-IDs, tags, and branches. Problem packets had just the right 
Call-ID, tags, and branches to cause the “2” in the ptime to line up 
with 0x47f.&lt;/span&gt;&lt;br /&gt;
&lt;span style="font-family: Arial; font-size: 15px; vertical-align: baseline;"&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span style="font-family: Arial; font-size: 15px; vertical-align: baseline;"&gt;BOOM!
 With the right Call-IDs, tags, and branches (or any random garbage) a 
“good packet” could turn into a “killer packet” as long as that ptime 
line ended up at the right address. Things just got weirder.&lt;/span&gt;&lt;br /&gt;
&lt;span style="font-family: Arial; font-size: 15px; vertical-align: baseline;"&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span style="font-family: Arial; font-size: 15px; vertical-align: baseline;"&gt;While
 generating packets I experimented with various hex values. As if this 
problem couldn’t get any weirder, it does. I found out that the behavior
 of the controller depended completely on the value of this specific 
address in the first received packet to match that address. It broke 
down to something like this:&lt;/span&gt;&lt;br /&gt;
&lt;span style="font-family: Arial; font-size: 15px; vertical-align: baseline;"&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span style="font-family: Arial; font-size: 15px; vertical-align: baseline;"&gt; Byte 0x47f = 31 HEX (1 ASCII) - No effect&lt;/span&gt;&lt;br /&gt;
&lt;span style="font-family: Arial; font-size: 15px; vertical-align: baseline;"&gt; Byte 0x47f = 32 HEX (2 ASCII) - Interface shutdown&lt;/span&gt;&lt;br /&gt;
&lt;span style="font-family: Arial; font-size: 15px; vertical-align: baseline;"&gt; Byte 0x47f = 33 HEX (3 ASCII) - Interface shutdown&lt;/span&gt;&lt;br /&gt;
&lt;span style="font-family: Arial; font-size: 15px; vertical-align: baseline;"&gt; Byte 0x47f = 34 HEX (4 ASCII) - Interface inoculation&lt;/span&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;span style="font-family: Arial; font-size: 15px; vertical-align: baseline;"&gt;Bad:&lt;/span&gt;&lt;br /&gt;
&lt;img height="137px;" src="https://lh5.googleusercontent.com/gF1gg-IzbCVuy_PfJcFw04nexSp9iD5_KFIbkEHZl_nXBnPZZHkTHYuJuGTZ0y3w9iTBs0uKCyNwPoNBzPJvTSm5spQeMKq6NgAf6-c6PHOdrumyk_L5" width="600px;" /&gt;&lt;span style="font-family: Arial; font-size: 15px; vertical-align: baseline;"&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span style="font-family: Arial; font-size: 15px; vertical-align: baseline;"&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span style="font-family: Arial; font-size: 15px; vertical-align: baseline;"&gt;Good:&lt;/span&gt;&lt;br /&gt;
&lt;img height="138px;" src="https://lh5.googleusercontent.com/GMmEtySLYgYklecvJ7jU9Cp1ivZPUt_UpoSbqG6zJfDczQ8VWQ1QxMnpPRNS1GwBdSKNgZajLjdRHzjYjlQ4xVtGF85cAJnWdENtpXWpZMitM2YdMaRz" width="596px;" /&gt;&lt;span style="font-family: Arial; font-size: 15px; vertical-align: baseline;"&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span style="font-family: Arial; font-size: 15px; vertical-align: baseline;"&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span style="font-family: Arial; font-size: 15px; vertical-align: baseline;"&gt;When
 I say “no effect” I mean it didn’t kill the interface but it didn’t 
inoculate the interface either (more on that later). When I say the 
interface shutdown, well, remember my description of this issue - the 
interface went down. Hard.&lt;/span&gt;&lt;br /&gt;
&lt;span style="font-family: Arial; font-size: 15px; vertical-align: baseline;"&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span style="font-family: Arial; font-size: 15px; vertical-align: baseline;"&gt;With
 even more testing I discovered this issue with every version of Linux I
 could find, FreeBSD, and even when the machine was powered up 
complaining about missing boot media! It’s in the hardware; the OS has 
nothing to do with it. Wow.&lt;/span&gt;&lt;br /&gt;
&lt;span style="font-family: Arial; font-size: 15px; vertical-align: baseline;"&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span style="font-family: Arial; font-size: 15px; vertical-align: baseline;"&gt;To
 make matters worse, using Ostinato I was able to craft various versions
 of this packet - an HTTP POST, ICMP echo-request, etc. &amp;nbsp;Pretty much 
whatever I wanted. &amp;nbsp;With a modified HTTP server configured to generate 
the data at byte value (based on headers, host, etc) you could easily 
configure an HTTP 200 response to contain the packet of death - and kill
 client machines behind firewalls!&lt;/span&gt;&lt;br /&gt;
&lt;span style="font-family: Arial; font-size: 15px; vertical-align: baseline;"&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span style="font-family: Arial; font-size: 15px; vertical-align: baseline;"&gt;I
 know I’ve been pointing out how weird this whole issue is. The 
inoculation part is by far the strangest. It turns out that if the first
 packet received contains any value (that I can find) other than 1, 2, 
or 3 the interface becomes immune from any death packets (where the 
value is 2 or 3). Also, valid ptime attributes are defined in &lt;strike&gt;powers&lt;/strike&gt;&amp;nbsp;(edit: multiples) of 
10 - 10, 20, 30, 40. Depending on Call-ID, tag, branch, IP, URI, etc 
(with this buggy SDP) these valid ptime attributes line up perfectly. 
Really, what are the chances?!?&lt;/span&gt;&lt;br /&gt;
&lt;span style="font-family: Arial; font-size: 15px; vertical-align: baseline;"&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span style="font-family: Arial; font-size: 15px; vertical-align: baseline;"&gt;All
 of a sudden it’s become clear why this issue was so sporadic. I’m 
amazed I tracked it down at all. I’ve been working with networks for 
over 15 years and I’ve never seen anything like this. I doubt I’ll ever 
see anything like it again. At least I hope I don’t...&lt;/span&gt;&lt;br /&gt;
&lt;span style="font-family: Arial; font-size: 15px; vertical-align: baseline;"&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span style="font-family: Arial; font-size: 15px; vertical-align: baseline;"&gt;I
 was able to get in touch with two engineers at Intel and send them a 
demo unit to reproduce the issue. &amp;nbsp;After working with them for a couple 
of weeks they determined there was an issue with the EEPROM on our 
82574L controllers.&lt;/span&gt;&lt;br /&gt;
&lt;span style="font-family: Arial; font-size: 15px; vertical-align: baseline;"&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span style="font-family: Arial; font-size: 15px; vertical-align: baseline;"&gt;They
 were able to provide new EEPROM and a tool to write it out. 
&amp;nbsp;Unfortunately we weren’t able to distribute this tool and it required 
unloading and reloading the e1000e kernel module, so it wouldn’t be 
preferred in our environment. &amp;nbsp;Fortunately (with a little knowledge of 
the EEPROM layout) I was able to work up some bash scripting and ethtool
 magic to save the “fixed” eeprom values and write them out on affected 
systems. We now have a way to detect and fix these problematic units in 
the field. &amp;nbsp;We’ve communicated with our vendor to make sure this fix is 
applied to units before they are shipped to us. &amp;nbsp;What isn’t clear, 
however, is just how many other affected Intel ethernet controllers are 
out there.&lt;/span&gt;&lt;br /&gt;
&lt;span style="font-family: Arial; font-size: 15px; vertical-align: baseline;"&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span style="font-family: Arial; font-size: 15px; vertical-align: baseline;"&gt;I guess we’ll just have to see...&lt;/span&gt;&lt;img src="http://feeds.feedburner.com/~r/NotJustAstlinuxStuff/~4/7bvuhmA85a8" height="1" width="1"/&gt;</content><link rel="replies" type="application/atom+xml" href="http://blog.krisk.org/feeds/7783314994459210637/comments/default" title="Post Comments" /><link rel="replies" type="text/html" href="http://www.blogger.com/comment.g?blogID=9220932811142893057&amp;postID=7783314994459210637" title="104 Comments" /><link rel="edit" type="application/atom+xml" href="http://www.blogger.com/feeds/9220932811142893057/posts/default/7783314994459210637?v=2" /><link rel="self" type="application/atom+xml" href="http://www.blogger.com/feeds/9220932811142893057/posts/default/7783314994459210637?v=2" /><link rel="alternate" type="text/html" href="http://feedproxy.google.com/~r/NotJustAstlinuxStuff/~3/7bvuhmA85a8/packets-of-death.html" title="Packets of Death" /><author><name>Kristian Kielhofner</name><uri>http://www.blogger.com/profile/06405875458561185080</uri><email>noreply@blogger.com</email><gd:image rel="http://schemas.google.com/g/2005#thumbnail" width="23" height="32" src="http://4.bp.blogspot.com/-gr03qLpZIe8/Tp2gAW-nrvI/AAAAAAAAARo/LPwEMglNM0w/s220/kristian_kielhofner2.jpeg" /></author><thr:total>104</thr:total><feedburner:origLink>http://blog.krisk.org/2013/02/packets-of-death.html</feedburner:origLink></entry><entry gd:etag="W/&quot;CUYHQnw6eip7ImA9WhJbEko.&quot;"><id>tag:blogger.com,1999:blog-9220932811142893057.post-2215702295222394186</id><published>2012-09-21T20:18:00.003-04:00</published><updated>2012-09-21T20:18:53.212-04:00</updated><app:edited xmlns:app="http://www.w3.org/2007/app">2012-09-21T20:18:53.212-04:00</app:edited><title>FreeSWITCH Stable Branch - Sponsored by Star2Star</title><content type="html">&lt;b id="internal-source-marker_0.3357964907772839" style="-webkit-text-size-adjust: auto; -webkit-text-stroke-width: 0px; color: black; font-family: Times; font-size: medium; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; orphans: 2; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; widows: 2; word-spacing: 0px;"&gt;&lt;span style="background-color: transparent; color: black; font-family: Arial; font-size: 15px; font-style: normal; font-variant: normal; font-weight: normal; text-decoration: none; vertical-align: baseline; white-space: pre-wrap;"&gt;As many of you know I’ve been quite fond of &lt;/span&gt;&lt;a href="http://www.freeswitch.org/"&gt;&lt;span style="background-color: transparent; color: #1155cc; font-family: Arial; font-size: 15px; font-style: normal; font-variant: normal; font-weight: normal; text-decoration: underline; vertical-align: baseline; white-space: pre-wrap;"&gt;FreeSWITCH&lt;/span&gt;&lt;/a&gt;&lt;span style="background-color: transparent; color: black; font-family: Arial; font-size: 15px; font-style: normal; font-variant: normal; font-weight: normal; text-decoration: none; vertical-align: baseline; white-space: pre-wrap;"&gt; for some time now. &amp;nbsp;I’ve been impressed with the functionality, stability, and performance. &amp;nbsp;Did I say impressed? &amp;nbsp;I suppose I meant to say thrilled. &amp;nbsp;Some of my more long-term readers may remember &lt;/span&gt;&lt;a href="http://blog.krisk.org/2009/10/i-dont-do-testimonials.html"&gt;&lt;span style="background-color: transparent; color: #1155cc; font-family: Arial; font-size: 15px; font-style: normal; font-variant: normal; font-weight: normal; text-decoration: underline; vertical-align: baseline; white-space: pre-wrap;"&gt;this post&lt;/span&gt;&lt;/a&gt;&lt;span style="background-color: transparent; color: black; font-family: Arial; font-size: 15px; font-style: normal; font-variant: normal; font-weight: normal; text-decoration: none; vertical-align: baseline; white-space: pre-wrap;"&gt; from three years ago. &amp;nbsp;I can’t believe it’s been that long. &amp;nbsp;I suppose that makes me (officially) old.&lt;/span&gt;&lt;br /&gt;&lt;span style="background-color: transparent; color: black; font-family: Arial; font-size: 15px; font-style: normal; font-variant: normal; font-weight: normal; text-decoration: none; vertical-align: baseline; white-space: pre-wrap;"&gt;&lt;/span&gt;&lt;br /&gt;&lt;span style="background-color: transparent; color: black; font-family: Arial; font-size: 15px; font-style: normal; font-variant: normal; font-weight: normal; text-decoration: none; vertical-align: baseline; white-space: pre-wrap;"&gt;Getting back on track (as I often have to do) I have had one concern with FreeSWITCH over the years - the lack of a stable branch. &amp;nbsp;Traditionally (in software development) once a project or piece of code reaches a certain level of maturity (or use, even) there comes a need to segment the code into an independently maintained entity. &amp;nbsp;In most revision control systems this is typically called a “branch”. &amp;nbsp;Makes sense because lines of code are often referred to as “trees”. &amp;nbsp;I get it!&lt;/span&gt;&lt;br /&gt;&lt;span style="background-color: transparent; color: black; font-family: Arial; font-size: 15px; font-style: normal; font-variant: normal; font-weight: normal; text-decoration: none; vertical-align: baseline; white-space: pre-wrap;"&gt;&lt;/span&gt;&lt;br /&gt;&lt;span style="background-color: transparent; color: black; font-family: Arial; font-size: 15px; font-style: normal; font-variant: normal; font-weight: normal; text-decoration: none; vertical-align: baseline; white-space: pre-wrap;"&gt;Since the beginning of the project in 2006 all of FreeSWITCH development has take place in one central code repository (trunk - trees again). &amp;nbsp;At any given point in time a user could pull down trunk and receive the latest and “greatest” code - new features, bug fixes, security patches, etc. &amp;nbsp;Unfortunately these new features can introduce new bugs. &amp;nbsp;They can re-expose old bugs. &amp;nbsp;They can change behavior in unexpected ways.&lt;/span&gt;&lt;br /&gt;&lt;span style="background-color: transparent; color: black; font-family: Arial; font-size: 15px; font-style: normal; font-variant: normal; font-weight: normal; text-decoration: none; vertical-align: baseline; white-space: pre-wrap;"&gt;&lt;/span&gt;&lt;br /&gt;&lt;span style="background-color: transparent; color: black; font-family: Arial; font-size: 15px; font-style: normal; font-variant: normal; font-weight: normal; text-decoration: none; vertical-align: baseline; white-space: pre-wrap;"&gt;One of the things that has been most impressive about the FreeSWITCH project, actually, has been the relative stability of this often new and untested code. &amp;nbsp;It’s been extremely rare to find a serious issue in trunk. &amp;nbsp;However, the mere knowledge of this code management practice (or relative lack thereof) and potential for new features/bugs is an issue.&lt;/span&gt;&lt;br /&gt;&lt;span style="background-color: transparent; color: black; font-family: Arial; font-size: 15px; font-style: normal; font-variant: normal; font-weight: normal; text-decoration: none; vertical-align: baseline; white-space: pre-wrap;"&gt;&lt;/span&gt;&lt;br /&gt;&lt;span style="background-color: transparent; color: black; font-family: Arial; font-size: 15px; font-style: normal; font-variant: normal; font-weight: normal; text-decoration: none; vertical-align: baseline; white-space: pre-wrap;"&gt;I learned a long time ago that people expect their phones to just work. &amp;nbsp;The same user who finds it perfectly acceptable to reboot their computer after a software crash will jump and scream when a telephone doesn’t work. &amp;nbsp;I guess that’s a testament to the level of experience people have historically expected. &amp;nbsp;Interestingly this expectation seems to be changing in the face of new technology, which is &lt;/span&gt;&lt;a href="http://blog.krisk.org/2012/02/hyperspecialization-and-shakeup-of-100.html"&gt;&lt;span style="background-color: transparent; color: #1155cc; font-family: Arial; font-size: 15px; font-style: normal; font-variant: normal; font-weight: normal; text-decoration: underline; vertical-align: baseline; white-space: pre-wrap;"&gt;something I have covered before&lt;/span&gt;&lt;/a&gt;&lt;span style="background-color: transparent; color: black; font-family: Arial; font-size: 15px; font-style: normal; font-variant: normal; font-weight: normal; text-decoration: none; vertical-align: baseline; white-space: pre-wrap;"&gt;.&lt;/span&gt;&lt;br /&gt;&lt;span style="background-color: transparent; color: black; font-family: Arial; font-size: 15px; font-style: normal; font-variant: normal; font-weight: normal; text-decoration: none; vertical-align: baseline; white-space: pre-wrap;"&gt;&lt;/span&gt;&lt;br /&gt;&lt;span style="background-color: transparent; color: black; font-family: Arial; font-size: 15px; font-style: normal; font-variant: normal; font-weight: normal; text-decoration: none; vertical-align: baseline; white-space: pre-wrap;"&gt;Anyway, for the time being people (including myself) expect these things to “just work”. &amp;nbsp;Of course this expectation places a tremendous burden on network and facility operators such as myself (and rightfully so). &amp;nbsp;Meeting this expectation with FreeSWITCH trunk has required a significant amount of testing, testing, re-testing, regression testing, patching, etc. &amp;nbsp;We simply cannot unleash a new version of software in the field without significant testing. &amp;nbsp;When issues are found we have to address them. &amp;nbsp;This takes time and resources.&lt;/span&gt;&lt;br /&gt;&lt;span style="background-color: transparent; color: black; font-family: Arial; font-size: 15px; font-style: normal; font-variant: normal; font-weight: normal; text-decoration: none; vertical-align: baseline; white-space: pre-wrap;"&gt;&lt;/span&gt;&lt;br /&gt;&lt;span style="background-color: transparent; color: black; font-family: Arial; font-size: 15px; font-style: normal; font-variant: normal; font-weight: normal; text-decoration: none; vertical-align: baseline; white-space: pre-wrap;"&gt;Meanwhile FreeSWITCH is an open source project. &amp;nbsp;That can’t be expected to provide for every need and whim of large commercial users such as myself. &amp;nbsp;Why should they? &amp;nbsp;They already spend so much of their limited time and resources to provide software that essentially powers my business and (indirectly) provides for my livelihood - for free. &amp;nbsp;With these limited resources alone they can’t be expected to make time for the maintenance of yet another collection of code.&lt;/span&gt;&lt;br /&gt;&lt;span style="background-color: transparent; color: black; font-family: Arial; font-size: 15px; font-style: normal; font-variant: normal; font-weight: normal; text-decoration: none; vertical-align: baseline; white-space: pre-wrap;"&gt;&lt;/span&gt;&lt;br /&gt;&lt;span style="background-color: transparent; color: black; font-family: Arial; font-size: 15px; font-style: normal; font-variant: normal; font-weight: normal; text-decoration: none; vertical-align: baseline; white-space: pre-wrap;"&gt;That’s why I’m happy to announce the Star2Star sponsorship of the FreeSWITCH stable branch! &amp;nbsp;For the past several months Star2Star has been providing the financial assistance necessary for the FreeSWITCH project to hire another full-time team member to not only maintain a stable branch (1.2 as of this writing) but improve documentation, packaging, and community interaction. &amp;nbsp;Everyone at Star2Star (including myself) couldn’t be happier to provide this resource for the project and the community. &amp;nbsp;We look forward to working more with the FreeSWITCH team on the stable branch and any other projects that may advance FreeSWITCH and the state of the art in communications!&lt;/span&gt;&lt;/b&gt;&lt;img src="http://feeds.feedburner.com/~r/NotJustAstlinuxStuff/~4/HqK8dKBFh6Y" height="1" width="1"/&gt;</content><link rel="replies" type="application/atom+xml" href="http://blog.krisk.org/feeds/2215702295222394186/comments/default" title="Post Comments" /><link rel="replies" type="text/html" href="http://www.blogger.com/comment.g?blogID=9220932811142893057&amp;postID=2215702295222394186" title="2 Comments" /><link rel="edit" type="application/atom+xml" href="http://www.blogger.com/feeds/9220932811142893057/posts/default/2215702295222394186?v=2" /><link rel="self" type="application/atom+xml" href="http://www.blogger.com/feeds/9220932811142893057/posts/default/2215702295222394186?v=2" /><link rel="alternate" type="text/html" href="http://feedproxy.google.com/~r/NotJustAstlinuxStuff/~3/HqK8dKBFh6Y/freeswitch-stable-branch-sponsored-by.html" title="FreeSWITCH Stable Branch - Sponsored by Star2Star" /><author><name>Kristian Kielhofner</name><uri>http://www.blogger.com/profile/06405875458561185080</uri><email>noreply@blogger.com</email><gd:image rel="http://schemas.google.com/g/2005#thumbnail" width="23" height="32" src="http://4.bp.blogspot.com/-gr03qLpZIe8/Tp2gAW-nrvI/AAAAAAAAARo/LPwEMglNM0w/s220/kristian_kielhofner2.jpeg" /></author><thr:total>2</thr:total><feedburner:origLink>http://blog.krisk.org/2012/09/freeswitch-stable-branch-sponsored-by.html</feedburner:origLink></entry><entry gd:etag="W/&quot;Dk4FR3YzfSp7ImA9WhJQE08.&quot;"><id>tag:blogger.com,1999:blog-9220932811142893057.post-6156592447577549907</id><published>2012-07-26T13:48:00.000-04:00</published><updated>2012-07-26T13:48:36.885-04:00</updated><app:edited xmlns:app="http://www.w3.org/2007/app">2012-07-26T13:48:36.885-04:00</app:edited><title>Performance Testing (Part 2) - Going Commercial</title><content type="html">Some time ago I wrote the &lt;a href="http://blog.krisk.org/2011/12/performance-testing-part-1.html"&gt;first installment&lt;/a&gt; of a multi-part series on performance testing. Here we go with part two!&lt;br /&gt;
&lt;br /&gt;
&lt;b id="internal-source-marker_0.8320313754957169" style="-webkit-text-size-adjust: auto; -webkit-text-stroke-width: 0px; color: black; font-family: Times; font-size: medium; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; orphans: 2; text-align: -webkit-auto; text-indent: 0px; text-transform: none; white-space: normal; widows: 2; word-spacing: 0px;"&gt;&lt;span style="background-color: transparent; color: black; font-family: Arial; font-size: 15px; font-style: normal; font-variant: normal; font-weight: normal; text-decoration: none; vertical-align: baseline; white-space: pre-wrap;"&gt;In part one I talked about some of the difficulties surrounding performance testing - functionality, flexibility, high scale, quality metrics, etc.&lt;/span&gt;&lt;br /&gt;&lt;span style="background-color: transparent; color: black; font-family: Arial; font-size: 15px; font-style: normal; font-variant: normal; font-weight: normal; text-decoration: none; vertical-align: baseline; white-space: pre-wrap;"&gt;&lt;/span&gt;&lt;br /&gt;&lt;span style="background-color: transparent; color: black; font-family: Arial; font-size: 15px; font-style: normal; font-variant: normal; font-weight: normal; text-decoration: none; vertical-align: baseline; white-space: pre-wrap;"&gt;After looking at a couple commercial products we discovered a few things:&lt;/span&gt;&lt;br /&gt;&lt;span style="background-color: transparent; color: black; font-family: Arial; font-size: 15px; font-style: normal; font-variant: normal; font-weight: normal; text-decoration: none; vertical-align: baseline; white-space: pre-wrap;"&gt;&lt;/span&gt;&lt;br /&gt;&lt;span style="background-color: transparent; color: black; font-family: Arial; font-size: 15px; font-style: normal; font-variant: normal; font-weight: normal; text-decoration: none; vertical-align: baseline; white-space: pre-wrap;"&gt;1) &amp;nbsp;Some of these products really do “have it all”.&lt;/span&gt;&lt;br /&gt;&lt;span style="background-color: transparent; color: black; font-family: Arial; font-size: 15px; font-style: normal; font-variant: normal; font-weight: normal; text-decoration: none; vertical-align: baseline; white-space: pre-wrap;"&gt;2) &amp;nbsp;They can be very expensive.&lt;/span&gt;&lt;br /&gt;&lt;span style="background-color: transparent; color: black; font-family: Arial; font-size: 15px; font-style: normal; font-variant: normal; font-weight: normal; text-decoration: none; vertical-align: baseline; white-space: pre-wrap;"&gt;&lt;/span&gt;&lt;br /&gt;&lt;span style="background-color: transparent; color: black; font-family: Arial; font-size: 15px; font-style: normal; font-variant: normal; font-weight: normal; text-decoration: none; vertical-align: baseline; white-space: pre-wrap;"&gt;There was some initial sticker shock ($100,000+) but looking back I shouldn’t have been so surprised. &amp;nbsp;My first reaction (of course) was to reach out to a few people in the open source community with a proposal. &amp;nbsp;In a classic “build vs. buy” scenario I wanted to build. &amp;nbsp;This is (roughly) what I needed:&lt;/span&gt;&lt;br /&gt;&lt;span style="background-color: transparent; color: black; font-family: Arial; font-size: 15px; font-style: normal; font-variant: normal; font-weight: normal; text-decoration: none; vertical-align: baseline; white-space: pre-wrap;"&gt;&lt;/span&gt;&lt;br /&gt;&lt;span style="background-color: white; color: black; font-family: Arial; font-size: 15px; font-style: normal; font-variant: normal; font-weight: normal; text-decoration: none; vertical-align: baseline; white-space: pre-wrap;"&gt;- At least 40,000 RTP streams (20,000 calls)&lt;/span&gt;&lt;br /&gt;&lt;span style="background-color: white; color: black; font-family: Arial; font-size: 15px; font-style: normal; font-variant: normal; font-weight: normal; text-decoration: none; vertical-align: baseline; white-space: pre-wrap;"&gt;- At least 100,000 SIP calls and/or registrations&lt;/span&gt;&lt;br /&gt;&lt;span style="background-color: white; color: black; font-family: Arial; font-size: 15px; font-style: normal; font-variant: normal; font-weight: normal; text-decoration: none; vertical-align: baseline; white-space: pre-wrap;"&gt;- The ability to emulate multiple user agents (VLAN, MAC address, DHCP client, SIP UA)&lt;/span&gt;&lt;/b&gt;&lt;br /&gt;
&lt;b id="internal-source-marker_0.8320313754957169" style="-webkit-text-size-adjust: auto; -webkit-text-stroke-width: 0px; color: black; font-family: Times; font-size: medium; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; orphans: 2; text-align: -webkit-auto; text-indent: 0px; text-transform: none; white-space: normal; widows: 2; word-spacing: 0px;"&gt;&lt;span style="background-color: white; color: black; font-family: Arial; font-size: 15px; font-style: normal; font-variant: normal; font-weight: normal; text-decoration: none; vertical-align: baseline; white-space: pre-wrap;"&gt;- RTP stream analysis on each RTP leg (MOS, R-Factor, PESQ, etc)&lt;/span&gt;&lt;br /&gt;&lt;span style="background-color: white; color: black; font-family: Arial; font-size: 15px; font-style: normal; font-variant: normal; font-weight: normal; text-decoration: none; vertical-align: baseline; white-space: pre-wrap;"&gt;- Flexible device emulation - SIP headers, supported SIP features, etc&lt;/span&gt;&lt;br /&gt;&lt;span style="background-color: white; color: black; font-family: Arial; font-size: 15px; font-style: normal; font-variant: normal; font-weight: normal; text-decoration: none; vertical-align: baseline; white-space: pre-wrap;"&gt;- Multiple codec support (at least G711, G729, G722, SILK/OPUS with FEC et&lt;/span&gt;&lt;br /&gt;&lt;span style="background-color: white; color: black; font-family: Arial; font-size: 15px; font-style: normal; font-variant: normal; font-weight: normal; text-decoration: none; vertical-align: baseline; white-space: pre-wrap;"&gt;all, etc).&lt;/span&gt;&lt;br /&gt;&lt;span style="background-color: white; color: black; font-family: Arial; font-size: 15px; font-style: normal; font-variant: normal; font-weight: normal; text-decoration: none; vertical-align: baseline; white-space: pre-wrap;"&gt;- Control of test scenarios - CPS, number of calls, duration of call,&lt;/span&gt;&lt;br /&gt;&lt;span style="background-color: white; color: black; font-family: Arial; font-size: 15px; font-style: normal; font-variant: normal; font-weight: normal; text-decoration: none; vertical-align: baseline; white-space: pre-wrap;"&gt;total duration of test, etc&lt;/span&gt;&lt;br /&gt;&lt;span style="background-color: white; color: black; font-family: Arial; font-size: 15px; font-style: normal; font-variant: normal; font-weight: normal; text-decoration: none; vertical-align: baseline; white-space: pre-wrap;"&gt;- Ability to save/load tests via web interface (for ease of use,&lt;/span&gt;&lt;br /&gt;&lt;span style="background-color: white; color: black; font-family: Arial; font-size: 15px; font-style: normal; font-variant: normal; font-weight: normal; text-decoration: none; vertical-align: baseline; white-space: pre-wrap;"&gt;comparison of results, etc)&lt;/span&gt;&lt;br /&gt;&lt;span style="background-color: white; color: black; font-family: Arial; font-size: 15px; font-style: normal; font-variant: normal; font-weight: normal; text-decoration: none; vertical-align: baseline; white-space: pre-wrap;"&gt;- Ability to perform feature testing - generate DTMF during a call to&lt;/span&gt;&lt;br /&gt;&lt;span style="background-color: white; color: black; font-family: Arial; font-size: 15px; font-style: normal; font-variant: normal; font-weight: normal; text-decoration: none; vertical-align: baseline; white-space: pre-wrap;"&gt;navigate an IVR, for example.&lt;/span&gt;&lt;br /&gt;&lt;span style="background-color: white; color: black; font-family: Arial; font-size: 15px; font-style: normal; font-variant: normal; font-weight: normal; text-decoration: none; vertical-align: baseline; white-space: pre-wrap;"&gt;- A modular system for monitoring the device under test - Linux load,&lt;/span&gt;&lt;br /&gt;&lt;span style="background-color: white; color: black; font-family: Arial; font-size: 15px; font-style: normal; font-variant: normal; font-weight: normal; text-decoration: none; vertical-align: baseline; white-space: pre-wrap;"&gt;CPU usage, disk usage, network I/O, etc. &amp;nbsp;Could also monitor Cisco&lt;/span&gt;&lt;br /&gt;&lt;span style="background-color: white; color: black; font-family: Arial; font-size: 15px; font-style: normal; font-variant: normal; font-weight: normal; text-decoration: none; vertical-align: baseline; white-space: pre-wrap;"&gt;switches in between devices, Windows hosts, etc. &amp;nbsp;Maybe even&lt;/span&gt;&lt;br /&gt;&lt;span style="background-color: white; color: black; font-family: Arial; font-size: 15px; font-style: normal; font-variant: normal; font-weight: normal; text-decoration: none; vertical-align: baseline; white-space: pre-wrap;"&gt;FreeSWITCH or Asterisk if that's what was running on the device under&lt;/span&gt;&lt;br /&gt;&lt;span style="background-color: white; color: black; font-family: Arial; font-size: 15px; font-style: normal; font-variant: normal; font-weight: normal; text-decoration: none; vertical-align: baseline; white-space: pre-wrap;"&gt;test.&lt;/span&gt;&lt;br /&gt;&lt;span style="background-color: white; color: black; font-family: Arial; font-size: 15px; font-style: normal; font-variant: normal; font-weight: normal; text-decoration: none; vertical-align: baseline; white-space: pre-wrap;"&gt;- Saving and graphing of all relevant performance data - call setup&lt;/span&gt;&lt;br /&gt;&lt;span style="background-color: white; color: black; font-family: Arial; font-size: 15px; font-style: normal; font-variant: normal; font-weight: normal; text-decoration: none; vertical-align: baseline; white-space: pre-wrap;"&gt;time, delay, duration, RTP jitter, packet loss, RTP stream stats, etc.&lt;/span&gt;&lt;br /&gt;&lt;span style="background-color: white; color: black; font-family: Arial; font-size: 15px; font-style: normal; font-variant: normal; font-weight: normal; text-decoration: none; vertical-align: baseline; white-space: pre-wrap;"&gt; Ability to save data and generate reports from said data.&lt;/span&gt;&lt;br /&gt;&lt;span style="background-color: white; color: black; font-family: Arial; font-size: 15px; font-style: normal; font-variant: normal; font-weight: normal; text-decoration: none; vertical-align: baseline; white-space: pre-wrap;"&gt;- Scalable design with master/slave architecture to scale across hosts&lt;/span&gt;&lt;br /&gt;&lt;span style="background-color: white; color: black; font-family: Arial; font-size: 15px; font-style: normal; font-variant: normal; font-weight: normal; text-decoration: none; vertical-align: baseline; white-space: pre-wrap;"&gt;with the ability for hardware.&lt;/span&gt;&lt;span style="background-color: transparent; color: black; font-family: Arial; font-size: 15px; font-style: normal; font-variant: normal; font-weight: normal; text-decoration: none; vertical-align: baseline; white-space: pre-wrap;"&gt;&lt;/span&gt;&lt;br /&gt;&lt;span style="background-color: transparent; color: black; font-family: Arial; font-size: 15px; font-style: normal; font-variant: normal; font-weight: normal; text-decoration: none; vertical-align: baseline; white-space: pre-wrap;"&gt;&lt;/span&gt;&lt;br /&gt;&lt;span style="background-color: transparent; color: black; font-family: Arial; font-size: 15px; font-style: normal; font-variant: normal; font-weight: normal; text-decoration: none; vertical-align: baseline; white-space: pre-wrap;"&gt;Did I mention this tool needs to be usable by various test engineers, some of which don’t know the difference between SIP and SDP (and rightfully so, they shouldn’t need to)?&lt;/span&gt;&lt;br /&gt;&lt;span style="background-color: transparent; color: black; font-family: Arial; font-size: 15px; font-style: normal; font-variant: normal; font-weight: normal; text-decoration: none; vertical-align: baseline; white-space: pre-wrap;"&gt;&lt;/span&gt;&lt;br /&gt;&lt;span style="background-color: transparent; color: black; font-family: Arial; font-size: 15px; font-style: normal; font-variant: normal; font-weight: normal; text-decoration: none; vertical-align: baseline; white-space: pre-wrap;"&gt;With the open source software already available I figured this could be made available for less than the cost of a commercial testing solution.&lt;/span&gt;&lt;br /&gt;&lt;span style="background-color: transparent; color: black; font-family: Arial; font-size: 15px; font-style: normal; font-variant: normal; font-weight: normal; text-decoration: none; vertical-align: baseline; white-space: pre-wrap;"&gt;&lt;/span&gt;&lt;br /&gt;&lt;span style="background-color: transparent; color: black; font-family: Arial; font-size: 15px; font-style: normal; font-variant: normal; font-weight: normal; text-decoration: none; vertical-align: baseline; white-space: pre-wrap;"&gt;I gave it away with the title of this post but you can guess what happened next: it was going to cost far more to develop everything I needed. &amp;nbsp;By the way - it would also take six months to build and take 10 years off my life hunting bugs, managing the project, etc.&lt;/span&gt;&lt;br /&gt;&lt;span style="background-color: transparent; color: black; font-family: Arial; font-size: 15px; font-style: normal; font-variant: normal; font-weight: normal; text-decoration: none; vertical-align: baseline; white-space: pre-wrap;"&gt;&lt;/span&gt;&lt;br /&gt;&lt;span style="background-color: transparent; color: black; font-family: Arial; font-size: 15px; font-style: normal; font-variant: normal; font-weight: normal; text-decoration: none; vertical-align: baseline; white-space: pre-wrap;"&gt;BUY&lt;/span&gt;&lt;br /&gt;&lt;span style="background-color: transparent; color: black; font-family: Arial; font-size: 15px; font-style: normal; font-variant: normal; font-weight: normal; text-decoration: none; vertical-align: baseline; white-space: pre-wrap;"&gt;&lt;/span&gt;&lt;br /&gt;&lt;span style="background-color: transparent; color: black; font-family: Arial; font-size: 15px; font-style: normal; font-variant: normal; font-weight: normal; text-decoration: none; vertical-align: baseline; white-space: pre-wrap;"&gt;For less than what it would cost to build everything above I could buy &lt;/span&gt;&lt;a href="http://www.ixiacom.com/products/xcellon/xcellon_ultra_np_load_module/index.php"&gt;&lt;span style="background-color: transparent; color: #000099; font-family: Arial; font-size: 15px; font-style: normal; font-variant: normal; font-weight: normal; text-decoration: underline; vertical-align: baseline; white-space: pre-wrap;"&gt;this&lt;/span&gt;&lt;/a&gt;&lt;span style="background-color: transparent; color: black; font-family: Arial; font-size: 15px; font-style: normal; font-variant: normal; font-weight: normal; text-decoration: none; vertical-align: baseline; white-space: pre-wrap;"&gt;. &amp;nbsp;A multi-user chassis with one Xcellon-Ultra NP load module and room for another one. &amp;nbsp;180,000 emulated SIP endpoints. &amp;nbsp;96,000 RTP streams. &amp;nbsp;Wire speed 10 gigabit VoIP testing (and 12 gigabit ports).&lt;/span&gt;&lt;br /&gt;&lt;span style="background-color: transparent; color: black; font-family: Arial; font-size: 15px; font-style: normal; font-variant: normal; font-weight: normal; text-decoration: none; vertical-align: baseline; white-space: pre-wrap;"&gt;&lt;/span&gt;&lt;br /&gt;&lt;span style="background-color: transparent; color: black; font-family: Arial; font-size: 15px; font-style: normal; font-variant: normal; font-weight: normal; text-decoration: none; vertical-align: baseline; white-space: pre-wrap;"&gt;Of course this isn’t a perfect world... &amp;nbsp;The chassis runs Windows. &amp;nbsp;The client software is only available for Windows and the interface is probably the furthest from what I want. &amp;nbsp;As a guy that eats, lives, and breathes CLI (and has for a decade) multi-pane/dropdown/hidden/shadow GUIs are NOT my thing. &amp;nbsp;I don’t even know what to call or how to describe some of the window/GUI elements present in the IxLoad user interface...&lt;/span&gt;&lt;/b&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;b id="internal-source-marker_0.8320313754957169" style="-webkit-text-size-adjust: auto; -webkit-text-stroke-width: 0px; color: black; font-family: Times; font-size: medium; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; orphans: 2; text-align: -webkit-auto; text-indent: 0px; text-transform: none; white-space: normal; widows: 2; word-spacing: 0px;"&gt;&lt;span style="background-color: transparent; color: black; font-family: Arial; font-size: 15px; font-style: normal; font-variant: normal; font-weight: normal; text-decoration: none; vertical-align: baseline; white-space: pre-wrap;"&gt;Ixia even has a solution to this problem. &amp;nbsp;They offer TCL scripting with clients for various platforms, including Linux! &amp;nbsp;While we’ll eventually get into that for the time being we went with a much simpler solution: &amp;nbsp;we setup a Windows terminal server. &amp;nbsp;I use &lt;/span&gt;&lt;a href="http://cord.sourceforge.net/"&gt;&lt;span style="background-color: transparent; color: #000099; font-family: Arial; font-size: 15px; font-style: normal; font-variant: normal; font-weight: normal; text-decoration: underline; vertical-align: baseline; white-space: pre-wrap;"&gt;CoRD&lt;/span&gt;&lt;/a&gt;&lt;span style="background-color: transparent; color: black; font-family: Arial; font-size: 15px; font-style: normal; font-variant: normal; font-weight: normal; text-decoration: none; vertical-align: baseline; white-space: pre-wrap;"&gt; from my Mac, login to the terminal server, and run a test. &amp;nbsp;As you’ll see in part three - IT JUST WORKS.&lt;/span&gt;&lt;/b&gt;&lt;b id="internal-source-marker_0.8320313754957169" style="color: black; font-family: Times; font-size: medium; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; orphans: 2; text-indent: 0px; text-transform: none; white-space: normal; widows: 2; word-spacing: 0px;"&gt;&lt;span style="background-color: transparent; color: black; font-family: Arial; font-size: 15px; font-style: normal; font-variant: normal; font-weight: normal; text-decoration: none; vertical-align: baseline; white-space: pre-wrap;"&gt;&amp;nbsp;&lt;/span&gt;&lt;/b&gt;&lt;b id="internal-source-marker_0.8320313754957169" style="color: black; font-family: Times; font-size: medium; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; orphans: 2; text-indent: 0px; text-transform: none; white-space: normal; widows: 2; word-spacing: 0px;"&gt;&lt;span style="background-color: white; color: black; font-family: Arial; font-size: 15px; font-style: normal; font-variant: normal; font-weight: normal; text-decoration: none; vertical-align: baseline; white-space: pre-wrap;"&gt; &lt;/span&gt;&lt;/b&gt;&lt;img src="http://feeds.feedburner.com/~r/NotJustAstlinuxStuff/~4/P89_SyrWE7A" height="1" width="1"/&gt;</content><link rel="replies" type="application/atom+xml" href="http://blog.krisk.org/feeds/6156592447577549907/comments/default" title="Post Comments" /><link rel="replies" type="text/html" href="http://www.blogger.com/comment.g?blogID=9220932811142893057&amp;postID=6156592447577549907" title="0 Comments" /><link rel="edit" type="application/atom+xml" href="http://www.blogger.com/feeds/9220932811142893057/posts/default/6156592447577549907?v=2" /><link rel="self" type="application/atom+xml" href="http://www.blogger.com/feeds/9220932811142893057/posts/default/6156592447577549907?v=2" /><link rel="alternate" type="text/html" href="http://feedproxy.google.com/~r/NotJustAstlinuxStuff/~3/P89_SyrWE7A/performance-testing-part-2-going.html" title="Performance Testing (Part 2) - Going Commercial" /><author><name>Kristian Kielhofner</name><uri>http://www.blogger.com/profile/06405875458561185080</uri><email>noreply@blogger.com</email><gd:image rel="http://schemas.google.com/g/2005#thumbnail" width="23" height="32" src="http://4.bp.blogspot.com/-gr03qLpZIe8/Tp2gAW-nrvI/AAAAAAAAARo/LPwEMglNM0w/s220/kristian_kielhofner2.jpeg" /></author><thr:total>0</thr:total><feedburner:origLink>http://blog.krisk.org/2012/07/performance-testing-part-2-going.html</feedburner:origLink></entry><entry gd:etag="W/&quot;CUcHSHw_eyp7ImA9WhJREUw.&quot;"><id>tag:blogger.com,1999:blog-9220932811142893057.post-1765828330348062319</id><published>2012-07-12T13:10:00.001-04:00</published><updated>2012-07-12T13:10:39.243-04:00</updated><app:edited xmlns:app="http://www.w3.org/2007/app">2012-07-12T13:10:39.243-04:00</app:edited><title>My Linux Story</title><content type="html">&lt;b id="internal-source-marker_0.12979812803678215" style="-webkit-text-size-adjust: auto; -webkit-text-stroke-width: 0px; color: black; font-family: Times; font-size: medium; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; orphans: 2; text-align: -webkit-auto; text-indent: 0px; text-transform: none; white-space: normal; widows: 2; word-spacing: 0px;"&gt;&lt;span style="background-color: transparent; color: black; font-family: Arial; font-size: 15px; font-style: normal; font-variant: normal; font-weight: normal; text-decoration: none; vertical-align: baseline; white-space: pre-wrap;"&gt;While digging through some boxes the other day I came across a book. &amp;nbsp;Not just any book - a very important book. &amp;nbsp;A book I both cursed and loved more than any other book in my entire life.&lt;/span&gt;&lt;br /&gt;&lt;span style="background-color: transparent; color: black; font-family: Arial; font-size: 15px; font-style: normal; font-variant: normal; font-weight: normal; text-decoration: none; vertical-align: baseline; white-space: pre-wrap;"&gt;&lt;/span&gt;&lt;br /&gt;&lt;span style="background-color: transparent; color: black; font-family: Arial; font-size: 15px; font-style: normal; font-variant: normal; font-weight: normal; text-decoration: none; vertical-align: baseline; white-space: pre-wrap;"&gt;To tell the story of the book I need to give a little background. &amp;nbsp;My father was a professor at the University of Illinois at Chicago. &amp;nbsp;When I was old enough (13) I would spend my summers volunteering in his department (Occupational Therapy) doing random IT jobs - making ethernet cables, cleaning up viruses, fixing printers, etc.&lt;/span&gt;&lt;br /&gt;&lt;span style="background-color: transparent; color: black; font-family: Arial; font-size: 15px; font-style: normal; font-variant: normal; font-weight: normal; text-decoration: none; vertical-align: baseline; white-space: pre-wrap;"&gt;&lt;/span&gt;&lt;br /&gt;&lt;span style="background-color: transparent; color: black; font-family: Arial; font-size: 15px; font-style: normal; font-variant: normal; font-weight: normal; text-decoration: none; vertical-align: baseline; white-space: pre-wrap;"&gt;One day they took me on a tour of the other departments in his &lt;/span&gt;&lt;a href="http://www.ahs.uic.edu/ahs/about/history.php" target="_blank"&gt;&lt;span style="background-color: transparent; color: #1155cc; font-family: Arial; font-size: 15px; font-style: normal; font-variant: normal; font-weight: normal; text-decoration: underline; vertical-align: baseline; white-space: pre-wrap;"&gt;building&lt;/span&gt;&lt;/a&gt;&lt;span style="background-color: transparent; color: black; font-family: Arial; font-size: 15px; font-style: normal; font-variant: normal; font-weight: normal; text-decoration: none; vertical-align: baseline; white-space: pre-wrap;"&gt;. &amp;nbsp;They had some medical visualization apps running in one of the departments. &amp;nbsp;Here we were, sitting in a room, with some PhD students working on some of the coolest computers I’d ever seen. &amp;nbsp;They had bright colors and huge monitors. &amp;nbsp;They ran tons of advanced looking applications. &amp;nbsp;Most of the interaction was through a very interesting command line interface. &amp;nbsp;I was intrigued.&lt;/span&gt;&lt;br /&gt;&lt;span style="background-color: transparent; color: black; font-family: Arial; font-size: 15px; font-style: normal; font-variant: normal; font-weight: normal; text-decoration: none; vertical-align: baseline; white-space: pre-wrap;"&gt;&lt;/span&gt;&lt;br /&gt;&lt;span style="background-color: transparent; color: black; font-family: Arial; font-size: 15px; font-style: normal; font-variant: normal; font-weight: normal; text-decoration: none; vertical-align: baseline; white-space: pre-wrap;"&gt;Being a rambunctious 13 year old I approached one of the students and complimented him on his computer. &amp;nbsp;I also asked him how I could get one of them for my house. &amp;nbsp;He laughed. &amp;nbsp;At the time I didn’t understand why it was a funny question. &amp;nbsp;Looking back now I know it’s because those “computers” were actually high powered Silicon Graphics Indigo workstations that cost upwards of $40,000 each (in 1997 dollars).&lt;/span&gt;&lt;br /&gt;&lt;span style="background-color: transparent; color: black; font-family: Arial; font-size: 15px; font-style: normal; font-variant: normal; font-weight: normal; text-decoration: none; vertical-align: baseline; white-space: pre-wrap;"&gt;&lt;/span&gt;&lt;br /&gt;&lt;span style="background-color: transparent; color: black; font-family: Arial; font-size: 15px; font-style: normal; font-variant: normal; font-weight: normal; text-decoration: none; vertical-align: baseline; white-space: pre-wrap;"&gt;His response was a muffled “Ummm, you can’t”. &amp;nbsp;Not being dissuaded my follow-up question was “How can I get something like it?”. &amp;nbsp;One of the students looked at the other student. &amp;nbsp;They both kind of shrugged until one of them said “umm, Linux?”. &amp;nbsp;Still not being quite sure they both agreed that “Linux” would be my best bet. &amp;nbsp;I asked them how I could get “Linux”. &amp;nbsp;They told me to go down to the university book store and buy a book about Linux. &amp;nbsp;A good Linux book, they said, should include a CD-ROM with a copy of Linux I could install on my computer at home.&lt;/span&gt;&lt;br /&gt;&lt;span style="background-color: transparent; color: black; font-family: Arial; font-size: 15px; font-style: normal; font-variant: normal; font-weight: normal; text-decoration: none; vertical-align: baseline; white-space: pre-wrap;"&gt;&lt;/span&gt;&lt;br /&gt;&lt;span style="background-color: transparent; color: black; font-family: Arial; font-size: 15px; font-style: normal; font-variant: normal; font-weight: normal; text-decoration: none; vertical-align: baseline; white-space: pre-wrap;"&gt;That day, before we went to Union Station to catch the Metra, my dad and I went to the university bookstore to find a book about Linux. &amp;nbsp;Sure enough we found a Linux book that included not one but TWO CD-ROMs! &amp;nbsp;I read as much of the book as I could before I got home that night.&lt;/span&gt;&lt;br /&gt;&lt;span style="background-color: transparent; color: black; font-family: Arial; font-size: 15px; font-style: normal; font-variant: normal; font-weight: normal; text-decoration: none; vertical-align: baseline; white-space: pre-wrap;"&gt;&lt;/span&gt;&lt;br /&gt;&lt;span style="background-color: transparent; color: black; font-family: Arial; font-size: 15px; font-style: normal; font-variant: normal; font-weight: normal; text-decoration: none; vertical-align: baseline; white-space: pre-wrap;"&gt;Once I was at home I booted the family computer (with a DOS bootdisk) and ran a loadlin (wow, remember that?) based install program from the CD-ROM (no el torito!). &amp;nbsp;During the course of the install I repartitioned and reformatted the (only) family computer - an IBM Aptiva M51. &amp;nbsp;It had a Pentium 100, 1GB hard drive, and 16MB of RAM (upgraded from 8MB). &amp;nbsp;It also came with one of those HORRIBLE MWAVE adapters and some shady Cirrus Logic graphics (IIRC).&lt;/span&gt;&lt;br /&gt;&lt;span style="background-color: transparent; color: black; font-family: Arial; font-size: 15px; font-style: normal; font-variant: normal; font-weight: normal; text-decoration: none; vertical-align: baseline; white-space: pre-wrap;"&gt;&lt;/span&gt;&lt;br /&gt;&lt;span style="background-color: transparent; color: black; font-family: Arial; font-size: 15px; font-style: normal; font-variant: normal; font-weight: normal; text-decoration: none; vertical-align: baseline; white-space: pre-wrap;"&gt;Anyway, the install process (which was pretty horrible, actually) left me with what was (at the time) a barely usable computer. &amp;nbsp;How was my sister going to do her homework? &amp;nbsp;How were we going to get on to the internet? &amp;nbsp;Uh-oh, looks like I better learn more about this “Linux” thing...&lt;/span&gt;&lt;br /&gt;&lt;span style="background-color: transparent; color: black; font-family: Arial; font-size: 15px; font-style: normal; font-variant: normal; font-weight: normal; text-decoration: none; vertical-align: baseline; white-space: pre-wrap;"&gt;&lt;/span&gt;&lt;br /&gt;&lt;span style="background-color: transparent; color: black; font-family: Arial; font-size: 15px; font-style: normal; font-variant: normal; font-weight: normal; text-decoration: none; vertical-align: baseline; white-space: pre-wrap;"&gt;So that’s how it started. &amp;nbsp;Later that year (for Christmas) my parents realized they weren’t going to get the Aptiva back from me so we bought another computer to run Windows. &amp;nbsp;At that point my little Linux workstation became my computer and the “gateway” for my first home network - a 10BASE2 (coax!) Ethernet network using NE2000 cards from Linksys. &amp;nbsp;Internet access went through my Aptiva using an external modem that, regardless of type, could only negotiate a maximum of 19,200 bps on our crappy phone line. &amp;nbsp;PPP, chat scripts, dial-on-demand, squid for caching, etc. &amp;nbsp;15 years later I’m still (primarily) using Linux!&lt;/span&gt;&lt;br /&gt;&lt;span style="background-color: transparent; color: black; font-family: Arial; font-size: 15px; font-style: normal; font-variant: normal; font-weight: normal; text-decoration: none; vertical-align: baseline; white-space: pre-wrap;"&gt;&lt;/span&gt;&lt;br /&gt;&lt;span style="background-color: transparent; color: black; font-family: Arial; font-size: 15px; font-style: normal; font-variant: normal; font-weight: normal; text-decoration: none; vertical-align: baseline; white-space: pre-wrap;"&gt;After finding “My First Linux Book” I wondered what would happen if I tried to install that version of Linux today. &amp;nbsp;Some people reminisce about their childhood by hearing certain songs, playing a sport, or collecting action figures. &amp;nbsp;I (apparently) do it by installing ancient versions of Linux.&lt;/span&gt;&lt;br /&gt;&lt;span style="background-color: transparent; color: black; font-family: Arial; font-size: 15px; font-style: normal; font-variant: normal; font-weight: normal; text-decoration: none; vertical-align: baseline; white-space: pre-wrap;"&gt;&lt;/span&gt;&lt;br /&gt;&lt;span style="background-color: transparent; color: black; font-family: Arial; font-size: 15px; font-style: normal; font-variant: normal; font-weight: normal; text-decoration: none; vertical-align: baseline; white-space: pre-wrap;"&gt;I needed to install this version of Linux but the CD-ROMs in my book were missing. &amp;nbsp;I looked around the internet for a while but could not find an ISO or copy of the distro anywhere. &amp;nbsp;I could barely find references to the book. &amp;nbsp;Where else could I look? &amp;nbsp;Everywhere else I look - Amazon!&lt;/span&gt;&lt;br /&gt;&lt;span style="background-color: transparent; color: black; font-family: Arial; font-size: 15px; font-style: normal; font-variant: normal; font-weight: normal; text-decoration: none; vertical-align: baseline; white-space: pre-wrap;"&gt;&lt;/span&gt;&lt;br /&gt;&lt;span style="background-color: transparent; color: black; font-family: Arial; font-size: 15px; font-style: normal; font-variant: normal; font-weight: normal; text-decoration: none; vertical-align: baseline; white-space: pre-wrap;"&gt;Sure enough, Amazon had a &lt;/span&gt;&lt;a href="http://www.amazon.com/Linux-Universe-Configuration-Stefan-Strobel/dp/0387948791/ref=sr_1_1?ie=UTF8&amp;amp;qid=1342103282&amp;amp;sr=8-1&amp;amp;keywords=Linux+Universe" target="_blank"&gt;&lt;span style="background-color: transparent; color: #1155cc; font-family: Arial; font-size: 15px; font-style: normal; font-variant: normal; font-weight: normal; text-decoration: underline; vertical-align: baseline; white-space: pre-wrap;"&gt;used copy of the book&lt;/span&gt;&lt;/a&gt;&lt;span style="background-color: transparent; color: black; font-family: Arial; font-size: 15px; font-style: normal; font-variant: normal; font-weight: normal; text-decoration: none; vertical-align: baseline; white-space: pre-wrap;"&gt; (with CD-ROM) for $5 with shipping. &amp;nbsp;Two days later it was here. &amp;nbsp;To my surprise the book (and the CDs) were in excellent condition. &amp;nbsp;Who the hell is keeping a warehouse full of mid-nineties Linux books (3rd edition with Kernel 2.0!)?&lt;/span&gt;&lt;br /&gt;&lt;span style="background-color: transparent; color: black; font-family: Arial; font-size: 15px; font-style: normal; font-variant: normal; font-weight: normal; text-decoration: none; vertical-align: baseline; white-space: pre-wrap;"&gt;&lt;/span&gt;&lt;br /&gt;&lt;span style="background-color: transparent; color: black; font-family: Arial; font-size: 15px; font-style: normal; font-variant: normal; font-weight: normal; text-decoration: none; vertical-align: baseline; white-space: pre-wrap;"&gt;I get on my main development machine at home, download a FreeDOS ISO (to install from, remember), and create a VirtualBox virtual machine. &amp;nbsp;What should it look like? &amp;nbsp;I decide to “go big”:&lt;/span&gt;&lt;br /&gt;&lt;span style="background-color: transparent; color: black; font-family: Arial; font-size: 15px; font-style: normal; font-variant: normal; font-weight: normal; text-decoration: none; vertical-align: baseline; white-space: pre-wrap;"&gt;&lt;/span&gt;&lt;/b&gt;&lt;br /&gt;
&lt;ul style="margin-bottom: 0pt; margin-top: 0pt;"&gt;
&lt;li style="background-color: transparent; color: black; font-family: Arial; font-size: 15px; font-style: normal; font-variant: normal; font-weight: normal; list-style-type: disc; text-decoration: none; vertical-align: baseline;"&gt;&lt;b id="internal-source-marker_0.12979812803678215" style="-webkit-text-size-adjust: auto; -webkit-text-stroke-width: 0px; color: black; font-family: Times; font-size: medium; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; orphans: 2; text-align: -webkit-auto; text-indent: 0px; text-transform: none; white-space: normal; widows: 2; word-spacing: 0px;"&gt;&lt;span style="background-color: transparent; color: black; font-family: Arial; font-size: 15px; font-style: normal; font-variant: normal; font-weight: normal; text-decoration: none; vertical-align: baseline; white-space: pre-wrap;"&gt;1 CPU&lt;/span&gt;&lt;/b&gt;&lt;/li&gt;
&lt;li style="background-color: transparent; color: black; font-family: Arial; font-size: 15px; font-style: normal; font-variant: normal; font-weight: normal; list-style-type: disc; text-decoration: none; vertical-align: baseline;"&gt;&lt;b id="internal-source-marker_0.12979812803678215" style="-webkit-text-size-adjust: auto; -webkit-text-stroke-width: 0px; color: black; font-family: Times; font-size: medium; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; orphans: 2; text-align: -webkit-auto; text-indent: 0px; text-transform: none; white-space: normal; widows: 2; word-spacing: 0px;"&gt;&lt;span style="background-color: transparent; color: black; font-family: Arial; font-size: 15px; font-style: normal; font-variant: normal; font-weight: normal; text-decoration: none; vertical-align: baseline; white-space: pre-wrap;"&gt;256MB of RAM&lt;/span&gt;&lt;/b&gt;&lt;/li&gt;
&lt;li style="background-color: transparent; color: black; font-family: Arial; font-size: 15px; font-style: normal; font-variant: normal; font-weight: normal; list-style-type: disc; text-decoration: none; vertical-align: baseline;"&gt;&lt;b id="internal-source-marker_0.12979812803678215" style="-webkit-text-size-adjust: auto; -webkit-text-stroke-width: 0px; color: black; font-family: Times; font-size: medium; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; orphans: 2; text-align: -webkit-auto; text-indent: 0px; text-transform: none; white-space: normal; widows: 2; word-spacing: 0px;"&gt;&lt;span style="background-color: transparent; color: black; font-family: Arial; font-size: 15px; font-style: normal; font-variant: normal; font-weight: normal; text-decoration: none; vertical-align: baseline; white-space: pre-wrap;"&gt;8GB Intel PIIX3 hard drive&lt;/span&gt;&lt;/b&gt;&lt;/li&gt;
&lt;li style="background-color: transparent; color: black; font-family: Arial; font-size: 15px; font-style: normal; font-variant: normal; font-weight: normal; list-style-type: disc; text-decoration: none; vertical-align: baseline;"&gt;&lt;b id="internal-source-marker_0.12979812803678215" style="-webkit-text-size-adjust: auto; -webkit-text-stroke-width: 0px; color: black; font-family: Times; font-size: medium; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; orphans: 2; text-align: -webkit-auto; text-indent: 0px; text-transform: none; white-space: normal; widows: 2; word-spacing: 0px;"&gt;&lt;span style="background-color: transparent; color: black; font-family: Arial; font-size: 15px; font-style: normal; font-variant: normal; font-weight: normal; text-decoration: none; vertical-align: baseline; white-space: pre-wrap;"&gt;1 Am79C973 ethernet port&lt;/span&gt;&lt;/b&gt;&lt;/li&gt;
&lt;/ul&gt;
&lt;b id="internal-source-marker_0.12979812803678215" style="-webkit-text-size-adjust: auto; -webkit-text-stroke-width: 0px; color: black; font-family: Times; font-size: medium; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; orphans: 2; text-align: -webkit-auto; text-indent: 0px; text-transform: none; white-space: normal; widows: 2; word-spacing: 0px;"&gt;&lt;span style="background-color: transparent; color: black; font-family: Arial; font-size: 15px; font-style: normal; font-variant: normal; font-weight: normal; text-decoration: none; vertical-align: baseline; white-space: pre-wrap;"&gt;&lt;/span&gt;&lt;br /&gt;&lt;span style="background-color: transparent; color: black; font-family: Arial; font-size: 15px; font-style: normal; font-variant: normal; font-weight: normal; text-decoration: none; vertical-align: baseline; white-space: pre-wrap;"&gt;Keep in mind I’m going to be running kernel 2.0 here - this hardware needs to be supported by a 15 year old kernel. &amp;nbsp;I get &lt;/span&gt;&lt;a href="http://www.unifix.de/products/unifix_2_0/" target="_blank"&gt;&lt;span style="background-color: transparent; color: #1155cc; font-family: Arial; font-size: 15px; font-style: normal; font-variant: normal; font-weight: normal; text-decoration: underline; vertical-align: baseline; white-space: pre-wrap;"&gt;Unifix Linux 2.0&lt;/span&gt;&lt;/a&gt;&lt;span style="background-color: transparent; color: black; font-family: Arial; font-size: 15px; font-style: normal; font-variant: normal; font-weight: normal; text-decoration: none; vertical-align: baseline; white-space: pre-wrap;"&gt; installed. &amp;nbsp;Moments later I’m logged into my “new” Linux system. &amp;nbsp;Not knowing exactly what to do now, I decide to try to get networking to work.&lt;/span&gt;&lt;br /&gt;&lt;span style="background-color: transparent; color: black; font-family: Arial; font-size: 15px; font-style: normal; font-variant: normal; font-weight: normal; text-decoration: none; vertical-align: baseline; white-space: pre-wrap;"&gt;&lt;/span&gt;&lt;br /&gt;&lt;span style="background-color: transparent; color: black; font-family: Arial; font-size: 15px; font-style: normal; font-variant: normal; font-weight: normal; text-decoration: none; vertical-align: baseline; white-space: pre-wrap;"&gt;Long story short I could not get Linux 2.0 to recognize the emulated Am79C973 ethernet controller. &amp;nbsp;I tried changing the device ids and recompiling the kernel (takes less than one minute, btw) but &amp;nbsp;couldn’t get it to work.&lt;/span&gt;&lt;br /&gt;&lt;span style="background-color: transparent; color: black; font-family: Arial; font-size: 15px; font-style: normal; font-variant: normal; font-weight: normal; text-decoration: none; vertical-align: baseline; white-space: pre-wrap;"&gt;&lt;/span&gt;&lt;br /&gt;&lt;span style="background-color: transparent; color: black; font-family: Arial; font-size: 15px; font-style: normal; font-variant: normal; font-weight: normal; text-decoration: none; vertical-align: baseline; white-space: pre-wrap;"&gt;Hmmm, what else could I do for connectivity? &amp;nbsp;Maybe I could go really nostalgic and get something running over the serial port?&lt;/span&gt;&lt;br /&gt;&lt;span style="background-color: transparent; color: black; font-family: Arial; font-size: 15px; font-style: normal; font-variant: normal; font-weight: normal; text-decoration: none; vertical-align: baseline; white-space: pre-wrap;"&gt;&lt;/span&gt;&lt;br /&gt;&lt;span style="background-color: transparent; color: black; font-family: Arial; font-size: 15px; font-style: normal; font-variant: normal; font-weight: normal; text-decoration: none; vertical-align: baseline; white-space: pre-wrap;"&gt;I configured VirtualBox to emulate a 16550 serial port as COM1. &amp;nbsp;I setup VirtualBox to point the other end of the emulated serial port to a local pipe. &amp;nbsp;I figured that if I could somehow run pppd on both sides of this serial port (host and guest) and configure NAT I could get this thing on the internet.&lt;/span&gt;&lt;br /&gt;&lt;span style="background-color: transparent; color: black; font-family: Arial; font-size: 15px; font-style: normal; font-variant: normal; font-weight: normal; text-decoration: none; vertical-align: baseline; white-space: pre-wrap;"&gt;Here’s how I did it:&lt;/span&gt;&lt;br /&gt;&lt;span style="background-color: transparent; color: black; font-family: Arial; font-size: 15px; font-style: normal; font-variant: normal; font-weight: normal; text-decoration: none; vertical-align: baseline; white-space: pre-wrap;"&gt;&lt;/span&gt;&lt;br /&gt;&lt;span style="background-color: transparent; color: black; font-family: Arial; font-size: 15px; font-style: normal; font-variant: normal; font-weight: normal; text-decoration: none; vertical-align: baseline; white-space: pre-wrap;"&gt;1) &amp;nbsp;Launch socat to convert the unix domain socket provided by VirtualBox to a standard Linux tty so pppd can run on it:&lt;/span&gt;&lt;br /&gt;&lt;span style="background-color: transparent; color: black; font-family: Arial; font-size: 15px; font-style: normal; font-variant: normal; font-weight: normal; text-decoration: none; vertical-align: baseline; white-space: pre-wrap;"&gt;&lt;/span&gt;&lt;br /&gt;&lt;span style="background-color: transparent; color: black; font-family: Arial; font-size: 15px; font-style: normal; font-variant: normal; font-weight: normal; text-decoration: none; vertical-align: baseline; white-space: pre-wrap;"&gt;(on host)&lt;/span&gt;&lt;br /&gt;&lt;span style="background-color: transparent; color: black; font-family: Arial; font-size: 15px; font-style: normal; font-variant: normal; font-weight: normal; text-decoration: none; vertical-align: baseline; white-space: pre-wrap;"&gt;socat UNIX-CONNECT:[com1] PTY,link=[vmodem0],raw,echo=0,waitslave&lt;/span&gt;&lt;br /&gt;&lt;span style="background-color: transparent; color: black; font-family: Arial; font-size: 15px; font-style: normal; font-variant: normal; font-weight: normal; text-decoration: none; vertical-align: baseline; white-space: pre-wrap;"&gt;&lt;/span&gt;&lt;br /&gt;&lt;span style="background-color: transparent; color: black; font-family: Arial; font-size: 15px; font-style: normal; font-variant: normal; font-weight: normal; text-decoration: none; vertical-align: baseline; white-space: pre-wrap;"&gt;Where [com1] is the path to your VirtualBox socket and [vmodem0] is the path to your (new) tty.&lt;/span&gt;&lt;br /&gt;&lt;span style="background-color: transparent; color: black; font-family: Arial; font-size: 15px; font-style: normal; font-variant: normal; font-weight: normal; text-decoration: none; vertical-align: baseline; white-space: pre-wrap;"&gt;&lt;/span&gt;&lt;br /&gt;&lt;span style="background-color: transparent; color: black; font-family: Arial; font-size: 15px; font-style: normal; font-variant: normal; font-weight: normal; text-decoration: none; vertical-align: baseline; white-space: pre-wrap;"&gt;2) &amp;nbsp;Launch pppd on the new tty:&lt;/span&gt;&lt;br /&gt;&lt;span style="background-color: transparent; color: black; font-family: Arial; font-size: 15px; font-style: normal; font-variant: normal; font-weight: normal; text-decoration: none; vertical-align: baseline; white-space: pre-wrap;"&gt;&lt;/span&gt;&lt;br /&gt;&lt;span style="background-color: transparent; color: black; font-family: Arial; font-size: 15px; font-style: normal; font-variant: normal; font-weight: normal; text-decoration: none; vertical-align: baseline; white-space: pre-wrap;"&gt;(on host)&lt;/span&gt;&lt;br /&gt;&lt;span style="background-color: transparent; color: black; font-family: Arial; font-size: 15px; font-style: normal; font-variant: normal; font-weight: normal; text-decoration: none; vertical-align: baseline; white-space: pre-wrap;"&gt;pppd [vmodem0] 57600 192.168.100.1:192.168.100.2 nodetach local&lt;/span&gt;&lt;br /&gt;&lt;span style="background-color: transparent; color: black; font-family: Arial; font-size: 15px; font-style: normal; font-variant: normal; font-weight: normal; text-decoration: none; vertical-align: baseline; white-space: pre-wrap;"&gt;&lt;/span&gt;&lt;br /&gt;&lt;span style="background-color: transparent; color: black; font-family: Arial; font-size: 15px; font-style: normal; font-variant: normal; font-weight: normal; text-decoration: none; vertical-align: baseline; white-space: pre-wrap;"&gt;Once again where [vmodem0] is the path to your new socat tty. &amp;nbsp;Make sure that the IP addresses provided for each end of the PPP link don’t conflict with any local IP addresses.&lt;/span&gt;&lt;br /&gt;&lt;span style="background-color: transparent; color: black; font-family: Arial; font-size: 15px; font-style: normal; font-variant: normal; font-weight: normal; text-decoration: none; vertical-align: baseline; white-space: pre-wrap;"&gt;&lt;/span&gt;&lt;br /&gt;&lt;span style="background-color: transparent; color: black; font-family: Arial; font-size: 15px; font-style: normal; font-variant: normal; font-weight: normal; text-decoration: none; vertical-align: baseline; white-space: pre-wrap;"&gt;3) &amp;nbsp;Setup kernel iptables on the host:&lt;/span&gt;&lt;br /&gt;&lt;span style="background-color: transparent; color: black; font-family: Arial; font-size: 15px; font-style: normal; font-variant: normal; font-weight: normal; text-decoration: none; vertical-align: baseline; white-space: pre-wrap;"&gt;&lt;/span&gt;&lt;br /&gt;&lt;span style="background-color: transparent; color: black; font-family: Arial; font-size: 15px; font-style: normal; font-variant: normal; font-weight: normal; text-decoration: none; vertical-align: baseline; white-space: pre-wrap;"&gt;(on host)&lt;/span&gt;&lt;br /&gt;&lt;span style="background-color: transparent; color: black; font-family: Arial; font-size: 15px; font-style: normal; font-variant: normal; font-weight: normal; text-decoration: none; vertical-align: baseline; white-space: pre-wrap;"&gt;echo 1 &amp;gt; /proc/sys/net/ipv4/ip_forward&lt;/span&gt;&lt;br /&gt;&lt;span style="background-color: transparent; color: black; font-family: Arial; font-size: 15px; font-style: normal; font-variant: normal; font-weight: normal; text-decoration: none; vertical-align: baseline; white-space: pre-wrap;"&gt;&lt;/span&gt;&lt;br /&gt;&lt;span style="background-color: transparent; color: black; font-family: Arial; font-size: 15px; font-style: normal; font-variant: normal; font-weight: normal; text-decoration: none; vertical-align: baseline; white-space: pre-wrap;"&gt;iptables -t nat -A POSTROUTING -o eth0 -j MASQUERADE&lt;/span&gt;&lt;br /&gt;&lt;span style="background-color: transparent; color: black; font-family: Arial; font-size: 15px; font-style: normal; font-variant: normal; font-weight: normal; text-decoration: none; vertical-align: baseline; white-space: pre-wrap;"&gt;iptables -A FORWARD -i eth0 -o ppp0 -m state --state RELATED,ESTABLISHED -j ACCEPT&lt;/span&gt;&lt;br /&gt;&lt;span style="background-color: transparent; color: black; font-family: Arial; font-size: 15px; font-style: normal; font-variant: normal; font-weight: normal; text-decoration: none; vertical-align: baseline; white-space: pre-wrap;"&gt;iptables -A FORWARD -i ppp0 -o eth0 -j ACCEPT&lt;/span&gt;&lt;br /&gt;&lt;span style="background-color: transparent; color: black; font-family: Arial; font-size: 15px; font-style: normal; font-variant: normal; font-weight: normal; text-decoration: none; vertical-align: baseline; white-space: pre-wrap;"&gt;&lt;br class="kix-line-break" /&gt;4) &amp;nbsp;Connect the virtual machine to the host:&lt;/span&gt;&lt;br /&gt;&lt;span style="background-color: transparent; color: black; font-family: Arial; font-size: 15px; font-style: normal; font-variant: normal; font-weight: normal; text-decoration: none; vertical-align: baseline; white-space: pre-wrap;"&gt;&lt;/span&gt;&lt;br /&gt;&lt;span style="background-color: transparent; color: black; font-family: Arial; font-size: 15px; font-style: normal; font-variant: normal; font-weight: normal; text-decoration: none; vertical-align: baseline; white-space: pre-wrap;"&gt;(on guest)&lt;/span&gt;&lt;br /&gt;&lt;span style="background-color: transparent; color: black; font-family: Arial; font-size: 15px; font-style: normal; font-variant: normal; font-weight: normal; text-decoration: none; vertical-align: baseline; white-space: pre-wrap;"&gt;pppd /dev/ttyS0 57600 defaultroute passive&lt;/span&gt;&lt;br /&gt;&lt;span style="background-color: transparent; color: black; font-family: Arial; font-size: 15px; font-style: normal; font-variant: normal; font-weight: normal; text-decoration: none; vertical-align: baseline; white-space: pre-wrap;"&gt;&lt;/span&gt;&lt;br /&gt;&lt;span style="background-color: transparent; color: black; font-family: Arial; font-size: 15px; font-style: normal; font-variant: normal; font-weight: normal; text-decoration: none; vertical-align: baseline; white-space: pre-wrap;"&gt;Sure enough, here’s what I saw on the host:&lt;/span&gt;&lt;br /&gt;&lt;span style="background-color: transparent; color: black; font-family: Arial; font-size: 15px; font-style: normal; font-variant: normal; font-weight: normal; text-decoration: none; vertical-align: baseline; white-space: pre-wrap;"&gt;&lt;/span&gt;&lt;br /&gt;&lt;span style="background-color: transparent; color: black; font-family: Arial; font-size: 15px; font-style: normal; font-variant: normal; font-weight: normal; text-decoration: none; vertical-align: baseline; white-space: pre-wrap;"&gt;Using interface ppp0&lt;/span&gt;&lt;br /&gt;&lt;span style="background-color: transparent; color: black; font-family: Arial; font-size: 15px; font-style: normal; font-variant: normal; font-weight: normal; text-decoration: none; vertical-align: baseline; white-space: pre-wrap;"&gt;Connect: ppp0 &amp;lt;--&amp;gt; /home/kris/projects/linux_universe/vmodem0&lt;/span&gt;&lt;br /&gt;&lt;span style="background-color: transparent; color: black; font-family: Arial; font-size: 15px; font-style: normal; font-variant: normal; font-weight: normal; text-decoration: none; vertical-align: baseline; white-space: pre-wrap;"&gt;local &amp;nbsp;IP address 192.168.100.1&lt;/span&gt;&lt;br /&gt;&lt;span style="background-color: transparent; color: black; font-family: Arial; font-size: 15px; font-style: normal; font-variant: normal; font-weight: normal; text-decoration: none; vertical-align: baseline; white-space: pre-wrap;"&gt;remote IP address 192.168.100.2&lt;/span&gt;&lt;br /&gt;&lt;span style="background-color: transparent; color: black; font-family: Arial; font-size: 15px; font-style: normal; font-variant: normal; font-weight: normal; text-decoration: none; vertical-align: baseline; white-space: pre-wrap;"&gt;&lt;/span&gt;&lt;br /&gt;&lt;span style="background-color: transparent; color: black; font-family: Arial; font-size: 15px; font-style: normal; font-variant: normal; font-weight: normal; text-decoration: none; vertical-align: baseline; white-space: pre-wrap;"&gt;Boom! &amp;nbsp;1990s Linux, meet the 21st century!&lt;/span&gt;&lt;br /&gt;&lt;span style="background-color: transparent; color: black; font-family: Arial; font-size: 15px; font-style: normal; font-variant: normal; font-weight: normal; text-decoration: none; vertical-align: baseline; white-space: pre-wrap;"&gt;&lt;/span&gt;&lt;br /&gt;&lt;span style="background-color: transparent; color: black; font-family: Arial; font-size: 15px; font-style: normal; font-variant: normal; font-weight: normal; text-decoration: none; vertical-align: baseline; white-space: pre-wrap;"&gt;Once I had networking up and running things really took off. &amp;nbsp;I noticed all of the services running by default on my old Linux host (portmap, yp, apache, telnet, echo, chargen, sendmail, wu-ftpd, etc). &amp;nbsp;Remember the 90s when the internet wasn’t such a hostile place!?!&lt;/span&gt;&lt;br /&gt;&lt;span style="background-color: transparent; color: black; font-family: Arial; font-size: 15px; font-style: normal; font-variant: normal; font-weight: normal; text-decoration: none; vertical-align: baseline; white-space: pre-wrap;"&gt;&lt;/span&gt;&lt;br /&gt;&lt;span style="background-color: transparent; color: black; font-family: Arial; font-size: 15px; font-style: normal; font-variant: normal; font-weight: normal; text-decoration: none; vertical-align: baseline; white-space: pre-wrap;"&gt;Here’s some fun command output from my “new” host old_linux:&lt;/span&gt;&lt;br /&gt;&lt;span style="background-color: transparent; color: black; font-family: Arial; font-size: 15px; font-style: normal; font-variant: normal; font-weight: normal; text-decoration: none; vertical-align: baseline; white-space: pre-wrap;"&gt;&lt;/span&gt;&lt;br /&gt;&lt;span style="background-color: transparent; color: black; font-family: Arial; font-size: 15px; font-style: normal; font-variant: normal; font-weight: normal; text-decoration: none; vertical-align: baseline; white-space: pre-wrap;"&gt;root@old_linux:~ # uname -a&lt;/span&gt;&lt;br /&gt;&lt;span style="background-color: transparent; color: black; font-family: Arial; font-size: 15px; font-style: normal; font-variant: normal; font-weight: normal; text-decoration: none; vertical-align: baseline; white-space: pre-wrap;"&gt;Linux old_linux 2.0.25 Unifix-2.0 i686&lt;/span&gt;&lt;br /&gt;&lt;span style="background-color: transparent; color: black; font-family: Arial; font-size: 15px; font-style: normal; font-variant: normal; font-weight: normal; text-decoration: none; vertical-align: baseline; white-space: pre-wrap;"&gt;&lt;/span&gt;&lt;br /&gt;&lt;span style="background-color: transparent; color: black; font-family: Arial; font-size: 15px; font-style: normal; font-variant: normal; font-weight: normal; text-decoration: none; vertical-align: baseline; white-space: pre-wrap;"&gt;root@old_linux:~ # ping -c 5 192.168.100.1&lt;/span&gt;&lt;br /&gt;&lt;span style="background-color: transparent; color: black; font-family: Arial; font-size: 15px; font-style: normal; font-variant: normal; font-weight: normal; text-decoration: none; vertical-align: baseline; white-space: pre-wrap;"&gt;PING 192.168.100.1 (192.168.100.1): 56 data bytes&lt;/span&gt;&lt;br /&gt;&lt;span style="background-color: transparent; color: black; font-family: Arial; font-size: 15px; font-style: normal; font-variant: normal; font-weight: normal; text-decoration: none; vertical-align: baseline; white-space: pre-wrap;"&gt;64 bytes from 192.168.100.1: icmp_seq=0 ttl=64 time=15.1 ms&lt;/span&gt;&lt;br /&gt;&lt;span style="background-color: transparent; color: black; font-family: Arial; font-size: 15px; font-style: normal; font-variant: normal; font-weight: normal; text-decoration: none; vertical-align: baseline; white-space: pre-wrap;"&gt;64 bytes from 192.168.100.1: icmp_seq=1 ttl=64 time=19.9 ms&lt;/span&gt;&lt;br /&gt;&lt;span style="background-color: transparent; color: black; font-family: Arial; font-size: 15px; font-style: normal; font-variant: normal; font-weight: normal; text-decoration: none; vertical-align: baseline; white-space: pre-wrap;"&gt;64 bytes from 192.168.100.1: icmp_seq=2 ttl=64 time=19.9 ms&lt;/span&gt;&lt;br /&gt;&lt;span style="background-color: transparent; color: black; font-family: Arial; font-size: 15px; font-style: normal; font-variant: normal; font-weight: normal; text-decoration: none; vertical-align: baseline; white-space: pre-wrap;"&gt;64 bytes from 192.168.100.1: icmp_seq=3 ttl=64 time=19.9 ms&lt;/span&gt;&lt;br /&gt;&lt;span style="background-color: transparent; color: black; font-family: Arial; font-size: 15px; font-style: normal; font-variant: normal; font-weight: normal; text-decoration: none; vertical-align: baseline; white-space: pre-wrap;"&gt;64 bytes from 192.168.100.1: icmp_seq=4 ttl=64 time=19.9 ms&lt;/span&gt;&lt;br /&gt;&lt;span style="background-color: transparent; color: black; font-family: Arial; font-size: 15px; font-style: normal; font-variant: normal; font-weight: normal; text-decoration: none; vertical-align: baseline; white-space: pre-wrap;"&gt;&lt;/span&gt;&lt;br /&gt;&lt;span style="background-color: transparent; color: black; font-family: Arial; font-size: 15px; font-style: normal; font-variant: normal; font-weight: normal; text-decoration: none; vertical-align: baseline; white-space: pre-wrap;"&gt;--- 192.168.100.1 ping statistics ---&lt;/span&gt;&lt;br /&gt;&lt;span style="background-color: transparent; color: black; font-family: Arial; font-size: 15px; font-style: normal; font-variant: normal; font-weight: normal; text-decoration: none; vertical-align: baseline; white-space: pre-wrap;"&gt;5 packets transmitted, 5 packets received, 0% packet loss&lt;/span&gt;&lt;br /&gt;&lt;span style="background-color: transparent; color: black; font-family: Arial; font-size: 15px; font-style: normal; font-variant: normal; font-weight: normal; text-decoration: none; vertical-align: baseline; white-space: pre-wrap;"&gt;round-trip min/avg/max = 15.1/18.9/19.9 ms&lt;/span&gt;&lt;br /&gt;&lt;span style="background-color: transparent; color: black; font-family: Arial; font-size: 15px; font-style: normal; font-variant: normal; font-weight: normal; text-decoration: none; vertical-align: baseline; white-space: pre-wrap;"&gt;root@old_linux:~ #&lt;/span&gt;&lt;br /&gt;&lt;span style="background-color: transparent; color: black; font-family: Arial; font-size: 15px; font-style: normal; font-variant: normal; font-weight: normal; text-decoration: none; vertical-align: baseline; white-space: pre-wrap;"&gt;&lt;/span&gt;&lt;br /&gt;&lt;span style="background-color: transparent; color: black; font-family: Arial; font-size: 15px; font-style: normal; font-variant: normal; font-weight: normal; text-decoration: none; vertical-align: baseline; white-space: pre-wrap;"&gt;20ms of latency on the same physical machine (pppd -&amp;gt; VirtualBox -&amp;gt; socat -&amp;gt; pppd)!&lt;/span&gt;&lt;br /&gt;&lt;span style="background-color: transparent; color: black; font-family: Arial; font-size: 15px; font-style: normal; font-variant: normal; font-weight: normal; text-decoration: none; vertical-align: baseline; white-space: pre-wrap;"&gt;&lt;/span&gt;&lt;br /&gt;&lt;span style="background-color: transparent; color: black; font-family: Arial; font-size: 15px; font-style: normal; font-variant: normal; font-weight: normal; text-decoration: none; vertical-align: baseline; white-space: pre-wrap;"&gt;root@old_linux:~ # ping -c 5 www.google.com&lt;/span&gt;&lt;br /&gt;&lt;span style="background-color: transparent; color: black; font-family: Arial; font-size: 15px; font-style: normal; font-variant: normal; font-weight: normal; text-decoration: none; vertical-align: baseline; white-space: pre-wrap;"&gt;PING www.l.google.com (74.125.139.104): 56 data bytes&lt;/span&gt;&lt;br /&gt;&lt;span style="background-color: transparent; color: black; font-family: Arial; font-size: 15px; font-style: normal; font-variant: normal; font-weight: normal; text-decoration: none; vertical-align: baseline; white-space: pre-wrap;"&gt;64 bytes from 74.125.139.104: icmp_seq=0 ttl=45 time=59.5 ms&lt;/span&gt;&lt;br /&gt;&lt;span style="background-color: transparent; color: black; font-family: Arial; font-size: 15px; font-style: normal; font-variant: normal; font-weight: normal; text-decoration: none; vertical-align: baseline; white-space: pre-wrap;"&gt;64 bytes from 74.125.139.104: icmp_seq=1 ttl=45 time=49.9 ms&lt;/span&gt;&lt;br /&gt;&lt;span style="background-color: transparent; color: black; font-family: Arial; font-size: 15px; font-style: normal; font-variant: normal; font-weight: normal; text-decoration: none; vertical-align: baseline; white-space: pre-wrap;"&gt;64 bytes from 74.125.139.104: icmp_seq=2 ttl=45 time=49.9 ms&lt;/span&gt;&lt;br /&gt;&lt;span style="background-color: transparent; color: black; font-family: Arial; font-size: 15px; font-style: normal; font-variant: normal; font-weight: normal; text-decoration: none; vertical-align: baseline; white-space: pre-wrap;"&gt;64 bytes from 74.125.139.104: icmp_seq=3 ttl=45 time=50.5 ms&lt;/span&gt;&lt;br /&gt;&lt;span style="background-color: transparent; color: black; font-family: Arial; font-size: 15px; font-style: normal; font-variant: normal; font-weight: normal; text-decoration: none; vertical-align: baseline; white-space: pre-wrap;"&gt;64 bytes from 74.125.139.104: icmp_seq=4 ttl=45 time=69.9 ms&lt;/span&gt;&lt;br /&gt;&lt;span style="background-color: transparent; color: black; font-family: Arial; font-size: 15px; font-style: normal; font-variant: normal; font-weight: normal; text-decoration: none; vertical-align: baseline; white-space: pre-wrap;"&gt;&lt;/span&gt;&lt;br /&gt;&lt;span style="background-color: transparent; color: black; font-family: Arial; font-size: 15px; font-style: normal; font-variant: normal; font-weight: normal; text-decoration: none; vertical-align: baseline; white-space: pre-wrap;"&gt;--- www.l.google.com ping statistics ---&lt;/span&gt;&lt;br /&gt;&lt;span style="background-color: transparent; color: black; font-family: Arial; font-size: 15px; font-style: normal; font-variant: normal; font-weight: normal; text-decoration: none; vertical-align: baseline; white-space: pre-wrap;"&gt;5 packets transmitted, 5 packets received, 0% packet loss&lt;/span&gt;&lt;br /&gt;&lt;span style="background-color: transparent; color: black; font-family: Arial; font-size: 15px; font-style: normal; font-variant: normal; font-weight: normal; text-decoration: none; vertical-align: baseline; white-space: pre-wrap;"&gt;round-trip min/avg/max = 49.9/55.9/69.9 ms&lt;/span&gt;&lt;br /&gt;&lt;span style="background-color: transparent; color: black; font-family: Arial; font-size: 15px; font-style: normal; font-variant: normal; font-weight: normal; text-decoration: none; vertical-align: baseline; white-space: pre-wrap;"&gt;&lt;/span&gt;&lt;br /&gt;&lt;span style="background-color: transparent; color: black; font-family: Arial; font-size: 15px; font-style: normal; font-variant: normal; font-weight: normal; text-decoration: none; vertical-align: baseline; white-space: pre-wrap;"&gt;root@old_linux:~ # gcc -v&lt;/span&gt;&lt;br /&gt;&lt;span style="background-color: transparent; color: black; font-family: Arial; font-size: 15px; font-style: normal; font-variant: normal; font-weight: normal; text-decoration: none; vertical-align: baseline; white-space: pre-wrap;"&gt;Reading specs from /usr/lib/gcc-lib/i486-unknown-linux/2.7.2.1/specs&lt;/span&gt;&lt;br /&gt;&lt;span style="background-color: transparent; color: black; font-family: Arial; font-size: 15px; font-style: normal; font-variant: normal; font-weight: normal; text-decoration: none; vertical-align: baseline; white-space: pre-wrap;"&gt;gcc version 2.7.2.1&lt;/span&gt;&lt;br /&gt;&lt;span style="background-color: transparent; color: black; font-family: Arial; font-size: 15px; font-style: normal; font-variant: normal; font-weight: normal; text-decoration: none; vertical-align: baseline; white-space: pre-wrap;"&gt;&lt;/span&gt;&lt;br /&gt;&lt;span style="background-color: transparent; color: black; font-family: Arial; font-size: 15px; font-style: normal; font-variant: normal; font-weight: normal; text-decoration: none; vertical-align: baseline; white-space: pre-wrap;"&gt;root@old_linux:~ # httpd -v&lt;/span&gt;&lt;br /&gt;&lt;span style="background-color: transparent; color: black; font-family: Arial; font-size: 15px; font-style: normal; font-variant: normal; font-weight: normal; text-decoration: none; vertical-align: baseline; white-space: pre-wrap;"&gt;Server version Apache/1.1.1.&lt;/span&gt;&lt;br /&gt;&lt;span style="background-color: transparent; color: black; font-family: Arial; font-size: 15px; font-style: normal; font-variant: normal; font-weight: normal; text-decoration: none; vertical-align: baseline; white-space: pre-wrap;"&gt;&lt;/span&gt;&lt;br /&gt;&lt;span style="background-color: transparent; color: black; font-family: Arial; font-size: 15px; font-style: normal; font-variant: normal; font-weight: normal; text-decoration: none; vertical-align: baseline; white-space: pre-wrap;"&gt;root@old_linux:~ # ssh -v&lt;/span&gt;&lt;br /&gt;&lt;span style="background-color: transparent; color: black; font-family: Arial; font-size: 15px; font-style: normal; font-variant: normal; font-weight: normal; text-decoration: none; vertical-align: baseline; white-space: pre-wrap;"&gt;SSH Version 1.2.14 [i486-unknown-linux], protocol version 1.4.&lt;/span&gt;&lt;br /&gt;&lt;span style="background-color: transparent; color: black; font-family: Arial; font-size: 15px; font-style: normal; font-variant: normal; font-weight: normal; text-decoration: none; vertical-align: baseline; white-space: pre-wrap;"&gt;Standard version. &amp;nbsp;Does not use RSAREF.&lt;/span&gt;&lt;br /&gt;&lt;span style="background-color: transparent; color: black; font-family: Arial; font-size: 15px; font-style: normal; font-variant: normal; font-weight: normal; text-decoration: none; vertical-align: baseline; white-space: pre-wrap;"&gt;&lt;/span&gt;&lt;br /&gt;&lt;span style="background-color: transparent; color: black; font-family: Arial; font-size: 15px; font-style: normal; font-variant: normal; font-weight: normal; text-decoration: none; vertical-align: baseline; white-space: pre-wrap;"&gt;Pre-iptables. &amp;nbsp;Pre-ipchains. &amp;nbsp;IPFWADM!&lt;/span&gt;&lt;br /&gt;&lt;span style="background-color: transparent; color: black; font-family: Arial; font-size: 15px; font-style: normal; font-variant: normal; font-weight: normal; text-decoration: none; vertical-align: baseline; white-space: pre-wrap;"&gt;&lt;/span&gt;&lt;br /&gt;&lt;span style="background-color: transparent; color: black; font-family: Arial; font-size: 15px; font-style: normal; font-variant: normal; font-weight: normal; text-decoration: none; vertical-align: baseline; white-space: pre-wrap;"&gt;root@old_linux:~ # ipfwadm -h&lt;/span&gt;&lt;br /&gt;&lt;span style="background-color: transparent; color: black; font-family: Arial; font-size: 15px; font-style: normal; font-variant: normal; font-weight: normal; text-decoration: none; vertical-align: baseline; white-space: pre-wrap;"&gt;ipfwadm 2.3.0, 1996/07/30&lt;/span&gt;&lt;br /&gt;&lt;span style="background-color: transparent; color: black; font-family: Arial; font-size: 15px; font-style: normal; font-variant: normal; font-weight: normal; text-decoration: none; vertical-align: baseline; white-space: pre-wrap;"&gt;&lt;/span&gt;&lt;br /&gt;&lt;span style="background-color: transparent; color: black; font-family: Arial; font-size: 15px; font-style: normal; font-variant: normal; font-weight: normal; text-decoration: none; vertical-align: baseline; white-space: pre-wrap;"&gt;root@old_linux:/usr/src/linux-2.0.25 # time make&lt;/span&gt;&lt;br /&gt;&lt;span style="background-color: transparent; color: black; font-family: Arial; font-size: 15px; font-style: normal; font-variant: normal; font-weight: normal; text-decoration: none; vertical-align: baseline; white-space: pre-wrap;"&gt;&lt;/span&gt;&lt;br /&gt;&lt;span style="background-color: transparent; color: black; font-family: Arial; font-size: 15px; font-style: normal; font-variant: normal; font-weight: normal; text-decoration: none; vertical-align: baseline; white-space: pre-wrap;"&gt;[trimmed output]&lt;/span&gt;&lt;br /&gt;&lt;span style="background-color: transparent; color: black; font-family: Arial; font-size: 15px; font-style: normal; font-variant: normal; font-weight: normal; text-decoration: none; vertical-align: baseline; white-space: pre-wrap;"&gt;&lt;/span&gt;&lt;br /&gt;&lt;span style="background-color: transparent; color: black; font-family: Arial; font-size: 15px; font-style: normal; font-variant: normal; font-weight: normal; text-decoration: none; vertical-align: baseline; white-space: pre-wrap;"&gt;The new kernel is in file arch/i386/boot/bzImage; now install it as vmlinuz&lt;/span&gt;&lt;br /&gt;&lt;span style="background-color: transparent; color: black; font-family: Arial; font-size: 15px; font-style: normal; font-variant: normal; font-weight: normal; text-decoration: none; vertical-align: baseline; white-space: pre-wrap;"&gt;A name list of the kernel is in vmlinux.map; you may install it as vmlinux&lt;/span&gt;&lt;br /&gt;&lt;span style="background-color: transparent; color: black; font-family: Arial; font-size: 15px; font-style: normal; font-variant: normal; font-weight: normal; text-decoration: none; vertical-align: baseline; white-space: pre-wrap;"&gt;9.86user 11.74system 0:22.78elapsed 94%CPU (0avgtext+0avgdata 0maxresident)k&lt;/span&gt;&lt;br /&gt;&lt;span style="background-color: transparent; color: black; font-family: Arial; font-size: 15px; font-style: normal; font-variant: normal; font-weight: normal; text-decoration: none; vertical-align: baseline; white-space: pre-wrap;"&gt;0inputs+0outputs (0major+0minor)pagefaults 0swaps&lt;/span&gt;&lt;br /&gt;&lt;span style="background-color: transparent; color: black; font-family: Arial; font-size: 15px; font-style: normal; font-variant: normal; font-weight: normal; text-decoration: none; vertical-align: baseline; white-space: pre-wrap;"&gt;root@old_linux:/usr/src/linux-2.0.25 #&lt;/span&gt;&lt;br /&gt;&lt;span style="background-color: transparent; color: black; font-family: Arial; font-size: 15px; font-style: normal; font-variant: normal; font-weight: normal; text-decoration: none; vertical-align: baseline; white-space: pre-wrap;"&gt;&lt;/span&gt;&lt;br /&gt;&lt;span style="background-color: transparent; color: black; font-family: Arial; font-size: 15px; font-style: normal; font-variant: normal; font-weight: normal; text-decoration: none; vertical-align: baseline; white-space: pre-wrap;"&gt;23 seconds to compile the kernel!&lt;/span&gt;&lt;br /&gt;&lt;span style="background-color: transparent; color: black; font-family: Arial; font-size: 15px; font-style: normal; font-variant: normal; font-weight: normal; text-decoration: none; vertical-align: baseline; white-space: pre-wrap;"&gt;&lt;/span&gt;&lt;br /&gt;&lt;span style="background-color: transparent; color: black; font-family: Arial; font-size: 15px; font-style: normal; font-variant: normal; font-weight: normal; text-decoration: none; vertical-align: baseline; white-space: pre-wrap;"&gt;Ok, but what about the modules?&lt;/span&gt;&lt;br /&gt;&lt;span style="background-color: transparent; color: black; font-family: Arial; font-size: 15px; font-style: normal; font-variant: normal; font-weight: normal; text-decoration: none; vertical-align: baseline; white-space: pre-wrap;"&gt;&lt;/span&gt;&lt;br /&gt;&lt;span style="background-color: transparent; color: black; font-family: Arial; font-size: 15px; font-style: normal; font-variant: normal; font-weight: normal; text-decoration: none; vertical-align: baseline; white-space: pre-wrap;"&gt;make[1]: Leaving directory `/usr/src/linux-2.0.25/arch/i386/math-emu'&lt;/span&gt;&lt;br /&gt;&lt;span style="background-color: transparent; color: black; font-family: Arial; font-size: 15px; font-style: normal; font-variant: normal; font-weight: normal; text-decoration: none; vertical-align: baseline; white-space: pre-wrap;"&gt;8.80user 7.42system 0:16.80elapsed 96%CPU (0avgtext+0avgdata 0maxresident)k&lt;/span&gt;&lt;br /&gt;&lt;span style="background-color: transparent; color: black; font-family: Arial; font-size: 15px; font-style: normal; font-variant: normal; font-weight: normal; text-decoration: none; vertical-align: baseline; white-space: pre-wrap;"&gt;0inputs+0outputs (0major+0minor)pagefaults 0swaps&lt;/span&gt;&lt;br /&gt;&lt;span style="background-color: transparent; color: black; font-family: Arial; font-size: 15px; font-style: normal; font-variant: normal; font-weight: normal; text-decoration: none; vertical-align: baseline; white-space: pre-wrap;"&gt;root@old_linux:/usr/src/linux-2.0.25 #&lt;/span&gt;&lt;br /&gt;&lt;span style="background-color: transparent; color: black; font-family: Arial; font-size: 15px; font-style: normal; font-variant: normal; font-weight: normal; text-decoration: none; vertical-align: baseline; white-space: pre-wrap;"&gt;&lt;/span&gt;&lt;br /&gt;&lt;span style="background-color: transparent; color: black; font-family: Arial; font-size: 15px; font-style: normal; font-variant: normal; font-weight: normal; text-decoration: none; vertical-align: baseline; white-space: pre-wrap;"&gt;16 seconds to compile the modules!&lt;/span&gt;&lt;br /&gt;&lt;span style="background-color: transparent; color: black; font-family: Arial; font-size: 15px; font-style: normal; font-variant: normal; font-weight: normal; text-decoration: none; vertical-align: baseline; white-space: pre-wrap;"&gt;&lt;/span&gt;&lt;br /&gt;&lt;span style="background-color: transparent; color: black; font-family: Arial; font-size: 15px; font-style: normal; font-variant: normal; font-weight: normal; text-decoration: none; vertical-align: baseline; white-space: pre-wrap;"&gt;I have to admit I’m fascinated with this distro and the state of Linux as I was first introduced to it. &amp;nbsp;Of course some of the memories have faded over time but more than anything it’s amazing to see how far we’ve come...&lt;/span&gt;&lt;br /&gt;&lt;span style="background-color: transparent; color: black; font-family: Arial; font-size: 15px; font-style: normal; font-variant: normal; font-weight: normal; text-decoration: none; vertical-align: baseline; white-space: pre-wrap;"&gt;&lt;/span&gt;&lt;br /&gt;&lt;span style="background-color: transparent; color: black; font-family: Arial; font-size: 15px; font-style: normal; font-variant: normal; font-weight: normal; text-decoration: none; vertical-align: baseline; white-space: pre-wrap;"&gt;1997:&lt;/span&gt;&lt;br /&gt;&lt;span style="background-color: transparent; color: black; font-family: Arial; font-size: 15px; font-style: normal; font-variant: normal; font-weight: normal; text-decoration: none; vertical-align: baseline; white-space: pre-wrap;"&gt;&lt;/span&gt;&lt;br /&gt;&lt;ul style="margin-bottom: 0pt; margin-top: 0pt;"&gt;
&lt;li style="background-color: transparent; color: black; font-family: Arial; font-size: 15px; font-style: normal; font-variant: normal; font-weight: normal; list-style-type: disc; text-decoration: none; vertical-align: baseline;"&gt;&lt;span style="background-color: transparent; color: black; font-family: Arial; font-size: 15px; font-style: normal; font-variant: normal; font-weight: normal; text-decoration: none; vertical-align: baseline; white-space: pre-wrap;"&gt;Linux 2.0.25&lt;/span&gt;&lt;/li&gt;
&lt;li style="background-color: transparent; color: black; font-family: Arial; font-size: 15px; font-style: normal; font-variant: normal; font-weight: normal; list-style-type: disc; text-decoration: none; vertical-align: baseline;"&gt;&lt;span style="background-color: transparent; color: black; font-family: Arial; font-size: 15px; font-style: normal; font-variant: normal; font-weight: normal; text-decoration: none; vertical-align: baseline; white-space: pre-wrap;"&gt;Original Pentium at 100MHz&lt;/span&gt;&lt;/li&gt;
&lt;li style="background-color: transparent; color: black; font-family: Arial; font-size: 15px; font-style: normal; font-variant: normal; font-weight: normal; list-style-type: disc; text-decoration: none; vertical-align: baseline;"&gt;&lt;span style="background-color: transparent; color: black; font-family: Arial; font-size: 15px; font-style: normal; font-variant: normal; font-weight: normal; text-decoration: none; vertical-align: baseline; white-space: pre-wrap;"&gt;16MB RAM&lt;/span&gt;&lt;/li&gt;
&lt;li style="background-color: transparent; color: black; font-family: Arial; font-size: 15px; font-style: normal; font-variant: normal; font-weight: normal; list-style-type: disc; text-decoration: none; vertical-align: baseline;"&gt;&lt;span style="background-color: transparent; color: black; font-family: Arial; font-size: 15px; font-style: normal; font-variant: normal; font-weight: normal; text-decoration: none; vertical-align: baseline; white-space: pre-wrap;"&gt;1GB hard drive&lt;/span&gt;&lt;/li&gt;
&lt;li style="background-color: transparent; color: black; font-family: Arial; font-size: 15px; font-style: normal; font-variant: normal; font-weight: normal; list-style-type: disc; text-decoration: none; vertical-align: baseline;"&gt;&lt;span style="background-color: transparent; color: black; font-family: Arial; font-size: 15px; font-style: normal; font-variant: normal; font-weight: normal; text-decoration: none; vertical-align: baseline; white-space: pre-wrap;"&gt;1MB VRAM&lt;/span&gt;&lt;/li&gt;
&lt;/ul&gt;
&lt;span style="background-color: transparent; color: black; font-family: Arial; font-size: 15px; font-style: normal; font-variant: normal; font-weight: normal; text-decoration: none; vertical-align: baseline; white-space: pre-wrap;"&gt;&lt;/span&gt;&lt;br /&gt;&lt;span style="background-color: transparent; color: black; font-family: Arial; font-size: 15px; font-style: normal; font-variant: normal; font-weight: normal; text-decoration: none; vertical-align: baseline; white-space: pre-wrap;"&gt;2012:&lt;/span&gt;&lt;br /&gt;&lt;span style="background-color: transparent; color: black; font-family: Arial; font-size: 15px; font-style: normal; font-variant: normal; font-weight: normal; text-decoration: none; vertical-align: baseline; white-space: pre-wrap;"&gt;&lt;/span&gt;&lt;br /&gt;&lt;ul style="margin-bottom: 0pt; margin-top: 0pt;"&gt;
&lt;li style="background-color: transparent; color: black; font-family: Arial; font-size: 15px; font-style: normal; font-variant: normal; font-weight: normal; list-style-type: disc; text-decoration: none; vertical-align: baseline;"&gt;&lt;span style="background-color: transparent; color: black; font-family: Arial; font-size: 15px; font-style: normal; font-variant: normal; font-weight: normal; text-decoration: none; vertical-align: baseline; white-space: pre-wrap;"&gt;Linux 3.2.0 (Ubuntu 12.04)&lt;/span&gt;&lt;/li&gt;
&lt;li style="background-color: transparent; color: black; font-family: Arial; font-size: 15px; font-style: normal; font-variant: normal; font-weight: normal; list-style-type: disc; text-decoration: none; vertical-align: baseline;"&gt;&lt;span style="background-color: transparent; color: black; font-family: Arial; font-size: 15px; font-style: normal; font-variant: normal; font-weight: normal; text-decoration: none; vertical-align: baseline; white-space: pre-wrap;"&gt;Quad-core Pentium Xeon at 2.27GHz&lt;/span&gt;&lt;/li&gt;
&lt;li style="background-color: transparent; color: black; font-family: Arial; font-size: 15px; font-style: normal; font-variant: normal; font-weight: normal; list-style-type: disc; text-decoration: none; vertical-align: baseline;"&gt;&lt;span style="background-color: transparent; color: black; font-family: Arial; font-size: 15px; font-style: normal; font-variant: normal; font-weight: normal; text-decoration: none; vertical-align: baseline; white-space: pre-wrap;"&gt;12GB RAM&lt;/span&gt;&lt;/li&gt;
&lt;li style="background-color: transparent; color: black; font-family: Arial; font-size: 15px; font-style: normal; font-variant: normal; font-weight: normal; list-style-type: disc; text-decoration: none; vertical-align: baseline;"&gt;&lt;span style="background-color: transparent; color: black; font-family: Arial; font-size: 15px; font-style: normal; font-variant: normal; font-weight: normal; text-decoration: none; vertical-align: baseline; white-space: pre-wrap;"&gt;1TB hard drive x2 (RAID 1)&lt;/span&gt;&lt;/li&gt;
&lt;li style="background-color: transparent; color: black; font-family: Arial; font-size: 15px; font-style: normal; font-variant: normal; font-weight: normal; list-style-type: disc; text-decoration: none; vertical-align: baseline;"&gt;&lt;span style="background-color: transparent; color: black; font-family: Arial; font-size: 15px; font-style: normal; font-variant: normal; font-weight: normal; text-decoration: none; vertical-align: baseline; white-space: pre-wrap;"&gt;1GB VRAM (dual 1080p displays)&lt;/span&gt;&lt;/li&gt;
&lt;/ul&gt;
&lt;span style="background-color: transparent; color: black; font-family: Arial; font-size: 15px; font-style: normal; font-variant: normal; font-weight: normal; text-decoration: none; vertical-align: baseline; white-space: pre-wrap;"&gt;&lt;/span&gt;&lt;br /&gt;&lt;span style="background-color: transparent; color: black; font-family: Arial; font-size: 15px; font-style: normal; font-variant: normal; font-weight: normal; text-decoration: none; vertical-align: baseline; white-space: pre-wrap;"&gt;...and this machine is pretty old at this point! &amp;nbsp;Needless to say with 256MB of RAM (double the maximum possible in my Aptiva) and even one emulated CPU Unifix 2.0 barely knows what to do with this new hardware (even if it isn’t real)!&lt;/span&gt;&lt;br /&gt;&lt;span style="background-color: transparent; color: black; font-family: Arial; font-size: 15px; font-style: normal; font-variant: normal; font-weight: normal; text-decoration: none; vertical-align: baseline; white-space: pre-wrap;"&gt;&lt;/span&gt;&lt;br /&gt;&lt;span style="background-color: transparent; color: black; font-family: Arial; font-size: 15px; font-style: normal; font-variant: normal; font-weight: normal; text-decoration: none; vertical-align: baseline; white-space: pre-wrap;"&gt;While I was never quite sure why I was doing any of this I can tell you that it was very fun to remember how all of this got started.  I remember my next distro being RedHat 5.2...&lt;/span&gt;&lt;/b&gt;&lt;img src="http://feeds.feedburner.com/~r/NotJustAstlinuxStuff/~4/CavivyUohtc" height="1" width="1"/&gt;</content><link rel="replies" type="application/atom+xml" href="http://blog.krisk.org/feeds/1765828330348062319/comments/default" title="Post Comments" /><link rel="replies" type="text/html" href="http://www.blogger.com/comment.g?blogID=9220932811142893057&amp;postID=1765828330348062319" title="4 Comments" /><link rel="edit" type="application/atom+xml" href="http://www.blogger.com/feeds/9220932811142893057/posts/default/1765828330348062319?v=2" /><link rel="self" type="application/atom+xml" href="http://www.blogger.com/feeds/9220932811142893057/posts/default/1765828330348062319?v=2" /><link rel="alternate" type="text/html" href="http://feedproxy.google.com/~r/NotJustAstlinuxStuff/~3/CavivyUohtc/my-linux-story.html" title="My Linux Story" /><author><name>Kristian Kielhofner</name><uri>http://www.blogger.com/profile/06405875458561185080</uri><email>noreply@blogger.com</email><gd:image rel="http://schemas.google.com/g/2005#thumbnail" width="23" height="32" src="http://4.bp.blogspot.com/-gr03qLpZIe8/Tp2gAW-nrvI/AAAAAAAAARo/LPwEMglNM0w/s220/kristian_kielhofner2.jpeg" /></author><thr:total>4</thr:total><feedburner:origLink>http://blog.krisk.org/2012/07/my-linux-story.html</feedburner:origLink></entry><entry gd:etag="W/&quot;DkEARnw8eyp7ImA9WhVaF00.&quot;"><id>tag:blogger.com,1999:blog-9220932811142893057.post-6347744886611754213</id><published>2012-06-14T15:57:00.000-04:00</published><updated>2012-06-14T16:10:47.273-04:00</updated><app:edited xmlns:app="http://www.w3.org/2007/app">2012-06-14T16:10:47.273-04:00</app:edited><title>Everything you wish you didn't need to know about VoIP</title><content type="html">A few years back I was talking with my editor at &lt;a href="http://oreilly.com/" target="_blank"&gt;O'Reilly Media&lt;/a&gt; about a book I'd like to write. The book would cover details of the SIP protocol, best practice, interop scenarios, and even a few implementation specifics - FreeSWITCH, Asterisk, OpenSIPS, Kamailio, etc. Basically your typical open source software book only this time it would be SIP protocol inward.&lt;br /&gt;
&lt;br /&gt;
While my editor liked the idea (I think they have to tell you that) he said there wouldn't be much of a market for it.&amp;nbsp; If I remember correctly his exact words were "Kris, that's a great idea but only 100 people in the world would buy it". Clearly you can't print a physical book through a major publisher with editors, technical reviewers, etc if only 100 people are going to buy it. I tabled the idea.&lt;br /&gt;
&lt;br /&gt;
Several years later I find myself still regularly talking about SIP and going into many protocol and implementation specifics. Like my editor once told me it seems there aren't a lot of people in this area with either the interest or experience. I guess he was right. Still, SIP is confusing enough and widespread enough that something has to be done.&lt;br /&gt;
&lt;br /&gt;
Over the past couple of months (off and on - I rarely work uninterrupted these days) I sat down and wrote. Stream of consciousness, without reference, writing. What I ended up with is a (currently) 21 page document I like to call "Everything you wish you didn't need to know about VoIP".&lt;br /&gt;
&lt;br /&gt;
It's still an early draft but as we say in open source "release early, release often". It has typos. It may not always be factually correct. There are no headings, chapters, or spacing. I may not always use apostrophes correctly. Over time I will correct these mistakes and hopefully (with your help) address other topics of concern or questions my readers may have. I may even divide it into logical chapters at some point! Wow, that would be nice.&lt;br /&gt;
&lt;br /&gt;
However, as the philosophers say a 100 mile journey begins with a single step. With that said, blog reader, I present to you &lt;a href="https://docs.google.com/document/d/1WBznJ_R-2JgQPbRzFVRvWZdlwIwRrmu3X1J-QmH6Ecs/edit" target="_blank"&gt;"Everything you wish you didn't need to know about VoIP"&lt;/a&gt;.&lt;br /&gt;
&lt;br /&gt;
Let me know what you think (I have a comments section and easy to find e-mail address).&lt;img src="http://feeds.feedburner.com/~r/NotJustAstlinuxStuff/~4/-2NmSSm8Sj4" height="1" width="1"/&gt;</content><link rel="replies" type="application/atom+xml" href="http://blog.krisk.org/feeds/6347744886611754213/comments/default" title="Post Comments" /><link rel="replies" type="text/html" href="http://www.blogger.com/comment.g?blogID=9220932811142893057&amp;postID=6347744886611754213" title="7 Comments" /><link rel="edit" type="application/atom+xml" href="http://www.blogger.com/feeds/9220932811142893057/posts/default/6347744886611754213?v=2" /><link rel="self" type="application/atom+xml" href="http://www.blogger.com/feeds/9220932811142893057/posts/default/6347744886611754213?v=2" /><link rel="alternate" type="text/html" href="http://feedproxy.google.com/~r/NotJustAstlinuxStuff/~3/-2NmSSm8Sj4/everything-you-wish-you-didnt-need-to.html" title="Everything you wish you didn't need to know about VoIP" /><author><name>Kristian Kielhofner</name><uri>http://www.blogger.com/profile/06405875458561185080</uri><email>noreply@blogger.com</email><gd:image rel="http://schemas.google.com/g/2005#thumbnail" width="23" height="32" src="http://4.bp.blogspot.com/-gr03qLpZIe8/Tp2gAW-nrvI/AAAAAAAAARo/LPwEMglNM0w/s220/kristian_kielhofner2.jpeg" /></author><thr:total>7</thr:total><feedburner:origLink>http://blog.krisk.org/2012/06/everything-you-wish-you-didnt-need-to.html</feedburner:origLink></entry><entry gd:etag="W/&quot;DUQFR38_eCp7ImA9WhVbGEw.&quot;"><id>tag:blogger.com,1999:blog-9220932811142893057.post-9012972338751940181</id><published>2012-06-04T09:41:00.001-04:00</published><updated>2012-06-04T09:41:56.140-04:00</updated><app:edited xmlns:app="http://www.w3.org/2007/app">2012-06-04T09:41:56.140-04:00</app:edited><title>Sprechen sie deutsch?</title><content type="html">Do you speak German?&lt;br /&gt;
&lt;br /&gt;
I don't. I'm sure this comes as a shock to the many people who have sent me e-mails in German over the years. I suppose my last name may give that impression...&lt;br /&gt;
&lt;br /&gt;
Anyway, longtime AstLinux community member and contributor Michael Keuter has setup an &lt;a href="http://mksolutions.info/doku.php/Blog" target="_blank"&gt;AstLinux focused blog in German&lt;/a&gt;. Check it out!&lt;img src="http://feeds.feedburner.com/~r/NotJustAstlinuxStuff/~4/nlAmYS8jjAg" height="1" width="1"/&gt;</content><link rel="replies" type="application/atom+xml" href="http://blog.krisk.org/feeds/9012972338751940181/comments/default" title="Post Comments" /><link rel="replies" type="text/html" href="http://www.blogger.com/comment.g?blogID=9220932811142893057&amp;postID=9012972338751940181" title="0 Comments" /><link rel="edit" type="application/atom+xml" href="http://www.blogger.com/feeds/9220932811142893057/posts/default/9012972338751940181?v=2" /><link rel="self" type="application/atom+xml" href="http://www.blogger.com/feeds/9220932811142893057/posts/default/9012972338751940181?v=2" /><link rel="alternate" type="text/html" href="http://feedproxy.google.com/~r/NotJustAstlinuxStuff/~3/nlAmYS8jjAg/sprechen-sie-deutsch.html" title="Sprechen sie deutsch?" /><author><name>Kristian Kielhofner</name><uri>http://www.blogger.com/profile/06405875458561185080</uri><email>noreply@blogger.com</email><gd:image rel="http://schemas.google.com/g/2005#thumbnail" width="23" height="32" src="http://4.bp.blogspot.com/-gr03qLpZIe8/Tp2gAW-nrvI/AAAAAAAAARo/LPwEMglNM0w/s220/kristian_kielhofner2.jpeg" /></author><thr:total>0</thr:total><feedburner:origLink>http://blog.krisk.org/2012/06/sprechen-sie-deutsch.html</feedburner:origLink></entry><entry gd:etag="W/&quot;CUIAQn89fSp7ImA9WhVSFUs.&quot;"><id>tag:blogger.com,1999:blog-9220932811142893057.post-5581371610591436516</id><published>2012-03-12T10:23:00.000-04:00</published><updated>2012-03-12T10:45:43.165-04:00</updated><app:edited xmlns:app="http://www.w3.org/2007/app">2012-03-12T10:45:43.165-04:00</app:edited><title>AstLinux Custom Build Engine now available!</title><content type="html">Ever since releasing the &lt;a href="http://doc.astlinux.org/devdoc:documentation#development_environment" target="_blank"&gt;AstLinux Development Environment&lt;/a&gt; several years ago the AstLinux Developers have spent a significant amount of time supporting new users who are (in many cases) building their first image with only minor customizations - slightly different hardware support, different Asterisk versions, etc.&lt;br /&gt;
&lt;br /&gt;
The trouble is, cross compiling anything is an extremely complicated task.&amp;nbsp; To be honest I'm surprised it works as often as it does.&amp;nbsp; When you step back and really look at what's going on it all starts to seem like magic.&amp;nbsp; Many people working in this space will openly admit to being practitioners of vodoo or one of the other &lt;a href="http://en.wikipedia.org/wiki/Black_magic" target="_blank"&gt;dark arts&lt;/a&gt;.&lt;br /&gt;
&lt;br /&gt;
After a brief e-mail exchange last week Lonnie Abelbeck and I decided to do something about this.&amp;nbsp; What if we could host a system with a web interface to build custom AstLinux images for users on demand?&amp;nbsp; What if this system could cache previous image configurations and save them for future users?&amp;nbsp; What if this system could be easily adapted to meet future configuration needs?&lt;br /&gt;
&lt;br /&gt;
Amazingly, barely a week later, Lonnie has provided all of these features and more.&amp;nbsp; Available immediately, the AstLinux Custom Build Engine is online to build custom AstLinux images that meet your needs.&lt;br /&gt;
&lt;br /&gt;
In an effort to keep bots, crawlers, and robots in general out we've added simple username and password authentication.&amp;nbsp; The secret is out and the username is "admin" with a password of "astlinux".&amp;nbsp; AstLinux users will recognize these credentials from the default administrative web interface provided with AstLinux.&amp;nbsp; These users will also recognize the familiar tabbed interface.&lt;br /&gt;
&lt;br /&gt;
Go ahead and &lt;a href="http://build.astlinux.org/" target="_blank"&gt;give it a try&lt;/a&gt;!&lt;br /&gt;
&lt;br /&gt;
These interfaces look alike because they share the same DNA.&amp;nbsp; Lonnie Abelbeck has done a great job creating a build system to serve our users now and in the future.&amp;nbsp; Thanks again Lonnie!&lt;br /&gt;
&lt;br /&gt;
P.S. - Lonnie just found &lt;a href="http://lists.digium.com/pipermail/asterisk-dev/2005-August/014858.html" target="_blank"&gt;this post&lt;/a&gt; from me, dated 8/25/2005, where I talk about something that looks a lot like build.astlinux.org.&amp;nbsp; If only Lonnie were around back then to help me actually create such a beast!&lt;img src="http://feeds.feedburner.com/~r/NotJustAstlinuxStuff/~4/ziDVzGrLLD8" height="1" width="1"/&gt;</content><link rel="replies" type="application/atom+xml" href="http://blog.krisk.org/feeds/5581371610591436516/comments/default" title="Post Comments" /><link rel="replies" type="text/html" href="http://www.blogger.com/comment.g?blogID=9220932811142893057&amp;postID=5581371610591436516" title="0 Comments" /><link rel="edit" type="application/atom+xml" href="http://www.blogger.com/feeds/9220932811142893057/posts/default/5581371610591436516?v=2" /><link rel="self" type="application/atom+xml" href="http://www.blogger.com/feeds/9220932811142893057/posts/default/5581371610591436516?v=2" /><link rel="alternate" type="text/html" href="http://feedproxy.google.com/~r/NotJustAstlinuxStuff/~3/ziDVzGrLLD8/astlinux-custom-build-engine-now.html" title="AstLinux Custom Build Engine now available!" /><author><name>Kristian Kielhofner</name><uri>http://www.blogger.com/profile/06405875458561185080</uri><email>noreply@blogger.com</email><gd:image rel="http://schemas.google.com/g/2005#thumbnail" width="23" height="32" src="http://4.bp.blogspot.com/-gr03qLpZIe8/Tp2gAW-nrvI/AAAAAAAAARo/LPwEMglNM0w/s220/kristian_kielhofner2.jpeg" /></author><thr:total>0</thr:total><feedburner:origLink>http://blog.krisk.org/2012/03/astlinux-custom-build-engine-now.html</feedburner:origLink></entry><entry gd:etag="W/&quot;A04DR3Y_cCp7ImA9WhRaEUg.&quot;"><id>tag:blogger.com,1999:blog-9220932811142893057.post-6615740534896423639</id><published>2012-02-13T14:06:00.002-05:00</published><updated>2012-02-13T14:06:16.848-05:00</updated><app:edited xmlns:app="http://www.w3.org/2007/app">2012-02-13T14:06:16.848-05:00</app:edited><title>Hyperspecialization and the shakeup of a 100 year old industry</title><content type="html">As someone who often finds themselves "in the trenches" dealing with some extremely nerdy technical nuances it's often easy to miss the larger picture.&amp;nbsp; I guess Mark Spencer was right when he said "Not many people get excited about telephones but the ones who do get REALLY excited about telephones". &lt;br /&gt;
&lt;br /&gt;
As someone who's natural inclination is to get stuck in the details I certainly understand this.&amp;nbsp; Some of you might be right there with me.&amp;nbsp; At this point I've gotten so specialized I'm next to useless on some pretty basic "computer things".&amp;nbsp; Think of the aunt or other relative/friend that lights up when they find out you're a "computer guy".&amp;nbsp; Then they inevitably pull you aside at a wedding to ask for help with their printer or "some box that pops up in Windows".&amp;nbsp; I'm happy to not have to feign ignorance any longer: I truly am ignorant on issues like these.&lt;br /&gt;
&lt;br /&gt;
I primarily use a Mac because it just works - for me.&amp;nbsp; That's not the point I'm trying to make here, though.&amp;nbsp; A Mac works so well for me because I use just two applications: a terminal (&lt;a href="http://www.iterm2.com/" target="_blank"&gt;Iterm2&lt;/a&gt;, to be exact) and Google Chrome.&amp;nbsp; Ok, ok every once in a while I whip up some crazy Wireshark display syntax but that's another post for another day.&amp;nbsp; For the most part when I need to work I take out my Mac, it comes out of sleep, connects to a network, and I start working.&amp;nbsp; It's a tool.&lt;br /&gt;
&lt;br /&gt;
As far as anything with a GUI goes that's the extent of my "expertise".&amp;nbsp; If my aunt wanted to ask me about my bash_profile, screenrc settings, IPv4 address exhaustion, or SIP network architecture I may have something to say.&amp;nbsp; Other than that you'll find me speaking in vague generalities than may lead the more paranoid to suspect I'm secretly a double for the CIA or some international crime syndicate member.&amp;nbsp; I wish I were kidding, this has actually happened before although "international crime syndicate" usually gets loosely translated to "drug dealer".&amp;nbsp; How else does a supposed "computer guy" not understand what's wrong with my printer?!?! &lt;br /&gt;
&lt;br /&gt;
As usual there's a point to all of this.&amp;nbsp; My hyperspecialization, in this case, allows me to forget what is really going on all around me: a shakeup in the 100 year old industry I find myself in and a change in the way we communicate.&lt;br /&gt;
&lt;br /&gt;
The evolution of the telephone is a strange thing.&amp;nbsp; It is a device and service that has remained largely unchanged for 100 years.&amp;nbsp; I'm not kidding.&amp;nbsp; To this day, in some parts of the United States, the only &lt;a href="http://en.wikipedia.org/wiki/Plain_old_telephone_service" target="_blank"&gt;telephone service available&lt;/a&gt; could be installed by Alexander Graham Bell himself.&amp;nbsp; Sure there have been many advances since the 1900s but they've been incremental improvements at best - digital services with the same voice bandwidth (dating to &lt;a href="http://en.wikipedia.org/wiki/G.711" target="_blank"&gt;1972&lt;/a&gt;), various capacity and engineering changes, and of course - the cell phone.&lt;br /&gt;
&lt;br /&gt;
In the end, however, we're left with a service that isn't much different than what my grandparents had.&amp;nbsp; You still have to phonetically spell various upper-frequency consonants ("S as in Sam, P as in Paul, T as in Tom") because the upper limit of the voice bandwidth on these services is ridiculously low (3.1 kHz).&amp;nbsp; Straining to hear the party at the remote end of a phone has only gotten worse with various digital compression standards in use today - &lt;a href="http://en.wikipedia.org/wiki/Enhanced_Variable_Rate_Codec" target="_blank"&gt;EVRC&lt;/a&gt;, &lt;a href="http://en.wikipedia.org/wiki/Adaptive_Multi-Rate_audio_codec" target="_blank"&gt;AMR&lt;/a&gt;, &lt;a href="http://en.wikipedia.org/wiki/G.729" target="_blank"&gt;G.729&lt;/a&gt;, etc.&amp;nbsp; I love to compare the &lt;a href="http://www.youtube.com/watch?v=HnlqrMWVYCs" target="_blank"&gt;"pin drop" Sprint commercials of the 80s and 90s&lt;/a&gt; to the Verizon Wireless "CAN YOU HEAR ME NOW?" campaign over 20 years later.&amp;nbsp; We still dial by randomly assigned strings of 10 digit numbers.&amp;nbsp; This is supposedly progress?&lt;br /&gt;
&lt;br /&gt;
One thing that has changed - the network has gotten bigger.&amp;nbsp; Much bigger.&amp;nbsp; My grandparents may have not had much use for their &lt;a href="http://en.wikipedia.org/wiki/Party_line_%28telephony%29" target="_blank"&gt;party line&lt;/a&gt; because they didn't have anyone of interest to talk to on the other end.&amp;nbsp; In this manner the network has exploded - and it has exploded using the same standards that have been in place for these past 100 years.&amp;nbsp; I can directly dial a cell phone on the other side of the world and be connected in seconds.&lt;br /&gt;
&lt;br /&gt;
Meanwhile, there has been another network explosion - IP networks and the internet.&amp;nbsp; The internet, of course, needs no introduction.&amp;nbsp; While I'd love to spend some time talking about IP that's time I don't have at this point.&amp;nbsp; Let's just look at a couple of ways IP has been extremely disruptive for this 100 year old franchise.&lt;br /&gt;
&lt;br /&gt;
Not many people outside of telecom noticed it at the time but back in 2009 AT&amp;amp;T (THE AT&amp;amp;T) petitioned the FCC to decommission the legacy PSTN (copper and pairs and what-not).&amp;nbsp; Just over two years later we're starting to see some results, and AT&amp;amp;T is &lt;a href="http://vcxc.org/att/" target="_blank"&gt;realizing some ancillary benefits&lt;/a&gt;.&lt;br /&gt;
&lt;br /&gt;
As someone who has spent some time (not a lot, thankfully) in these central offices the maze of patch cables, wiring blocks, DC battery banks, etc make you really appreciate the analysis of this report.&amp;nbsp; Normally networks are completely faceless - you go to www.google.com or dial 8005551212 without seeing the equipment that gets you to the other end.&amp;nbsp; The fact that SBC reclaimed as much as 250 MILLION square feet by eliminating this legacy equipment is incredible.&lt;br /&gt;
&lt;br /&gt;
That's all well and good but what has AT&amp;amp;T done for us, the users?&amp;nbsp; The answer is, unfortunately, both good and bad.&amp;nbsp; AT&amp;amp;T like many physical, trench-digging network providers, has realized they are in the business of providing IP connectivity.&amp;nbsp; They don't have much of a product anymore and the product they do have is becoming more and more of a commodity everyday.&lt;br /&gt;
 &lt;br /&gt;
Getting out of the way is the smartest thing they could be doing.&amp;nbsp; Speaking of AT&amp;amp;T, remember the Apple iPhone deal?&amp;nbsp; At the time a cell phone was a cell phone - AT&amp;amp;T provided an IP network and got some minutes but Apple built an application platform and changed the way people view the devices they carry with them everywhere they go.&amp;nbsp; Huge.&lt;br /&gt;
&lt;br /&gt;
Watch any sci-fi movie from the past 50 years and one almost ubiquitous "innovation" is the video phone.&amp;nbsp; Did AT&amp;amp;T or some other 100 year old company provide the video phone for baby's first steps to be beamed to Grandma across the country?&amp;nbsp; No - Apple did it with Facetime and a little company from Estonia (Skype) did it over the internet.&amp;nbsp; Thanks to these companies and IP networks we finally have video conferencing (maybe they'll release a 30th anniversary edition of &lt;a href="http://en.wikipedia.org/wiki/Blade_Runner" target="_blank"&gt;Blade Runner&lt;/a&gt; to celebrate).&lt;br /&gt;
&lt;br /&gt;
Unfortunately, there will always be people that cling to technologies of days past - this new network works well for all of these applications that were designed for it.&amp;nbsp; Meanwhile, some technologies are being shoehorned in with disastrous results.&amp;nbsp; Has anyone noticed faxing has actually gotten LESS reliable over the past several years?&amp;nbsp; That's what happens when you try to use decades-old modem designs on a completely different network.&amp;nbsp; You might as well try to burn diesel in your gasoline engine.&lt;br /&gt;
&lt;br /&gt;
The future is the network and the network (regardless of physical access medium) is IP.&lt;br /&gt;
&lt;br /&gt;
And now, for good measure, here are some random links for further reading:&lt;br /&gt;
&lt;br /&gt;
&lt;a href="http://www.mgraves.org/" target="_blank"&gt;Graves on SOHO Technology&lt;/a&gt; - An early advocate of HD Voice, etc.&lt;br /&gt;
&lt;a href="http://www.vcxc.org/" target="_blank"&gt;The Voice Communication Exchange&lt;/a&gt; - Wants to push the world to HD Voice by 2018.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;&lt;img src="http://feeds.feedburner.com/~r/NotJustAstlinuxStuff/~4/xOLe1TnYv7c" height="1" width="1"/&gt;</content><link rel="replies" type="application/atom+xml" href="http://blog.krisk.org/feeds/6615740534896423639/comments/default" title="Post Comments" /><link rel="replies" type="text/html" href="http://www.blogger.com/comment.g?blogID=9220932811142893057&amp;postID=6615740534896423639" title="1 Comments" /><link rel="edit" type="application/atom+xml" href="http://www.blogger.com/feeds/9220932811142893057/posts/default/6615740534896423639?v=2" /><link rel="self" type="application/atom+xml" href="http://www.blogger.com/feeds/9220932811142893057/posts/default/6615740534896423639?v=2" /><link rel="alternate" type="text/html" href="http://feedproxy.google.com/~r/NotJustAstlinuxStuff/~3/xOLe1TnYv7c/hyperspecialization-and-shakeup-of-100.html" title="Hyperspecialization and the shakeup of a 100 year old industry" /><author><name>Kristian Kielhofner</name><uri>http://www.blogger.com/profile/06405875458561185080</uri><email>noreply@blogger.com</email><gd:image rel="http://schemas.google.com/g/2005#thumbnail" width="23" height="32" src="http://4.bp.blogspot.com/-gr03qLpZIe8/Tp2gAW-nrvI/AAAAAAAAARo/LPwEMglNM0w/s220/kristian_kielhofner2.jpeg" /></author><thr:total>1</thr:total><feedburner:origLink>http://blog.krisk.org/2012/02/hyperspecialization-and-shakeup-of-100.html</feedburner:origLink></entry><entry gd:etag="W/&quot;A0AMR30zeip7ImA9WhRXFEw.&quot;"><id>tag:blogger.com,1999:blog-9220932811142893057.post-8768569859000983364</id><published>2011-12-20T17:23:00.000-05:00</published><updated>2011-12-20T17:23:06.382-05:00</updated><app:edited xmlns:app="http://www.w3.org/2007/app">2011-12-20T17:23:06.382-05:00</app:edited><title>Performance Testing (Part 1)</title><content type="html">&lt;div style="background-color: transparent;"&gt;
&lt;b id="internal-source-marker_0.8060968250501901" style="font-weight: normal;"&gt;&lt;span style="background-color: transparent; color: black; font-family: Arial; font-size: 15px; font-style: normal; font-variant: normal; font-weight: normal; text-decoration: none; vertical-align: baseline; white-space: pre-wrap;"&gt;Over the past few years (like many other people in this business) I’ve needed to do performance testing. &amp;nbsp;Open source software is great but this is one place where you need to do your own leg work. &amp;nbsp;This conundrum first presented itself in the Asterisk community. &amp;nbsp;There are literally thousands of variables that can affect system the performance of Asterisk, FreeSWITCH, or any other software solution. &amp;nbsp;In no particular order:&lt;/span&gt;&lt;br /&gt;&lt;span style="background-color: transparent; color: black; font-family: Arial; font-size: 15px; font-style: normal; font-variant: normal; font-weight: normal; text-decoration: none; vertical-align: baseline; white-space: pre-wrap;"&gt;&lt;/span&gt;&lt;br /&gt;&lt;span style="background-color: transparent; color: black; font-family: Arial; font-size: 15px; font-style: normal; font-variant: normal; font-weight: normal; text-decoration: none; vertical-align: baseline; white-space: pre-wrap;"&gt;- Configuration. &amp;nbsp;Which modules do you have loaded? &amp;nbsp;How are they configured? &amp;nbsp;If you’re using Kamailio, do you do hundreds of huge, slow, nasty DB queries for each call setup? &amp;nbsp;How is your logging configured? &amp;nbsp;Maybe you use Asterisk or FreeSWITCH and so several system calls, DB lookups, LUA scripts, etc? &amp;nbsp;Even the slightest misstep in configuration (synchronous syslogging with Kamailio, for example) can reduce your performance by 90%.&lt;/span&gt;&lt;br /&gt;&lt;span style="background-color: transparent; color: black; font-family: Arial; font-size: 15px; font-style: normal; font-variant: normal; font-weight: normal; text-decoration: none; vertical-align: baseline; white-space: pre-wrap;"&gt;&lt;/span&gt;&lt;br /&gt;&lt;span style="background-color: transparent; color: black; font-family: Arial; font-size: 15px; font-style: normal; font-variant: normal; font-weight: normal; text-decoration: none; vertical-align: baseline; white-space: pre-wrap;"&gt;- Features in use. &amp;nbsp;Paging groups (unicast) are notorious for destroying performance on standard hardware - every call needs to be setup individually, you need to handle RTP, and some audio mixing is involved. &amp;nbsp;Hardware that can’t do 10 members in a page group using Asterisk or FreeSWITCH may be capable of hundreds of sessions using Kamailio with no media.&lt;/span&gt;&lt;br /&gt;&lt;span style="background-color: transparent; color: black; font-family: Arial; font-size: 15px; font-style: normal; font-variant: normal; font-weight: normal; text-decoration: none; vertical-align: baseline; white-space: pre-wrap;"&gt;&lt;/span&gt;&lt;br /&gt;&lt;span style="background-color: transparent; color: black; font-family: Arial; font-size: 15px; font-style: normal; font-variant: normal; font-weight: normal; text-decoration: none; vertical-align: baseline; white-space: pre-wrap;"&gt;- Standard performance metrics. &amp;nbsp;“Thousands of calls” you say? &amp;nbsp;How many calls per second? &amp;nbsp;Are you transcoding? &amp;nbsp;Maybe you’re not handling any media at all? &amp;nbsp;What is the delay in call setup?&lt;/span&gt;&lt;br /&gt;&lt;span style="background-color: transparent; color: black; font-family: Arial; font-size: 15px; font-style: normal; font-variant: normal; font-weight: normal; text-decoration: none; vertical-align: baseline; white-space: pre-wrap;"&gt;&lt;/span&gt;&lt;br /&gt;&lt;span style="background-color: transparent; color: black; font-family: Arial; font-size: 15px; font-style: normal; font-variant: normal; font-weight: normal; text-decoration: none; vertical-align: baseline; white-space: pre-wrap;"&gt;- Hardware. &amp;nbsp;This may seem obvious (MORE HERTZ) but even then there are issues... &amp;nbsp;If you’re handling RTP, what are you using for timing? &amp;nbsp;If you have lots of RTP, which network card are you using? &amp;nbsp;Does it and your kernel support MSI or MSI-X for better interrupt handling? &amp;nbsp;Can you load balance IRQs across cores? &amp;nbsp;How efficient (or buggy) is the driver (Realtek I’m looking at you)?!?&lt;/span&gt;&lt;br /&gt;&lt;span style="background-color: transparent; color: black; font-family: Arial; font-size: 15px; font-style: normal; font-variant: normal; font-weight: normal; text-decoration: none; vertical-align: baseline; white-space: pre-wrap;"&gt;&lt;/span&gt;&lt;br /&gt;&lt;span style="background-color: transparent; color: black; font-family: Arial; font-size: 15px; font-style: normal; font-variant: normal; font-weight: normal; text-decoration: none; vertical-align: baseline; white-space: pre-wrap;"&gt;- The “guano” effect. &amp;nbsp;As features are added to the underlying toolkit (Asterisk, FreeSWITCH, etc) and to your configuration, how is performance affected over time? &amp;nbsp;Add a feature here, and a feature there - and repeat. &amp;nbsp;Over the months and years (even with faster hardware) you may find that each “little” feature reduced call capacity by 5%. &amp;nbsp;Or maybe your calls per second went down by two each time. &amp;nbsp;Not a big deal overall yet over time this adds up - assuming no other optimizations your call capacity could be down by 50% after ten “minor” changes. &amp;nbsp;It adds up - it really does.&lt;/span&gt;&lt;br /&gt;&lt;span style="background-color: transparent; color: black; font-family: Arial; font-size: 15px; font-style: normal; font-variant: normal; font-weight: normal; text-decoration: none; vertical-align: baseline; white-space: pre-wrap;"&gt;&lt;/span&gt;&lt;br /&gt;&lt;span style="background-color: transparent; color: black; font-family: Arial; font-size: 15px; font-style: normal; font-variant: normal; font-weight: normal; text-decoration: none; vertical-align: baseline; white-space: pre-wrap;"&gt;Even when pointing out all of these issues you’d still be surprised how often one is faced with the question “Well yeah but how many calls can I handle on my dual core Dell server?”.&lt;/span&gt;&lt;br /&gt;&lt;span style="background-color: transparent; color: black; font-family: Arial; font-size: 15px; font-style: normal; font-variant: normal; font-weight: normal; text-decoration: none; vertical-align: baseline; white-space: pre-wrap;"&gt;&lt;/span&gt;&lt;br /&gt;&lt;span style="background-color: transparent; color: black; font-family: Arial; font-size: 15px; font-style: normal; font-variant: normal; font-weight: normal; text-decoration: none; vertical-align: baseline; white-space: pre-wrap;"&gt;In almost every case the best answer is “Get your hardware, develop your solution, run &lt;/span&gt;&lt;a href="http://sipp.sourceforge.net/"&gt;&lt;span style="background-color: transparent; color: #000099; font-family: Arial; font-size: 15px; font-style: normal; font-variant: normal; font-weight: normal; text-decoration: underline; vertical-align: baseline; white-space: pre-wrap;"&gt;sipp&lt;/span&gt;&lt;/a&gt;&lt;span style="background-color: transparent; color: black; font-family: Arial; font-size: 15px; font-style: normal; font-variant: normal; font-weight: normal; text-decoration: none; vertical-align: baseline; white-space: pre-wrap;"&gt; against it and see what happens”. &amp;nbsp;That’s really about as good as we can do.&lt;/span&gt;&lt;br /&gt;&lt;span style="background-color: transparent; color: black; font-family: Arial; font-size: 15px; font-style: normal; font-variant: normal; font-weight: normal; text-decoration: none; vertical-align: baseline; white-space: pre-wrap;"&gt;&lt;/span&gt;&lt;br /&gt;&lt;span style="background-color: transparent; color: black; font-family: Arial; font-size: 15px; font-style: normal; font-variant: normal; font-weight: normal; text-decoration: none; vertical-align: baseline; white-space: pre-wrap;"&gt;SIPP is a great example of a typical, high quality open source tool. &amp;nbsp;In true “Unix philosophy” it does one thing and it does it well: SIP performance testing. &amp;nbsp;SIPP can be configured to initiate (or receive) just about any conceivable SIP scenario - from simple INVITE call handling to full &lt;/span&gt;&lt;a href="http://en.wikipedia.org/wiki/SIMPLE"&gt;&lt;span style="background-color: transparent; color: #000099; font-family: Arial; font-size: 15px; font-style: normal; font-variant: normal; font-weight: normal; text-decoration: underline; vertical-align: baseline; white-space: pre-wrap;"&gt;SIMPLE&lt;/span&gt;&lt;/a&gt;&lt;span style="background-color: transparent; color: black; font-family: Arial; font-size: 15px; font-style: normal; font-variant: normal; font-weight: normal; text-decoration: none; vertical-align: baseline; white-space: pre-wrap;"&gt; test cases. &amp;nbsp;In these tests SIPP will tell you call setup time, messages received, successful dialogs, etc.&lt;/span&gt;&lt;br /&gt;&lt;span style="background-color: transparent; color: black; font-family: Arial; font-size: 15px; font-style: normal; font-variant: normal; font-weight: normal; text-decoration: none; vertical-align: baseline; white-space: pre-wrap;"&gt;&lt;/span&gt;&lt;br /&gt;&lt;span style="background-color: transparent; color: black; font-family: Arial; font-size: 15px; font-style: normal; font-variant: normal; font-weight: normal; text-decoration: none; vertical-align: baseline; white-space: pre-wrap;"&gt;SIPP even goes a step further and includes some support for RTP. &amp;nbsp;SIPP has the ability to echo RTP from the remote end or even replay RTP from a PCAP file you have saved to disk. &amp;nbsp;This is where SIPP starts to show some deficiencies. &amp;nbsp;Again, you can’t blame SIPP because SIPP is a SIP performance testing tool - it does that and it does it well. &amp;nbsp;RTP testing leaves a lot to be desired. &amp;nbsp;First of all, you’re on your own when it comes to manipulating any of the PCAP parameters. &amp;nbsp;Length, content, codec, payload types, etc, etc need to be configured separately. &amp;nbsp;This isn’t a problem, necesarily, as there are various open source tools to help you with some of these tasks. &amp;nbsp;I won’t get into all of them here but they too leave something to be desired.&lt;/span&gt;&lt;br /&gt;&lt;span style="background-color: transparent; color: black; font-family: Arial; font-size: 15px; font-style: normal; font-variant: normal; font-weight: normal; text-decoration: none; vertical-align: baseline; white-space: pre-wrap;"&gt;&lt;/span&gt;&lt;br /&gt;&lt;span style="background-color: transparent; color: black; font-family: Arial; font-size: 15px; font-style: normal; font-variant: normal; font-weight: normal; text-decoration: none; vertical-align: baseline; white-space: pre-wrap;"&gt;What about analyzing the quality of the RTP streams? &amp;nbsp;SIPP provides mechanisms to measure various SIP “quality” metrics - SIP response times, SIP retransmits, etc. &amp;nbsp;With RTP you’re on your own. &amp;nbsp;Once again, sure, you could setup tshark on a SPAN port (or something) to do RTP stream analysis on every stream but this would be tedious and (once again) subject you to some of the harsh realities of processing a tremendous amount of small packets in software on commodity hardware.&lt;/span&gt;&lt;br /&gt;&lt;span style="background-color: transparent; color: black; font-family: Arial; font-size: 15px; font-style: normal; font-variant: normal; font-weight: normal; text-decoration: none; vertical-align: baseline; white-space: pre-wrap;"&gt;&lt;/span&gt;&lt;br /&gt;&lt;span style="background-color: transparent; color: black; font-family: Arial; font-size: 15px; font-style: normal; font-variant: normal; font-weight: normal; text-decoration: none; vertical-align: baseline; white-space: pre-wrap;"&gt;Let’s face it - for a typical B2BUA handling RTP the numbers add up very quickly - let’s assume 20ms packetization for the following:&lt;/span&gt;&lt;br /&gt;&lt;span style="background-color: transparent; color: black; font-family: Arial; font-size: 15px; font-style: normal; font-variant: normal; font-weight: normal; text-decoration: none; vertical-align: baseline; white-space: pre-wrap;"&gt;&lt;/span&gt;&lt;br /&gt;&lt;span style="background-color: transparent; color: black; font-family: Arial; font-size: 15px; font-style: normal; font-variant: normal; font-weight: normal; text-decoration: none; vertical-align: baseline; white-space: pre-wrap;"&gt;Single RTP stream = 50 packets per second (pps)&lt;/span&gt;&lt;br /&gt;&lt;span style="background-color: transparent; color: black; font-family: Arial; font-size: 15px; font-style: normal; font-variant: normal; font-weight: normal; text-decoration: none; vertical-align: baseline; white-space: pre-wrap;"&gt;Bi-directional RTP stream = 100 pps&lt;/span&gt;&lt;br /&gt;&lt;span style="background-color: transparent; color: black; font-family: Arial; font-size: 15px; font-style: normal; font-variant: normal; font-weight: normal; text-decoration: none; vertical-align: baseline; white-space: pre-wrap;"&gt;A-leg bi-directional RTP stream = 100 pps&lt;/span&gt;&lt;br /&gt;&lt;span style="background-color: transparent; color: black; font-family: Arial; font-size: 15px; font-style: normal; font-variant: normal; font-weight: normal; text-decoration: none; vertical-align: baseline; white-space: pre-wrap;"&gt;B-leg bi-directional RTP stream = 100 pps&lt;/span&gt;&lt;br /&gt;&lt;span style="background-color: transparent; color: black; font-family: Arial; font-size: 15px; font-style: normal; font-variant: normal; font-weight: normal; text-decoration: none; vertical-align: baseline; white-space: pre-wrap;"&gt;&lt;/span&gt;&lt;br /&gt;&lt;span style="background-color: transparent; color: black; font-family: Arial; font-size: 15px; font-style: normal; font-variant: normal; font-weight: normal; text-decoration: none; vertical-align: baseline; white-space: pre-wrap;"&gt;A leg + B leg = 200 pps PER CALL&lt;/span&gt;&lt;br /&gt;&lt;span style="background-color: transparent; color: black; font-family: Arial; font-size: 15px; font-style: normal; font-variant: normal; font-weight: normal; text-decoration: none; vertical-align: baseline; white-space: pre-wrap;"&gt;&lt;/span&gt;&lt;br /&gt;&lt;span style="background-color: transparent; color: black; font-family: Arial; font-size: 15px; font-style: normal; font-variant: normal; font-weight: normal; text-decoration: none; vertical-align: baseline; white-space: pre-wrap;"&gt;What does this look like with 10,000 channels (using g711u)?&lt;/span&gt;&lt;br /&gt;&lt;span style="background-color: transparent; color: black; font-family: Arial; font-size: 15px; font-style: normal; font-variant: normal; font-weight: normal; text-decoration: none; vertical-align: baseline; white-space: pre-wrap;"&gt;&lt;/span&gt;&lt;br /&gt;&lt;span style="background-color: transparent; color: black; font-family: Arial; font-size: 15px; font-style: normal; font-variant: normal; font-weight: normal; text-decoration: none; vertical-align: baseline; white-space: pre-wrap;"&gt;952 mbit/s (close to Gigabit wire speed) in each direction&lt;/span&gt;&lt;br /&gt;&lt;span style="background-color: transparent; color: black; font-family: Arial; font-size: 15px; font-style: normal; font-variant: normal; font-weight: normal; text-decoration: none; vertical-align: baseline; white-space: pre-wrap;"&gt;1,000,000 (total) packets per second&lt;/span&gt;&lt;br /&gt;&lt;span style="background-color: transparent; color: black; font-family: Arial; font-size: 15px; font-style: normal; font-variant: normal; font-weight: normal; text-decoration: none; vertical-align: baseline; white-space: pre-wrap;"&gt;&lt;/span&gt;&lt;br /&gt;&lt;span style="background-color: transparent; color: black; font-family: Arial; font-size: 15px; font-style: normal; font-variant: normal; font-weight: normal; text-decoration: none; vertical-align: baseline; white-space: pre-wrap;"&gt;Open source software is great - it provides us with the tools to (ultimately) build services and businesses. &amp;nbsp;Many of us choose what to focus on (our core competency). &amp;nbsp;At Star2Star we provide business grade communication services and we spend a lot of time and energy to build these services because it’s what we do. &amp;nbsp;We don’t sell, manufacture, or support testing platforms.&lt;/span&gt;&lt;br /&gt;&lt;span style="background-color: transparent; color: black; font-family: Arial; font-size: 15px; font-style: normal; font-variant: normal; font-weight: normal; text-decoration: none; vertical-align: baseline; white-space: pre-wrap;"&gt;&lt;/span&gt;&lt;br /&gt;&lt;span style="background-color: transparent; color: black; font-family: Arial; font-size: 15px; font-style: normal; font-variant: normal; font-weight: normal; text-decoration: none; vertical-align: baseline; white-space: pre-wrap;"&gt;At this point some of you may be getting an idea... &amp;nbsp;Why don’t I build/design an open source testing solution? &amp;nbsp;It’s a good question and while I don’t want to crush your dreams there are some harsh realities:&lt;/span&gt;&lt;br /&gt;&lt;span style="background-color: transparent; color: black; font-family: Arial; font-size: 15px; font-style: normal; font-variant: normal; font-weight: normal; text-decoration: none; vertical-align: baseline; white-space: pre-wrap;"&gt;&lt;/span&gt;&lt;br /&gt;&lt;span style="background-color: transparent; color: black; font-family: Arial; font-size: 15px; font-style: normal; font-variant: normal; font-weight: normal; text-decoration: none; vertical-align: baseline; white-space: pre-wrap;"&gt;1) &amp;nbsp;This gets insanely complicated, quickly. &amp;nbsp;Anyone who follows this blog knows SIP itself is complicated enough.&lt;/span&gt;&lt;br /&gt;&lt;span style="background-color: transparent; color: black; font-family: Arial; font-size: 15px; font-style: normal; font-variant: normal; font-weight: normal; text-decoration: none; vertical-align: baseline; white-space: pre-wrap;"&gt;2) &amp;nbsp;Scaling becomes a concern (as noted above).&lt;/span&gt;&lt;br /&gt;&lt;span style="background-color: transparent; color: black; font-family: Arial; font-size: 15px; font-style: normal; font-variant: normal; font-weight: normal; text-decoration: none; vertical-align: baseline; white-space: pre-wrap;"&gt;3) &amp;nbsp;Who would use it?&lt;/span&gt;&lt;br /&gt;&lt;span style="background-color: transparent; color: black; font-family: Arial; font-size: 15px; font-style: normal; font-variant: normal; font-weight: normal; text-decoration: none; vertical-align: baseline; white-space: pre-wrap;"&gt;&lt;/span&gt;&lt;br /&gt;&lt;span style="background-color: transparent; color: black; font-family: Arial; font-size: 15px; font-style: normal; font-variant: normal; font-weight: normal; text-decoration: none; vertical-align: baseline; white-space: pre-wrap;"&gt;The last question is probably the most serious - who really needs the ability to initiate 10,000 SIP channels at 100 calls per second while monitoring RTP stream quality, etc? &amp;nbsp;SIP carriers? &amp;nbsp;SIP equipment manufacturers? &amp;nbsp;A few SIP software developers? &amp;nbsp;How large is the market? &amp;nbsp;What kind of investment would be required to even get the project off the ground? &amp;nbsp;What does the competition look like? &amp;nbsp;While I don’t have the answers to most of these questions I can answer the last one.&lt;/span&gt;&lt;br /&gt;&lt;span style="background-color: transparent; color: black; font-family: Arial; font-size: 15px; font-style: normal; font-variant: normal; font-weight: normal; text-decoration: none; vertical-align: baseline; white-space: pre-wrap;"&gt;&lt;/span&gt;&lt;br /&gt;&lt;span style="background-color: transparent; color: black; font-family: Arial; font-size: 15px; font-style: normal; font-variant: normal; font-weight: normal; text-decoration: none; vertical-align: baseline; white-space: pre-wrap;"&gt;Commercial SIP testing equipment is available from a few vendors:&lt;/span&gt;&lt;br /&gt;&lt;span style="background-color: transparent; color: black; font-family: Arial; font-size: 15px; font-style: normal; font-variant: normal; font-weight: normal; text-decoration: none; vertical-align: baseline; white-space: pre-wrap;"&gt;&lt;/span&gt;&lt;br /&gt;&lt;a href="http://www.spirent.com/Solutions-Directory/Abacus.aspx"&gt;&lt;span style="background-color: transparent; color: #000099; font-family: Arial; font-size: 15px; font-style: normal; font-variant: normal; font-weight: normal; text-decoration: underline; vertical-align: baseline; white-space: pre-wrap;"&gt;Spirent&lt;/span&gt;&lt;/a&gt;&lt;span style="background-color: transparent; color: black; font-family: Arial; font-size: 15px; font-style: normal; font-variant: normal; font-weight: normal; text-decoration: none; vertical-align: baseline; white-space: pre-wrap;"&gt;&lt;/span&gt;&lt;br /&gt;&lt;a href="http://www.empirix.com/products/hammer_g5.asp"&gt;&lt;span style="background-color: transparent; color: #000099; font-family: Arial; font-size: 15px; font-style: normal; font-variant: normal; font-weight: normal; text-decoration: underline; vertical-align: baseline; white-space: pre-wrap;"&gt;Empirix&lt;/span&gt;&lt;/a&gt;&lt;span style="background-color: transparent; color: black; font-family: Arial; font-size: 15px; font-style: normal; font-variant: normal; font-weight: normal; text-decoration: none; vertical-align: baseline; white-space: pre-wrap;"&gt;&lt;/span&gt;&lt;br /&gt;&lt;a href="http://www.ixiacom.com/products/display?skey=ixload_sip"&gt;&lt;span style="background-color: transparent; color: #000099; font-family: Arial; font-size: 15px; font-style: normal; font-variant: normal; font-weight: normal; text-decoration: underline; vertical-align: baseline; white-space: pre-wrap;"&gt;Ixia&lt;/span&gt;&lt;/a&gt;&lt;span style="background-color: transparent; color: black; font-family: Arial; font-size: 15px; font-style: normal; font-variant: normal; font-weight: normal; text-decoration: none; vertical-align: baseline; white-space: pre-wrap;"&gt;&lt;/span&gt;&lt;br /&gt;&lt;span style="background-color: transparent; color: black; font-family: Arial; font-size: 15px; font-style: normal; font-variant: normal; font-weight: normal; text-decoration: none; vertical-align: baseline; white-space: pre-wrap;"&gt;&lt;/span&gt;&lt;br /&gt;&lt;span style="background-color: transparent; color: black; font-family: Arial; font-size: 15px; font-style: normal; font-variant: normal; font-weight: normal; text-decoration: none; vertical-align: baseline; white-space: pre-wrap;"&gt;...and I’m sure others. &amp;nbsp;We evaluated a few of these solutions and I’ll be talking more about them in a follow-up post in the near future.&lt;/span&gt;&lt;/b&gt;&lt;/div&gt;
&lt;div style="background-color: transparent;"&gt;
&lt;b id="internal-source-marker_0.8060968250501901" style="font-weight: normal;"&gt;&lt;span style="background-color: transparent; color: black; font-family: Arial; font-size: 15px; font-style: normal; font-variant: normal; font-weight: normal; text-decoration: none; vertical-align: baseline; white-space: pre-wrap;"&gt;&amp;nbsp;&lt;/span&gt;&lt;/b&gt;&lt;/div&gt;
&lt;div style="background-color: transparent;"&gt;
&lt;b id="internal-source-marker_0.8060968250501901" style="font-weight: normal;"&gt;&lt;span style="background-color: transparent; color: black; font-family: Arial; font-size: 15px; font-style: normal; font-variant: normal; font-weight: normal; text-decoration: none; vertical-align: baseline; white-space: pre-wrap;"&gt;Stay tuned because this series is going to be good! &lt;/span&gt;&lt;/b&gt;&lt;/div&gt;&lt;img src="http://feeds.feedburner.com/~r/NotJustAstlinuxStuff/~4/9Qh8UH9uLpQ" height="1" width="1"/&gt;</content><link rel="replies" type="application/atom+xml" href="http://blog.krisk.org/feeds/8768569859000983364/comments/default" title="Post Comments" /><link rel="replies" type="text/html" href="http://www.blogger.com/comment.g?blogID=9220932811142893057&amp;postID=8768569859000983364" title="0 Comments" /><link rel="edit" type="application/atom+xml" href="http://www.blogger.com/feeds/9220932811142893057/posts/default/8768569859000983364?v=2" /><link rel="self" type="application/atom+xml" href="http://www.blogger.com/feeds/9220932811142893057/posts/default/8768569859000983364?v=2" /><link rel="alternate" type="text/html" href="http://feedproxy.google.com/~r/NotJustAstlinuxStuff/~3/9Qh8UH9uLpQ/performance-testing-part-1.html" title="Performance Testing (Part 1)" /><author><name>Kristian Kielhofner</name><uri>http://www.blogger.com/profile/06405875458561185080</uri><email>noreply@blogger.com</email><gd:image rel="http://schemas.google.com/g/2005#thumbnail" width="23" height="32" src="http://4.bp.blogspot.com/-gr03qLpZIe8/Tp2gAW-nrvI/AAAAAAAAARo/LPwEMglNM0w/s220/kristian_kielhofner2.jpeg" /></author><thr:total>0</thr:total><feedburner:origLink>http://blog.krisk.org/2011/12/performance-testing-part-1.html</feedburner:origLink></entry><entry gd:etag="W/&quot;AkUEQ3s6fCp7ImA9WhRRGE4.&quot;"><id>tag:blogger.com,1999:blog-9220932811142893057.post-7015325512169486709</id><published>2011-12-02T09:58:00.001-05:00</published><updated>2011-12-02T10:03:22.514-05:00</updated><app:edited xmlns:app="http://www.w3.org/2007/app">2011-12-02T10:03:22.514-05:00</app:edited><title>Star2Star Gets Noticed</title><content type="html">Just a quick one today (and some shameless self promotion on my part)...&amp;nbsp; Star2Star has been recognized on a few "lists" this year, check it out:&lt;br /&gt;
&lt;br /&gt;
&lt;a href="http://www.inc.com/inc5000/profile/star2star-communications" target="_blank"&gt;Inc 500 &lt;/a&gt;&lt;br /&gt;
&lt;a href="http://www.forbes.com/lists/2011/28/most-promising-companies-11_Star2Star-Communications_OL02.html" target="_blank"&gt;Forbes 100 "Most Promising"&lt;/a&gt; &lt;br /&gt;
&lt;br /&gt;
I'm lucky enough to tell people the same story all of the time - when I was a little kid I played with all of this stuff because I thought it was fun and I loved it.&amp;nbsp; Only later did I realize that one day I'd be getting paid for it.&amp;nbsp; I certainly never thought it could come to this!&lt;br /&gt;
&lt;br /&gt;
Ok, enough of that for now.&amp;nbsp; I'll be getting back to some tech stuff soon...&lt;img src="http://feeds.feedburner.com/~r/NotJustAstlinuxStuff/~4/3R4YhbGK7vY" height="1" width="1"/&gt;</content><link rel="replies" type="application/atom+xml" href="http://blog.krisk.org/feeds/7015325512169486709/comments/default" title="Post Comments" /><link rel="replies" type="text/html" href="http://www.blogger.com/comment.g?blogID=9220932811142893057&amp;postID=7015325512169486709" title="1 Comments" /><link rel="edit" type="application/atom+xml" href="http://www.blogger.com/feeds/9220932811142893057/posts/default/7015325512169486709?v=2" /><link rel="self" type="application/atom+xml" href="http://www.blogger.com/feeds/9220932811142893057/posts/default/7015325512169486709?v=2" /><link rel="alternate" type="text/html" href="http://feedproxy.google.com/~r/NotJustAstlinuxStuff/~3/3R4YhbGK7vY/star2star-gets-noticed.html" title="Star2Star Gets Noticed" /><author><name>Kristian Kielhofner</name><uri>http://www.blogger.com/profile/06405875458561185080</uri><email>noreply@blogger.com</email><gd:image rel="http://schemas.google.com/g/2005#thumbnail" width="23" height="32" src="http://4.bp.blogspot.com/-gr03qLpZIe8/Tp2gAW-nrvI/AAAAAAAAARo/LPwEMglNM0w/s220/kristian_kielhofner2.jpeg" /></author><thr:total>1</thr:total><feedburner:origLink>http://blog.krisk.org/2011/12/star2star-gets-noticed.html</feedburner:origLink></entry><entry gd:etag="W/&quot;DEMGRHY8fip7ImA9WhRSE0U.&quot;"><id>tag:blogger.com,1999:blog-9220932811142893057.post-6394306207408427806</id><published>2011-11-15T14:45:00.001-05:00</published><updated>2011-11-15T14:47:05.876-05:00</updated><app:edited xmlns:app="http://www.w3.org/2007/app">2011-11-15T14:47:05.876-05:00</app:edited><title>Building a Startup (the right way)</title><content type="html">&lt;div style="background-color: transparent;"&gt;
&lt;span id="internal-source-marker_0.2732291151769459" style="background-color: transparent; color: black; font-family: Arial; font-size: 11pt; font-style: normal; font-variant: normal; font-weight: normal; text-decoration: none; vertical-align: baseline; white-space: pre-wrap;"&gt;(Continued from &lt;a href="http://blog.krisk.org/2011/11/bulding-startup.html"&gt;Building a Startup&lt;/a&gt;) &lt;/span&gt;&lt;/div&gt;
&lt;div style="background-color: transparent;"&gt;
&lt;span id="internal-source-marker_0.2732291151769459" style="background-color: transparent; color: black; font-family: Arial; font-size: 11pt; font-style: normal; font-variant: normal; font-weight: normal; text-decoration: none; vertical-align: baseline; white-space: pre-wrap;"&gt;&amp;nbsp;&lt;/span&gt;&lt;/div&gt;
&lt;div style="background-color: transparent;"&gt;
&lt;span id="internal-source-marker_0.2732291151769459" style="background-color: transparent; color: black; font-family: Arial; font-size: 11pt; font-style: normal; font-variant: normal; font-weight: normal; text-decoration: none; vertical-align: baseline; white-space: pre-wrap;"&gt;Our way wasn’t working. &amp;nbsp;To put it mildly our “business grade” solution didn’t perform much better than Vonage. &amp;nbsp;We became to exemplify VoIP - jittery calls, dropped calls, one way calls, etc, etc, etc. &amp;nbsp;Most of this was because of the lack of quality ITSPs at that time. &amp;nbsp;Either way our customers didn’t care. &amp;nbsp;It was us. &amp;nbsp;If we went to market with what we had the first time around we were going to loose.&lt;/span&gt;&lt;br /&gt;&lt;span style="background-color: transparent; color: black; font-family: Arial; font-size: 11pt; font-style: normal; font-variant: normal; font-weight: normal; text-decoration: none; vertical-align: baseline; white-space: pre-wrap;"&gt;&lt;/span&gt;&lt;br /&gt;&lt;span style="background-color: transparent; color: black; font-family: Arial; font-size: 11pt; font-style: normal; font-variant: normal; font-weight: normal; text-decoration: none; vertical-align: baseline; white-space: pre-wrap;"&gt;The problem was the other predominant architecture at the time was “hosted”. &amp;nbsp;Someone hosts a PBX for you and ships you some phones. &amp;nbsp;You plug them in behind your router and magically you have a phone system. &amp;nbsp;They weren’t doing much better. &amp;nbsp;Sure, their sales looked good but even then it was becoming obvious customer churn was quite high. &amp;nbsp;People didn’t like hosted either, and for good reason. &amp;nbsp;Typically they have less control over the call than we do.&lt;/span&gt;&lt;br /&gt;&lt;span style="background-color: transparent; color: black; font-family: Arial; font-size: 11pt; font-style: normal; font-variant: normal; font-weight: normal; text-decoration: none; vertical-align: baseline; white-space: pre-wrap;"&gt;&lt;/span&gt;&lt;br /&gt;&lt;span style="background-color: transparent; color: black; font-family: Arial; font-size: 11pt; font-style: normal; font-variant: normal; font-weight: normal; text-decoration: none; vertical-align: baseline; white-space: pre-wrap;"&gt;As I’ve eluded before I thought there was a better way. &amp;nbsp;We needed to host the voice applications where it made the most “sense”. &amp;nbsp;We were primarily using Asterisk and with a little creative provisioning, a kick-ass SIP proxy, and enough Asterisk machines we could build the perfect business PBX - even if that meant virtually none of it existed at the customer premise. &amp;nbsp;Or maybe all of it did. &amp;nbsp;That flexibility was key. &amp;nbsp;After a lot of discussions, whiteboard sessions, and late nights everyone agreed. &amp;nbsp;We needed a do-over.&lt;/span&gt;&lt;br /&gt;&lt;span style="background-color: transparent; color: black; font-family: Arial; font-size: 11pt; font-style: normal; font-variant: normal; font-weight: normal; text-decoration: none; vertical-align: baseline; white-space: pre-wrap;"&gt;&lt;/span&gt;&lt;br /&gt;&lt;span style="background-color: transparent; color: black; font-family: Arial; font-size: 11pt; font-style: normal; font-variant: normal; font-weight: normal; text-decoration: none; vertical-align: baseline; white-space: pre-wrap;"&gt;So we got to work and slowly our new architecture began to take shape. &amp;nbsp;We added a kick-ass SIP proxy (OpenSER). &amp;nbsp;OpenSER would power the core routing between various Asterisk servers each meeting different needs - IVR/Auto Attendant, Conferencing, Voicemail, remote phones (for “hosted” phones/softphones), etc. &amp;nbsp;The beauty was the SIP proxy could route between all of these different systems including the original AstLinux system at the customer premise. &amp;nbsp;Customer needs to call voicemail? &amp;nbsp;No problem - the AstLinux system at the CPE fires an INVITE off to the proxy and the proxy figures out where their voicemail server is. &amp;nbsp;The call is connected and the media goes directly between the two endpoints. &amp;nbsp;Same thing for calls between any two points on the network - AstLinux CPE to AstLinux CPE, PSTN to voicemail, IVR to conference.&lt;/span&gt;&lt;br /&gt;&lt;span style="background-color: transparent; color: black; font-family: Arial; font-size: 11pt; font-style: normal; font-variant: normal; font-weight: normal; text-decoration: none; vertical-align: baseline; white-space: pre-wrap;"&gt;&lt;/span&gt;&lt;br /&gt;&lt;span style="background-color: transparent; color: black; font-family: Arial; font-size: 11pt; font-style: normal; font-variant: normal; font-weight: normal; text-decoration: none; vertical-align: baseline; white-space: pre-wrap;"&gt;This is a good time to take a break and acknowledge what really made this all possible - OpenSER. &amp;nbsp;While it’s difficult to explain the exact history and family tree with any piece of SER software I can tell you one thing - this company would not be possible without it. &amp;nbsp;There is no question in my mind. &amp;nbsp;It’s now 2011 and whether you select &lt;/span&gt;&lt;a href="http://www.kamailio.org/"&gt;&lt;span style="background-color: transparent; color: #000099; font-family: Arial; font-size: 11pt; font-style: normal; font-variant: normal; font-weight: normal; text-decoration: underline; vertical-align: baseline; white-space: pre-wrap;"&gt;Kamailio&lt;/span&gt;&lt;/a&gt;&lt;span style="background-color: transparent; color: black; font-family: Arial; font-size: 11pt; font-style: normal; font-variant: normal; font-weight: normal; text-decoration: none; vertical-align: baseline; white-space: pre-wrap;"&gt; or &lt;/span&gt;&lt;a href="http://opensips.org/"&gt;&lt;span style="background-color: transparent; color: #000099; font-family: Arial; font-size: 11pt; font-style: normal; font-variant: normal; font-weight: normal; text-decoration: underline; vertical-align: baseline; white-space: pre-wrap;"&gt;OpenSIPS&lt;/span&gt;&lt;/a&gt;&lt;span style="background-color: transparent; color: black; font-family: Arial; font-size: 11pt; font-style: normal; font-variant: normal; font-weight: normal; text-decoration: none; vertical-align: baseline; white-space: pre-wrap;"&gt; for your SIP project you will not be sorry. &amp;nbsp;Even after five years you will not find a more capable, flexible, scalable piece of SIP server software. &amp;nbsp;It was one of the best decisions we ever made.&lt;/span&gt;&lt;br /&gt;&lt;span style="background-color: transparent; color: black; font-family: Arial; font-size: 11pt; font-style: normal; font-variant: normal; font-weight: normal; text-decoration: none; vertical-align: baseline; white-space: pre-wrap;"&gt;&lt;/span&gt;&lt;br /&gt;&lt;span style="background-color: transparent; color: black; font-family: Arial; font-size: 11pt; font-style: normal; font-variant: normal; font-weight: normal; text-decoration: none; vertical-align: baseline; white-space: pre-wrap;"&gt;Need to add another server to meet demand for IVR? &amp;nbsp;No problem, bring another server online, add the IP to a table and presto - you’re now taking calls on your new IVR. &amp;nbsp;Eventually a new IVR lead to several new IVRs, voicemail servers, conference systems, web portals, mail servers, various monitoring systems, etc.&lt;/span&gt;&lt;br /&gt;&lt;span style="background-color: transparent; color: black; font-family: Arial; font-size: 11pt; font-style: normal; font-variant: normal; font-weight: normal; text-decoration: none; vertical-align: baseline; white-space: pre-wrap;"&gt;&lt;/span&gt;&lt;br /&gt;&lt;span style="background-color: transparent; color: black; font-family: Arial; font-size: 11pt; font-style: normal; font-variant: normal; font-weight: normal; text-decoration: none; vertical-align: baseline; white-space: pre-wrap;"&gt;What about infrastructure? &amp;nbsp;Starting at our small scale, regional footprint, and focus on quality we began to buy our own PRIs and running them on a couple of Cisco AS5350XM gateways. &amp;nbsp;This got us past our initial issues with questionable ITSPs. &amp;nbsp;Bandwidth was becoming another problem... &amp;nbsp;We had an excellent colocation provider that provided blended bandwidth but still we needed more control. &amp;nbsp;Here came BGP, ARIN, AS numbers, a pair of Cisco 7206VXRs w/ G2s, iBGP, multiple upstream providers, etc.&lt;/span&gt;&lt;br /&gt;&lt;span style="background-color: transparent; color: black; font-family: Arial; font-size: 11pt; font-style: normal; font-variant: normal; font-weight: normal; text-decoration: none; vertical-align: baseline; white-space: pre-wrap;"&gt;&lt;/span&gt;&lt;br /&gt;&lt;span style="background-color: transparent; color: black; font-family: Arial; font-size: 11pt; font-style: normal; font-variant: normal; font-weight: normal; text-decoration: none; vertical-align: baseline; white-space: pre-wrap;"&gt;At times I would wonder - whatever happened to spending my time worrying about cross compilers? &amp;nbsp;Looking back I’m not sure which was worse - GNU autoconf cross-compiling hell or SIP interop, BGP, etc. &amp;nbsp;It’s fairly safe to say I’m a sadomasochist either way.&lt;/span&gt;&lt;br /&gt;&lt;span style="background-color: transparent; color: black; font-family: Arial; font-size: 11pt; font-style: normal; font-variant: normal; font-weight: normal; text-decoration: none; vertical-align: baseline; white-space: pre-wrap;"&gt;&lt;/span&gt;&lt;br /&gt;&lt;span style="background-color: transparent; color: black; font-family: Arial; font-size: 11pt; font-style: normal; font-variant: normal; font-weight: normal; text-decoration: none; vertical-align: baseline; white-space: pre-wrap;"&gt;Even with all of the pain, missteps, and work we finally had an architecture to take to market. &amp;nbsp;It would be the architecture that would serve us well for several years. &amp;nbsp;Of course there was more work to be done...&lt;/span&gt;&lt;/div&gt;&lt;img src="http://feeds.feedburner.com/~r/NotJustAstlinuxStuff/~4/_3DSQNSX_io" height="1" width="1"/&gt;</content><link rel="replies" type="application/atom+xml" href="http://blog.krisk.org/feeds/6394306207408427806/comments/default" title="Post Comments" /><link rel="replies" type="text/html" href="http://www.blogger.com/comment.g?blogID=9220932811142893057&amp;postID=6394306207408427806" title="3 Comments" /><link rel="edit" type="application/atom+xml" href="http://www.blogger.com/feeds/9220932811142893057/posts/default/6394306207408427806?v=2" /><link rel="self" type="application/atom+xml" href="http://www.blogger.com/feeds/9220932811142893057/posts/default/6394306207408427806?v=2" /><link rel="alternate" type="text/html" href="http://feedproxy.google.com/~r/NotJustAstlinuxStuff/~3/_3DSQNSX_io/building-startup-right-way.html" title="Building a Startup (the right way)" /><author><name>Kristian Kielhofner</name><uri>http://www.blogger.com/profile/06405875458561185080</uri><email>noreply@blogger.com</email><gd:image rel="http://schemas.google.com/g/2005#thumbnail" width="23" height="32" src="http://4.bp.blogspot.com/-gr03qLpZIe8/Tp2gAW-nrvI/AAAAAAAAARo/LPwEMglNM0w/s220/kristian_kielhofner2.jpeg" /></author><thr:total>3</thr:total><feedburner:origLink>http://blog.krisk.org/2011/11/building-startup-right-way.html</feedburner:origLink></entry><entry gd:etag="W/&quot;DUMMR3kyfCp7ImA9WhRSE0U.&quot;"><id>tag:blogger.com,1999:blog-9220932811142893057.post-3170127710508933386</id><published>2011-11-02T16:49:00.000-04:00</published><updated>2011-11-15T15:04:46.794-05:00</updated><app:edited xmlns:app="http://www.w3.org/2007/app">2011-11-15T15:04:46.794-05:00</app:edited><title>Building a Startup</title><content type="html">&lt;div style="background-color: transparent;"&gt;
&lt;span id="internal-source-marker_0.025660596787929535" style="background-color: transparent; color: black; font-family: Arial; font-size: 11pt; font-style: normal; font-variant: normal; font-weight: normal; text-decoration: none; vertical-align: baseline; white-space: pre-wrap;"&gt;(Continued from &lt;a href="http://blog.krisk.org/2011/10/starting-startup.html"&gt;Starting a Startup&lt;/a&gt;) &lt;/span&gt;&lt;/div&gt;
&lt;div style="background-color: transparent;"&gt;
&lt;/div&gt;
&lt;div style="background-color: transparent;"&gt;
&lt;span id="internal-source-marker_0.025660596787929535" style="background-color: transparent; color: black; font-family: Arial; font-size: 11pt; font-style: normal; font-variant: normal; font-weight: normal; text-decoration: none; vertical-align: baseline; white-space: pre-wrap;"&gt;After several days of meetings in Sarasota we determined:&lt;/span&gt;&lt;br /&gt;
&lt;span style="background-color: transparent; color: black; font-family: Arial; font-size: 11pt; font-style: normal; font-variant: normal; font-weight: normal; text-decoration: none; vertical-align: baseline; white-space: pre-wrap;"&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span style="background-color: transparent; color: black; font-family: Arial; font-size: 11pt; font-style: normal; font-variant: normal; font-weight: normal; text-decoration: none; vertical-align: baseline; white-space: pre-wrap;"&gt;1) &amp;nbsp;I was moving to Sarasota to start a company with Norm and Joe.&lt;/span&gt;&lt;br /&gt;
&lt;span style="background-color: transparent; color: black; font-family: Arial; font-size: 11pt; font-style: normal; font-variant: normal; font-weight: normal; text-decoration: none; vertical-align: baseline; white-space: pre-wrap;"&gt;2) &amp;nbsp;We were going to utilize open source software wherever possible (including AstLinux, obviously).&lt;/span&gt;&lt;br /&gt;
&lt;span style="background-color: transparent; color: black; font-family: Arial; font-size: 11pt; font-style: normal; font-variant: normal; font-weight: normal; text-decoration: none; vertical-align: baseline; white-space: pre-wrap;"&gt;3) &amp;nbsp;The Internet was the only ubiquitous, high quality network to build a nationwide platform.&lt;/span&gt;&lt;br /&gt;
&lt;span style="background-color: transparent; color: black; font-family: Arial; font-size: 11pt; font-style: normal; font-variant: normal; font-weight: normal; text-decoration: none; vertical-align: baseline; white-space: pre-wrap;"&gt;4) &amp;nbsp;The Internet was only getting more ubiquitous, more reliable, and faster in coming months/years/decades/etc.&lt;/span&gt;&lt;br /&gt;
&lt;span style="background-color: transparent; color: black; font-family: Arial; font-size: 11pt; font-style: normal; font-variant: normal; font-weight: normal; text-decoration: none; vertical-align: baseline; white-space: pre-wrap;"&gt;5) &amp;nbsp;We were going to take advantage of as much of this as possible.&lt;/span&gt;&lt;br /&gt;
&lt;span style="background-color: transparent; color: black; font-family: Arial; font-size: 11pt; font-style: normal; font-variant: normal; font-weight: normal; text-decoration: none; vertical-align: baseline; white-space: pre-wrap;"&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span style="background-color: transparent; color: black; font-family: Arial; font-size: 11pt; font-style: normal; font-variant: normal; font-weight: normal; text-decoration: none; vertical-align: baseline; white-space: pre-wrap;"&gt;These were some pretty lofty goals. &amp;nbsp;Remember, this is early 2006. &amp;nbsp;Gmail was still invitation-only beta. &amp;nbsp;Google docs didn’t exist. &amp;nbsp;Amazon EC2 didn’t exist. &amp;nbsp;“Cloud computing” hadn’t come back into fashion yet. &amp;nbsp;The term itself didn’t exist. &amp;nbsp;The Internet was considered (by many) to be “best effort”, “inherently unreliable”, and “unsuitable” for critical communications (such as real time business telephony). &amp;nbsp;There were many naysayers who were confident this would be a miserable failure. &amp;nbsp;As it turns out, they were almost right.&lt;/span&gt;&lt;br /&gt;
&lt;span style="background-color: transparent; color: black; font-family: Arial; font-size: 11pt; font-style: normal; font-variant: normal; font-weight: normal; text-decoration: none; vertical-align: baseline; white-space: pre-wrap;"&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span style="background-color: transparent; color: black; font-family: Arial; font-size: 11pt; font-style: normal; font-variant: normal; font-weight: normal; text-decoration: none; vertical-align: baseline; white-space: pre-wrap;"&gt;We thought the “secret sauce” to business grade voice over the internet was monitoring and management. &amp;nbsp;If one could monitor and manage the internet connection business grade voice should be possible. &amp;nbsp;Of course this is very ambiguous but it lead to several great hires. &amp;nbsp;We hired &lt;/span&gt;&lt;br /&gt;
&lt;span style="background-color: transparent; color: black; font-family: Arial; font-size: 11pt; font-style: normal; font-variant: normal; font-weight: normal; text-decoration: none; vertical-align: baseline; white-space: pre-wrap;"&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span style="background-color: transparent; color: black; font-family: Arial; font-size: 11pt; font-style: normal; font-variant: normal; font-weight: normal; text-decoration: none; vertical-align: baseline; white-space: pre-wrap;"&gt;Joe had already deployed several embedded Asterisk systems to various businesses in the Sarasota area. &amp;nbsp;They used an embedded version of Linux he patched together and a third party (unnamed) “carrier” to connect to the PSTN. &amp;nbsp;The first step was upgrading these machines and getting them on AstLinux. &amp;nbsp;Once this was accomplished we felt confident enough to proceed with our plan. &amp;nbsp;This was Star2Star Communications and in the beginning of 2006 it looked something like this:&lt;/span&gt;&lt;br /&gt;
&lt;span style="background-color: transparent; color: black; font-family: Arial; font-size: 11pt; font-style: normal; font-variant: normal; font-weight: normal; text-decoration: none; vertical-align: baseline; white-space: pre-wrap;"&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span style="background-color: transparent; color: black; font-family: Arial; font-size: 11pt; font-style: normal; font-variant: normal; font-weight: normal; text-decoration: none; vertical-align: baseline; white-space: pre-wrap;"&gt;1) &amp;nbsp;Soekris net4801 machines running AstLinux on the customer premise.&lt;/span&gt;&lt;br /&gt;
&lt;span style="background-color: transparent; color: black; font-family: Arial; font-size: 11pt; font-style: normal; font-variant: normal; font-weight: normal; text-decoration: none; vertical-align: baseline; white-space: pre-wrap;"&gt;2) &amp;nbsp;Grandstream GXP-2000 phones at each desk.&lt;/span&gt;&lt;br /&gt;
&lt;span style="background-color: transparent; color: black; font-family: Arial; font-size: 11pt; font-style: normal; font-variant: normal; font-weight: normal; text-decoration: none; vertical-align: baseline; white-space: pre-wrap;"&gt;3) &amp;nbsp;Connectivity to a third party “ITSP”.&lt;/span&gt;&lt;br /&gt;
&lt;span style="background-color: transparent; color: black; font-family: Arial; font-size: 11pt; font-style: normal; font-variant: normal; font-weight: normal; text-decoration: none; vertical-align: baseline; white-space: pre-wrap;"&gt;4) &amp;nbsp;Management/monitoring systems (check IP connectivity, phone availability, ITSP reliability, local LAN, etc).&lt;/span&gt;&lt;br /&gt;
&lt;span style="background-color: transparent; color: black; font-family: Arial; font-size: 11pt; font-style: normal; font-variant: normal; font-weight: normal; text-decoration: none; vertical-align: baseline; white-space: pre-wrap;"&gt;5) &amp;nbsp;Central provisioning of AstLinux systems, phones, etc.&lt;/span&gt;&lt;br /&gt;
&lt;span style="background-color: transparent; color: black; font-family: Arial; font-size: 11pt; font-style: normal; font-variant: normal; font-weight: normal; text-decoration: none; vertical-align: baseline; white-space: pre-wrap;"&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span style="background-color: transparent; color: black; font-family: Arial; font-size: 11pt; font-style: normal; font-variant: normal; font-weight: normal; text-decoration: none; vertical-align: baseline; white-space: pre-wrap;"&gt;This was Star2Star and there was something I really liked about it - it was simple. &amp;nbsp;Anyone who knows me or knows of my projects (AstLinux, for example) has to know I favor simplicity whenever possible. &amp;nbsp;Keep it simple, keep it simple, keep it simple (stupid).&lt;/span&gt;&lt;br /&gt;
&lt;span style="background-color: transparent; color: black; font-family: Arial; font-size: 11pt; font-style: normal; font-variant: normal; font-weight: normal; text-decoration: none; vertical-align: baseline; white-space: pre-wrap;"&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span style="background-color: transparent; color: black; font-family: Arial; font-size: 11pt; font-style: normal; font-variant: normal; font-weight: normal; text-decoration: none; vertical-align: baseline; white-space: pre-wrap;"&gt;As time went on we started to learn that maybe this was too simple. &amp;nbsp;We didn’t have enough control. &amp;nbsp;Out monitoring wasn’t as mature as it should be. &amp;nbsp;We didn’t pick the right IP phones. &amp;nbsp;These could be easily fixed. &amp;nbsp;However, we soon realized our biggest mistake was architecture (or lack thereof). &amp;nbsp;This wasn’t going to be an easy fix.&lt;/span&gt;&lt;br /&gt;
&lt;span style="background-color: transparent; color: black; font-family: Arial; font-size: 11pt; font-style: normal; font-variant: normal; font-weight: normal; text-decoration: none; vertical-align: baseline; white-space: pre-wrap;"&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span style="background-color: transparent; color: black; font-family: Arial; font-size: 11pt; font-style: normal; font-variant: normal; font-weight: normal; text-decoration: none; vertical-align: baseline; white-space: pre-wrap;"&gt;We couldn’t find an ITSP that offered a level of quality we considered to be acceptable. &amp;nbsp;Very few ITSPs had any more experience with VoIP, SIP, and the internet than we did. &amp;nbsp;More disturbing, however, was an almost complete lack of focus on quality and reliability. &amp;nbsp;No process.&lt;/span&gt;&lt;br /&gt;
&lt;span style="background-color: transparent; color: black; font-family: Arial; font-size: 11pt; font-style: normal; font-variant: normal; font-weight: normal; text-decoration: none; vertical-align: baseline; white-space: pre-wrap;"&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span style="background-color: transparent; color: black; font-family: Arial; font-size: 11pt; font-style: normal; font-variant: normal; font-weight: normal; text-decoration: none; vertical-align: baseline; white-space: pre-wrap;"&gt;What we (quickly) discovered is the extremely low barrier to entry for ITSPs, especially back then. &amp;nbsp;Virtually anyone could install Asterisk on a $100/mo box in a colo somewhere, buy dialtone from someone (who knows) and call themselves an ITSP. &amp;nbsp;After going through several of these we discovered we needed to do it ourselves.&lt;/span&gt;&lt;br /&gt;
&lt;span style="background-color: transparent; color: black; font-family: Arial; font-size: 11pt; font-style: normal; font-variant: normal; font-weight: normal; text-decoration: none; vertical-align: baseline; white-space: pre-wrap;"&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span style="background-color: transparent; color: black; font-family: Arial; font-size: 11pt; font-style: normal; font-variant: normal; font-weight: normal; text-decoration: none; vertical-align: baseline; white-space: pre-wrap;"&gt;Even assuming we could solve the PSTN connectivity problem we discovered yet another issue. &amp;nbsp;All of the monitoring and management in the world cannot make up for a terrible last mile. &amp;nbsp;If the copper in the ground is rotting and the DSL modem can only negotiate 128kbps/128kbps that’s all you’re going to get. &amp;nbsp;To make matters worse in the event of a cut or outage the customer would be down completely. &amp;nbsp;While that may have always happened with the PSTN and an on premise PBX we considered this to be unacceptable.&lt;/span&gt;&lt;br /&gt;
&lt;span style="background-color: transparent; color: black; font-family: Arial; font-size: 11pt; font-style: normal; font-variant: normal; font-weight: normal; text-decoration: none; vertical-align: baseline; white-space: pre-wrap;"&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span style="background-color: transparent; color: black; font-family: Arial; font-size: 11pt; font-style: normal; font-variant: normal; font-weight: normal; text-decoration: none; vertical-align: baseline; white-space: pre-wrap;"&gt;So then, in the eleventh hour, just before launch I met with the original founders and posed a radical idea - scrap almost everything. &amp;nbsp;There was a better way.&lt;/span&gt;&lt;br /&gt;
&lt;span style="background-color: transparent; color: black; font-family: Arial; font-size: 11pt; font-style: normal; font-variant: normal; font-weight: normal; text-decoration: none; vertical-align: baseline; white-space: pre-wrap;"&gt;(Continued in &lt;a href="http://blog.krisk.org/2011/11/building-startup-right-way.html"&gt;Building a Startup (the right way)&lt;/a&gt;) &lt;/span&gt;&lt;/div&gt;&lt;img src="http://feeds.feedburner.com/~r/NotJustAstlinuxStuff/~4/qpXwjzhrql0" height="1" width="1"/&gt;</content><link rel="replies" type="application/atom+xml" href="http://blog.krisk.org/feeds/3170127710508933386/comments/default" title="Post Comments" /><link rel="replies" type="text/html" href="http://www.blogger.com/comment.g?blogID=9220932811142893057&amp;postID=3170127710508933386" title="0 Comments" /><link rel="edit" type="application/atom+xml" href="http://www.blogger.com/feeds/9220932811142893057/posts/default/3170127710508933386?v=2" /><link rel="self" type="application/atom+xml" href="http://www.blogger.com/feeds/9220932811142893057/posts/default/3170127710508933386?v=2" /><link rel="alternate" type="text/html" href="http://feedproxy.google.com/~r/NotJustAstlinuxStuff/~3/qpXwjzhrql0/bulding-startup.html" title="Building a Startup" /><author><name>Kristian Kielhofner</name><uri>http://www.blogger.com/profile/06405875458561185080</uri><email>noreply@blogger.com</email><gd:image rel="http://schemas.google.com/g/2005#thumbnail" width="23" height="32" src="http://4.bp.blogspot.com/-gr03qLpZIe8/Tp2gAW-nrvI/AAAAAAAAARo/LPwEMglNM0w/s220/kristian_kielhofner2.jpeg" /></author><thr:total>0</thr:total><feedburner:origLink>http://blog.krisk.org/2011/11/bulding-startup.html</feedburner:origLink></entry><entry gd:etag="W/&quot;DUcERXoyeip7ImA9WhRTEks.&quot;"><id>tag:blogger.com,1999:blog-9220932811142893057.post-1780494026834126901</id><published>2011-10-25T14:09:00.000-04:00</published><updated>2011-11-02T16:50:04.492-04:00</updated><app:edited xmlns:app="http://www.w3.org/2007/app">2011-11-02T16:50:04.492-04:00</app:edited><title>Starting a Startup</title><content type="html">&lt;span class="Apple-style-span" style="color: black; font-family: Times; font-size: small; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; orphans: 2; text-indent: 0px; text-transform: none; white-space: normal; widows: 2; word-spacing: 0px;"&gt;&lt;/span&gt;&lt;br /&gt;
&lt;div style="background-color: transparent;"&gt;
&lt;span id="internal-source-marker_0.45115007110871375" style="background-color: transparent; color: black; font-family: Arial; font-size: 11pt; font-style: normal; font-variant: normal; font-weight: normal; text-decoration: none; vertical-align: baseline; white-space: pre-wrap;"&gt;I know I’ve apologized for being quiet in the past. &amp;nbsp;This is not one of those times because (as you’ll soon find out) I’ve been hard at work and only now can I finally talk about it.&lt;/span&gt;&lt;br /&gt;
&lt;span style="background-color: transparent; color: black; font-family: Arial; font-size: 11pt; font-style: normal; font-variant: normal; font-weight: normal; text-decoration: none; vertical-align: baseline; white-space: pre-wrap;"&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span style="background-color: transparent; color: black; font-family: Arial; font-size: 11pt; font-style: normal; font-variant: normal; font-weight: normal; text-decoration: none; vertical-align: baseline; white-space: pre-wrap;"&gt;Six years ago I was spending most of my time working with Asterisk and AstLinux. &amp;nbsp;I spent a lot of time promoting both - working the conference circuit, blogging, magazines, books, etc. &amp;nbsp;Conferences are a great way to network and meet new people. &amp;nbsp;I did just that. &amp;nbsp;With each conference I attended came new business opportunities. &amp;nbsp;Sure, not all of them were a slam dunk and eventually I started to pick and chose which conferences I considered worthy of the time and investment.&lt;/span&gt;&lt;br /&gt;
&lt;span style="background-color: transparent; color: black; font-family: Arial; font-size: 11pt; font-style: normal; font-variant: normal; font-weight: normal; text-decoration: none; vertical-align: baseline; white-space: pre-wrap;"&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span style="background-color: transparent; color: black; font-family: Arial; font-size: 11pt; font-style: normal; font-variant: normal; font-weight: normal; text-decoration: none; vertical-align: baseline; white-space: pre-wrap;"&gt;For anyone involved with Asterisk Astricon is certainly worthy of your time and energy - the mecca of the Asterisk community. &amp;nbsp;Astricon was always a whirlwind and 2005 was no exception. &amp;nbsp;We were in Anaheim, California and embedded Asterisk was starting to really heat up. &amp;nbsp;I announced my port of &lt;/span&gt;&lt;a href="http://www.astlinux.org/"&gt;&lt;span style="background-color: transparent; color: #000099; font-family: Arial; font-size: 11pt; font-style: normal; font-variant: normal; font-weight: normal; text-decoration: underline; vertical-align: baseline; white-space: pre-wrap;"&gt;AstLinux&lt;/span&gt;&lt;/a&gt;&lt;span style="background-color: transparent; color: black; font-family: Arial; font-size: 11pt; font-style: normal; font-variant: normal; font-weight: normal; text-decoration: none; vertical-align: baseline; white-space: pre-wrap;"&gt; to &lt;/span&gt;&lt;a href="http://www.gumstix.com/"&gt;&lt;span style="background-color: transparent; color: #000099; font-family: Arial; font-size: 11pt; font-style: normal; font-variant: normal; font-weight: normal; text-decoration: underline; vertical-align: baseline; white-space: pre-wrap;"&gt;Gumstix&lt;/span&gt;&lt;/a&gt;&lt;span style="background-color: transparent; color: black; font-family: Arial; font-size: 11pt; font-style: normal; font-variant: normal; font-weight: normal; text-decoration: none; vertical-align: baseline; white-space: pre-wrap;"&gt; and announced the “World’s Smallest PBX”, leading to an interview and &lt;/span&gt;&lt;a href="http://www.linuxfordevices.com/c/a/News/Worlds-smallest-VoIP-PBX/"&gt;&lt;span style="background-color: transparent; color: #000099; font-family: Arial; font-size: 11pt; font-style: normal; font-variant: normal; font-weight: normal; text-decoration: underline; vertical-align: baseline; white-space: pre-wrap;"&gt;story&lt;/span&gt;&lt;/a&gt;&lt;span style="background-color: transparent; color: black; font-family: Arial; font-size: 11pt; font-style: normal; font-variant: normal; font-weight: normal; text-decoration: none; vertical-align: baseline; white-space: pre-wrap;"&gt; in LinuxDevices. &amp;nbsp;I worked a free community booth (thanks Astricon) with &lt;/span&gt;&lt;a href="http://the-edge.blogspot.com/"&gt;&lt;span style="background-color: transparent; color: #000099; font-family: Arial; font-size: 11pt; font-style: normal; font-variant: normal; font-weight: normal; text-decoration: underline; vertical-align: baseline; white-space: pre-wrap;"&gt;Dave Taht&lt;/span&gt;&lt;/a&gt;&lt;span style="background-color: transparent; color: black; font-family: Arial; font-size: 11pt; font-style: normal; font-variant: normal; font-weight: normal; text-decoration: none; vertical-align: baseline; white-space: pre-wrap;"&gt; and was introduced to &lt;/span&gt;&lt;a href="http://en.wikipedia.org/wiki/John_Draper"&gt;&lt;span style="background-color: transparent; color: #000099; font-family: Arial; font-size: 11pt; font-style: normal; font-variant: normal; font-weight: normal; text-decoration: underline; vertical-align: baseline; white-space: pre-wrap;"&gt;Captain Crunch&lt;/span&gt;&lt;/a&gt;&lt;span style="background-color: transparent; color: black; font-family: Arial; font-size: 11pt; font-style: normal; font-variant: normal; font-weight: normal; text-decoration: none; vertical-align: baseline; white-space: pre-wrap;"&gt; (that’s another post for another day).&lt;/span&gt;&lt;br /&gt;
&lt;span style="background-color: transparent; color: black; font-family: Arial; font-size: 11pt; font-style: normal; font-variant: normal; font-weight: normal; text-decoration: none; vertical-align: baseline; white-space: pre-wrap;"&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span style="background-color: transparent; color: black; font-family: Arial; font-size: 11pt; font-style: normal; font-variant: normal; font-weight: normal; text-decoration: none; vertical-align: baseline; white-space: pre-wrap;"&gt;It was at Astricon in 2005 that I also met one of my soon to be business partners (although I certainly didn’t know it at the time). &amp;nbsp;While I was promoting embedded Asterisk and AstLinux I met a man from Florida named Joe Rhem. &amp;nbsp;Joe had come up with the idea of using embedded Asterisk systems as the cornerstone of a new way to provide business grade telephone services. &amp;nbsp;Joe and I met for a few minutes and discussed the merits of embedded Asterisk. &amp;nbsp;Unfortunately (and everyone already knows this) I don’t remember meeting with Joe. &amp;nbsp;Like I said Astricon was always a whirlwind and I had these conversations with dozens if not hundreds of people at each show. &amp;nbsp;I made my way through Astricon, made a pit stop in Santa Clara for (the now defunct) &lt;/span&gt;&lt;a href="http://blog.isp-planet.com/blog/2009/02/ispcon-closes.html"&gt;&lt;span style="background-color: transparent; color: #000099; font-family: Arial; font-size: 11pt; font-style: normal; font-variant: normal; font-weight: normal; text-decoration: underline; vertical-align: baseline; white-space: pre-wrap;"&gt;ISPCon&lt;/span&gt;&lt;/a&gt;&lt;span style="background-color: transparent; color: black; font-family: Arial; font-size: 11pt; font-style: normal; font-variant: normal; font-weight: normal; text-decoration: none; vertical-align: baseline; white-space: pre-wrap;"&gt; and then returned home to Lake Geneva, WI with a stack of business cards, a few new stories, and a lot of work to finish (or start, depending on your perspective).&lt;/span&gt;&lt;br /&gt;
&lt;span style="background-color: transparent; color: black; font-family: Arial; font-size: 11pt; font-style: normal; font-variant: normal; font-weight: normal; text-decoration: none; vertical-align: baseline; white-space: pre-wrap;"&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span style="background-color: transparent; color: black; font-family: Arial; font-size: 11pt; font-style: normal; font-variant: normal; font-weight: normal; text-decoration: none; vertical-align: baseline; white-space: pre-wrap;"&gt;A couple of months later I received an e-mail from Joe Rhem discussing how he’d like to move forward with what we discussed in Anaheim. &amp;nbsp;Joe had recruited another partner to lead the new venture. &amp;nbsp;Norm Worthington was a successful serial entrepreneur and his offer to lead the company was the equivalent of “having General Patton lead your war effort”. &amp;nbsp;After some catch up I was intrigued with Joe’s idea. &amp;nbsp;A few hours on the phone later everyone was pretty comfortable with how this could work.&lt;/span&gt;&lt;br /&gt;
&lt;span style="background-color: transparent; color: black; font-family: Arial; font-size: 11pt; font-style: normal; font-variant: normal; font-weight: normal; text-decoration: none; vertical-align: baseline; white-space: pre-wrap;"&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span style="background-color: transparent; color: black; font-family: Arial; font-size: 11pt; font-style: normal; font-variant: normal; font-weight: normal; text-decoration: none; vertical-align: baseline; white-space: pre-wrap;"&gt;Now I just needed to fly to Sarasota, FL (where’s that - sounds nice, I thought) to meet with everyone, discuss terms, plan a relocation, and (most importantly) start putting the company, product, and technology together.&lt;/span&gt;&lt;br /&gt;
&lt;span style="background-color: transparent; color: black; font-family: Arial; font-size: 11pt; font-style: normal; font-variant: normal; font-weight: normal; text-decoration: none; vertical-align: baseline; white-space: pre-wrap;"&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span style="background-color: transparent; color: black; font-family: Arial; font-size: 11pt; font-style: normal; font-variant: normal; font-weight: normal; text-decoration: none; vertical-align: baseline; white-space: pre-wrap;"&gt;A short time later I found myself arriving in Sarasota. &amp;nbsp;It was early January and I coming from Wisconsin I couldn’t believe how nice it was. &amp;nbsp;Looking back on it I’m sure Norm and Joe were very confident I’d be joining them in Sarasota. &amp;nbsp;Working with technology I love “in paradise”, how could I resist?&lt;/span&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;span style="background-color: transparent; color: black; font-family: Arial; font-size: 11pt; font-style: normal; font-variant: normal; font-weight: normal; text-decoration: none; vertical-align: baseline; white-space: pre-wrap;"&gt;(Continued in &lt;a href="http://blog.krisk.org/2011/11/bulding-startup.html"&gt;Building a Startup&lt;/a&gt;) &lt;/span&gt;&lt;/div&gt;&lt;img src="http://feeds.feedburner.com/~r/NotJustAstlinuxStuff/~4/XF1SkWd4q6M" height="1" width="1"/&gt;</content><link rel="replies" type="application/atom+xml" href="http://blog.krisk.org/feeds/1780494026834126901/comments/default" title="Post Comments" /><link rel="replies" type="text/html" href="http://www.blogger.com/comment.g?blogID=9220932811142893057&amp;postID=1780494026834126901" title="0 Comments" /><link rel="edit" type="application/atom+xml" href="http://www.blogger.com/feeds/9220932811142893057/posts/default/1780494026834126901?v=2" /><link rel="self" type="application/atom+xml" href="http://www.blogger.com/feeds/9220932811142893057/posts/default/1780494026834126901?v=2" /><link rel="alternate" type="text/html" href="http://feedproxy.google.com/~r/NotJustAstlinuxStuff/~3/XF1SkWd4q6M/starting-startup.html" title="Starting a Startup" /><author><name>Kristian Kielhofner</name><uri>http://www.blogger.com/profile/06405875458561185080</uri><email>noreply@blogger.com</email><gd:image rel="http://schemas.google.com/g/2005#thumbnail" width="23" height="32" src="http://4.bp.blogspot.com/-gr03qLpZIe8/Tp2gAW-nrvI/AAAAAAAAARo/LPwEMglNM0w/s220/kristian_kielhofner2.jpeg" /></author><thr:total>0</thr:total><feedburner:origLink>http://blog.krisk.org/2011/10/starting-startup.html</feedburner:origLink></entry><entry gd:etag="W/&quot;CUUCR3o7eCp7ImA9Wx5bEU4.&quot;"><id>tag:blogger.com,1999:blog-9220932811142893057.post-2726460683120987150</id><published>2010-10-26T17:39:00.005-04:00</published><updated>2010-10-26T18:47:46.400-04:00</updated><app:edited xmlns:app="http://www.w3.org/2007/app">2010-10-26T18:47:46.400-04:00</app:edited><category scheme="http://www.blogger.com/atom/ns#" term="sip" /><category scheme="http://www.blogger.com/atom/ns#" term="sipsak" /><title>Breaking RFC compliance to improve monitoring</title><content type="html">A colleague came to me today and had a troubling issue.  He's using &lt;a href="http://sipsak.org/"&gt;sipsak&lt;/a&gt; and &lt;a href="http://www.nagios.org/"&gt;nagios&lt;/a&gt; to monitor some SIP endpoints.  Pretty standard so far, right?  He noticed that when using UDP and checking on an endpoint that was completely offline sipsak would take over 30 seconds to finally return with an error.  Meanwhile Nagios would block and wait for sipsak to return...&lt;br /&gt;&lt;br /&gt;Without a simple command line option in sipsak that appeared to change this behavior, we had to enter the semi-complicated world of SIP timers.  I feared that to change this behavior we'd have to do some things that might not necessarily be RFC compliant...&lt;br /&gt;&lt;br /&gt;What's this?  For once I'm actually suggesting you do something against the better advice of an RFC?&lt;br /&gt;&lt;br /&gt;That's right, I am.&lt;br /&gt;&lt;br /&gt;&lt;a href="http://www.ietf.org/rfc/rfc3261.txt"&gt;RFC3261&lt;/a&gt; defines multiple timers and timeouts for messages and transactions.  It says things like:&lt;br /&gt;&lt;br /&gt;"If there is no final response for the original request in 64*T1 seconds"&lt;br /&gt;&lt;br /&gt;"The UAC core considers the INVITE transaction completed 64*T1 seconds after the reception of the first 2xx response."&lt;br /&gt;&lt;br /&gt;"The 2xx response is passed to the transport with an interval that starts at T1 seconds and doubles for each retransmission until it reaches T2 seconds"&lt;br /&gt;&lt;br /&gt;Without even knowing what "T1" is you can start to see that it's a pretty important timing parameter and (more or less) serves as the father of all timeouts in SIP.  Let's look at section 17 to find out what T1 is:&lt;br /&gt;&lt;br /&gt;"The default value for T1 is 500 ms.  T1 is an estimate of the RTT between the client and server transactions.  Elements MAY (though it is NOT RECOMMENDED) use smaller values of T1 within closed, private networks that do not permit general Internet connection.  T1 MAY be chosen larger, and this is RECOMMENDED if it is known in advance (such as on high latency access links) that the RTT is larger. Whatever the value of T1, the exponential backoffs on retransmissions described in this section MUST be used."&lt;br /&gt;&lt;br /&gt;T1 is essentially a variable for RTT between two endpoints that serves as a multiplier for other timeouts.  Unless we know better T1 should default to 500ms, which is quite high.  Some implementations (such as Asterisk with the SIP peer qualify option) automatically send OPTIONS requests to endpoints in an effort to better determine RTT instead of using the RFC default of 500ms.&lt;br /&gt;&lt;br /&gt;In reading through the sipsak source code it appeared to be RFC compliant for timing, using a default T1 value of 500ms and a transaction timeout value of 64*T1.  This is why it was taking over 30 seconds (32 seconds to be exact) for sipsak to finally timeout and return the status code to nagios.  This comes directly from the RFC:&lt;br /&gt;&lt;br /&gt;"For any transport, the client transaction MUST start timer B with a value of 64*T1 seconds (Timer B controls transaction timeouts)."&lt;br /&gt;&lt;br /&gt;This is all well and good but what happens when you don't have a way to dynamically determine T1 and you can't wait T1*64 (32s) for your results like my sipsak/nagios check earlier?  Simple: you go renegade, throw out the RFC, and hack the sipsak source yourself!&lt;br /&gt;&lt;br /&gt;So I had three options:&lt;br /&gt;&lt;br /&gt;1) Change the default value of T1.&lt;br /&gt;2) Change the value of T2 by changing the multiplier or setting a static timeout.&lt;br /&gt;3) Some combination of both.&lt;br /&gt;&lt;br /&gt;I decided to go with option #3 (RFC be damned).  Why?&lt;br /&gt;&lt;br /&gt;1)  500ms is crazy high for most of our endpoints.  At a glance 100ms would be fine for ~90% of them.  I'll pick 150ms.&lt;br /&gt;2)  I don't need that many retransmits.  If the latency and/or packet loss is that bad I'm not going to wait (my RTP certainly isn't) and I just want to know about it that much quicker.&lt;br /&gt;&lt;br /&gt;So I ended up with a quick easy patch to sipsak:&lt;br /&gt;&lt;br /&gt;diff -urN sipsak-0.9.6.orig/sipsak.h sipsak-0.9.6/sipsak.h&lt;br /&gt;--- sipsak-0.9.6.orig/sipsak.h    2006-01-28 16:11:50.000000000 -0500&lt;br /&gt;+++ sipsak-0.9.6/sipsak.h    2010-10-26 18:38:45.000000000 -0400&lt;br /&gt;@@ -102,11 +102,7 @@&lt;br /&gt; # define FQDN_SIZE   100&lt;br /&gt; #endif&lt;br /&gt;&lt;br /&gt;-#ifdef HAVE_CONFIG_H&lt;br /&gt;-# define SIP_T1 DEFAULT_TIMEOUT&lt;br /&gt;-#else&lt;br /&gt;-# define SIP_T1 500&lt;br /&gt;-#endif&lt;br /&gt;+#define SIP_T1 150&lt;br /&gt;&lt;br /&gt; #define SIP_T2 8*SIP_T1&lt;br /&gt;&lt;br /&gt;diff -urN sipsak-0.9.6.orig/transport.c sipsak-0.9.6/transport.c&lt;br /&gt;--- sipsak-0.9.6.orig/transport.c    2006-01-28 16:11:34.000000000 -0500&lt;br /&gt;+++ sipsak-0.9.6/transport.c    2010-10-26 18:38:51.000000000 -0400&lt;br /&gt;@@ -286,7 +286,7 @@&lt;br /&gt;             }&lt;br /&gt;         }&lt;br /&gt;         senddiff = deltaT(&amp;amp;(srt-&gt;starttime), &amp;amp;(srt-&gt;recvtime));&lt;br /&gt;-        if (senddiff &gt; (float)64 * (float)SIP_T1) {&lt;br /&gt;+        if (senddiff &gt; inv_final) {&lt;br /&gt;             if (timing == 0) {&lt;br /&gt;                 if (verbose&gt;0)&lt;br /&gt;                     printf("*** giving up, no final response after %.3f ms\n", senddiff);&lt;br /&gt;&lt;br /&gt;This changes the value of T1 to 150ms (more reasonable for most networks) and allows you to specify the number of retransmits (and thus the total timeout) using -D on the sipsak command line:&lt;br /&gt;&lt;br /&gt;kkmac:sipsak-0.9.6-build kris$ ./sipsak -p 10.16.0.3 -s sip:ext_callqual@asterisk -D1 -v&lt;br /&gt;** timeout after 150 ms**&lt;br /&gt;*** giving up, no final response after 150.334 ms&lt;br /&gt;&lt;br /&gt;kkmac:sipsak-0.9.6-build kris$ ./sipsak -p 10.16.0.3 -s sip:ext_callqual@asterisk -D2 -v&lt;br /&gt;** timeout after 150 ms**&lt;br /&gt;** timeout after 300 ms**&lt;br /&gt;*** giving up, no final response after 460.612 ms&lt;br /&gt;&lt;br /&gt;kkmac:sipsak-0.9.6-build kris$ ./sipsak -p 10.16.0.3 -s sip:ext_callqual@asterisk -D4 -v&lt;br /&gt;** timeout after 150 ms**&lt;br /&gt;** timeout after 300 ms**&lt;br /&gt;** timeout after 600 ms**&lt;br /&gt;*** giving up, no final response after 1071.137 ms&lt;br /&gt;&lt;br /&gt;kkmac:sipsak-0.9.6-build kris$&lt;br /&gt;&lt;br /&gt;Needless to say our monitoring situation is much improved.&lt;img src="http://feeds.feedburner.com/~r/NotJustAstlinuxStuff/~4/d7ljmm4-x6I" height="1" width="1"/&gt;</content><link rel="replies" type="application/atom+xml" href="http://blog.krisk.org/feeds/2726460683120987150/comments/default" title="Post Comments" /><link rel="replies" type="text/html" href="http://www.blogger.com/comment.g?blogID=9220932811142893057&amp;postID=2726460683120987150" title="0 Comments" /><link rel="edit" type="application/atom+xml" href="http://www.blogger.com/feeds/9220932811142893057/posts/default/2726460683120987150?v=2" /><link rel="self" type="application/atom+xml" href="http://www.blogger.com/feeds/9220932811142893057/posts/default/2726460683120987150?v=2" /><link rel="alternate" type="text/html" href="http://feedproxy.google.com/~r/NotJustAstlinuxStuff/~3/d7ljmm4-x6I/breaking-rfc-compliance-to-improve.html" title="Breaking RFC compliance to improve monitoring" /><author><name>Kristian Kielhofner</name><uri>http://www.blogger.com/profile/06405875458561185080</uri><email>noreply@blogger.com</email><gd:image rel="http://schemas.google.com/g/2005#thumbnail" width="23" height="32" src="http://4.bp.blogspot.com/-gr03qLpZIe8/Tp2gAW-nrvI/AAAAAAAAARo/LPwEMglNM0w/s220/kristian_kielhofner2.jpeg" /></author><thr:total>0</thr:total><feedburner:origLink>http://blog.krisk.org/2010/10/breaking-rfc-compliance-to-improve.html</feedburner:origLink></entry><entry gd:etag="W/&quot;DkUHR3g5eSp7ImA9Wx5SEE8.&quot;"><id>tag:blogger.com,1999:blog-9220932811142893057.post-623147100480806586</id><published>2010-08-05T11:56:00.004-04:00</published><updated>2010-08-05T12:03:56.621-04:00</updated><app:edited xmlns:app="http://www.w3.org/2007/app">2010-08-05T12:03:56.621-04:00</app:edited><category scheme="http://www.blogger.com/atom/ns#" term="cluecon" /><category scheme="http://www.blogger.com/atom/ns#" term="freeswitch" /><title>A ClueCon Update</title><content type="html">Cluecon is going very well this year...  I spoke the first day and have spent the rest of my time here enjoying the presentations and interacting with the community.&lt;br /&gt;&lt;br /&gt;A few highlights:&lt;br /&gt;&lt;br /&gt;&lt;ul&gt;&lt;li&gt;Perfect wireless provided by &lt;a href="http://meraki.com/"&gt;Meraki&lt;/a&gt;. I've never been to a tech conference where the wifi has kept up with the crowd.  Well done.&lt;/li&gt;&lt;li&gt;The Trump Tower.  Phenomenal.&lt;/li&gt;&lt;li&gt;FreeSWITCH HA support in Sofia! This is worthy of its own post and it will have one when I get back and play with it.  In the meantime my guy Jay Binks has been working to &lt;a href="http://wiki.freeswitch.org/wiki/Freeswitch_HA"&gt;document&lt;/a&gt; this exciting new feature.&lt;br /&gt;&lt;/li&gt;&lt;li&gt;Chicago.  I just LOVE this town.&lt;/li&gt;&lt;/ul&gt;More later...  I've got to get back to the conference!&lt;img src="http://feeds.feedburner.com/~r/NotJustAstlinuxStuff/~4/21rRcCxXl3w" height="1" width="1"/&gt;</content><link rel="replies" type="application/atom+xml" href="http://blog.krisk.org/feeds/623147100480806586/comments/default" title="Post Comments" /><link rel="replies" type="text/html" href="http://www.blogger.com/comment.g?blogID=9220932811142893057&amp;postID=623147100480806586" title="0 Comments" /><link rel="edit" type="application/atom+xml" href="http://www.blogger.com/feeds/9220932811142893057/posts/default/623147100480806586?v=2" /><link rel="self" type="application/atom+xml" href="http://www.blogger.com/feeds/9220932811142893057/posts/default/623147100480806586?v=2" /><link rel="alternate" type="text/html" href="http://feedproxy.google.com/~r/NotJustAstlinuxStuff/~3/21rRcCxXl3w/cluecon-update.html" title="A ClueCon Update" /><author><name>Kristian Kielhofner</name><uri>http://www.blogger.com/profile/06405875458561185080</uri><email>noreply@blogger.com</email><gd:image rel="http://schemas.google.com/g/2005#thumbnail" width="23" height="32" src="http://4.bp.blogspot.com/-gr03qLpZIe8/Tp2gAW-nrvI/AAAAAAAAARo/LPwEMglNM0w/s220/kristian_kielhofner2.jpeg" /></author><thr:total>0</thr:total><feedburner:origLink>http://blog.krisk.org/2010/08/cluecon-update.html</feedburner:origLink></entry><entry gd:etag="W/&quot;DEMGQHY4eSp7ImA9Wx5TE0k.&quot;"><id>tag:blogger.com,1999:blog-9220932811142893057.post-4143689026510632086</id><published>2010-05-21T14:54:00.009-04:00</published><updated>2010-07-28T15:47:01.831-04:00</updated><app:edited xmlns:app="http://www.w3.org/2007/app">2010-07-28T15:47:01.831-04:00</app:edited><category scheme="http://www.blogger.com/atom/ns#" term="sip" /><category scheme="http://www.blogger.com/atom/ns#" term="opensips" /><category scheme="http://www.blogger.com/atom/ns#" term="freeswitch" /><title>A ClueCon Preview...</title><content type="html">A while back I saw a preview for the new A-Team movie.  While the movie itself looks horrible I was reminded of the original TV series with its many interesting characters and catch phrases.  Among my personal favorites?&lt;br /&gt;&lt;br /&gt;I love it when a plan comes together.&lt;br /&gt;&lt;br /&gt;That's exactly how I feel with one of my "pet projects" from the past couple of months.  Much like Hanibel and the A-Team I was up against formidable issues in trying to accomplish my task: implementing a flexible (very flexible), reasonably high performance LCR server that could be added to my existing architecture.&lt;br /&gt;&lt;br /&gt;First I needed to select an LCR "engine".  Multiple possibilities were considered but I left the final recommendation up to the DB and billing teams I work with.  They selected mod_lcr from FreeSWITCH.  While I was certain droute from OpenSIPS (or something similar) would have higher performance I accepted their recommendation.  After playing with mod_lcr a bit I can also see its potential.&lt;br /&gt;&lt;br /&gt;So now the question was: can FreeSWITCH respond with the proper SIP signaling (300 Multiple Choices)?  Using the redirect application from mod_dptools it could not.  I created a bounty to add multiple Contact/300 Multiple Choices functionality to FreeSWITCH.  Tony had it implemented that day.&lt;br /&gt;&lt;br /&gt;With the ability to respond properly I now had to get the data.  Mod_lcr looked nice but it certainly wasn't designed for this application.  All of the default syntax, tables, etc showed it being used with FreeSWITCH for FreeSWITCH.  The tables and code used several bridge specific syntax examples.  I hacked mod_lcr to return data to mod_dptools/redirect properly.  A created a JIRA issue with my patch and a couple of days later Rupa had it committed.&lt;br /&gt;&lt;br /&gt;So now FreeSWITCH could be a route server.  All I needed to do was make sure OpenSIPS could route from what FreeSWITCH returned.  Turns out it could not.  RFC 3261 (section 21.3.1) states "...the SIP response MAY contain several Contact fields or a list of addresses in a Contact field."  The Sofia stack from FreeSWITCH used multiple Contact headers, each with its own URI.  OpenSIPS would only parse the first one returned.  Sofia couldn't be changed easily so OpenSIPS would need to be changed (it was non-compliant anyway).  Without this change there is no ability to handle multiple contacts and only the first would be used.  It could be worse but obviously this wasn't good enough.&lt;br /&gt;&lt;br /&gt;I contacted Bogdan from OpenSIPS to see what it would take to update the parser to handle multiple Contact headers.  He indicated it would take four hours or so.  Once he got back to me I had an OpenSIPS system that would handle multiple contact headers and create new branches from a failure route as desired.&lt;br /&gt;&lt;br /&gt;So how did it all turn out?  Well, you have two ways to hear the end of this story:&lt;br /&gt;&lt;br /&gt;1)  Attend ClueCon at the Trump Hotel in Chicago, IL in early August.&lt;br /&gt;2)  Wait until mid-August for an update here.&lt;br /&gt;&lt;br /&gt;I'll make sure to post all of my materials - conference presentation, sipp scenarios for testing, OpenSIPS configuration, FreeSWITCH configuration, DB tweaks, etc.&lt;br /&gt;&lt;br /&gt;Too late to make it to ClueCon this year?  Just make sure to register next year, I'm sure I'll be there.&lt;img src="http://feeds.feedburner.com/~r/NotJustAstlinuxStuff/~4/cijUFBzvcgQ" height="1" width="1"/&gt;</content><link rel="replies" type="application/atom+xml" href="http://blog.krisk.org/feeds/4143689026510632086/comments/default" title="Post Comments" /><link rel="replies" type="text/html" href="http://www.blogger.com/comment.g?blogID=9220932811142893057&amp;postID=4143689026510632086" title="0 Comments" /><link rel="edit" type="application/atom+xml" href="http://www.blogger.com/feeds/9220932811142893057/posts/default/4143689026510632086?v=2" /><link rel="self" type="application/atom+xml" href="http://www.blogger.com/feeds/9220932811142893057/posts/default/4143689026510632086?v=2" /><link rel="alternate" type="text/html" href="http://feedproxy.google.com/~r/NotJustAstlinuxStuff/~3/cijUFBzvcgQ/cluecon-preview.html" title="A ClueCon Preview..." /><author><name>Kristian Kielhofner</name><uri>http://www.blogger.com/profile/06405875458561185080</uri><email>noreply@blogger.com</email><gd:image rel="http://schemas.google.com/g/2005#thumbnail" width="23" height="32" src="http://4.bp.blogspot.com/-gr03qLpZIe8/Tp2gAW-nrvI/AAAAAAAAARo/LPwEMglNM0w/s220/kristian_kielhofner2.jpeg" /></author><thr:total>0</thr:total><feedburner:origLink>http://blog.krisk.org/2010/05/cluecon-preview.html</feedburner:origLink></entry><entry gd:etag="W/&quot;CkUGQ3Y-fip7ImA9WxFXE0w.&quot;"><id>tag:blogger.com,1999:blog-9220932811142893057.post-4961170044761634355</id><published>2010-05-19T18:47:00.005-04:00</published><updated>2010-05-19T19:03:42.856-04:00</updated><app:edited xmlns:app="http://www.w3.org/2007/app">2010-05-19T19:03:42.856-04:00</app:edited><category scheme="http://www.blogger.com/atom/ns#" term="sip" /><category scheme="http://www.blogger.com/atom/ns#" term="freeswitch" /><title>I've said it before but I'll say it again...</title><content type="html">FreeSWITCH rocks!&lt;br /&gt;&lt;br /&gt;Earlier today I wanted to play with the possibility of using FreeSWITCH as a route/LCR server for another platform.  FreeSWITCH already has &lt;a href="http://wiki.freeswitch.org/wiki/Mod_lcr"&gt;mod_lcr&lt;/a&gt; and &lt;a href="http://wiki.freeswitch.org/wiki/Misc._Dialplan_Tools_redirect"&gt;redirect&lt;/a&gt;.  Using these two features FreeSWITCH could be made to respond with a 302 and a single SIP URI in the Contact field.&lt;br /&gt;&lt;br /&gt;I wanted more.  I wanted a way to respond with multiple routes.&lt;br /&gt;&lt;br /&gt;The standard way to do this (using SIP, of course) is to respond to incoming INVITEs with a 300 Multiple Choices.  This response should contain a Contact header (or multiple Contact headers) with a list of SIP URIs (along with optional q values, etc) for the original system to route the call to.&lt;br /&gt;&lt;br /&gt;As usual I wrote the FreeSWITCH-Users mailing list to make sure this functionality didn't already exist somewhere.  It did not and it was suggested I create a bounty.&lt;br /&gt;&lt;br /&gt;Creating a bounty is always tough...  I don't deal with the source code of FreeSWITCH all that often.  I don't know how much work this is going to take.  I don't know how much C programmers make.  So I did my best to come up with something that seemed fair: $250.&lt;br /&gt;&lt;br /&gt;Less than two hours later the feature was coded, committed to FreeSWITCH, tested by me, and paid for.&lt;br /&gt;&lt;br /&gt;Once again, Open Source for the win!&lt;img src="http://feeds.feedburner.com/~r/NotJustAstlinuxStuff/~4/7OZnw9WO0t0" height="1" width="1"/&gt;</content><link rel="replies" type="application/atom+xml" href="http://blog.krisk.org/feeds/4961170044761634355/comments/default" title="Post Comments" /><link rel="replies" type="text/html" href="http://www.blogger.com/comment.g?blogID=9220932811142893057&amp;postID=4961170044761634355" title="0 Comments" /><link rel="edit" type="application/atom+xml" href="http://www.blogger.com/feeds/9220932811142893057/posts/default/4961170044761634355?v=2" /><link rel="self" type="application/atom+xml" href="http://www.blogger.com/feeds/9220932811142893057/posts/default/4961170044761634355?v=2" /><link rel="alternate" type="text/html" href="http://feedproxy.google.com/~r/NotJustAstlinuxStuff/~3/7OZnw9WO0t0/ive-said-it-before-but-ill-say-it-again.html" title="I've said it before but I'll say it again..." /><author><name>Kristian Kielhofner</name><uri>http://www.blogger.com/profile/06405875458561185080</uri><email>noreply@blogger.com</email><gd:image rel="http://schemas.google.com/g/2005#thumbnail" width="23" height="32" src="http://4.bp.blogspot.com/-gr03qLpZIe8/Tp2gAW-nrvI/AAAAAAAAARo/LPwEMglNM0w/s220/kristian_kielhofner2.jpeg" /></author><thr:total>0</thr:total><feedburner:origLink>http://blog.krisk.org/2010/05/ive-said-it-before-but-ill-say-it-again.html</feedburner:origLink></entry><entry gd:etag="W/&quot;A0IHSHY9eCp7ImA9WxFQFko.&quot;"><id>tag:blogger.com,1999:blog-9220932811142893057.post-1325689843640415415</id><published>2010-05-12T11:27:00.005-04:00</published><updated>2010-05-12T11:52:19.860-04:00</updated><app:edited xmlns:app="http://www.w3.org/2007/app">2010-05-12T11:52:19.860-04:00</app:edited><category scheme="http://www.blogger.com/atom/ns#" term="cisco" /><category scheme="http://www.blogger.com/atom/ns#" term="sip" /><category scheme="http://www.blogger.com/atom/ns#" term="freeswitch" /><title>Another SIP gotcha: Cisco</title><content type="html">Another quick and dirty SIP interop post.&lt;br /&gt;&lt;br /&gt;A while back I was tasked to interface a FreeSWITCH server and a Cisco Unified Communications Manager system.  Once the SIP trunk was configured on the Call Manager/CUCM side they sent an INVITE over.  It didn't have an SDP.&lt;br /&gt;&lt;br /&gt;It appeared that we needed to enable 3pcc (third party call control) in FreeSWITCH.  No problem.  I enabled 3pcc and interop continued.&lt;br /&gt;&lt;br /&gt;Problems arose, however, when we needed to send the Cisco ringback.  Whether it be a 180 or 183 (with or without SDP for either) this was going to be tough because with 3pcc enabled the dialog looked like so:&lt;br /&gt;&lt;br /&gt;&lt;-- Cisco&lt;br /&gt;--&gt; FreeSWITCH&lt;br /&gt;INVITE (without SDP) &lt;--&lt;br /&gt;100 Trying --&gt;&lt;br /&gt;200 OK (with SDP) --&gt;&lt;br /&gt;ACK (with SDP) &lt;--&lt;br /&gt;&lt;br /&gt;So...  There was no opportunity to signal progress as long as we 200 OKd the call almost immediately.  Sure I probably could generate some ringback after the 200 but that would just be wrong!&lt;br /&gt;&lt;br /&gt;As I like to say, the internet to the rescue.  Not having much experience with CUCM I thought I'd ask on VoiceOps.  Within a few minutes a very nice gentlemen by the name of &lt;a href="http://www.markholloway.com/"&gt;Mark Holloway&lt;/a&gt; mentioned "Media Termination Point Required" as a CUCM configuration option.  These were the magic words.  After some research it turned out that was the configuration option I needed*.  Thanks Mark!&lt;br /&gt;&lt;br /&gt;Once "Media Termination Point Required" was enabled on the Cisco side I disabled 3pcc in FreeSWITCH and all was good.  Users even get ringback now!&lt;br /&gt;&lt;br /&gt;I also brought the issue up on the FreeSWITCH-Users mailing list and found out this has been bothering people for some time.  MC from FreeSWITCH was even nice enough to start a &lt;a href="http://wiki.freeswitch.org/wiki/Cisco_Call_Manager"&gt;wiki page&lt;/a&gt; for me to document all of this there.&lt;br /&gt;&lt;br /&gt;Sometimes with SIP it's all about the SIMPLE achievements ;).&lt;br /&gt;&lt;br /&gt;* That research also brought up another possibility: enabling PRACK/100rel on the CallManager side instead of "MTP Required".  Of course the trouble with PRACK is there are a lot of SIP implementations (Asterisk) that don't support it.  FreeSWITCH does but can &lt;a href="http://jira.freeswitch.org/browse/FSCORE-392"&gt;crash&lt;/a&gt;.  Many SIP implementations don't support the default CUCM configuration (INVITE w/o SDP).  I was looking for the most canonical, compatible configuration possible.&lt;img src="http://feeds.feedburner.com/~r/NotJustAstlinuxStuff/~4/lCyKZfIVeI4" height="1" width="1"/&gt;</content><link rel="replies" type="application/atom+xml" href="http://blog.krisk.org/feeds/1325689843640415415/comments/default" title="Post Comments" /><link rel="replies" type="text/html" href="http://www.blogger.com/comment.g?blogID=9220932811142893057&amp;postID=1325689843640415415" title="0 Comments" /><link rel="edit" type="application/atom+xml" href="http://www.blogger.com/feeds/9220932811142893057/posts/default/1325689843640415415?v=2" /><link rel="self" type="application/atom+xml" href="http://www.blogger.com/feeds/9220932811142893057/posts/default/1325689843640415415?v=2" /><link rel="alternate" type="text/html" href="http://feedproxy.google.com/~r/NotJustAstlinuxStuff/~3/lCyKZfIVeI4/another-sip-gotcha-cisco.html" title="Another SIP gotcha: Cisco" /><author><name>Kristian Kielhofner</name><uri>http://www.blogger.com/profile/06405875458561185080</uri><email>noreply@blogger.com</email><gd:image rel="http://schemas.google.com/g/2005#thumbnail" width="23" height="32" src="http://4.bp.blogspot.com/-gr03qLpZIe8/Tp2gAW-nrvI/AAAAAAAAARo/LPwEMglNM0w/s220/kristian_kielhofner2.jpeg" /></author><thr:total>0</thr:total><feedburner:origLink>http://blog.krisk.org/2010/05/another-sip-gotcha-cisco.html</feedburner:origLink></entry><entry gd:etag="W/&quot;Ck4DSXk-fyp7ImA9WxBUGE8.&quot;"><id>tag:blogger.com,1999:blog-9220932811142893057.post-6790685149391657887</id><published>2010-02-05T12:01:00.005-05:00</published><updated>2010-03-05T15:29:38.757-05:00</updated><app:edited xmlns:app="http://www.w3.org/2007/app">2010-03-05T15:29:38.757-05:00</app:edited><category scheme="http://www.blogger.com/atom/ns#" term="sip" /><category scheme="http://www.blogger.com/atom/ns#" term="wideband" /><category scheme="http://www.blogger.com/atom/ns#" term="voalte" /><title>(High Quality) VoIP on the iPhone</title><content type="html">(Regular readers will note that my excessive use of parentheses has now spilled into my titles and first sentences)!&lt;br /&gt;&lt;br /&gt;Ahhh Apple...  Ahh the iPhone.  Regardless of how you feel about this company or their product you can't doubt the market impact they've made over the last couple of years (decades perhaps?).  Multitouch (NOT multitasking).  App Store.  iTunes.  There are countless other blogs that discuss these topics so I don't need to.  As usual I'm here to talk about VoIP.&lt;br /&gt;&lt;br /&gt;For the last ten months or so I've been involved (part time) in another local venture.  &lt;a href="http://www.voalte.com"&gt;Voalte&lt;/a&gt; (pronounced volt) is a startup here in Sarasota, FL founded by Trey Lauderdale.  When the Apple iPhone was announced Trey was working in sales for Emergin, a healthcare IT middleware provider.  Trey noticed how incredibly arcane the mobile devices used in healthcare are when compared to this new device from Apple.  Once the iPhone SDK was announced Trey knew he had to develop an iPhone application for healthcare.  This application became Voalte One.&lt;br /&gt;&lt;br /&gt;Voalte One is an iPhone application that provides voice, alarms, and text for healthcare point of care providers (that's nurses to you and I).  The complete Voalte One solution is comprised of the following parts:&lt;br /&gt;&lt;br /&gt;- iPhone&lt;br /&gt;- Voalte Server (XMPP, LDAP, etc)&lt;br /&gt;- Voalte Voice Server (FreeSWITCH using SIP + event socket)&lt;br /&gt;- An overall excellent customer/user experience (also new to healthcare)&lt;br /&gt;&lt;br /&gt;Text messaging and alarm integration are cool but as I've already said, I do VoIP.  If you'd like to know more about iPhone development, XMPP, LDAP, etc let me know and I can point you in the right direction.&lt;br /&gt;&lt;br /&gt;VoIP in our application is interesting.  It's a softphone, technically, but unlike one you've ever seen before.  As everyone knows the iPhone cannot run multiple applications.  It can't background applications.  These are just two of the many challenges introduced when developing a user-friendly, always available, reliable non-GSM phone experience for the iPhone.  Simply downloading an off the shelf softphone and installing it on the iPhone is not enough.&lt;br /&gt;&lt;br /&gt;We're a startup and we get to do cool things.  For example, one of the big differences between VoIP/voice with Voalte One on the iPhone is the voice quality.  We use G.722 wideband at 16kHz as our standard voice codec.  Why?  Because one Saturday (after a long night out) Trey and I were having lunch.  I asked him if he thought we should set ourselves apart on something as basic as sample rate.  After a little explanation on my part we quickly decided - why not?&lt;br /&gt;&lt;br /&gt;As cool as G.722 is it introduces some interesting challenges:&lt;br /&gt;&lt;br /&gt;- The iPhone.  How are we going to get 16kHz audio from the hardware?&lt;br /&gt;- PJSIP (our SIP stack).  Does it support G.722?  How does it interface with the audio hardware?&lt;br /&gt;- Hospital PBXs.  Voalte One interfaces with the hospital PBX as an ordinary extension.  Most of them probably don't support G.722.  How/where do we resample to the standard 8kHz used in G.711?&lt;br /&gt;&lt;br /&gt;After looking through PJSIP and the available audio drivers for the iPhone we decided we needed to write our own.  There were legal and technical reasons and I'm glad we did it.  Especially because I didn't have to do most of the work! ;)  We also confirmed PJSIP supports G.722.&lt;br /&gt;&lt;br /&gt;Voalte has an amazing iPhone developer - Robbie Hanson.  Robbie, Ben (Voalte CTO), and I were able to look over the available audio frameworks on the iPhone and pick the best.  Not only is it the best overall (it supports echo cancellation, etc) it would provide us the sampling rate of 16kHz we knew we needed.&lt;br /&gt;&lt;br /&gt;After working with PJSIP and AudioUnit for a while Robbie was able to write an iPhone audio driver (using AudioUnit, of course) for PJSIP.  While working on the audio driver Robbie (along with another contributor) also wrote an Objective C wrapper for PJSIP.  These are the raw ingredients of a high quality VoIP experience on the iPhone.&lt;br /&gt;&lt;br /&gt;In the months leading up to release we had to deal with a plethora of other issues: push notifications, local ringback, wifi, etc, etc.  I won't (and probably can't) describe these issues in detail.&lt;br /&gt;&lt;br /&gt;The good news is Voalte has done the right thing and &lt;a href="http://www.voalte.com/Blog/post/2010/02/11/Voaltes-First-Open-Source-Project.aspx"&gt;released the core components of this solution as open source. &lt;/a&gt;&lt;br /&gt;&lt;br /&gt;I'm proud to work with companies that "get it" and are willing to actively participate in the free software ecosystem.&lt;img src="http://feeds.feedburner.com/~r/NotJustAstlinuxStuff/~4/LuqRB3WbiVo" height="1" width="1"/&gt;</content><link rel="replies" type="application/atom+xml" href="http://blog.krisk.org/feeds/6790685149391657887/comments/default" title="Post Comments" /><link rel="replies" type="text/html" href="http://www.blogger.com/comment.g?blogID=9220932811142893057&amp;postID=6790685149391657887" title="1 Comments" /><link rel="edit" type="application/atom+xml" href="http://www.blogger.com/feeds/9220932811142893057/posts/default/6790685149391657887?v=2" /><link rel="self" type="application/atom+xml" href="http://www.blogger.com/feeds/9220932811142893057/posts/default/6790685149391657887?v=2" /><link rel="alternate" type="text/html" href="http://feedproxy.google.com/~r/NotJustAstlinuxStuff/~3/LuqRB3WbiVo/high-quality-voip-on-iphone.html" title="(High Quality) VoIP on the iPhone" /><author><name>Kristian Kielhofner</name><uri>http://www.blogger.com/profile/06405875458561185080</uri><email>noreply@blogger.com</email><gd:image rel="http://schemas.google.com/g/2005#thumbnail" width="23" height="32" src="http://4.bp.blogspot.com/-gr03qLpZIe8/Tp2gAW-nrvI/AAAAAAAAARo/LPwEMglNM0w/s220/kristian_kielhofner2.jpeg" /></author><thr:total>1</thr:total><feedburner:origLink>http://blog.krisk.org/2010/02/high-quality-voip-on-iphone.html</feedburner:origLink></entry><entry gd:etag="W/&quot;D0EFRXs5eip7ImA9WxBWEU8.&quot;"><id>tag:blogger.com,1999:blog-9220932811142893057.post-1968905950882236853</id><published>2010-02-02T10:39:00.003-05:00</published><updated>2010-02-02T10:46:54.522-05:00</updated><app:edited xmlns:app="http://www.w3.org/2007/app">2010-02-02T10:46:54.522-05:00</app:edited><category scheme="http://www.blogger.com/atom/ns#" term="opensips" /><title>Upcoming Review: Building Telephony Systems with OpenSIPS 1.6</title><content type="html">Packt Publishing has once again asked me to review their latest work in the OpenSIPS series: &lt;a href="http://www.packtpub.com/building-telephony-systems-with-opensips-1-6/book"&gt;Building Telephony Systems with OpenSIPS 1.6&lt;/a&gt;.&lt;br /&gt;&lt;br /&gt;My &lt;a href="http://blog.krisk.org/2008/07/book-review-building-telephony-systems.html"&gt;review&lt;/a&gt; of the previous edition goes all the way back to when OpenSIPS was called OpenSER.  I have another &lt;a href="http://blog.krisk.org/2008/08/more-openser-drama.html"&gt;post&lt;/a&gt; discussing that topic...&lt;br /&gt;&lt;br /&gt;Anyways, I should be receiving the book this week and I should have a review up by next week.&lt;img src="http://feeds.feedburner.com/~r/NotJustAstlinuxStuff/~4/Frn34yPnj2E" height="1" width="1"/&gt;</content><link rel="replies" type="application/atom+xml" href="http://blog.krisk.org/feeds/1968905950882236853/comments/default" title="Post Comments" /><link rel="replies" type="text/html" href="http://www.blogger.com/comment.g?blogID=9220932811142893057&amp;postID=1968905950882236853" title="0 Comments" /><link rel="edit" type="application/atom+xml" href="http://www.blogger.com/feeds/9220932811142893057/posts/default/1968905950882236853?v=2" /><link rel="self" type="application/atom+xml" href="http://www.blogger.com/feeds/9220932811142893057/posts/default/1968905950882236853?v=2" /><link rel="alternate" type="text/html" href="http://feedproxy.google.com/~r/NotJustAstlinuxStuff/~3/Frn34yPnj2E/upcoming-review-building-telephony.html" title="Upcoming Review: Building Telephony Systems with OpenSIPS 1.6" /><author><name>Kristian Kielhofner</name><uri>http://www.blogger.com/profile/06405875458561185080</uri><email>noreply@blogger.com</email><gd:image rel="http://schemas.google.com/g/2005#thumbnail" width="23" height="32" src="http://4.bp.blogspot.com/-gr03qLpZIe8/Tp2gAW-nrvI/AAAAAAAAARo/LPwEMglNM0w/s220/kristian_kielhofner2.jpeg" /></author><thr:total>0</thr:total><feedburner:origLink>http://blog.krisk.org/2010/02/upcoming-review-building-telephony.html</feedburner:origLink></entry><entry gd:etag="W/&quot;D0EFQnY7cSp7ImA9WxBXEE0.&quot;"><id>tag:blogger.com,1999:blog-9220932811142893057.post-4065228717274126384</id><published>2010-01-20T11:37:00.003-05:00</published><updated>2010-01-20T11:40:13.809-05:00</updated><app:edited xmlns:app="http://www.w3.org/2007/app">2010-01-20T11:40:13.809-05:00</app:edited><category scheme="http://www.blogger.com/atom/ns#" term="astlinux" /><title>AstLinux 0.7 released and more!</title><content type="html">The AstLinux team (of which I'm an occasional member) has &lt;a href="http://www.astlinux.org/release/070"&gt;released&lt;/a&gt; AstLinux 0.7.  Darrick, Philip, Lonnie, and the rest of the community have done a great job getting this release out there.  I couldn't be happier with how my little project has grown up!&lt;br /&gt;&lt;br /&gt;In addition to getting this release out, they've also taken the time to focus on &lt;a href="http://doc.astlinux.org"&gt;documentation&lt;/a&gt; and a new &lt;a href="http://www.astlinux.org"&gt;website&lt;/a&gt;.&lt;br /&gt;&lt;br /&gt;Well done guys!&lt;img src="http://feeds.feedburner.com/~r/NotJustAstlinuxStuff/~4/-WGedCXZQps" height="1" width="1"/&gt;</content><link rel="replies" type="application/atom+xml" href="http://blog.krisk.org/feeds/4065228717274126384/comments/default" title="Post Comments" /><link rel="replies" type="text/html" href="http://www.blogger.com/comment.g?blogID=9220932811142893057&amp;postID=4065228717274126384" title="0 Comments" /><link rel="edit" type="application/atom+xml" href="http://www.blogger.com/feeds/9220932811142893057/posts/default/4065228717274126384?v=2" /><link rel="self" type="application/atom+xml" href="http://www.blogger.com/feeds/9220932811142893057/posts/default/4065228717274126384?v=2" /><link rel="alternate" type="text/html" href="http://feedproxy.google.com/~r/NotJustAstlinuxStuff/~3/-WGedCXZQps/astlinux-07-released-and-more.html" title="AstLinux 0.7 released and more!" /><author><name>Kristian Kielhofner</name><uri>http://www.blogger.com/profile/06405875458561185080</uri><email>noreply@blogger.com</email><gd:image rel="http://schemas.google.com/g/2005#thumbnail" width="23" height="32" src="http://4.bp.blogspot.com/-gr03qLpZIe8/Tp2gAW-nrvI/AAAAAAAAARo/LPwEMglNM0w/s220/kristian_kielhofner2.jpeg" /></author><thr:total>0</thr:total><feedburner:origLink>http://blog.krisk.org/2010/01/astlinux-07-released-and-more.html</feedburner:origLink></entry><entry gd:etag="W/&quot;D0MESX44fCp7ImA9WxBXEE0.&quot;"><id>tag:blogger.com,1999:blog-9220932811142893057.post-8987566648558069629</id><published>2010-01-20T11:34:00.002-05:00</published><updated>2010-01-20T11:36:48.034-05:00</updated><app:edited xmlns:app="http://www.w3.org/2007/app">2010-01-20T11:36:48.034-05:00</app:edited><category scheme="http://www.blogger.com/atom/ns#" term="sip" /><category scheme="http://www.blogger.com/atom/ns#" term="sipp" /><title>Testing with SIPP</title><content type="html">A quick one, I promise...&lt;br /&gt;&lt;br /&gt;I'd been having some issues testing Asterisk with sipp.  It turns out there is a fairly well known issue with sipp when using five digit port numbers for RTP.  A quick Google search found a &lt;a href="http://www.mail-archive.com/sipp-users@lists.sourceforge.net/msg03698.html"&gt;solution&lt;/a&gt; pretty quickly.&lt;br /&gt;&lt;br /&gt;Just in case that link ever goes dead, here's the diff:&lt;br /&gt;&lt;br /&gt;diff -urb sipp.svn_orig/call.cpp sipp.svn_fixed/call.cpp&lt;br /&gt;--- sipp.svn_orig/call.cpp      2008-12-19 13:14:51.000000000 +0300&lt;br /&gt;+++ sipp.svn_fixed/call.cpp     2008-12-19 13:16:34.000000000 +0300&lt;br /&gt;@@ -192,7 +192,7 @@&lt;br /&gt;       /* m=audio not found */&lt;br /&gt;       return 0;&lt;br /&gt;     }&lt;br /&gt;-    begin += strlen(pattern) - 1;&lt;br /&gt;+    begin += strlen(pattern);&lt;br /&gt;     end = strstr(begin, "\r\n");&lt;br /&gt;     if (!end)&lt;br /&gt;       ERROR("get_remote_port_media: no CRLF found");&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;More on sipp later!&lt;img src="http://feeds.feedburner.com/~r/NotJustAstlinuxStuff/~4/viPQq5XOcoY" height="1" width="1"/&gt;</content><link rel="replies" type="application/atom+xml" href="http://blog.krisk.org/feeds/8987566648558069629/comments/default" title="Post Comments" /><link rel="replies" type="text/html" href="http://www.blogger.com/comment.g?blogID=9220932811142893057&amp;postID=8987566648558069629" title="0 Comments" /><link rel="edit" type="application/atom+xml" href="http://www.blogger.com/feeds/9220932811142893057/posts/default/8987566648558069629?v=2" /><link rel="self" type="application/atom+xml" href="http://www.blogger.com/feeds/9220932811142893057/posts/default/8987566648558069629?v=2" /><link rel="alternate" type="text/html" href="http://feedproxy.google.com/~r/NotJustAstlinuxStuff/~3/viPQq5XOcoY/testing-with-sipp.html" title="Testing with SIPP" /><author><name>Kristian Kielhofner</name><uri>http://www.blogger.com/profile/06405875458561185080</uri><email>noreply@blogger.com</email><gd:image rel="http://schemas.google.com/g/2005#thumbnail" width="23" height="32" src="http://4.bp.blogspot.com/-gr03qLpZIe8/Tp2gAW-nrvI/AAAAAAAAARo/LPwEMglNM0w/s220/kristian_kielhofner2.jpeg" /></author><thr:total>0</thr:total><feedburner:origLink>http://blog.krisk.org/2010/01/testing-with-sipp.html</feedburner:origLink></entry><entry gd:etag="W/&quot;CkQER3g-cSp7ImA9WxNWEU8.&quot;"><id>tag:blogger.com,1999:blog-9220932811142893057.post-8880050353716395656</id><published>2009-10-09T15:44:00.008-04:00</published><updated>2009-10-09T16:31:46.659-04:00</updated><app:edited xmlns:app="http://www.w3.org/2007/app">2009-10-09T16:31:46.659-04:00</app:edited><category scheme="http://www.blogger.com/atom/ns#" term="opensips" /><category scheme="http://www.blogger.com/atom/ns#" term="openser" /><category scheme="http://www.blogger.com/atom/ns#" term="Star2Star" /><category scheme="http://www.blogger.com/atom/ns#" term="freeswitch" /><title>I don't "do" testimonials</title><content type="html">I was (admittedly) getting a little bored at the office today when I realized that one of my favorite activities to pass time is checking the &lt;a href="http://wiki.freeswitch.org/wiki/Special:RecentChanges"&gt;recent changes&lt;/a&gt; page of the FreeSWITCH wiki.  Think about that for a minute...&lt;br /&gt;&lt;br /&gt;If that doesn't make me a FreeSWITCH fanboy, I don't know what does.  I guess I just have to finally admit it:&lt;br /&gt;&lt;br /&gt;I am a FreeSWITCH fanboy.&lt;br /&gt;&lt;br /&gt;How I got here I'm not really quite sure.  What I do know is that I despise fanboys of all sorts (in no particular order):&lt;br /&gt;&lt;br /&gt;- Linux&lt;br /&gt;- Apple&lt;br /&gt;- Microsoft (how?)&lt;br /&gt;- Asterisk&lt;br /&gt;- FreeSWITCH (self-loathing and denial are very powerful forces)&lt;br /&gt;&lt;br /&gt;I've been using FreeSWITCH for over a year and it's the closest thing to a whirlwind romance I've ever had (nerdom solidified, thank you).  While I'm sure the honeymoon period will end eventually at the moment I'm still smitten.  I sat down and started to write a testimonial on the FreeSWITCH wiki when I realized that this was the perfect opportunity to return to blogging.  I'm back and I want to talk about FreeSWITCH. Here's what I have to say (complete with an obligatory car analogy):&lt;br /&gt;&lt;br /&gt;Star2Star has over 12,000 (business) endpoints in the field and we currently use FreeSWITCH for:&lt;br /&gt;&lt;br /&gt;- SBC (multiple applications - customer and provider facing)&lt;br /&gt;- Conference services&lt;br /&gt;&lt;br /&gt;We're very quickly moving to IVR and (ultimately) voicemail.&lt;br /&gt;&lt;br /&gt;What is most impressive about FreeSWITCH are the small details that make working with it an absolute joy:&lt;br /&gt;&lt;br /&gt;- Sofia profiles (multiple unique SIP identities Just. Like. That.)&lt;br /&gt;- XML flexibility (static, custom module, mod_xml_curl)&lt;br /&gt;- Dialplan (conditions, PCRE, etc)&lt;br /&gt;- Channel variables (access to remote media IP address and anything else in a CHANNEL VARIABLE!)&lt;br /&gt;- proxy_media&lt;br /&gt;- bypass_media (beautiful, just beautiful)&lt;br /&gt;- RICH SIP/RTP support (SIPS, TCP, UDP, SCTP, SRTP, PAI, RPID). Yeah, I can talk to anything any way I need to.)&lt;br /&gt;- Codec support.  Resampling.  Repacketization.  It's just getting ridiculous.&lt;br /&gt;- Event socket. Inbound/outbound.  Async.  API commands.  Events.&lt;br /&gt;&lt;br /&gt;It is still *amazing* to me that I can make FreeSWITCH into the ultimate signaling-only SBC just by adding bypass_media=true or that I can send PAI to a destination with sip_cid_type=pid.  Just about every component of FreeSWITCH I've come across is very well thought out, completely logical, and completely predictable.  It's like driving a German car - if you take driving seriously everything just works and everything just works exactly as you expect it to.&lt;br /&gt;&lt;br /&gt;It's as if Anthony, Brian, Michael, and everyone else on the FreeSWITCH team are constantly sitting around, agonizing every detail of this awesome piece of software just as Hanz, Fritz, and Karl are in Munich agonizing over every detail for the next BMW 7 Series.  While there are several differences in this analogy perhaps the biggest difference is that it doesn't cost $100,000 for one of the most well engineered products I've ever come across (obviously I'm not talking about the BMW).&lt;br /&gt;&lt;br /&gt;Did I mention that in addition to this rich feature support it actually scales?  All the features in the world are completely useless to me in my environment unless they can scale.  We've seen again and again - FreeSWITCH scales.  With OpenSER/OpenSIPS at our core and FreeSWITCH serving various edge and endpoint roles I can't identify a single point where we couldn't (ultimately) scale to meet growth or demand.&lt;br /&gt;&lt;br /&gt;Star2Star is very unique.  We have a unique product, unique approach, and unique architecture.  While the architecture has generally evolved and scaled over the years with the number of users, the introduction of FreeSWITCH in a given role has always been accompanied by an excitement for what we'll be able to do for our company and our customers with our new favorite piece of software.  It's a very exciting time.&lt;br /&gt;&lt;br /&gt;The future at Star2Star is powered by our (quickly) growing customer base, FreeSWITCH, and our efforts to relentlessly deploy it where we can.&lt;img src="http://feeds.feedburner.com/~r/NotJustAstlinuxStuff/~4/4si4h4olxPE" height="1" width="1"/&gt;</content><link rel="replies" type="application/atom+xml" href="http://blog.krisk.org/feeds/8880050353716395656/comments/default" title="Post Comments" /><link rel="replies" type="text/html" href="http://www.blogger.com/comment.g?blogID=9220932811142893057&amp;postID=8880050353716395656" title="5 Comments" /><link rel="edit" type="application/atom+xml" href="http://www.blogger.com/feeds/9220932811142893057/posts/default/8880050353716395656?v=2" /><link rel="self" type="application/atom+xml" href="http://www.blogger.com/feeds/9220932811142893057/posts/default/8880050353716395656?v=2" /><link rel="alternate" type="text/html" href="http://feedproxy.google.com/~r/NotJustAstlinuxStuff/~3/4si4h4olxPE/i-dont-do-testimonials.html" title="I don't &quot;do&quot; testimonials" /><author><name>Kristian Kielhofner</name><uri>http://www.blogger.com/profile/06405875458561185080</uri><email>noreply@blogger.com</email><gd:image rel="http://schemas.google.com/g/2005#thumbnail" width="23" height="32" src="http://4.bp.blogspot.com/-gr03qLpZIe8/Tp2gAW-nrvI/AAAAAAAAARo/LPwEMglNM0w/s220/kristian_kielhofner2.jpeg" /></author><thr:total>5</thr:total><feedburner:origLink>http://blog.krisk.org/2009/10/i-dont-do-testimonials.html</feedburner:origLink></entry></feed>
