<?xml version="1.0"?>
<rss version="2.0">
<channel>
  <title>Darwin&#039;s Theories - OpenBSD category</title>
  <link>http://theories.darwinsys.com:80/categories/openbsd/</link>
  <description>Call it a Blog if you like -- Ian</description>
  <language>en</language>
  <copyright>Ian Darwin</copyright>
  <lastBuildDate>Sat, 19 Nov 2011 14:35:00 GMT</lastBuildDate>
  <generator>Pebble (http://pebble.sourceforge.net)</generator>
  <docs>http://backend.userland.com/rss</docs>
  
  
  <item>
    <title>OpenMoko and Android</title>
    <link>http://theories.darwinsys.com:80/2009/04/21/1240335300000.html</link>
    
      
        <description>
          A few people have asked me at various times for a comparison of the&amp;nbsp;  &lt;a href=&#034;http://www.openmoko.org/&#034;&gt;OpenMoko&lt;/a&gt; and  &lt;a href=&#034;http://developer.android.com/&#034;&gt;Android&lt;/a&gt; cell phone projects. Given that I advocate for the former, and also for  &lt;a href=&#034;http://java.com/&#034;&gt;Java&lt;/a&gt; which is (and is not) the base language of the latter, I am expected to be able to say something intelligible by way of comparison. So here goes.&lt;br /&gt;
&lt;br /&gt;
Android is a project spearheaded by Google to make an open-source phone. It uses Linux and its own Dalvik virtual machine, and applications are written in Java against the Android API and compiled down to Dalvik bytecode. Android does not expose the rest of the Linux services and does not support other programming languages. Android phones are available from a few carriers.&lt;br /&gt;
&lt;br /&gt;
Openmoko, funded by Openmoko.com, is at the other end of the spectrum: it also uses Linux, but exposes all of it to the developer. The &amp;quot;main&amp;quot; stack of phone apps has been re-written several times, using various X-based toolkits. The &amp;quot;official&amp;quot; OM2009 stack is in large part written in Python. C/C++, Java and Perl are all available. Openmoko phones are available from  &lt;a href=&#034;http://www.openmoko.com/&#034;&gt;Openmoko.com&lt;/a&gt;. However, because it is all open source:&lt;br /&gt;
&lt;ul&gt;
    &lt;li&gt;you can &lt;a href=&#034;http://wiki.openmoko.org/wiki/Android&#034;&gt;run Android on Openmoko hardware&lt;/a&gt;;&lt;/li&gt;
    &lt;li&gt;you could (people have) run Openmoko software on other devices, including Palm PDAs, other Linux phones, and software emulators;&lt;/li&gt;
    &lt;li&gt;you can probably run Openmoko software on Android hardware;&lt;/li&gt;
    &lt;li&gt;you can run QTopia on Openmoko hardware;&lt;/li&gt;
	&lt;li&gt;you can run one of half a dozen Linux distributions on your Openmoko hardware;&lt;/li&gt;
    &lt;li&gt;you can (eventually) run other OSes such as OpenBSD on Openmoko hardware;&lt;/li&gt;
    &lt;li&gt;etc.&lt;/li&gt;
&lt;/ul&gt;
From one point of view, they are not enemies. Both support the open source model. But as Openmoko developers have pointed out some time back, Android sits on top of Linux, abandoning most of the open source world and reinventing its own universe. Openmoko embraces all existing open source projects and any new open source comers.
As a single example, communicating to your Openmoko phone from a desktop/laptop computer
consists merly of running the
industry-standard &lt;em&gt;ssh&lt;/em&gt; and &lt;em&gt;scp&lt;/em&gt; programs, included with every *Nix and
readily available for those other OSes that need them.
Talking to your Android phone requires finding, installing, and figuring out how to use
an ad-hoc program called &#034;adb&#034; (at least the third use of this name, after Unix&#039; Algol/Another DeBugger and
Apple&#039;s Desktop Bus).
&lt;br /&gt;
&lt;br /&gt;
From another point of view, of course, they are competing. Competing for market share (neither has made much inroads in the consumer space). Competing for developer mindshare. Android tends to get a lot more press, partly because of the &amp;quot;big G&amp;quot; lineage.&lt;br /&gt;
&lt;br /&gt;
People sometimes ask if I think Openmoko should just fold up and go on to something different, given how far ahead Android has moved? I&#039;ve never been a fan of quitting while you&#039;re behind. Imagine if Linus Torvalds had quit while Unix was ahead; his then-little school project would never have seen the light of day, and we&#039;d all be running BSD and System V. Nothing wrong with those - BSD was already on its way to becoming a full open source *Nix, as represented today by OpenBSD, FreeBSD and NetBSD - but things would be rather different in what is now the Linux community, to say the least. Or if Bill Gates had quit while IBM was ahead. Or if Steve Jobs had quit while MS-Windows was ahead. Or if the U.S. had quit the space race when the Russians launched Sputnik. You get the idea. Don&#039;t quit while you&#039;re behind, nor when you&#039;re ahead. As Nathaniel Branden once put it, &amp;quot;a beating heart is a living heart&amp;quot; - so keep on pumping!&lt;br /&gt;
&lt;br /&gt;
And, at any rate, the &amp;quot;real&amp;quot; release of Openmoko software, &lt;a href=&#034;http://wiki.openmoko.org/wiki/Om2009&#034;&gt;OM.2009&lt;/a&gt;, is almost upon us; I am running a beta of it on my Freerunner (GTA02), and it&#039;s actually usable as a cell phone. Butt-ugly compared to some of the earlier releases, but it &amp;quot;just works&amp;quot;. Formal release is expected this summer.
        </description>
      
      
    
    
    
    <category>Software Industry</category>
    
    <category>Open Source Software</category>
    
    <category>Java</category>
    
    <category>OpenBSD</category>
    
    <category>Telephony</category>
    
    <comments>http://theories.darwinsys.com:80/2009/04/21/1240335300000.html#comments</comments>
    <guid isPermaLink="true">http://theories.darwinsys.com:80/2009/04/21/1240335300000.html</guid>
    <pubDate>Tue, 21 Apr 2009 17:35:00 GMT</pubDate>
  </item>
  
  <item>
    <title>JavaFX: Late to the gate, but sweet</title>
    <link>http://theories.darwinsys.com:80/2008/12/27/1230396568312.html</link>
    
      
        <description>
          &lt;a href=&#034;http://www.javafx.com/&#034;&gt;JavaFX&lt;/a&gt; is &lt;a href=&#034;http://www.sun.com/&#034;&gt;Sun&lt;/a&gt;&#039;s new Rich Client strategy for Java. If you haven&#039;t seen it yet, check out the demos on the &lt;a href=&#034;http://www.javafx.com/&#034;&gt;JavaFX home page&lt;/a&gt;. Unlike Adobe Flash and unlike M$ Silverlight, this technology actually works on &amp;quot;minority&amp;quot; OSes - my &lt;a href=&#034;http://www.openbsd.org/&#034;&gt;OpenBSD&lt;/a&gt; laptop with Java 1.6.0 is officially way behind the requirements, but the demos mostly work in FireFox 3 (except you can&#039;t tear off the tear-off applet, that requires Update 10). Despite &lt;em&gt;significant&lt;/em&gt; glitches on the web site - Sun should know better - on the day of the announcement (December 4, 2008), &lt;strong&gt;I&#039;m impressed&lt;/strong&gt;.&lt;br /&gt;
&lt;br /&gt;
So much so that I&#039;ve already added &lt;a href=&#034;http://www.darwinsys.com/java/javaResources.jsp#javafx&#034;&gt;this JavaFX section to my Java Resources page&lt;/a&gt;.&lt;br /&gt;
&lt;br /&gt;
&lt;img height=&#034;400&#034; width=&#034;600&#034; alt=&#034;JavaFX Effect Playground in action&#034; src=&#034;http://theories.darwinsys.com:80/images/javafx-effect-playground.png&#034; /&gt;
        </description>
      
      
    
    
    
    <category>Open Source Software</category>
    
    <category>OpenBSD</category>
    
    <category>Java</category>
    
    <category>Web</category>
    
    <category>Internet</category>
    
    <comments>http://theories.darwinsys.com:80/2008/12/27/1230396568312.html#comments</comments>
    <guid isPermaLink="true">http://theories.darwinsys.com:80/2008/12/27/1230396568312.html</guid>
    <pubDate>Sat, 27 Dec 2008 16:49:28 GMT</pubDate>
  </item>
  
  <item>
    <title>Protecting Your Castle</title>
    <link>http://theories.darwinsys.com:80/2008/12/21/1229877300000.html</link>
    
      
        <description>
          SANS.org has a nice white paper showing how to protect your home network using OpenBSD and other free software. According to the abstract:&lt;br /&gt;
&lt;hr width=&#034;100%&#034; size=&#034;2&#034; /&gt;
&amp;quot;It is possible to clean up the back yard with Free Open Source Software and a little design. Using off the shelf components and Open Source software the family geek can deploy a more multilayered security stance that will provide far more visibility and control over the network. This is not to say that large swaths of the Internet can be cleaned up just by plugging in a box, but to say that if anything should be a safe haven on the internet, it should be the family network, the backyard. It makes sense to clean up the backyard before taking on the world&amp;rsquo;s trash.&amp;quot;&lt;hr width=&#034;100%&#034; size=&#034;2&#034; /&gt;
Presumably the same techniques would apply to the average small business. Check it out at &lt;a href=&#034;http://www.sans.org/reading_room/whitepapers/firewalls/32933.php&#034;&gt;http://www.sans.org/reading_room/whitepapers/firewalls/32933.php&lt;/a&gt; [PDF].&lt;br /&gt;
&lt;br /&gt;
P.S. According to &lt;a href=&#034;http://www.bartleby.com/73/861.html&#034;&gt;Bartleby&lt;/a&gt;, the quotation in my subtitle, while commonly attributed to William Pitt, comes to us in its present wording from a pr&amp;eacute;cis done by Lord Henry Peter Brougham some sixty years later.
        </description>
      
      
    
    
    
    <category>Open Source Software</category>
    
    <category>OpenBSD</category>
    
    <category>Internet</category>
    
    <category>Security</category>
    
    <comments>http://theories.darwinsys.com:80/2008/12/21/1229877300000.html#comments</comments>
    <guid isPermaLink="true">http://theories.darwinsys.com:80/2008/12/21/1229877300000.html</guid>
    <pubDate>Sun, 21 Dec 2008 16:35:00 GMT</pubDate>
  </item>
  
  <item>
    <title>Less Is More: OpenBSD on the Acer Aspire One</title>
    <link>http://theories.darwinsys.com:80/2008/10/19/1224444180000.html</link>
    
      
        <description>
          My writeup of the new Acer Aspire One is up on www.undeadly.org.&lt;br /&gt;
&lt;br /&gt;
&amp;quot;We are certainly entering an era of &amp;quot;small is beautiful&amp;quot;, at least when it comes to sub-notebooks. Numerous manufacturers are producing these now, as witness &lt;a href=&#034;http://www.t3.com/news/netbook-spec-showdown-acer-aspire-one-asus-eee-pc-901-dell-inspiron-mini-9-hp-mini-note-msi-wind-and-lg-x110?=36605&#034;&gt; this comparison&lt;/a&gt;. The Asus EeePC (some models), the Acer Aspire One reviewed here, and the rumoured Lenovo U8 all use the Intel Atom CPU, which is &amp;quot;dual threaded&amp;quot;. This looks like a dual-core, and runs GENERIC.MP. Although it&#039;s not as powerful as a dual-core, it&#039;s close enough that it&#039;s faster than many a few-years-old full size laptop. I&#039;ve been using the Acer for a few weeks, including on a trans-atlantic flight, after several years with a much-heavier full-size industrial-strength notebook....&amp;quot;&lt;br /&gt;
&lt;br /&gt;
Read the full story &lt;a href=&#034;http://www.undeadly.org/cgi?action=article&amp;amp;sid=20081019040000&#034;&gt;here&lt;/a&gt;.
        </description>
      
      
    
    
    
    <category>OpenBSD</category>
    
    <comments>http://theories.darwinsys.com:80/2008/10/19/1224444180000.html#comments</comments>
    <guid isPermaLink="true">http://theories.darwinsys.com:80/2008/10/19/1224444180000.html</guid>
    <pubDate>Sun, 19 Oct 2008 19:23:00 GMT</pubDate>
  </item>
  
  <item>
    <title>Linus Just Doesn&#039;t Get It</title>
    <link>http://theories.darwinsys.com:80/2008/07/16/1216230840000.html</link>
    
      
        <description>
          Linux founder Linus Torvalds makes an amazing claim about Linux security (or not) on gmane.kernel.org (I&#039;m not even gonna help &lt;a href=&#034;http://en.wikipedia.org/wiki/Pagerank&#034;&gt;pagerank&lt;/a&gt; that article by linking to it; search the newsgroup name and the date 2008-07-08). Speaking about security fixes, he says:&lt;br /&gt;
&lt;blockquote&gt;... It makes &amp;quot;heroes&amp;quot; out of security people, as if the people who [just]&lt;br /&gt;
fix normal bugs aren&#039;t as important.&lt;br /&gt;
&lt;/blockquote&gt; &lt;blockquote&gt;In fact, all the boring normal bugs are _&lt;u&gt;way&lt;/u&gt;_ more important, just &lt;br /&gt;
because there&#039;s a lot more of them. I don&#039;t think some spectacular &lt;br /&gt;
security hole should be glorified or cared about as being any &lt;br /&gt;
more &amp;quot;special&amp;quot; than a random spectacular crash due to bad locking.&lt;br /&gt;
&lt;/blockquote&gt; &lt;blockquote&gt;Security people are often the black-and-white kind of people that I &lt;br /&gt;
can&#039;t stand. I think the OpenBSD crowd is a bunch of masturbating &lt;br /&gt;
monkeys, in that they make such a big deal about concentrating &lt;br /&gt;
on security to the point where they pretty much admit that nothing &lt;br /&gt;
else matters to them.&lt;/blockquote&gt; Normal bugs are &amp;quot;way more important&amp;quot; than security to Linus, the guy in charge of Linux? I&#039;m sure gonna think twice before running Linux on anything connected to the Internet. If he&#039;d actually read the &lt;a href=&#034;http://www.openbsd.org/security.html&#034;&gt;OpenBSD security policy&lt;/a&gt; document, or any of our &lt;a href=&#034;http://www.openbsd.org/papers/&#034;&gt;presentations at conferences over the years&lt;/a&gt;, rather than just calling silly names, he&#039;d know that OpenBSD works on ordinary bugs as a way of preventing security bugs. But I guess it&#039;s easier to sit at home pulling on your tool chain and calling people names, than to actually acquaint yourself with the facts. Well done, Linus. Next time I won&#039;t even bother recommending Linux as a second choice after OpenBSD.&lt;br /&gt;
&lt;br /&gt;
P.S. As if to prove the point, the next day, security mailing lists were full of this:&lt;br /&gt;
&lt;blockquote&gt;Wei Wang discovered that the ASN.1 decoding routines in CIFS and &lt;br /&gt;
SNMP NAT did not correctly handle certain length values. Remote &lt;br /&gt;
attackers could exploit this to execute arbitrary code or crash&lt;br /&gt;
the system. (CVE-2008-1673) &lt;br /&gt;
&lt;/blockquote&gt;So they have CIFS and SNMP in the Linux kernel, and they haven&#039;t checked for overflows? &#039;Nuff said!&lt;br /&gt;
&lt;br /&gt;
P.P.S: Apparently not enough said! It seems that the esteemed &lt;a href=&#034;http://seclists.org/fulldisclosure/2008/Jul/0276.html&#034;&gt;Mr. Torvalds is also implicated in a massive coverup of security bugs (aka attempted &amp;quot;security through obscurity&amp;quot;)&lt;/a&gt;.
        </description>
      
      
    
    
    
    <category>Open Source Software</category>
    
    <category>OpenBSD</category>
    
    <category>Security</category>
    
    <comments>http://theories.darwinsys.com:80/2008/07/16/1216230840000.html#comments</comments>
    <guid isPermaLink="true">http://theories.darwinsys.com:80/2008/07/16/1216230840000.html</guid>
    <pubDate>Wed, 16 Jul 2008 17:54:00 GMT</pubDate>
  </item>
  
  </channel>
</rss>

