<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	xmlns:georss="http://www.georss.org/georss" xmlns:geo="http://www.w3.org/2003/01/geo/wgs84_pos#" xmlns:media="http://search.yahoo.com/mrss/"
	>

<channel>
	<title>int 80</title>
	<atom:link href="http://int80.wordpress.com/feed/" rel="self" type="application/rss+xml" />
	<link>http://int80.wordpress.com</link>
	<description>[ programm&#124;ng, OS &#124;)ev, secur&#124;ty, ma&#124;wares, sc&#124;ence, l&#124;nux, BS&#124;) ]</description>
	<lastBuildDate>Mon, 27 Apr 2009 06:08:50 +0000</lastBuildDate>
	<generator>http://wordpress.com/</generator>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<cloud domain='int80.wordpress.com' port='80' path='/?rsscloud=notify' registerProcedure='' protocol='http-post' />
<image>
		<url>http://www.gravatar.com/blavatar/5462b9674e28d0b8ee4b92fa1180224c?s=96&#038;d=http://s.wordpress.com/i/buttonw-com.png</url>
		<title>int 80</title>
		<link>http://int80.wordpress.com</link>
	</image>
			<item>
		<title>stage1 c0de</title>
		<link>http://int80.wordpress.com/2009/04/27/stage1-c0de/</link>
		<comments>http://int80.wordpress.com/2009/04/27/stage1-c0de/#comments</comments>
		<pubDate>Mon, 27 Apr 2009 06:06:14 +0000</pubDate>
		<dc:creator>int80</dc:creator>
				<category><![CDATA[Uncategorized]]></category>

		<guid isPermaLink="false">http://int80.wordpress.com/?p=189</guid>
		<description><![CDATA[here is the code, which I have written for stage1 boot loader
; Copyright (c) 2009 K.K.Senthil Velan
; Permission to use, copy, modify, and distribute this software for any
; purpose with or without fee is hereby granted, provided that the
; above copyright notice and this permission notice appear in all
; copies.
; THE SOFTWARE IS PROVIDED &#8220;AS [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=int80.wordpress.com&blog=3684854&post=189&subd=int80&ref=&feed=1" />]]></description>
			<content:encoded><![CDATA[<div class='snap_preview'><br /><div>here is the code, which I have written for stage1 boot loader</div>
<div>; Copyright (c) 2009 K.K.Senthil Velan</div>
<div>; Permission to use, copy, modify, and distribute this software for any</div>
<div>; purpose with or without fee is hereby granted, provided that the</div>
<div>; above copyright notice and this permission notice appear in all</div>
<div>; copies.</div>
<div>; THE SOFTWARE IS PROVIDED &#8220;AS IS&#8221; AND THE AUTHOR DISCLAIMS</div>
<div>; ALL WARRANTIES WITH REGARD TO THIS SOFTWARE INCLUDING</div>
<div>; ALL IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS.</div>
<div>; IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY SPECIAL,</div>
<div>; DIRECT, INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES</div>
<div>; WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS,</div>
<div>; WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR OTHER</div>
<div>; TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE</div>
<div>; USE OR PERFORMANCE OF THIS SOFTWARE.</div>
<div></div>
<div>; 0.8</div>
<div></div>
<div>; &#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;-</div>
<div>; the stage1 boot loader</div>
<div>; &#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;-</div>
<div>[bits 16]</div>
<div>[org 0x07C00]</div>
<div>jmp start1</div>
<div>; &#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;-</div>
<div>; code section STARTS</div>
<div>; &#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;-</div>
<div>start1:</div>
<div>mov ax, 0&#215;0000</div>
<div>mov ds, ax ; set data segment to 0&#215;0000</div>
<div>mov ss, ax ; set stack segment to 0&#215;0000</div>
<div>mov si, rloaderString ; print the welcome string</div>
<div>call PrintString</div>
<div>mov si, Stage1String</div>
<div>call PrintString</div>
<div>call ResetFloppy</div>
<div>; set the segment, where the sector will be loaded into this mem location</div>
<div>; this is the location , where stage2 will be loaded and executed</div>
<div>mov ax, 0&#215;1000</div>
<div>mov es, ax</div>
<div>mov bx, 0&#215;0000</div>
<div>mov ah, 0&#215;02</div>
<div>mov al, 0&#215;02 ; load two sectors, as size of stage2 is &gt; 512</div>
<div>mov ch, 0&#215;00</div>
<div>mov cl, 0&#215;02</div>
<div>mov dh, 0&#215;00</div>
<div>mov dl, 0&#215;00</div>
<div>int 0&#215;13</div>
<div>jc ResetFloppy</div>
<div>jmp 0&#215;1000:0000 ; since stage2 starts at 0&#215;10000, jump there</div>
<div>; &#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;-</div>
<div>; code section ENDS</div>
<div>; &#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;-</div>
<div>; &#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;-</div>
<div>; core functions STARTS</div>
<div>; &#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;-</div>
<div>; resets the floppy drive controller</div>
<div>ResetFloppy:</div>
<div>mov ah, 0&#215;00 ; service for resetting</div>
<div>mov dl, 0&#215;00 ; floppy #</div>
<div>int 0&#215;13</div>
<div>jc ResetFloppy ; jmp on error</div>
<div>ret</div>
<div>PrintString:</div>
<div>NextPrint:</div>
<div>lodsb ; load from si register</div>
<div>or al, al ; check for zero</div>
<div>jz ExitPrint ; check if the final char has reached</div>
<div>call PrintChar ; print the char</div>
<div>jmp NextPrint</div>
<div>ExitPrint:</div>
<div>ret</div>
<div>PrintChar:</div>
<div>mov ah, 0&#215;0E ; for service number</div>
<div>mov bh, 0&#215;00 ; the page number</div>
<div>mov bl, 0&#215;07 ; for colour</div>
<div>int 0&#215;10 ; call video interrupt</div>
<div>ret</div>
<div>NewLine:</div>
<div>mov al, 0&#215;0A ; 10 is for line feed</div>
<div>call PrintChar</div>
<div>mov al, 0&#215;0D ; 13 is for carriage return</div>
<div>call PrintChar</div>
<div>ret</div>
<div>FlushRegs:</div>
<div>; xor is faster than mov</div>
<div>xor eax, eax</div>
<div>xor ebx, ebx</div>
<div>xor ecx, ecx</div>
<div>xor edx, edx</div>
<div>ret</div>
<div>; &#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;-</div>
<div>; core functions ENDS</div>
<div>; &#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;-</div>
<div>; &#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;-</div>
<div>; data section STARTS</div>
<div>; &#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;-</div>
<div>rloaderString db &#8220;rloader version 0.6. &#8220;, 13, 10, 0</div>
<div>Stage1String db &#8220;stage1 boot loader (0.8) loaded. loading stage2 &#8230; &#8220;, 13, 10, 0</div>
<div>; &#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;-</div>
<div>; data section ENDS</div>
<div>; &#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;-</div>
<div>TIMES 510 &#8211; ($ &#8211; $$) db 0</div>
<div>DW 0&#215;55AA</div>
  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/int80.wordpress.com/189/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/int80.wordpress.com/189/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/int80.wordpress.com/189/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/int80.wordpress.com/189/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/int80.wordpress.com/189/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/int80.wordpress.com/189/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/int80.wordpress.com/189/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/int80.wordpress.com/189/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/int80.wordpress.com/189/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/int80.wordpress.com/189/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=int80.wordpress.com&blog=3684854&post=189&subd=int80&ref=&feed=1" /></div>]]></content:encoded>
			<wfw:commentRss>http://int80.wordpress.com/2009/04/27/stage1-c0de/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://0.gravatar.com/avatar/c274698ea74692e242bbd2d5e162af80?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">int80</media:title>
		</media:content>
	</item>
		<item>
		<title>MBR&#8217;s</title>
		<link>http://int80.wordpress.com/2009/04/15/mbrs/</link>
		<comments>http://int80.wordpress.com/2009/04/15/mbrs/#comments</comments>
		<pubDate>Wed, 15 Apr 2009 03:05:03 +0000</pubDate>
		<dc:creator>int80</dc:creator>
				<category><![CDATA[Uncategorized]]></category>

		<guid isPermaLink="false">http://int80.wordpress.com/?p=172</guid>
		<description><![CDATA[I am currently developing a boot loader code.
A boot loader is a code, which will be placed in first 512 bytes of sector 0. When BIOS finishes all it&#8217;s job, it will load the first 512 byte from sector 0 and loads it into memory 0000:7c00 or 07co:0000. both these address falls into 0&#215;07C00h memory [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=int80.wordpress.com&blog=3684854&post=172&subd=int80&ref=&feed=1" />]]></description>
			<content:encoded><![CDATA[<div class='snap_preview'><br /><p>I am currently developing a boot loader code.</p>
<p>A boot loader is a code, which will be placed in first 512 bytes of sector 0. When BIOS finishes all it&#8217;s job, it will load the first 512 byte from sector 0 and loads it into memory 0000:7c00 or 07co:0000. both these address falls into 0&#215;07C00h memory location.</p>
<p>Jumping to this location can be done in two ways:</p>
<p>jmp 0000:7C00</p>
<p>jmp 07C0:0000</p>
<p>Hence your boot loader code should place itself into the memory location 0X07C00 and that can be done via:</p>
<p>[org 0x07C00]</p>
<p>and that&#8217;s the power of assembly <img src='http://s.wordpress.com/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> </p>
<p>I will give a skeletion view of how a boot loader / master boot record would look like:</p>
<p>; &#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;</p>
<p>[bits 16]</p>
<p>[org 0x07C00]</p>
<p style="text-align:left;">mov ax, 0&#215;0000</p>
<p style="text-align:left;"><span> </span>mov ds, ax</p>
<p>call printstring</p>
<p>JMP $<span> </span>; looping</p>
<p>; load a sector</p>
<p><span> </span>mov ah, 0&#215;02 <span> </span>; service</p>
<p><span> </span>mov al, 0&#215;03 <span> </span>; number of sectors to read</p>
<p><span> </span>mov ch, 0&#215;00     <span> </span>; cylinder number</p>
<p><span> </span>mov cl, 0&#215;02 <span> </span>; sector number</p>
<p><span> </span>mov dh, 0&#215;00 <span> </span>; head number</p>
<p><span> </span>mov dl, 0&#215;00<span> </span>; drive number</p>
<p><span> </span>int 0&#215;13</p>
<p><span> </span>jc reset</p>
<p><span> </span>JMP 0&#215;1000:0000<span> </span>; jump to memory location 0&#215;10000</p>
<p><span> </span>; assuming stage2 or kernel will be loaded in 0&#215;10000</p>
<p>TIMES 510 &#8211; ($ &#8211; $$) db 0</p>
<p>DW 0xAA55</p>
<p>; &#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;</p>
<p>What is AA55 ?</p>
<p>but how will BIOS knows that first 512 bytes in a disk is a boot loader code or not ? because not all disks should have boot loaders. Imagine the old DOS days. You will use only one floppy to load MS DOS and use other disks to store programs like dBASE, WordStar; etc. Hence not necessary that these disks should contain a boot sector code. Also remember you get a message &#8220;INVALID BOOT DISKETTE or DISK BOOT FAILURE&#8221;. So, How does BIOS recognizes it?</p>
<p>Actually the boot loader code is only 510 bytes. The rest 2 bytes are used to identify whether it&#8217;s boot loader or not. That is called as Boot Magic or Boot Signature and it is AA55. if you load the first 512 bytes of a boot sector in hex editor you will notice the AA55 in last two sectors.</p>
<p>for example, see the HEX view of FreeBSD&#8217;s boot code below:</p>
<p><img src="http://upload.wikimedia.org/wikipedia/en/2/29/Binary_executable_file2.png" alt="File:Binary executable file2.png" /></p>
<p>See the last two words, which is &#8220;55 aa&#8221;. 00000200 is equivalent to 512 in decimal !</p>
<p>the above code I have written, will load kernel or a stage2 loader from a floppy.</p>
<p>now got it how a boot sector virus can work <img src='http://s.wordpress.com/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> </p>
  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/int80.wordpress.com/172/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/int80.wordpress.com/172/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/int80.wordpress.com/172/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/int80.wordpress.com/172/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/int80.wordpress.com/172/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/int80.wordpress.com/172/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/int80.wordpress.com/172/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/int80.wordpress.com/172/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/int80.wordpress.com/172/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/int80.wordpress.com/172/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=int80.wordpress.com&blog=3684854&post=172&subd=int80&ref=&feed=1" /></div>]]></content:encoded>
			<wfw:commentRss>http://int80.wordpress.com/2009/04/15/mbrs/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://0.gravatar.com/avatar/c274698ea74692e242bbd2d5e162af80?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">int80</media:title>
		</media:content>

		<media:content url="http://upload.wikimedia.org/wikipedia/en/2/29/Binary_executable_file2.png" medium="image">
			<media:title type="html">File:Binary executable file2.png</media:title>
		</media:content>
	</item>
		<item>
		<title>How Apple Got Everything Right By Doing Everything Wrong</title>
		<link>http://int80.wordpress.com/2009/04/15/how-apple-got-everything-right-by-doing-everything-wrong-2/</link>
		<comments>http://int80.wordpress.com/2009/04/15/how-apple-got-everything-right-by-doing-everything-wrong-2/#comments</comments>
		<pubDate>Wed, 15 Apr 2009 02:47:14 +0000</pubDate>
		<dc:creator>int80</dc:creator>
				<category><![CDATA[Uncategorized]]></category>

		<guid isPermaLink="false">http://int80.wordpress.com/2009/04/15/how-apple-got-everything-right-by-doing-everything-wrong-2/</guid>
		<description><![CDATA[One Infinite Loop, Apple&#8217;s street address, is a programming in-joke — it refers to a routine that never ends. But it is also an apt description of the travails of parking at the Cupertino, California, campus. Like most things in Silicon Valley, Apple&#8217;s lots are egalitarian; there are no reserved spots for managers or higher-ups. [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=int80.wordpress.com&blog=3684854&post=170&subd=int80&ref=&feed=1" />]]></description>
			<content:encoded><![CDATA[<div class='snap_preview'><br /><p>One Infinite Loop, Apple&#8217;s street address, is a programming in-joke — it refers to a routine that never ends. But it is also an apt description of the travails of parking at the Cupertino, California, campus. Like most things in Silicon Valley, Apple&#8217;s lots are egalitarian; there are no reserved spots for managers or higher-ups. Even if you&#8217;re a Porsche-driving senior executive, if you arrive after 10 am, you should be prepared to circle the lot endlessly, hunting for a space.</p>
<p><img src="http://247wallst.files.wordpress.com/2009/03/apple-logo13.jpg" alt="" /></p>
<p>But there is one Mercedes that doesn&#8217;t need to search for very long, and it belongs to Steve Jobs. If there&#8217;s no easy-to-find spot and he&#8217;s in a hurry, Jobs has been known to pull up to Apple&#8217;s front entrance and park in a handicapped space. (Sometimes he takes up two spaces.) It&#8217;s become a piece of Apple lore — and a running gag at the company. Employees have stuck notes under his windshield wiper: &#8220;Park Different.&#8221; They have also converted the minimalist wheelchair symbol on the pavement into a Mercedes logo.</p>
<p>Jobs&#8217; fabled attitude toward parking reflects his approach to business: For him, the regular rules do not apply. Everybody is familiar with Google&#8217;s famous catchphrase, &#8220;Don&#8217;t be evil.&#8221; It has become a shorthand mission statement for Silicon Valley, encompassing a variety of ideals that — proponents say — are good for business and good for the world: Embrace open platforms. Trust decisions to the wisdom of crowds. Treat your employees like gods.</p>
<p>It&#8217;s ironic, then, that one of the Valley&#8217;s most successful companies ignored all of these tenets. Google and Apple may have a friendly relationship — Google CEO Eric Schmidt sits on Apple&#8217;s board, after all — but by Google&#8217;s definition, Apple is irredeemably evil, behaving more like an old-fashioned industrial titan than a different-thinking business of the future. Apple operates with a level of secrecy that makes Thomas Pynchon look like Paris Hilton. It locks consumers into a proprietary ecosystem. And as for treating employees like gods? Yeah, Apple doesn&#8217;t do that either.</p>
<p>But by deliberately flouting the Google mantra, Apple has thrived. When Jobs retook the helm in 1997, the company was struggling to survive. Today it has a market cap of $105 billion, placing it ahead of Dell and behind Intel. Its iPod commands 70 percent of the MP3 player market. Four billion songs have been purchased from iTunes. The iPhone is reshaping the entire wireless industry. Even the underdog Mac operating system has begun to nibble into Windows&#8217; once-unassailable dominance; last year, its share of the US market topped 6 percent, more than double its portion in 2003.</p>
<p>It&#8217;s hard to see how any of this would have happened had Jobs hewed to the standard touchy-feely philosophies of Silicon Valley. Apple creates must-have products the old-fashioned way: by locking the doors and sweating and bleeding until something emerges perfectly formed. It&#8217;s hard to see the Mac OS and the iPhone coming out of the same design-by-committee process that produced Microsoft Vista or Dell&#8217;s Pocket DJ music player. Likewise, had Apple opened its iTunes-iPod juggernaut to outside developers, the company would have risked turning its uniquely integrated service into a hodgepodge of independent applications — kind of like the rest of the Internet, come to think of it.</p>
<p>And now observers, academics, and even some other companies are taking notes. Because while Apple&#8217;s tactics may seem like Industrial Revolution relics, they&#8217;ve helped the company position itself ahead of its competitors and at the forefront of the tech industry. Sometimes, evil works.</p>
<p>Over the past 100 years, management theory has followed a smooth trajectory, from enslavement to empowerment. The 20th century began with Taylorism — engineer Frederick Winslow Taylor&#8217;s notion that workers are interchangeable cogs — but with every decade came a new philosophy, each advocating that more power be passed down the chain of command to division managers, group leaders, and workers themselves. In 1977, Robert Greenleaf&#8217;s Servant Leadership argued that CEOs should think of themselves as slaves to their workers and focus on keeping them happy.</p>
<p>Silicon Valley has always been at the forefront of this kind of egalitarianism. In the 1940s, Bill Hewlett and David Packard pioneered what business author Tom Peters dubbed &#8220;managing by walking around,&#8221; an approach that encouraged executives to communicate informally with their employees. In the 1990s, Intel&#8217;s executives expressed solidarity with the engineers by renouncing their swanky corner offices in favor of standard-issue cubicles. And today, if Google hasn&#8217;t made itself a Greenleaf-esque slave to its employees, it&#8217;s at least a cruise director: The Mountain View campus is famous for its perks, including in-house masseuses, roller-hockey games, and a cafeteria where employees gobble gourmet vittles for free. What&#8217;s more, Google&#8217;s engineers have unprecedented autonomy; they choose which projects they work on and whom they work with. And they are encouraged to allot 20 percent of their work week to pursuing their own software ideas. The result? Products like Gmail and Google News, which began as personal endeavors.</p>
<p>Jobs, by contrast, is a notorious micromanager. No product escapes Cupertino without meeting Jobs&#8217; exacting standards, which are said to cover such esoteric details as the number of screws on the bottom of a laptop and the curve of a monitor&#8217;s corners. &#8220;He would scrutinize everything, down to the pixel level,&#8221; says Cordell Ratzlaff, a former manager charged with creating the OS X interface.</p>
<p>At most companies, the red-faced, tyrannical boss is an outdated archetype, a caricature from the life of Dagwood. Not at Apple. Whereas the rest of the tech industry may motivate employees with carrots, Jobs is known as an inveterate stick man. Even the most favored employee could find themselves on the receiving end of a tirade. Insiders have a term for it: the &#8220;hero-shithead roller coaster.&#8221; Says Edward Eigerman, a former Apple engineer, &#8220;More than anywhere else I&#8217;ve worked before or since, there&#8217;s a lot of concern about being fired.&#8221;</p>
<p>But Jobs&#8217; employees remain devoted. That&#8217;s because his autocracy is balanced by his famous charisma — he can make the task of designing a power supply feel like a mission from God. Andy Hertzfeld, lead designer of the original Macintosh OS, says Jobs imbued him and his coworkers with &#8220;messianic zeal.&#8221; And because Jobs&#8217; approval is so hard to win, Apple staffers labor tirelessly to please him. &#8220;He has the ability to pull the best out of people,&#8221; says Ratzlaff, who worked closely with Jobs on OS X for 18 months. &#8220;I learned a tremendous amount from him.&#8221;</p>
<p>Apple&#8217;s successes in the years since Jobs&#8217; return — iMac, iPod, iPhone — suggest an alternate vision to the worker-is-always-right school of management. In Cupertino, innovation doesn&#8217;t come from coddling employees and collecting whatever froth rises to the surface; it is the product of an intense, hard-fought process, where people&#8217;s feelings are irrelevant. Some management theorists are coming around to Apple&#8217;s way of thinking. &#8220;A certain type of forcefulness and perseverance is sometimes helpful when tackling large, intractable problems,&#8221; says Roderick Kramer, a social psychologist at Stanford who wrote an appreciation of &#8220;great intimidators&#8221; — including Jobs — for the February 2006 Harvard Business Review.</p>
<p>Likewise, Robert Sutton&#8217;s 2007 book, The No Asshole Rule, spoke out against workplace tyrants but made an exception for Jobs: &#8220;He inspires astounding effort and creativity from his people,&#8221; Sutton wrote. A Silicon Valley insider once told Sutton that he had seen Jobs demean many people and make some of them cry. But, the insider added, &#8220;He was almost always right.&#8221;</p>
<p>&#8220;Steve proves that it&#8217;s OK to be an asshole,&#8221; says Guy Kawasaki, Apple&#8217;s former chief evangelist. &#8220;I can&#8217;t relate to the way he does things, but it&#8217;s not his problem. It&#8217;s mine. He just has a different OS.&#8221;</p>
<p>Nicholas Ciarelli created Think Secret — a Web site devoted to exposing Apple&#8217;s covert product plans — when he was 13 years old, a seventh grader at Cazenovia Junior-Senior High School in central New York. He stuck with it for 10 years, publishing some legitimate scoops (he predicted the introduction of a new titanium PowerBook, the iPod shuffle, and the Mac mini) and some embarrassing misfires (he reported that the iPod mini would sell for $100; it actually went for $249) for a growing audience of Apple enthusiasts. When he left for Harvard, Ciarelli kept the site up and continued to pull in ad revenue. At heart, though, Think Secret wasn&#8217;t a financial enterprise but a personal obsession. &#8220;I was a huge enthusiast,&#8221; Ciarelli says. &#8220;One of my birthday cakes had an Apple logo on it.&#8221;</p>
<p>Most companies would pay millions of dollars for that kind of attention — an army of fans so eager to buy your stuff that they can&#8217;t wait for official announcements to learn about the newest products. But not Apple. Over the course of his run, Ciarelli received dozens of cease-and-desist letters from the object of his affection, charging him with everything from copyright infringement to disclosing trade secrets. In January 2005, Apple filed a lawsuit against Ciarelli, accusing him of illegally soliciting trade secrets from its employees. Two years later, in December 2007, Ciarelli settled with Apple, shutting down his site two months later. (He and Apple agreed to keep the settlement terms confidential.)</p>
<p>Apple&#8217;s secrecy may not seem out of place in Silicon Valley, land of the nondisclosure agreement, where algorithms are protected with the same zeal as missile launch codes. But in recent years, the tech industry has come to embrace candor. Microsoft — once the epitome of the faceless megalith — has softened its public image by encouraging employees to create no-holds-barred blogs, which share details of upcoming projects and even criticize the company. Sun Microsystems CEO Jonathan Schwartz has used his widely read blog to announce layoffs, explain strategy, and defend acquisitions.</p>
<p>&#8220;Openness facilitates a genuine conversation, and often collaboration, toward a shared outcome,&#8221; says Steve Rubel, a senior vice president at the PR firm Edeleman Digital. &#8220;When people feel like they&#8217;re on your side, it increases their trust in you. And trust drives sales.&#8221;</p>
<p>In an April 2007 cover story, we at Wired dubbed this tactic &#8220;radical transparency.&#8221; But Apple takes a different approach to its public relations. Call it radical opacity. Apple&#8217;s relationship with the press is dismissive at best, adversarial at worst; Jobs himself speaks only to a handpicked batch of reporters, and only when he deems it necessary. (He declined to talk to Wired for this article.) Forget corporate blogs — Apple doesn&#8217;t seem to like anyone blogging about the company. And Apple appears to revel in obfuscation. For years, Jobs dismissed the idea of adding video capability to the iPod. &#8220;We want it to make toast,&#8221; he quipped sarcastically at a 2004 press conference. &#8220;We&#8217;re toying with refrigeration, too.&#8221; A year later, he unveiled the fifth-generation iPod, complete with video. Jobs similarly disavowed the suggestion that he might move the Mac to Intel chips or release a software developers&#8217; kit for the iPhone — only months before announcing his intentions to do just that.</p>
<p>Even Apple employees often have no idea what their own company is up to. Workers&#8217; electronic security badges are programmed to restrict access to various areas of the campus. (Signs warning NO TAILGATING are posted on doors to discourage the curious from sneaking into off-limit areas.) Software and hardware designers are housed in separate buildings and kept from seeing each other&#8217;s work, so neither gets a complete sense of the project. &#8220;We have cells, like a terrorist organization,&#8221; Jon Rubinstein, former head of Apple&#8217;s hardware and iPod divisions and now executive chair at Palm, told BusinessWeek in 2000.</p>
<p>At times, Apple&#8217;s secrecy approaches paranoia. Talking to outsiders is forbidden; employees are warned against telling their families what they are working on. (Phil Schiller, Apple&#8217;s marketing chief, once told Fortune magazine he couldn&#8217;t share the release date of a new iPod with his own son.) Even Jobs is subject to his own strictures. He took home a prototype of Apple&#8217;s boom box, the iPod Hi-Fi, but kept it concealed under a cloth.</p>
<p>But Apple&#8217;s radical opacity hasn&#8217;t hurt the company — rather, the approach has been critical to its success, allowing the company to attack new product categories and grab market share before competitors wake up. It took Apple nearly three years to develop the iPhone in secret; that was a three-year head start on rivals. Likewise, while there are dozens of iPod knockoffs, they have hit the market just as Apple has rendered them obsolete. For example, Microsoft introduced the Zune 2, with its iPod-like touch-sensitive scroll wheel, in October 2007, a month after Apple announced it was moving toward a new interface for the iPod touch. Apple has been known to poke fun at its rivals&#8217; catch-up strategies. The company announced Tiger, the latest version of its operating system, with posters taunting, REDMOND, START YOUR PHOTOCOPIERS.)</p>
<p>Secrecy has also served Apple&#8217;s marketing efforts well, building up feverish anticipation for every announcement. In the weeks before Macworld Expo, Apple&#8217;s annual trade show, the tech media is filled with predictions about what product Jobs will unveil in his keynote address. Consumer-tech Web sites liveblog the speech as it happens, generating their biggest traffic of the year. And the next day, practically every media outlet covers the announcements. Harvard business professor David Yoffie has said that the introduction of the iPhone resulted in headlines worth $400 million in advertising.</p>
<p>But Jobs&#8217; tactics also carry risks — especially when his announcements don&#8217;t live up to the lofty expectations that come with such secrecy. The MacBook Air received a mixed response after some fans — who were hoping for a touchscreen-enabled tablet PC — deemed the slim-but-pricey subnotebook insufficiently revolutionary. Fans have a nickname for the aftermath of a disappointing event: post-Macworld depression.</p>
<p>Still, Apple&#8217;s radical opacity has, on the whole, been a rousing success — and it&#8217;s a tactic that most competitors can&#8217;t mimic. Intel and Microsoft, for instance, sell their chips and software through partnerships with PC companies; they publish product road maps months in advance so their partners can create the machines to use them. Console makers like Sony and Microsoft work hand in hand with developers so they can announce a full roster of games when their PlayStations and Xboxes launch. But because Apple creates all of the hardware and software in-house, it can keep those products under wraps. Fundamentally the company bears more resemblance to an old-school industrial manufacturer like General Motors than to the typical tech firm.</p>
<p>In fact, part of the joy of being an Apple customer is anticipating the surprises that Santa Steve brings at Macworld Expo every January. Ciarelli is still eager to find out what&#8217;s coming next — even if he can&#8217;t write about it. &#8220;I wish they hadn&#8217;t sued me,&#8221; he says, &#8220;but I&#8217;m still a fan of their products.&#8221;</p>
<p>Back in the mid-1990s, as Apple struggled to increase its share of the PC market, every analyst with a Bloomberg terminal was quick to diagnose the cause of the computermaker&#8217;s failure: Apple waited too long to license its operating system to outside hardware makers. In other words, it tried for too long to control the entire computing experience. Microsoft, Apple&#8217;s rival to the north, dominated by encouraging computer manufacturers to build their offerings around its software. Sure, that strategy could result in an inferior user experience and lots of cut-rate Wintel machines, but it also gave Microsoft a stranglehold on the software market. Even Wired joined the fray; in June 1997, we told Apple, &#8220;You shoulda licensed your OS in 1987&#8243; and advised, &#8220;Admit it. You&#8217;re out of the hardware game.&#8221;</p>
<p>Oops.</p>
<p>When Jobs returned to Apple in 1997, he ignored everyone&#8217;s advice and tied his company&#8217;s proprietary software to its proprietary hardware. He has held to that strategy over the years, even as his Silicon Valley cohorts have embraced the values of openness and interoperability. Android, Google&#8217;s operating system for mobile phones, is designed to work on any participating handset. Last year, Amazon.com began selling DRM-free songs that can be played on any MP3 player. Even Microsoft has begun to embrace the movement toward Web-based applications, software that runs on any platform.</p>
<p>Not Apple. Want to hear your iTunes songs on the go? You&#8217;re locked into playing them on your iPod. Want to run OS X? Buy a Mac. Want to play movies from your iPod on your TV? You&#8217;ve got to buy a special Apple-branded connector ($49). Only one wireless carrier would give Jobs free rein to design software and features for his handset, which is why anyone who wants an iPhone must sign up for service with AT&amp;T.</p>
<p>During the early days of the PC, the entire computer industry was like Apple — companies such as Osborne and Amiga built software that worked only on their own machines. Now Apple is the one vertically integrated company left, a fact that makes Jobs proud. &#8220;Apple is the last company in our industry that creates the whole widget,&#8221; he once told a Macworld crowd.</p>
<p>But not everyone sees Apple&#8217;s all-or-nothing approach in such benign terms. The music and film industries, in particular, worry that Jobs has become a gatekeeper for all digital content. Doug Morris, CEO of Universal Music, has accused iTunes of leaving labels powerless to negotiate with it. (Ironically, it was the labels themselves that insisted on the DRM that confines iTunes purchases to the iPod, and that they now protest.) &#8220;Apple has destroyed the music business,&#8221; NBC Universal chief Jeff Zucker told an audience at Syracuse University. &#8220;If we don&#8217;t take control on the video side, [they'll] do the same.&#8221; At a media business conference held during the early days of the Hollywood writers&#8217; strike, Michael Eisner argued that Apple was the union&#8217;s real enemy: &#8220;[The studios] make deals with Steve Jobs, who takes them to the cleaners. They make all these kinds of things, and who&#8217;s making money? Apple!&#8221;</p>
<p>Meanwhile, Jobs&#8217; insistence on the sanctity of his machines has affronted some of his biggest fans. In September, Apple released its first upgrade to the iPhone operating system. But the new software had a pernicious side effect: It would brick, or disable, any phone containing unapproved applications. The blogosphere erupted in protest; gadget blog Gizmodo even wrote a new review of the iPhone, reranking it a &#8220;don&#8217;t buy.&#8221; Last year, Jobs announced he would open up the iPhone so that independent developers could create applications for it, but only through an official process that gives Apple final approval of every application.</p>
<p>For all the protests, consumers don&#8217;t seem to mind Apple&#8217;s walled garden. In fact, they&#8217;re clamoring to get in. Yes, the iPod hardware and the iTunes software are inextricably linked — that&#8217;s why they work so well together. And now, PC-based iPod users, impressed with the experience, have started converting to Macs, further investing themselves in the Apple ecosystem.</p>
<p>Some Apple competitors have tried to emulate its tactics. Microsoft&#8217;s MP3 strategy used to be like its mobile strategy — license its software to (almost) all comers. Not any more: The operating system for Microsoft&#8217;s Zune player is designed uniquely for the device, mimicking the iPod&#8217;s vertical integration. Amazon&#8217;s Kindle e-reader provides seamless access to a proprietary selection of downloadable books, much as the iTunes Music Store provides direct access to an Apple-curated storefront. And the Nintendo Wii, the Sony PlayStation 3, and the Xbox360 each offer users access to self-contained online marketplaces for downloading games and special features.</p>
<p>Tim O&#8217;Reilly, publisher of the O&#8217;Reilly Radar blog and an organizer of the Web 2.0 Summit, says that these &#8220;three-tiered systems&#8221; — that blend hardware, installed software, and proprietary Web applications — represent the future of the Net. As consumers increasingly access the Web using scaled-down appliances like mobile phones and Kindle readers, they will demand applications that are tailored to work with those devices. True, such systems could theoretically be open, with any developer allowed to throw its own applications and services into the mix. But for now, the best three-tier systems are closed. And Apple, O&#8217;Reilly says, is the only company that &#8220;really understands how to build apps for a three-tiered system.&#8221;</p>
<p>If Apple represents the shiny, happy future of the tech industry, it also looks a lot like our cat-o&#8217;-nine-tails past. In part, that&#8217;s because the tech business itself more and more resembles an old-line consumer industry. When hardware and software makers were focused on winning business clients, price and interoperability were more important than the user experience. But now that consumers make up the most profitable market segment, usability and design have become priorities. Customers expect a reliable and intuitive experience — just like they do with any other consumer product.</p>
<p>All this plays to Steve Jobs&#8217; strengths. No other company has proven as adept at giving customers what they want before they know they want it. Undoubtedly, this is due to Jobs&#8217; unique creative vision. But it&#8217;s also a function of his management practices. By exerting unrelenting control over his employees, his image, and even his customers, Jobs exerts unrelenting control over his products and how they&#8217;re used. And in a consumer-focused tech industry, the products are what matter. &#8220;Everything that&#8217;s happening is playing to his values,&#8221; says Geoffrey Moore, author of the marketing tome Crossing the Chasm. &#8220;He&#8217;s at the absolute epicenter of the digitization of life. He&#8217;s totally in the zone.&#8221;</p>
<p>Leander Kahney (leander@wired.com), news editor of Wired.com, is the author of Inside Steve&#8217;s Brain, to be published in April by Penguin Portfolio.</p>
  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/int80.wordpress.com/170/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/int80.wordpress.com/170/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/int80.wordpress.com/170/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/int80.wordpress.com/170/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/int80.wordpress.com/170/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/int80.wordpress.com/170/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/int80.wordpress.com/170/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/int80.wordpress.com/170/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/int80.wordpress.com/170/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/int80.wordpress.com/170/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=int80.wordpress.com&blog=3684854&post=170&subd=int80&ref=&feed=1" /></div>]]></content:encoded>
			<wfw:commentRss>http://int80.wordpress.com/2009/04/15/how-apple-got-everything-right-by-doing-everything-wrong-2/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
	
		<media:content url="http://0.gravatar.com/avatar/c274698ea74692e242bbd2d5e162af80?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">int80</media:title>
		</media:content>

		<media:content url="http://247wallst.files.wordpress.com/2009/03/apple-logo13.jpg" medium="image" />
	</item>
		<item>
		<title>The Road to Area 51</title>
		<link>http://int80.wordpress.com/2009/04/14/the-road-to-area-51/</link>
		<comments>http://int80.wordpress.com/2009/04/14/the-road-to-area-51/#comments</comments>
		<pubDate>Tue, 14 Apr 2009 03:06:09 +0000</pubDate>
		<dc:creator>int80</dc:creator>
				<category><![CDATA[Science]]></category>

		<guid isPermaLink="false">http://int80.wordpress.com/?p=166</guid>
		<description><![CDATA[After decades of denying the facility&#8217;s existence, five former insiders speak out
by Annie Jacobsen

Area 51. It&#8217;s the most famous military institution in the world that doesn&#8217;t officially exist. If it did, it would be found about 100 miles outside Las Vegas in Nevada&#8217;s high desert, tucked between an Air Force base and an abandoned nuclear [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=int80.wordpress.com&blog=3684854&post=166&subd=int80&ref=&feed=1" />]]></description>
			<content:encoded><![CDATA[<div class='snap_preview'><br /><p>After decades of denying the facility&#8217;s existence, five former insiders speak out</p>
<p>by Annie Jacobsen</p>
<p><img src="http://www.latimes.com/media/photo/2009-03/45879002.jpg" alt="Backstory" /></p>
<p>Area 51. It&#8217;s the most famous military institution in the world that doesn&#8217;t officially exist. If it did, it would be found about 100 miles outside Las Vegas in Nevada&#8217;s high desert, tucked between an Air Force base and an abandoned nuclear testing ground. Then again, maybe not— the U.S. government refuses to say. You can&#8217;t drive anywhere close to it, and until recently, the airspace overhead was restricted—all the way to outer space. Any mention of Area 51 gets redacted from official documents, even those that have been declassified for decades.</p>
<p>It has become the holy grail for conspiracy theorists, with UFOlogists positing that the Pentagon reverse engineers flying saucers and keeps extraterrestrial beings stored in freezers. Urban legend has it that Area 51 is connected by underground tunnels and trains to other secret facilities around the country. In 2001, Katie Couric told Today Show audiences that 7 percent of Americans doubt the moon landing happened—that it was staged in the Nevada desert. Millions of X-Files fans believe the truth may be &#8220;out there,&#8221; but more likely it&#8217;s concealed inside Area 51&#8217;s Strangelove-esque hangars—buildings that, though confirmed by Google Earth, the government refuses to acknowledge.</p>
<p>The problem is the myths of Area 51 are hard to dispute if no one can speak on the record about what actually happened there. Well, now, for the first time, someone is ready to talk—in fact, five men are, and their stories rival the most outrageous of rumors. Colonel Hugh &#8220;Slip&#8221; Slater, 87, was commander of the Area 51 base in the 1960s. Edward Lovick, 90, featured in &#8220;What Plane?&#8221; in LA&#8217;s March issue, spent three decades radar testing some of the world&#8217;s most famous aircraft (including the U-2, the A-12 OXCART and the F-117). Kenneth Collins, 80, a CIA experimental test pilot, was given the silver star. Thornton &#8220;T.D.&#8221; Barnes, 72, was an Area 51 special-projects engineer. And Harry Martin, 77, was one of the men in charge of the base&#8217;s half-million-gallon monthly supply of spy-plane fuels. Here are a few of their best stories—forthe record:</p>
<p>On May 24, 1963, Collins flew out of Area 51&#8217;s restricted airspace in a top-secret spy plane code-named OXCART, built by Lockheed Aircraft Corporation. He was flying over Utah when the aircraft pitched, flipped and headed toward a crash. He ejected into a field of weeds.</p>
<p>Almost 46 years later, in late fall of 2008, sitting in a coffee shop in the San Fernando Valley, Collins remembers that day with the kind of clarity the threat of a national security breach evokes: &#8220;Three guys came driving toward me in a pickup. I saw they had the aircraft canopy in the back. They offered to take me to my plane.&#8221; Until that moment, no civilian without a top-secret security clearance had ever laid eyes on the airplane Collins was flying. &#8220;I told them not to go near the aircraft. I said it had a nuclear weapon on-board.&#8221; The story fit right into the Cold War backdrop of the day, as many atomic tests took place in Nevada. Spooked, the men drove Collins to the local highway patrol. The CIA disguised the accident as involving a generic Air Force plane, the F-105, which is how the event is still listed in official records.</p>
<p>As for the guys who picked him up, they were tracked down and told to sign national security nondisclosures. As part of Collins&#8217; own debriefing, the CIA asked the decorated pilot to take truth serum. &#8220;They wanted to see if there was anything I&#8217;d for-gotten about the events leading up to the crash.&#8221; The Sodium Pento-thal experience went without a hitch—except for the reaction of his wife, Jane.</p>
<p>&#8220;Late Sunday, three CIA agents brought me home. One drove my car; the other two carried me inside and laid me down on the couch. I was loopy from the drugs. They handed Jane the car keys and left without saying a word.&#8221; The only conclusion she could draw was that her husband had gone out and gotten drunk. &#8220;Boy, was she mad,&#8221; says Collins with a chuckle.</p>
<p>At the time of Collins&#8217; accident, CIA pilots had been flying spy planes in and out of Area 51 for eight years, with the express mission of providing the intelligence to prevent nuclear war. Aerial reconnaissance was a major part of the CIA&#8217;s preemptive efforts, while the rest of America built bomb shelters and hoped for the best.</p>
<p>&#8220;It wasn&#8217;t always called Area 51,&#8221; says Lovick, the physicist who developed stealth technology. His boss, legendary aircraft designer Clarence L. &#8220;Kelly&#8221; Johnson, called the place Paradise Ranch to entice men to leave their families and &#8220;rough it&#8221; out in the Nevada desert in the name of science and the fight against the evil empire. &#8220;Test pilot Tony LeVier found the place by flying over it,&#8221; says Lovick. &#8220;It was a lake bed called Groom Lake, selected for testing because it was flat and far from anything. It was kept secret because the CIA tested U-2s there.&#8221;</p>
<p>When Frances Gary Powers was shot down over Sverdlovsk, Russia, in 1960, the U-2 program lost its cover. But the CIA already had Lovick and some 200 scientists, engineers and pilots working at Area 51 on the A-12 OXCART, which would outfox Soviet radar using height, stealth and speed.</p>
<p>Col. Slater was in the outfit of six pilots who flew OXCART missions during the Vietnam War. Over a Cuban meat and cheese sandwich at the Bahama Breeze restaurant off the Las Vegas Strip, he says, &#8220;I was recruited for the Area after working with the CIA&#8217;s classified Black Cat Squadron, which flew U-2 missions over denied territory in Mainland China. After that, I was told, &#8216;You should come out to Nevada and work on something interesting we&#8217;re doing out there.&#8217; &#8220;</p>
<p>Even though Slater considers himself a fighter pilot at heart—he flew 84 missions in World War II—the opportunity to work at Area 51 was impossible to pass up. &#8220;When I learned about this Mach-3 aircraft called OXCART, it was completely intriguing to me—this idea of flying three times the speed of sound! No one knew a thing about the program. I asked my wife, Barbara, if she wanted to move to Las Vegas, and she said yes. And I said, &#8216;You won&#8217;t see me but on the weekends,&#8217; and she said, &#8216;That&#8217;s fine!&#8217; &#8221; At this recollection, Slater laughs heartily. Barbara, dining with us, laughs as well. The two, married for 63 years, are rarely apart today.</p>
<p>&#8220;We couldn&#8217;t have told you any of this a year ago,&#8221; Slater says. &#8220;Now we can&#8217;t tell it to you fast enough.&#8221; That is because in 2007, the CIA began declassifying the 50-year-old OXCART program. Today, there&#8217;s a scramble for eyewitnesses to fill in the information gaps. Only a few of the original players are left. Two more of them join me and the Slaters for lunch: Barnes, formerly an Area 51 special-projects engineer, with his wife, Doris; and Martin, one of those overseeing the OXCART&#8217;s specially mixed jet fuel (regular fuel explodes at extreme height, temperature and speed), with his wife, Mary. Because the men were sworn to secrecy for so many decades, their wives still get a kick out of hearing the secret tales.</p>
<p>Barnes was married at 17 (Doris was 16). To support his wife, he became an electronics wizard, buying broken television sets, fixing them up and reselling them for five times the original price. He went from living in bitter poverty on a Texas Panhandle ranch with no electricity to buying his new bride a dream home before he was old enough to vote. As a soldier in the Korean War, Barnes demonstrated an uncanny aptitude for radar and Nike missile systems, which made him a prime target for recruitment by the CIA—which indeed happened when he was 22. By 30, he was handling nuclear secrets.</p>
<p>&#8220;The agency located each guy at the top of a certain field and put us together for the programs at Area 51,&#8221; says Barnes. As a security precaution, he couldn&#8217;t reveal his birth name—he went by the moniker Thunder. Coworkers traveled in separate cars, helicopters and airplanes. Barnes and his group kept to themselves, even in the mess hall. &#8220;Our special-projects group was the most classified team since the Manhattan Project,&#8221; he says.</p>
<p>Harry Martin&#8217;s specialty was fuel. Handpicked by the CIA from the Air Force, he underwent rigorous psychological and physical tests to see if he was up for the job. When he passed, the CIA moved his family to Nevada. Because OXCART had to refuel frequently, the CIA kept supplies at secret facilities around the globe. Martin often traveled to these bases for quality-control checks. He tells of preparing for a top-secret mission from Area 51 to Thule, Greenland. &#8220;My wife took one look at me in these arctic boots and this big hooded coat, and she knew not to ask where I was going.&#8221;</p>
<p>So, what of those urban legends—the UFOs studied in secret, the underground tunnels connecting clandestine facilities? For decades, the men at Area 51 thought they&#8217;d take their secrets to the grave. At the height of the Cold War, they cultivated anonymity while pursuing some of the country&#8217;s most covert projects. Conspiracy theories were left to popular imagination. But in talking with Collins, Lovick, Slater, Barnes and Martin, it is clear that much of the folklore was spun from threads of fact.</p>
<p>As for the myths of reverse engineering of flying saucers, Barnes offers some insight: &#8220;We did reverse engineer a lot of foreign technology, including the Soviet MiG fighter jet out at the Area&#8221;—even though the MiG wasn&#8217;t shaped like a flying saucer. As for the underground-tunnel talk, that, too, was born of truth. Barnes worked on a nuclear-rocket program called Project NERVA, inside underground chambers at Jackass Flats, in Area 51&#8217;s backyard. &#8220;Three test-cell facilities were connected by railroad, but everything else was underground,&#8221; he says.</p>
<p>And the quintessential Area 51 conspiracy—that the Pentagon keeps captured alien spacecraft there, which they fly around in restricted airspace? Turns out that one&#8217;s pretty easy to debunk. The shape of OXCART was unprece-dented, with its wide, disk-like fuselage designed to carry vast quantities of fuel. Commercial pilots cruising over Nevada at dusk would look up and see the bottom of OXCART whiz by at 2,000-plus mph. The aircraft&#8217;s tita-nium body, moving as fast as a bullet, would reflect the sun&#8217;s rays in a way that could make anyone think, UFO.</p>
<p>In all, 2,850 OXCART test flights were flown out of Area 51 while Slater was in charge. &#8220;That&#8217;s a lot of UFO sightings!&#8221; Slater adds. Commercial pilots would report them to the FAA, and &#8220;when they&#8217;d land in California, they&#8217;d be met by FBI agents who&#8217;d make them sign nondisclosure forms.&#8221; But not everyone kept quiet, hence the birth of Area 51&#8217;s UFO lore. The sightings incited uproar in Nevada and the surrounding areas and forced the Air Force to open Project BLUE BOOK to log each claim.</p>
<p>Since only a few Air Force officials were cleared for OXCART (even though it was a joint CIA/USAF project), many UFO sightings raised internal military alarms. Some generals believed the Russians might be sending stealth craft over American skies to incite paranoia and create widespread panic of alien invasion. Today, BLUE BOOK findings are housed in 37 cubic feet of case files at the National Archives—74,000 pages of reports. A keyword search brings up no mention of the top-secret OXCART or Area 51.</p>
<p>Project BLUE BOOK was shut down in 1969—more than a year after OXCART was retired. But what continues at America&#8217;s most clandestine military facility could take another 40 years to disclose.</p>
<p>http://www.latimes.com/features/la-mag-april052009-backstory,0,3355162.story</p>
  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/int80.wordpress.com/166/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/int80.wordpress.com/166/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/int80.wordpress.com/166/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/int80.wordpress.com/166/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/int80.wordpress.com/166/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/int80.wordpress.com/166/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/int80.wordpress.com/166/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/int80.wordpress.com/166/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/int80.wordpress.com/166/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/int80.wordpress.com/166/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=int80.wordpress.com&blog=3684854&post=166&subd=int80&ref=&feed=1" /></div>]]></content:encoded>
			<wfw:commentRss>http://int80.wordpress.com/2009/04/14/the-road-to-area-51/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://0.gravatar.com/avatar/c274698ea74692e242bbd2d5e162af80?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">int80</media:title>
		</media:content>

		<media:content url="http://www.latimes.com/media/photo/2009-03/45879002.jpg" medium="image">
			<media:title type="html">Backstory</media:title>
		</media:content>
	</item>
		<item>
		<title>a new project site for my oS</title>
		<link>http://int80.wordpress.com/2009/04/07/a-new-project-site-for-my-os/</link>
		<comments>http://int80.wordpress.com/2009/04/07/a-new-project-site-for-my-os/#comments</comments>
		<pubDate>Tue, 07 Apr 2009 04:02:35 +0000</pubDate>
		<dc:creator>int80</dc:creator>
				<category><![CDATA[Programming]]></category>

		<guid isPermaLink="false">http://int80.wordpress.com/?p=164</guid>
		<description><![CDATA[
a new project site was created @ Google code.
address: http://code.google.com/p/ring0/
you can fine updates on the code base, review the code; etc
wiki is also created for updating new concepts, ideas, learnings; etc
_enjoy coding
       <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=int80.wordpress.com&blog=3684854&post=164&subd=int80&ref=&feed=1" />]]></description>
			<content:encoded><![CDATA[<div class='snap_preview'><br /><div>
<p>a new project site was created @ Google code.</p>
<p>address: <a href="http://code.google.com/p/ring0/">http://code.google.com/p/ring0/</a></p>
<p>you can fine updates on the code base, review the code; etc</p>
<p>wiki is also created for updating new concepts, ideas, learnings; etc</p>
<p>_enjoy coding</p></div>
  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/int80.wordpress.com/164/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/int80.wordpress.com/164/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/int80.wordpress.com/164/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/int80.wordpress.com/164/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/int80.wordpress.com/164/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/int80.wordpress.com/164/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/int80.wordpress.com/164/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/int80.wordpress.com/164/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/int80.wordpress.com/164/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/int80.wordpress.com/164/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=int80.wordpress.com&blog=3684854&post=164&subd=int80&ref=&feed=1" /></div>]]></content:encoded>
			<wfw:commentRss>http://int80.wordpress.com/2009/04/07/a-new-project-site-for-my-os/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://0.gravatar.com/avatar/c274698ea74692e242bbd2d5e162af80?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">int80</media:title>
		</media:content>
	</item>
		<item>
		<title>(C)onficker Working Group</title>
		<link>http://int80.wordpress.com/2009/04/03/conficker-working-group/</link>
		<comments>http://int80.wordpress.com/2009/04/03/conficker-working-group/#comments</comments>
		<pubDate>Fri, 03 Apr 2009 02:39:57 +0000</pubDate>
		<dc:creator>int80</dc:creator>
				<category><![CDATA[malware]]></category>

		<guid isPermaLink="false">http://int80.wordpress.com/?p=162</guid>
		<description><![CDATA[Conficker, also known as Downup, Downandup, Conflicker, and Kido, is a computer worm that surfaced November 21st, 2008 with Conficker.A and targets the Microsoft Windows operating system. The worm exploits a known vulnerability (MS08-067) in the Windows Server service used by Windows 2000, Windows XP, Windows Vista, Windows Server 2003, Windows Server 2008, and Windows [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=int80.wordpress.com&blog=3684854&post=162&subd=int80&ref=&feed=1" />]]></description>
			<content:encoded><![CDATA[<div class='snap_preview'><br /><p>Conficker, also known as Downup, Downandup, Conflicker, and Kido, is a computer worm that surfaced November 21st, 2008 with Conficker.A and targets the Microsoft Windows operating system. The worm exploits a known vulnerability (MS08-067) in the Windows Server service used by Windows 2000, Windows XP, Windows Vista, Windows Server 2003, Windows Server 2008, and Windows 7 Beta. The latest variant (Conficker.C) will begin checking for a payload to download on March 31st, 2009. Conficker.A and Conficker.B variants continue to check for payloads each with a distinct domain generation algorithm.</p>
<p>http://www.confickerworkinggroup.org/wiki/#toc1</p>
  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/int80.wordpress.com/162/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/int80.wordpress.com/162/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/int80.wordpress.com/162/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/int80.wordpress.com/162/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/int80.wordpress.com/162/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/int80.wordpress.com/162/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/int80.wordpress.com/162/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/int80.wordpress.com/162/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/int80.wordpress.com/162/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/int80.wordpress.com/162/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=int80.wordpress.com&blog=3684854&post=162&subd=int80&ref=&feed=1" /></div>]]></content:encoded>
			<wfw:commentRss>http://int80.wordpress.com/2009/04/03/conficker-working-group/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://0.gravatar.com/avatar/c274698ea74692e242bbd2d5e162af80?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">int80</media:title>
		</media:content>
	</item>
		<item>
		<title>writing an operating system</title>
		<link>http://int80.wordpress.com/2009/03/28/writing-an-operating-system/</link>
		<comments>http://int80.wordpress.com/2009/03/28/writing-an-operating-system/#comments</comments>
		<pubDate>Sat, 28 Mar 2009 12:48:56 +0000</pubDate>
		<dc:creator>int80</dc:creator>
				<category><![CDATA[Uncategorized]]></category>

		<guid isPermaLink="false">http://int80.wordpress.com/?p=160</guid>
		<description><![CDATA[
controlling the hardware (microprocessor, memory, floppy drive; etc) is always fun and exciting. the only way to achieve it is to develop your own operating system. that includes boot loader, kernel and a shell.
during my college time. i tried to develop one, but ended up developing a operating environment rather a complete operating system. and [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=int80.wordpress.com&blog=3684854&post=160&subd=int80&ref=&feed=1" />]]></description>
			<content:encoded><![CDATA[<div class='snap_preview'><br /><div>
<p>controlling the hardware (microprocessor, memory, floppy drive; etc) is always fun and exciting. the only way to achieve it is to develop your own operating system. that includes boot loader, kernel and a shell.</p>
<p>during my college time. i tried to develop one, but ended up developing a operating environment rather a complete operating system. and i named it as DOSE (disk operating system environment).</p>
<p>but now, i am into developing a complete operating system.  coding a boot loader is my work right now.   it is very exciting to learn concepts like master boot record, processor initialization, real and protected mode, descriptor tables.. etc</p>
<p>building a custom GDT  (global descriptor table) is designing and developing your own segmentation mechanism into the memory management.</p>
<p>will write more about GDT in my next post.</p></div>
  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/int80.wordpress.com/160/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/int80.wordpress.com/160/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/int80.wordpress.com/160/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/int80.wordpress.com/160/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/int80.wordpress.com/160/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/int80.wordpress.com/160/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/int80.wordpress.com/160/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/int80.wordpress.com/160/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/int80.wordpress.com/160/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/int80.wordpress.com/160/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=int80.wordpress.com&blog=3684854&post=160&subd=int80&ref=&feed=1" /></div>]]></content:encoded>
			<wfw:commentRss>http://int80.wordpress.com/2009/03/28/writing-an-operating-system/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://0.gravatar.com/avatar/c274698ea74692e242bbd2d5e162af80?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">int80</media:title>
		</media:content>
	</item>
		<item>
		<title>Reading the FreeBSD Kernel</title>
		<link>http://int80.wordpress.com/2009/03/13/reading-the-freebsd-kernel/</link>
		<comments>http://int80.wordpress.com/2009/03/13/reading-the-freebsd-kernel/#comments</comments>
		<pubDate>Fri, 13 Mar 2009 04:39:04 +0000</pubDate>
		<dc:creator>int80</dc:creator>
				<category><![CDATA[General]]></category>

		<guid isPermaLink="false">http://int80.wordpress.com/?p=153</guid>
		<description><![CDATA[In September, 2005, I had the opportunity to exchange e-mail with Halil Demirezen on the subject of getting to know the FreeBSD kernel. Since the answer seemed of more general interest, I thought I&#8217;d posted it on my web site in case it was of interest to anyone else.
From rwatson at FreeBSD.org Tue Sep  6 [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=int80.wordpress.com&blog=3684854&post=153&subd=int80&ref=&feed=1" />]]></description>
			<content:encoded><![CDATA[<div class='snap_preview'><br /><p>In September, 2005, I had the opportunity to exchange e-mail with Halil Demirezen on the subject of getting to know the FreeBSD kernel. Since the answer seemed of more general interest, I thought I&#8217;d posted it on my web site in case it was of interest to anyone else.</p>
<p>From rwatson at FreeBSD.org Tue Sep  6 14:10:10 2005<br />
Date: Tue, 6 Sep 2005 14:10:10 +0100 (BST)<br />
From: Robert Watson &lt;rwatson at FreeBSD dot org&gt;<br />
To: Halil Demirezen &lt; halil at enderunix dot org&gt;<br />
Subject: Re: One dummy question but important for me.<br />
On Tue, 6 Sep 2005, Halil Demirezen wrote:</p>
<p>&gt; It is one little sample of hundred thousands of silly questions. But for<br />
&gt; an individual it is really important one. I have been dealing with<br />
&gt; kernel (/usr/src/sys/) in FreeBSD. However, this is really a big<br />
&gt; challenge. My graduate thesis was a little i386 kernel that boots from<br />
&gt; Floppy Disks (3 1/2). Run in protected mode. A shell little memory<br />
&gt; management and multiprocessed one.<br />
&gt;<br />
&gt; I am coping with FreeBSD kernel to understand and to hack it. Where to<br />
&gt; start? It is really difficult to understand the essentials. I am sure i<br />
&gt; will spend my time on it. But what are the first essentials for a kernel<br />
&gt; developer to be in the developing. I know it is easy for one who started<br />
&gt; developing FreeBSD from the beginning. But as the code grows, It starts<br />
&gt; to be impossible to begin. I tried to start from booting process. But<br />
&gt; the kernel structure got lost in mind. When I try to understand one<br />
&gt; source file, I need to open several to unite the all.<br />
&#8230;</p>
<p>Halil,<br />
Well, the FreeBSD kernel is a huge piece of software &#8212; I&#8217;ve been working<br />
with it fairly continuously for about 8-10 years now, and only feel like I<br />
really understand a fraction of it.  On the other hand, it turns out that<br />
partial understanding is still good enough to do some useful work <img src='http://s.wordpress.com/wp-includes/images/smilies/icon_smile.gif' alt=':-)' class='wp-smiley' /> .<br />
There are a couple of ways to go about learning about the structure of the<br />
kernel.  If you don&#8217;t already have a copy of McKusick and Neville-Neil&#8217;s<br />
Design and Implementation of FreeBSD book, you should see if you can get a<br />
copy.  While it&#8217;s hardly an introductory guide to the kernel, it does do a<br />
good job of presenting important depth about a lot of important<br />
subsystems.  I find it more useful as reference material than reading<br />
material, but it&#8217;s quite helpful.</p>
<p>Another way is to go at it from the perspective of reading source code.<br />
If you&#8217;ve skimmed or read the above book, I would recommend using one of a<br />
number of source code browsing web sites to start exploring the kernel.<br />
There are a couple of places you might begin, depending on what you want<br />
to learn.  Here are a few you might try:</p>
<p>http://fxr.watson.org/fxr/ident?i=mi_startup</p>
<p>mi_startup() is the machine-independent system boot function, which occurs<br />
after the low level hardware has been initialized, and is responsible for<br />
kicking off SYSINIT(), the boot time registration mechanism.  Various<br />
kernel components declare code that has to run at boot using SYSINIT()<br />
macros, which are ordered using subsystem ID&#8217;s.  You can find a list of<br />
the subsystems and their ordering here:</p>
<p>http://fxr.watson.org/fxr/ident?i=sysinit_sub_id</p>
<p>You may also be interested in the proc0 initialization function &#8212; process<br />
0 becomes the kernel process and swapper, and is started by mi_startup()<br />
via sysinit:</p>
<p>http://fxr.watson.org/fxr/ident?i=proc0_init<br />
http://fxr.watson.org/fxr/ident?i=proc0_post</p>
<p>Another important starting point is the process 1 kernel code, which is<br />
the kernel process that runs init(8), which in turn kicks off the start of<br />
user space:</p>
<p>http://fxr.watson.org/fxr/ident?i=create_init<br />
http://fxr.watson.org/fxr/ident?i=start_init<br />
http://fxr.watson.org/fxr/ident?i=kick_init</p>
<p>The start_init() function is run in process 1, which is created by<br />
create_init() run by sysinit in process 0.  Once init is created, it will<br />
be started by kick_init(), also run by process 0 using sysinit.<br />
Prior to mi_startup(), machine-dependent boot code runs.  The details vary<br />
a lot by platform, but the code is pretty much always named &#8220;locore&#8221;, and<br />
is the entry point for the kernel loaded by the boot loader:</p>
<p>http://fxr.watson.org/fxr/source/i386/i386/locore.s</p>
<p>It generally is responsible for getting the kernel set up to execute,<br />
laying out kernel memory, preparing stacks, and all that.  There&#8217;s a book<br />
by Jolice called &#8220;Kernel Source Code Secrets&#8221; in two volumes, which<br />
describes the early 386BSD kernel.  While the code has changed quite a lot<br />
since then, it can still make useful reading in understanding locore and a<br />
number of other parts of the kernel.</p>
<p>Sysinits are particularly interesting for understanding the boot process<br />
because they rely on kernel linker sets and hook mechanically into both<br />
the boot process and module load process.  Sysinit functions are run in<br />
the order they appear in the enumeration, and you&#8217;ll find that many kernel<br />
subsystems register the components using macros wrapped around sysinit.<br />
For example, VFS_SET() is a macro that declares the initializes for<br />
virtual file system implementations, allowing the file systems to register<br />
themselves for use later:</p>
<p>http://fxr.watson.org/fxr/ident?i=VFS_SET</p>
<p>Another perspective from which to view the kernel and explore the source<br />
is from the perspective of the steady state offering services to user<br />
space.  The most useful starting point here is:</p>
<p>http://fxr.watson.org/fxr/source/kern/syscalls.master</p>
<p>This is the master system call definition file, from which other files,<br />
such as init_sysent.c, are generated.  Each system call listed in<br />
syscalls.master is implemented by a function by the same name in the<br />
kernel.  For example, sync() is declared in syscalls.master, and<br />
implemented by a function named sync() in vfs_syscalls.c:</p>
<p>http://fxr.watson.org/fxr/ident?i=sync</p>
<p>So you can investigate code paths taken by particular system calls<br />
starting there.</p>
<p>Of course, system calls aren&#8217;t the only way to enter a kernel.  A variety<br />
of traps exist, some leading to the VM system, others to signal handlers,<br />
math emulators, interrupt handlers, and so on.  The low level trap code is<br />
machine-dependent, but will usually be implemented by a function named<br />
trap():</p>
<p>http://fxr.watson.org/fxr/ident?i=trap</p>
<p>It calls into a lot of other things, including the system call vector for<br />
the process, generally derived from syscalls.master or an emulator<br />
variant, the page fault handler, and so on:</p>
<p>http://fxr.watson.org/fxr/ident?i=trap_pfault</p>
<p>On return from a system call (and various other circumstances), userret()<br />
is also interesting:</p>
<p>http://fxr.watson.org/fxr/ident?i=userret</p>
<p>Hopefully this is a useful starting point for browsing?<br />
Robert N M Watson</p>
  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/int80.wordpress.com/153/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/int80.wordpress.com/153/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/int80.wordpress.com/153/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/int80.wordpress.com/153/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/int80.wordpress.com/153/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/int80.wordpress.com/153/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/int80.wordpress.com/153/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/int80.wordpress.com/153/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/int80.wordpress.com/153/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/int80.wordpress.com/153/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=int80.wordpress.com&blog=3684854&post=153&subd=int80&ref=&feed=1" /></div>]]></content:encoded>
			<wfw:commentRss>http://int80.wordpress.com/2009/03/13/reading-the-freebsd-kernel/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://0.gravatar.com/avatar/c274698ea74692e242bbd2d5e162af80?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">int80</media:title>
		</media:content>
	</item>
		<item>
		<title>automating the snort IDS in FreeBSD</title>
		<link>http://int80.wordpress.com/2009/03/04/automating-the-snort-ids-in-freebsd/</link>
		<comments>http://int80.wordpress.com/2009/03/04/automating-the-snort-ids-in-freebsd/#comments</comments>
		<pubDate>Wed, 04 Mar 2009 02:54:53 +0000</pubDate>
		<dc:creator>int80</dc:creator>
				<category><![CDATA[oneha|f Lab]]></category>

		<guid isPermaLink="false">http://int80.wordpress.com/2009/03/04/automating-the-snort-ids-in-freebsd/</guid>
		<description><![CDATA[Currently I am into automating the process of installing and configuring snort in FreeBSD. I have developed a small script which installs and configures Snort, MySql, Apache, PHP, ADODB and Base console in FreeBSD. Currently I have written the following scripts:
1) start.sh -&#62; creates all necessary directories and users
2) deps.sh -&#62; installs dependencies like libpcap, [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=int80.wordpress.com&blog=3684854&post=152&subd=int80&ref=&feed=1" />]]></description>
			<content:encoded><![CDATA[<div class='snap_preview'><br /><p>Currently I am into automating the process of installing and configuring snort in FreeBSD. I have developed a small script which installs and configures Snort, MySql, Apache, PHP, ADODB and Base console in FreeBSD. Currently I have written the following scripts:</p>
<p>1) start.sh -&gt; creates all necessary directories and users</p>
<p>2) deps.sh -&gt; installs dependencies like libpcap, pcre, libxml2</p>
<p>3) mysql.sh -&gt; installs mysql</p>
<p>4) snort.sh -&gt; installs snort and updates the rules</p>
<p>5) create_snortdb.sh -&gt; creates snort db schema and confifures acl&#8217;s for accessing</p>
<p>6) apachephp.sh -&gt; installs apache, php and mod security</p>
<p>right now I am into developing scripts for updating configuration files too.. like after you install all the above you need to manually modify snort.conf, httpd.conf;etc for settings..</p>
<p>i am also developing a model to secure the entire ids by hardening FreeBSD, MySQL, Apache;etc and distributed IDS</p>
<p>will update soon !!!</p>
  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/int80.wordpress.com/152/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/int80.wordpress.com/152/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/int80.wordpress.com/152/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/int80.wordpress.com/152/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/int80.wordpress.com/152/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/int80.wordpress.com/152/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/int80.wordpress.com/152/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/int80.wordpress.com/152/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/int80.wordpress.com/152/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/int80.wordpress.com/152/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=int80.wordpress.com&blog=3684854&post=152&subd=int80&ref=&feed=1" /></div>]]></content:encoded>
			<wfw:commentRss>http://int80.wordpress.com/2009/03/04/automating-the-snort-ids-in-freebsd/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://0.gravatar.com/avatar/c274698ea74692e242bbd2d5e162af80?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">int80</media:title>
		</media:content>
	</item>
		<item>
		<title>Microsoft, TCP/IP, Open Source, and Licensing</title>
		<link>http://int80.wordpress.com/2009/02/11/microsoft-tcpip-open-source-and-licensing/</link>
		<comments>http://int80.wordpress.com/2009/02/11/microsoft-tcpip-open-source-and-licensing/#comments</comments>
		<pubDate>Wed, 11 Feb 2009 07:17:27 +0000</pubDate>
		<dc:creator>int80</dc:creator>
				<category><![CDATA[General]]></category>

		<guid isPermaLink="false">http://int80.wordpress.com/2009/02/11/microsoft-tcpip-open-source-and-licensing/</guid>
		<description><![CDATA[A Wall Street Journal article titled Microsoft Uses Open-Source Code Despite Denying Use of Such Software recently caused a ruckus on the Web.
The article stated that Microsoft was running FreeBSD on some of the servers used by Hotmail, its free Web email service. It also claimed that &#8220;software connected with the FreeBSD open-source operating system [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=int80.wordpress.com&blog=3684854&post=151&subd=int80&ref=&feed=1" />]]></description>
			<content:encoded><![CDATA[<div class='snap_preview'><br /><p>A Wall Street Journal article titled Microsoft Uses Open-Source Code Despite Denying Use of Such Software recently caused a ruckus on the Web.</p>
<p>The article stated that Microsoft was running FreeBSD on some of the servers used by Hotmail, its free Web email service. It also claimed that &#8220;software connected with the FreeBSD open-source operating system is used in several places deep inside several versions of Microsoft&#8217;s Windows software, such as in the `TCP/IP&#8217; section that arranges all connections to the Internet.&#8221;</p>
<p><span style="font-family:verdana, arial, helvetica, sans-serif;font-size:x-small;">I worked at Microsoft for ten years, most of it on the core Windows NT/2000 (hereafter referred to as NT) networking code. As such I briefly dealt with the Hotmail team, mostly to hear them complain about the lameness of the telnet daemon in NT (a valid point). I do know that when Microsoft bought Hotmail, the email system was entirely running on FreeBSD, and Microsoft immediately set about trying to migrate it to NT, and it took many years to do so. Now it seems that the transition is not complete. Well, what are you gonna do.On the other hand, I know a lot about the TCP/IP stack that is running on NT. Here is a short history of it (some of this may also be told in the book <em>How the Web Was Won</em>, but I haven&#8217;t read it):</span></p>
<p>The original plan for NT was that a few members of the core NT team (which numbered about 15 developers) would write all the networking code. However, in 1990 a small team was started up in the LAN Manager group at Microsoft to do some of that NT networking work. Eventually that team moved over to be a part of NT (this coincided with the IBM-OS/2 &#8220;divorce&#8221;, if anyone is interested).</p>
<p>Microsoft&#8217;s networking software at the time ran over a network protocol called Netbeui, but it was decided that TCP/IP was gaining in importance, and should be included in NT. In addition, the user-mode API associated with Netbeui, which was called Netbios, was too Netbeui-specific and couldn&#8217;t be adapted to allow user-mode access to TCP/IP. As a result, the decision was made:</p>
<p>1) To put a TCP/IP stack in NT</p>
<p>2) To adapt the sockets user-mode API for NT</p>
<p>#1 was solved by licensing code from a company called Spider Systems. However, Spider&#8217;s TCP/IP stack was written to run within an environment called STREAMS, which was a wrapper that specified how the various parts of the stack would communicate with each other (TCP/IP is really several pieces of code &#8212; two of which are TCP and IP &#8212; layered on top of each other. Most network protocols are like that, which is why they are referred to as &#8220;stacks&#8221;). As a result, STREAMS also had to be ported to NT.</p>
<p>#2 involved the creation of the winsock API, which persists today.</p>
<p>It was recognized that using Spider&#8217;s stack was a temporary measure, because nobody really wanted a stack that depended on STREAMS and its associated overhead. So, a short time after this, work was begun on a new version of TCP/IP, written entirely by Microsoft.</p>
<p>Along with Spider&#8217;s stack came versions of various TCP/IP-related utility programs, such as ftp, rcp and rsh. Those were ported from BSD sockets to winsock (not a huge change) and bundled with NT.</p>
<p>Now, some of Spider&#8217;s code (possibly all of it) was based on the TCP/IP stack in the BSD flavors of Unix. These are open source, but distributed under the BSD license, not the GPL that Linux is released under. Whereas the GPL states that any software derived from GPL&#8217;ed software must also be released under the GPL, the BSD license basically says, &#8220;here&#8217;s the source, you can do whatever you want, just give credit to the original author.&#8221;</p>
<p>Eventually the new, from scratch TCP/IP stack was done and shipped with NT 3.5 (the second version, despite the number) in late 1994. The same stack was also included with Windows 95.</p>
<p>However, it looks like some of those Unix utilities were never rewritten. If you look at the executables, you can still see the copyright notice from the regents of the University of California (BSD is short for Berkeley Software Distrubution, Berkeley being a <a href="http://www.berkeley.edu/">branch of the University of California</a>, for some reason referred to as &#8220;Berkeley&#8221; on the East Coast and &#8220;California&#8221; on the West Coast&#8230;and &#8220;Berkeley&#8221; is one of those words that starts to look real funny if you stare at it too long &#8211; but I digress).</p>
<p>Keep in mind there is no reason to rewrite that code. If your ftp client works fine (no comments from the peanut gallery!) then why change it? Microsoft has other fish to fry. And the software was licensed perfectly legally, since the inclusion of the copyright notice satisfied the BSD license.</p>
<p>I won&#8217;t even swear on a stack of bibles that the &#8220;new&#8221; TCP/IP now shipping in NT/2000/XP and Windows 95/98/Me is completely free of the old code from Spider. Since I don&#8217;t work there I don&#8217;t have access to the source code. Certainly some parts of TCP (the checksum calculation comes to mind) are the same everywhere and once someone has written an optimized version, why rewrite it? And once again, this would be perfectly legitimate for Microsoft to do under the license.</p>
<p>But it is certainly misleading of the Wall Street Journal to say that BSD code is used &#8220;deep inside&#8221; the NT networking code, unless they mean the STREAMS wrapper itself, which I believe is still there in case someone wants to write a transport using it (I think there is an OSI TP4 STREAMS transport lurking somewhere out there, if anyone cares &#8211; but I just checked, nobody does). But the TCP/IP in NT certainly doesn&#8217;t use STREAMS.</p>
<p>And implying that the TCP/IP stack uses BSD code is also false. As I said above there may be small vestiges of it in there, although I doubt it. Anyway the FreeBSD programmers who reported all this to the Wall Street Journal can&#8217;t see the NT TCP/IP source either, so they can&#8217;t have been referring to that.</p>
<p>But whatever! It isn&#8217;t the first time Microsoft has been maligned by the press, and it won&#8217;t be the last.</p>
<p>However, this history does illustrate Microsoft&#8217;s view of the GPL. As you may recall, Microsoft VP Craig Mundie recently claimed that<a href="http://www.microsoft.com/PressPass/features/2001/may01/05-03csm.asp">the GPL is anti-competitive</a>, un-American, flea-infested, locust-plagued, etc. This followed up on similar claims by another VP, Jim Allchin, so it appears that this is the angle Microsoft has chosen to attack Linux.</p>
<p>On the face of it, Microsoft complaining about the source license used by Linux is like the event horizon calling the kettle black. Microsoft has <em>no source license at all</em> to speak of (for the general public anyway)! Anyway when did the source license of a piece of software become an issue for the average Joe who wants to buy it? As a former Microserf, I&#8217;ll be the first to admit that Mundie&#8217;s arguments make no sense for the industry in general.</p>
<p>Still from Microsoft&#8217;s point of view, the source license of software <em>does</em> matter, because Microsoft might want to license the code. As it did in the case of the TCP/IP code it got from Spider, which was under the BSD license. If Spider&#8217;s code had been under the GPL, Microsoft couldn&#8217;t have used it. In other cases, Microsoft has licensed software from companies that were not open source at all, but Microsoft was able to negotiate a private license for its own use.</p>
<p>Again I&#8217;m not defending Microsoft&#8217;s viewpoint. For any given piece of code, there may be five companies in the world that want to license it, 500 programmers who want to modify it, and 5 million users that want to use it. So the GPL is a good thing in general. Microsoft&#8217;s <em>main</em> goal with the anti-GPL rhetoric is to discredit Linux, not to make it easier for it to license third-party software.</p>
<p><span style="font-family:verdana, arial, helvetica, sans-serif;font-size:x-small;">Still you can see how Microsoft&#8217;s stance, from its own weird, warped perspective, almost makes some little iota of sense.</span></p>
<p><span style="font-family:verdana, arial, helvetica, sans-serif;font-size:x-small;">Courtesy: <a href="http://www.kuro5hin.org/?op=displaystory;sid=2001/6/19/05641/7357">http://www.kuro5hin.org/?op=displaystory;sid=2001/6/19/05641/7357</a></span></p>
  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/int80.wordpress.com/151/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/int80.wordpress.com/151/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/int80.wordpress.com/151/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/int80.wordpress.com/151/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/int80.wordpress.com/151/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/int80.wordpress.com/151/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/int80.wordpress.com/151/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/int80.wordpress.com/151/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/int80.wordpress.com/151/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/int80.wordpress.com/151/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=int80.wordpress.com&blog=3684854&post=151&subd=int80&ref=&feed=1" /></div>]]></content:encoded>
			<wfw:commentRss>http://int80.wordpress.com/2009/02/11/microsoft-tcpip-open-source-and-licensing/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
	
		<media:content url="http://0.gravatar.com/avatar/c274698ea74692e242bbd2d5e162af80?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">int80</media:title>
		</media:content>
	</item>
	</channel>
</rss>