<?xml version="1.0" encoding="UTF-8"?>
<?xml-stylesheet type="text/xsl" media="screen" href="/~d/styles/rss2full.xsl"?><?xml-stylesheet type="text/css" media="screen" href="http://feeds.feedburner.com/~d/styles/itemcontent.css"?><rss 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:creativeCommons="http://backend.userland.com/creativeCommonsRssModule" xmlns:feedburner="http://rssnamespace.org/feedburner/ext/1.0" version="2.0">

<channel>
	<title>Justin Rummel . com</title>
	
	<link>http://www.justinrummel.com</link>
	<description>Professional Bio/Resume site for Justin Rummel</description>
	<lastBuildDate>Tue, 24 Jan 2012 14:50:58 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.3.1</generator>
		<atom10:link xmlns:atom10="http://www.w3.org/2005/Atom" rel="self" type="application/rss+xml" href="http://feeds.feedburner.com/jr" /><feedburner:info uri="jr" /><atom10:link xmlns:atom10="http://www.w3.org/2005/Atom" rel="hub" href="http://pubsubhubbub.appspot.com/" /><creativeCommons:license>http://creativecommons.org/licenses/by-nc-nd/2.0/</creativeCommons:license><item>
		<title>Configuring IPv6 DNS on Mac OS X Server</title>
		<link>http://feedproxy.google.com/~r/jr/~3/bNkEsCuJu-8/</link>
		<comments>http://www.justinrummel.com/configuring-ipv6-dns-on-mac-os-x-server/#comments</comments>
		<pubDate>Tue, 24 Jan 2012 13:50:41 +0000</pubDate>
		<dc:creator>Justin Rummel</dc:creator>
				<category><![CDATA[Apple]]></category>
		<category><![CDATA[Lion]]></category>
		<category><![CDATA[DNS]]></category>
		<category><![CDATA[IPv6]]></category>
		<category><![CDATA[OSXS]]></category>

		<guid isPermaLink="false">http://www.justinrummel.com/?p=637</guid>
		<description><![CDATA[What are you bitching about and IPv6? Over the past several months, my company has been dealing with AD/OD integrations with Lion 10.7.2 and the customer&#8217;s environment is using &#8220;.local&#8221;. If you are not familiar with the history between &#8220;.local&#8221; and Apple computers simply put: they don&#8217;t mix. PERIOD. It all stems from Apple OS [...]]]></description>
			<content:encoded><![CDATA[<h3>What are you bitching about and IPv6?</h3>
<p>Over the past several months, my company has been dealing with AD/OD integrations with Lion 10.7.2 and the customer&#8217;s environment is using &#8220;.local&#8221;. If you are not familiar with the history between &#8220;.local&#8221; and Apple computers simply put: they don&#8217;t mix. PERIOD. It all stems from Apple OS X Clients using the naming convention of &#8220;ComputerName.local&#8221; as its address for Bonjour services. When an Active Directory (AD) environment uses something like &#8220;company.local&#8221;, Lion doesn&#8217;t know if you are talking DNS or Bonjour&#8230; so it just tries everything, thus giving you delayed authentication (login) against your AD controllers.</p>
<p>With the release of OS X Lion, Apple stepped up the complexity notch and introduced IPv6 in its broadcast for resolving names, thus now you have four sets of timeouts to compete with:</p>
<ol>
<li>IPv4 DNS</li>
<li>IPv4 Bonjour</li>
<li>IPv6 DNS</li>
<li>IPv6 Bonjour</li>
</ol>
<p>Normally, if we can&#8217;t get DNS working from the customer on their Windows AD domain controller, we&#8217;ll utilize Apple&#8217;s DNS service to place GOOD values until the customer can work out the &#8220;fun&#8221; of Windows DNS (hint, the more domains and the more domain controllers&#8230; it seems difficult in keeping records versus AD replication making things automagically disappear). One issue, Server Admin doesn&#8217;t allow for creating IPv6 records (a.k.a AAAA records) so we&#8217;re going to crank these out by hand!</p>
<h3>Configuring Mac OS X DNS for IPv6 Records</h3>
<p>Before we go any farther, I&#8217;m warning you now&#8230; modifying BIND configuration files by hand <span style="text-decoration: line-through;">could</span> will cause you grief later. You have just committed yourself to the rest of your life on hand modification of DNS records because once you start using Server Admin again&#8230; it may (and most likely) remove anything it doesn&#8217;t understand. That&#8217;s the joys of Apple&#8217;s Server Admin tool.</p>
<p>If you have never looked at creating and/or adjusting BIND records on an Apple Server, I would first HIGHLY recommend you pick up a copy of Ed Marczak&#8217;s <a href="#f1">Mac OS X Advanced System Administration v10.5</a>. It explains a lot about DNS and configuring BIND from command line starting at page 89 &#8211; 104. I&#8217;m not going to over the intricacies, I&#8217;m going for the dirty nibbles of IPv6 and what files you will adjust or create.</p>
<p><strong><span id="more-637"></span>Test Environment</strong></p>
<p>In my test environment I have four domains:</p>
<ul>
<li>justinrummel.net</li>
<li>apple.edu</li>
<li>exmaple.prv</li>
<li>newco.prv</li>
</ul>
<p>All of these domains live in my lab network of 192.168.1.1/24 subnet, meaning all machines have 192.168.1.x IP address. Some machines may have multiple records within multiple zones; for instance my Software Update Server (SUS) is always &#8220;sus.zone.tld&#8221; so: sus.justinrummel.net, sus.apple.edu, sus.example.prv, sus.newco.prv all point to my one SUS server who&#8217;s IP address is 192.168.1.111.</p>
<p>In order for Apple machines to fully work, you also need reverse DNS entries, which reverse zones. Reverse zones are displayed in a reverse IP structure, thus in my environment with every machine having a 192.168.1.x IP address, we&#8217;re using 1.168.192 reverse name, plus &#8220;in-addr.arpa&#8221; as a suffix per ARPA naming conventions.</p>
<p>Each of these zones (forward and reverse) are listed in the /etc/named.conf file, which points to the zone files that reside within your /var/named directory.</p>
<p>Before we go any further, it is best practice to stop your DNS service prior to modifying any files so be sure to run sudo serveradmin stop dns before you change any files.</p>
<p><strong>/var/named</strong><br />
I&#8217;m going to focus my examples on ONE domain &#8220;newco.prv&#8221; to make things easy to understand, however, this could be applied to any of the domains that I host within my lab. Also, at this point I assume you have already read my article &#8220;<a title="Working With IPv6 and Mac OS X" href="http://www.justinrummel.com/working-with-ipv6-and-mac-os-x/">Working With IPv6 and Mac OS X</a>&#8221; and know how to find your IPv6 address.</p>
<p>We are going to start with the easy files that we want to adjust to make IPv6 work in our environment. When you are thinking about DNS services on your Apple server, you are most likely thinking &#8220;How does a FQDN get translated to this IP address&#8221;. The files that make this magic happen are located in your /var/named/ directory. You are going to have a file for each zone that starts with &#8220;db&#8221; (example db.newco.prv), which is the forwarding zone file. You will also have a &#8220;db.reverse.IP.in-addr.arpa&#8221; which is the IPv4 reverse zone file. There are two files that are &#8220;named.ca&#8221; and &#8220;named.local&#8221; that you can ignore as this is used for listing DNS root servers and your localhost environment respectively.</p>
<p>Inside my db.newco.prv zone I have three DNS entries with their associated IP address:</p>
<ul>
<li>ldap.newco.prv is linked to IP address 192.168.1.150</li>
<li>jss.newco.prv is linked to IP address 192.168.1.151</li>
<li>cp.newco.prv is linked to IP address 192.168.1.152</li>
</ul>
<p>If I wanted my ldap.newco.prv server to link to an IPv6 address, we need to update our db.newco.prv by duplicating the line that references ldap, jss, cp; and substitute our IPv4 address with our IPv6 address, PLUS make sure that the &#8220;A&#8221; record is now references as &#8220;AAAA&#8221;. My updated db.newco.prv zone would look like this (<em>this is not the full db.newco.prv zone file, just the snippet that was updated</em>):</p>
<blockquote>
<pre>ldap.newco.prv.                       10800 IN A        192.168.1.150
ldap.newco.prv.                       10800 IN AAAA     fe80::20c:29ff:fe21:28a9
jss.newco.prv.                        10800 IN A        192.168.1.151
jss.newco.prv.                        10800 IN AAAA     fe80::20c:29ff:fe39:d6c
cp.newco.prv.                         10800 IN A        192.168.1.152
cp.newco.prv.                         10800 IN AAAA     fe80::20c:29ff:fed0:c01</pre>
</blockquote>
<p>Notice that all of my IPv6 records start with &#8220;fe80&#8243;. These are known as &#8220;link-local&#8221; IPv6 address and are treated the same way as 192.168.0.0/16, 172.16-32.0.0/16, and 10.0.0.0/8 in that they are not internet routable, they are only for your local network.</p>
<p>Now for the reverse record.</p>
<p>Just like IPv4 we need to reverse your IPv6 record, however, it seems like it&#8217;s not as simple as making things backwards to be in compliance with ARPA needed structure to &#8220;lookup&#8221; your IPv6 address and find the associated DNS record. I found a great utility called <a href="#f2">ipv6calc</a> that I was able to download, tar -xvzf; ./compile; make; sudo make install that will spit out the reverse IPv6 ARPA name.</p>
<blockquote>
<pre>justinrummel@jrummel-mbp:~$ ipv6calc --in ipv6addr --out revnibbles.arpa fe80::20c:29ff:fe21:28a9
9.a.8.2.1.2.e.f.f.f.9.2.c.0.2.0.0.0.0.0.0.0.0.0.0.0.0.0.0.8.e.f.ip6.arpa.
justinrummel@jrummel-mbp:~$ ipv6calc --in ipv6addr --out revnibbles.arpa fe80::20c:29ff:fe39:d6c
c.6.d.0.9.3.e.f.f.f.9.2.c.0.2.0.0.0.0.0.0.0.0.0.0.0.0.0.0.8.e.f.ip6.arpa.
justinrummel@jrummel-mbp:~$ ipv6calc --in ipv6addr --out revnibbles.arpa fe80::20c:29ff:fed0:c01
1.0.c.0.0.d.e.f.f.f.9.2.c.0.2.0.0.0.0.0.0.0.0.0.0.0.0.0.0.8.e.f.ip6.arpa.</pre>
</blockquote>
<p>Since these are link-local, you can see that at a certain point the numbers become repetitive. Lets make things easy by cutting the &#8220;last half&#8221; of the string (minus the &#8220;.ipv6.arpa.&#8221; at the end) and this will become our reverse zone (later in this article), and in for our reverse zone file&#8217;s &#8220;$ORIGIN&#8221; section.</p>
<blockquote>
<pre>justinrummel@jrummel-mbp:~$ ipv6calc --in ipv6addr --out revnibbles.arpa fe80::20c:29ff:fed0:c01 | sed 's/.ip6.arpa.//' | cut -c 33-64
0.0.0.0.0.0.0.0.0.0.0.0.0.8.e.f</pre>
</blockquote>
<p>Now it&#8217;s time to create our new reverse IPv6 DNS zone file so we can translate our ARPA values to DNS names. Lets name the file &#8220;reverse-v6-fe80-64.IP6.ARPA&#8221; as this tells us it&#8217;s the reverse IPv6 file for link-local (fe80) addresses. There is really no good way to do this other than copy/paste my example below and adjust your own values.</p>
<blockquote>
<pre>$TTL 3d	; Default TTL (bind 8 needs this, bind 9 ignores it)
@ 	IN SOA 0.0.0.0.0.0.0.0.0.0.0.0.0.8.e.f.ip6.arpa.      helpdeskEmail.newco.prv. (
		201201210  	; Serial number (YYYYMMdd)
		24h		; Refresh time
		30m		; Retry time
		2d		; Expire time
		3d		; Default TTL (bind 8 ignores this, bind 9 needs it)
)

                                ; Name server entries
                                IN     NS     dns1.newco.prv.
                                IN     NS     dns2.newco.prv.

$ORIGIN 0.0.0.0.0.0.0.0.0.0.0.0.0.8.e.f.ip6.arpa.
9.a.8.2.1.2.e.f.f.f.9.2.c.0.2.0         IN      PTR     ldap.newco.prv.
c.6.d.0.9.3.e.f.f.f.9.2.c.0.2.0         IN      PTR     jss.newco.prv.
1.0.c.0.0.d.e.f.f.f.9.2.c.0.2.0         IN      PTR     cp.newco.prv.</pre>
</blockquote>
<p>Notice our bits 33-64 (which is what we received from the above sed / cut one liner) from our link-local values in the &#8220;$ORIGIN&#8221; section and bits 1-31 is only being references for our IPv6 to DNS name value. Now that we have our DNS forward and reverse zones files updated and created, we need to set the BIND configuration file to use our new IPv6 records.</p>
<p><strong>/etc/named.conf</strong></p>
<p>Your named.conf file is going to list each of your DNS zones that your server provides along with security settings and environment records for replication between multiple DNS servers. Think of your named.conf file as a configuration file that points to the &#8220;real data&#8221; versus housing any true information. In my test environment&#8217;s /etc/named.conf file I have five forwarding zones (the for domains I host plus &#8220;localhost&#8221;).</p>
<p>The good news is we don&#8217;t need to add an IPv6 forwarding zone because we just updated our forward zone file &#8220;db.newco.prv&#8221; with the new AAAA records. However, we need to add a new zone to the named.conf file so it can find our reverse IPv6 zone as that was just created.</p>
<p>A zone file is constructed of these sections:</p>
<ul>
<li>Its type</li>
<li>The zone file name</li>
<li>If you can transfer the zone information (to a slave DNS that you control)</li>
<li>If the slave can update the zone files</li>
</ul>
<p>To make things easy, open your /etc/named.conf file and find the line with <em>view &#8220;com.apple.ServerAdmin.DNS.public&#8221;</em> and add this information below:</p>
<blockquote>
<pre>zone "0.0.0.0.0.0.0.0.0.0.0.0.0.8.e.f.ip6.arpa" {
		type master;
		file "reverse-v6-fe80-64.IP6.ARPA";
		allow-transfer {
			com.apple.ServerAdmin.DNS.public;
		};
		allow-update {
			none;
		};
	};</pre>
</blockquote>
<p>What this is doing is adding the reverse zone &#8220;0.0.0.0.0.0.0.0.0.0.0.0.0.8.e.f&#8221; which was created from bits 33-64 in our IPv6 to ARPA conversion. It&#8217;s also stating that this is the master DNS record, and information can be propagated to any DNS slaves that may be running in my house (if you don&#8217;t have a DNS slave, use &#8220;none&#8221;). Notice I&#8217;m not allowing any updates by my slave as this is best practice. Lastly, there is a file setting that uses the same name that we gave our file within /var/named/ of &#8220;reverse-v6-fe80-64.IP6.ARPA&#8221;.</p>
<p><strong>Test</strong></p>
<p>There you go, everything is now configured time to test. Don&#8217;t forget, we did this all when DNS was stopped, we need to run sudo serveradmin start dns and we can watch our logs by doing a &#8220;tail -F /Library/Logs/named.log&#8221; to make sure we don&#8217;t see any &#8220;errors&#8221; or &#8220;ignore&#8221; warnings. Once you are confident in that DNS is running again, start checking your DNS entries by using the host and ping6 commands.</p>
<blockquote>
<pre>justinrummel@jrummel-mbp:~$ host cp.newco.prv
ldap.newco.prv has address 192.168.1.152
ldap.newco.prv has IPv6 address fe80::20c:29ff:fed0:c01

justinrummel@jrummel-mbp:~$ host 192.168.1.152
150.1.168.192.in-addr.arpa domain name pointer cp.newco.prv.

justinrummel@jrummel-mbp:~$ host fe80::20c:29ff:fed0:c01
1.0.c.0.0.d.e.f.f.f.9.2.c.0.2.0.0.0.0.0.0.0.0.0.0.0.0.0.0.8.e.f.ip6.arpa domain name pointer cp.newco.prv.

justinrummel@jrummel-mbp:~$ ping6 -I en0 -c 1 jss.newco.prv
PING6(56=40+8+8 bytes) fe80::225:bcff:fedc:9924%en0 --&gt; fe80::20c:29ff:fe39:d6c
16 bytes from fe80::20c:29ff:fe39:d6c%en0, icmp_seq=0 hlim=255 time=0.618 ms

--- jss.newco.prv ping6 statistics ---
1 packets transmitted, 1 packets received, 0.0% packet loss
round-trip min/avg/max/std-dev = 0.618/0.618/0.618/0.000 ms
justinrummel@jrummel-mbp:~$</pre>
</blockquote>
<h3>Conclusion</h3>
<p>Hopefully Apple will soon give us the capabilities of setting IPv6 records within Server Admin sometime in the near future as it will become important as operating systems and networks progress and fully utilize IPv6. And don&#8217;t forget on June 6th 2012 we&#8217;ll be celebrating <a href="http://arstechnica.com/business/news/2012/01/world-ipv6-launch-this-time-its-for-real.ars" onclick="pageTracker._trackPageview('/outgoing/arstechnica.com/business/news/2012/01/world-ipv6-launch-this-time-its-for-real.ars?referer=');">World IPv6 Launch: this time it&#8217;s for real</a></p>
<p>If you have any troubles with your IPv6 values not returning, my guess there is something minor such as one to many zeros in your IPv6 ARPA zone name and/or you have a simple typo. I&#8217;ll try to help as much as I can if there are any questions.</p>
<h3>Sources</h3>
<ul>
<li id="f1">Mac OS X Advanced System Administration v10.5: http://www.amazon.com/Apple-Training-Advanced-System-Administration/dp/032156314X</li>
<li id="f2">ipv6calc: http://mirrors.bieringer.de/www.deepspace6.net/projects/ipv6calc.html#id1506183</li>
<li>IPv6 Converter: http://ipv6-literal.com/</li>
<li>IPv6 Reverse DNS Zone Builder: http://www.fpsn.net/tools&amp;tool=ipv6-inaddr</li>
<li>IPv6 REVERSE ZONE BUILDER: http://captaingeek.net/ipv6-zone-builder/</li>
</ul>

<p><a href="http://feedads.g.doubleclick.net/~a/hUISn2ZyY5zJ8YLw01TVC_Tv03Q/0/da"><img src="http://feedads.g.doubleclick.net/~a/hUISn2ZyY5zJ8YLw01TVC_Tv03Q/0/di" border="0" ismap="true"></img></a><br/>
<a href="http://feedads.g.doubleclick.net/~a/hUISn2ZyY5zJ8YLw01TVC_Tv03Q/1/da"><img src="http://feedads.g.doubleclick.net/~a/hUISn2ZyY5zJ8YLw01TVC_Tv03Q/1/di" border="0" ismap="true"></img></a></p><div class="feedflare">
<a href="http://feeds.feedburner.com/~ff/jr?a=bNkEsCuJu-8:6oe5prtNdK8:yIl2AUoC8zA"><img src="http://feeds.feedburner.com/~ff/jr?d=yIl2AUoC8zA" border="0"></img></a> <a href="http://feeds.feedburner.com/~ff/jr?a=bNkEsCuJu-8:6oe5prtNdK8:iP2mn8-2DTg"><img src="http://feeds.feedburner.com/~ff/jr?d=iP2mn8-2DTg" border="0"></img></a> <a href="http://feeds.feedburner.com/~ff/jr?a=bNkEsCuJu-8:6oe5prtNdK8:qj6IDK7rITs"><img src="http://feeds.feedburner.com/~ff/jr?d=qj6IDK7rITs" border="0"></img></a> <a href="http://feeds.feedburner.com/~ff/jr?a=bNkEsCuJu-8:6oe5prtNdK8:wZbwfOfh5Go"><img src="http://feeds.feedburner.com/~ff/jr?i=bNkEsCuJu-8:6oe5prtNdK8:wZbwfOfh5Go" border="0"></img></a>
</div><img src="http://feeds.feedburner.com/~r/jr/~4/bNkEsCuJu-8" height="1" width="1"/>]]></content:encoded>
			<wfw:commentRss>http://www.justinrummel.com/configuring-ipv6-dns-on-mac-os-x-server/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
		<feedburner:origLink>http://www.justinrummel.com/configuring-ipv6-dns-on-mac-os-x-server/</feedburner:origLink></item>
		<item>
		<title>Working With IPv6 and Mac OS X</title>
		<link>http://feedproxy.google.com/~r/jr/~3/N2D0F3X4jOM/</link>
		<comments>http://www.justinrummel.com/working-with-ipv6-and-mac-os-x/#comments</comments>
		<pubDate>Mon, 23 Jan 2012 17:00:46 +0000</pubDate>
		<dc:creator>Justin Rummel</dc:creator>
				<category><![CDATA[Apple]]></category>
		<category><![CDATA[Lion]]></category>
		<category><![CDATA[IPv6]]></category>
		<category><![CDATA[OSX]]></category>

		<guid isPermaLink="false">http://www.justinrummel.com/?p=621</guid>
		<description><![CDATA[What is IPv6? I don&#8217;t feel that anyone reading this in 2012 has never heard of IPv6. The easiest way to put it it&#8217;s a combinations of HEX values to make a big ugly &#8220;thing&#8221; that represents your computer. IPv4 was simple; four octets made up of a value from 0-255; thus 192.168.1.111. IPv6 takes [...]]]></description>
			<content:encoded><![CDATA[<h3>What is IPv6?</h3>
<p>I don&#8217;t feel that anyone reading this in 2012 has never heard of IPv6.  The easiest way to put it it&#8217;s a combinations of HEX values to make a big ugly &#8220;thing&#8221; that represents your computer.  IPv4 was simple; four octets made up of a value from 0-255; thus 192.168.1.111.  IPv6 takes this to a new other level.  From Wikipedia: </p>
<blockquote><p>IPv6 addresses have two logical parts: a 64-bit network prefix, and a 64-bit host address part. (The host address is often automatically generated from the interface MAC address.[37]) An IPv6 address is represented by 8 groups of 16-bit hexadecimal values separated by colons (:) shown as follows:</p>
<pre>2001:0db8:85a3:0000:0000:8a2e:0370:7334</pre>
<p>The hexadecimal digits are case-insensitive.</p>
<p>The 128-bit IPv6 address can be abbreviated with the following rules:</p>
<ul>
<li>Rule one: Leading zeroes within a 16-bit value may be omitted. For example, the address
<pre>fe80:0000:0000:0000:0202:b3ff:fe1e:8329</pre>
<p> may be written as
<pre>fe80:0:0:0:202:b3ff:fe1e:8329</pre>
</li>
<li>Rule two: One group of consecutive zeroes within an address may be replaced by a double colon. For example,
<pre>fe80:0:0:0:202:b3ff:fe1e:8329</pre>
<p> becomes
<pre>fe80::202:b3ff:fe1e:8329</pre>
</li>
</ul>
<p>A single IPv6 address can be represented in several different ways, such as 2001:db8::1:0:0:1 and 2001:0DB8:0:0:1::1. RFC 5952 recommends a canonical textual representation
</p></blockquote>
<h3>How do I get an IPv6 Address on Lion</h3>
<p>You most likely already have one!  If you navigate to System Preferences => Network and click on the &#8220;Advance&#8230;&#8221; button on your Ethernet settings, you should see &#8220;Configure IPv6&#8243; and it&#8217;s set to automatic.  You&#8217;re DONE!</p>
<p><a href="http://www.justinrummel.com/wp-content/uploads/2012/01/IPv6-Settings.png" rel="lightbox"><img src="http://www.justinrummel.com/wp-content/uploads/2012/01/IPv6-Settings-300x266.png" alt="IPv6 Settings" title="IPv6 Settings" width="300" height="266" class="aligncenter size-medium wp-image-633" /></a></p>
<p>Now, finding is your IPv6 address is another story.  The best way to discover your IPv6 address is running the following command in Terminal: </p>
<blockquote><pre>ifconfig en0</pre>
</blockquote>
<p>You should get back something like the following: </p>
<blockquote><pre>justinrummel@jrummel-mbp:~$ ifconfig en0
en0: flags=8863<UP,BROADCAST,SMART,RUNNING,SIMPLEX,MULTICAST> mtu 1500
	options=27<RXCSUM,TXCSUM,VLAN_MTU,TSO4>
	ether 00:25:bc:dc:99:24
	inet6 fe80::225:bcff:fedc:9924%en0 prefixlen 64 scopeid 0x4
	inet 192.168.1.11 netmask 0xffffff00 broadcast 192.168.1.255
	media: autoselect (1000baseT <full-duplex,flow-control>)
	status: active</pre>
</blockquote>
<p>You can see the inet6 value that starts with the hex values &#8220;fe80&#8243;, that is my IPv6 address.  Notice at the end of that string is &#8220;%en0&#8243;, you don&#8217;t need that part.  An easy way only to get the IPv6 Address in one line could be: </p>
<blockquote><pre>ifconfig en0 | grep inet6 | awk -F " " '{print $2}' | sed 's/%en0//'</pre>
</blockquote>
<h3>How to test IPv6 on your local network</h3>
<p>Normally to test if a computer is on your network you would initiate a &#8220;ping&#8221; to the IP address of your target machine.  IPv6 has the same capabilities, however, the function is not embedded into the &#8220;ping&#8221; command&#8230; it&#8217;s now &#8220;ping6&#8243;! </p>
<p>The interesting part of ping6 is that you have to declare the interface you are using to send the command.  So on a standard Mac machine (and non-MB Air), you have two interfaces to choose from:</p>
<ol>
<li>Ethernet: en0</li>
<li>WiFi (f.k.a AirPort): en1</li>
</ol>
<p>So if I wanted to ping from my laptop to a target machine IPv6 address of &#8220;fe80::c62c:3ff:fe21:cc0e&#8221;, I would perform a ping6 the following:</p>
<blockquote><pre>justinrummel@jrummel-mbp:~$ ping6 -I en0 -c 1 fe80::c62c:3ff:fe21:cc0e
PING6(56=40+8+8 bytes) fe80::225:bcff:fedc:9924%en0 --> fe80::c62c:3ff:fe21:cc0e
16 bytes from fe80::c62c:3ff:fe21:cc0e%en0, icmp_seq=0 hlim=64 time=0.406 ms

--- fe80::c62c:3ff:fe21:cc0e ping6 statistics ---
1 packets transmitted, 1 packets received, 0.0% packet loss
round-trip min/avg/max/std-dev = 0.406/0.406/0.406/0.000 ms
</pre>
</blockquote>
<h3>Sources</h3>
<ul>
<li><a href="http://en.wikipedia.org/wiki/IPv6#Address_Format" onclick="pageTracker._trackPageview('/outgoing/en.wikipedia.org/wiki/IPv6_Address_Format?referer=');">http://en.wikipedia.org/wiki/IPv6#Address_Format</a> &#8211; Wikipedia IPv6</li>
<li><a href="http://developer.apple.com/library/mac/#documentation/Darwin/Reference/ManPages/man8/ping6.8.html" onclick="pageTracker._trackPageview('/outgoing/developer.apple.com/library/mac/_documentation/Darwin/Reference/ManPages/man8/ping6.8.html?referer=');">http://developer.apple.com/library/mac/#documentation/Darwin/Reference/ManPages/man8/ping6.8.html</a> &#8211; ping6 man page<br />

<p><a href="http://feedads.g.doubleclick.net/~a/thumX6jTQC_4ZKCjGPy329MIXuQ/0/da"><img src="http://feedads.g.doubleclick.net/~a/thumX6jTQC_4ZKCjGPy329MIXuQ/0/di" border="0" ismap="true"></img></a><br/>
<a href="http://feedads.g.doubleclick.net/~a/thumX6jTQC_4ZKCjGPy329MIXuQ/1/da"><img src="http://feedads.g.doubleclick.net/~a/thumX6jTQC_4ZKCjGPy329MIXuQ/1/di" border="0" ismap="true"></img></a></p><div class="feedflare">
<a href="http://feeds.feedburner.com/~ff/jr?a=N2D0F3X4jOM:I2TIWOM4PEE:yIl2AUoC8zA"><img src="http://feeds.feedburner.com/~ff/jr?d=yIl2AUoC8zA" border="0"></img></a> <a href="http://feeds.feedburner.com/~ff/jr?a=N2D0F3X4jOM:I2TIWOM4PEE:iP2mn8-2DTg"><img src="http://feeds.feedburner.com/~ff/jr?d=iP2mn8-2DTg" border="0"></img></a> <a href="http://feeds.feedburner.com/~ff/jr?a=N2D0F3X4jOM:I2TIWOM4PEE:qj6IDK7rITs"><img src="http://feeds.feedburner.com/~ff/jr?d=qj6IDK7rITs" border="0"></img></a> <a href="http://feeds.feedburner.com/~ff/jr?a=N2D0F3X4jOM:I2TIWOM4PEE:wZbwfOfh5Go"><img src="http://feeds.feedburner.com/~ff/jr?i=N2D0F3X4jOM:I2TIWOM4PEE:wZbwfOfh5Go" border="0"></img></a>
</div><img src="http://feeds.feedburner.com/~r/jr/~4/N2D0F3X4jOM" height="1" width="1"/>]]></content:encoded>
			<wfw:commentRss>http://www.justinrummel.com/working-with-ipv6-and-mac-os-x/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		<feedburner:origLink>http://www.justinrummel.com/working-with-ipv6-and-mac-os-x/</feedburner:origLink></item>
		<item>
		<title>IT851: How Lion Has Changed Mac OS X: Services, Features &amp; Capabilities</title>
		<link>http://feedproxy.google.com/~r/jr/~3/5RmeQMyuSjk/</link>
		<comments>http://www.justinrummel.com/it851-how-lion-has-changed-mac-os-x-services-features-capabilities/#comments</comments>
		<pubDate>Sat, 21 Jan 2012 15:00:19 +0000</pubDate>
		<dc:creator>Justin Rummel</dc:creator>
				<category><![CDATA[Macworld]]></category>
		<category><![CDATA[MacIT]]></category>

		<guid isPermaLink="false">http://www.justinrummel.com/?p=602</guid>
		<description><![CDATA[MacIT&#174; Conference Friday, January 27, 2012 (10:20am &#8211; 11:05am) Overview This discussion will review the major changes between Snow Leopard and Lion, and what it takes to configure these services. There are many changes in Lion&#8211;some subtle, and some no so subtle. In either case, though, an admin needs to be aware of the changes [...]]]></description>
			<content:encoded><![CDATA[<h1>MacIT&reg; Conference</h1>
<h3>Friday, January 27, 2012 (10:20am &#8211; 11:05am)</h3>
<p><strong>Overview</strong><br />
This discussion will review the major changes between Snow Leopard and Lion, and what it takes to configure these services. There are many changes in Lion&#8211;some subtle, and some no so subtle. In either case, though, an admin needs to be aware of the changes and how it impacts them. There are changes in Directory Services, Kerberos, Database Services, Server Control, Machine Management and more. Lion is growing to be a major change vs. little differences that was experienced from Leopard to Snow Leopard. It will be easier to grasp seeing what was once performed is now accomplished by &#8220;this new process&#8221;.</p>

<p><a href="http://feedads.g.doubleclick.net/~a/Db8s3IfudmPCjYIURhLg6kFl9AI/0/da"><img src="http://feedads.g.doubleclick.net/~a/Db8s3IfudmPCjYIURhLg6kFl9AI/0/di" border="0" ismap="true"></img></a><br/>
<a href="http://feedads.g.doubleclick.net/~a/Db8s3IfudmPCjYIURhLg6kFl9AI/1/da"><img src="http://feedads.g.doubleclick.net/~a/Db8s3IfudmPCjYIURhLg6kFl9AI/1/di" border="0" ismap="true"></img></a></p><div class="feedflare">
<a href="http://feeds.feedburner.com/~ff/jr?a=5RmeQMyuSjk:gz-CRYEKeRU:yIl2AUoC8zA"><img src="http://feeds.feedburner.com/~ff/jr?d=yIl2AUoC8zA" border="0"></img></a> <a href="http://feeds.feedburner.com/~ff/jr?a=5RmeQMyuSjk:gz-CRYEKeRU:iP2mn8-2DTg"><img src="http://feeds.feedburner.com/~ff/jr?d=iP2mn8-2DTg" border="0"></img></a> <a href="http://feeds.feedburner.com/~ff/jr?a=5RmeQMyuSjk:gz-CRYEKeRU:qj6IDK7rITs"><img src="http://feeds.feedburner.com/~ff/jr?d=qj6IDK7rITs" border="0"></img></a> <a href="http://feeds.feedburner.com/~ff/jr?a=5RmeQMyuSjk:gz-CRYEKeRU:wZbwfOfh5Go"><img src="http://feeds.feedburner.com/~ff/jr?i=5RmeQMyuSjk:gz-CRYEKeRU:wZbwfOfh5Go" border="0"></img></a>
</div><img src="http://feeds.feedburner.com/~r/jr/~4/5RmeQMyuSjk" height="1" width="1"/>]]></content:encoded>
			<wfw:commentRss>http://www.justinrummel.com/it851-how-lion-has-changed-mac-os-x-services-features-capabilities/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		<feedburner:origLink>http://www.justinrummel.com/it851-how-lion-has-changed-mac-os-x-services-features-capabilities/</feedburner:origLink></item>
		<item>
		<title>Kiana and Buckland Alaska</title>
		<link>http://feedproxy.google.com/~r/jr/~3/G98Ph4ijcoA/</link>
		<comments>http://www.justinrummel.com/kiana-and-buckland-alaska/#comments</comments>
		<pubDate>Wed, 30 Nov 2011 20:05:15 +0000</pubDate>
		<dc:creator>Justin Rummel</dc:creator>
				<category><![CDATA[Photography]]></category>

		<guid isPermaLink="false">http://www.justinrummel.com/?p=545</guid>
		<description><![CDATA[During the week of November 14th, 2011, through the combination of Qivliq Village Partnerships and the NANA BWISE program I was able to visited two villages within the Northwest Arctic: Kiana and Buckland. I really do enjoy these trips to the Northwest Arctic, even when the &#8220;high&#8221; temperature is about zero degrees, with the coldest [...]]]></description>
			<content:encoded><![CDATA[<p><img title="Kiana Alaska Sunrise" src="http://farm8.staticflickr.com/7171/6428384225_83178a1aaa.jpg" alt="Kiana Alaska Sunrise" width="500" height="333" /></p>
<p>During the week of November 14th, 2011, through the combination of Qivliq Village Partnerships and the NANA BWISE program I was able to visited two villages within the Northwest Arctic: Kiana and Buckland. </p>
<p>I really do enjoy these trips to the Northwest Arctic, even when the &#8220;high&#8221; temperature is about zero degrees, with the coldest always around 7am which hit -25 degrees (just another day in paradise).  During this time several items were achieved:</p>
<ul>
<li>A short 1hr discussion with several middle school and hight school classes on Technology Jobs (which included: Helpdesk, Call Center Staff, System Administrator, Integrator, Instructor, Developer, and Subject Matter Expert.)  Included in this discussion were key items when a business is hiring that ranged from Higher Education, industry standard Certificates, and portraying NANA values during interviews (Respect for Others, Hard Work, and Hunter Success).</li>
<li>A Presentation Skills all-day training session was provided that took students from start to finish on collecting, outlining, creating and presenting a presentation to others.  This year, our training focused on teaching parents and elders a &#8220;Macintosh Computers: a first time experience) assuming they have either a) never touch a Mac, or b) never touched a computer.</li>
<li>Lastly, during both the short 1hr discussions and at the end of the Macintosh Computers presentation; I was able to remind people to watch nana.com for Jobs, Scholarships, and for Internship announcements in January.  We were also able to guide a few parents for their first time experience with Powerschool (an online real-time grade and attendance record keeping that is used throughout the school district).</li>
</ul>
				<div id="gallery-dfaaf200" class="flickr-gallery photoset">
													<div class="flickr-thumb">
									<a href="http://flickr.com/photo.gne?id=6428392811" onclick="pageTracker._trackPageview('/outgoing/flickr.com/photo.gne?id=6428392811&amp;referer=');"><img class="photo" title="20111114-Kiana-009" src="http://farm7.static.flickr.com/6053/6428392811_4fefb3e4fa_s.jpg" alt="20111114-Kiana-009" /></a>
								</div>
															<div class="flickr-thumb">
									<a href="http://flickr.com/photo.gne?id=6428391893" onclick="pageTracker._trackPageview('/outgoing/flickr.com/photo.gne?id=6428391893&amp;referer=');"><img class="photo" title="20111114-Kiana-012" src="http://farm8.static.flickr.com/7141/6428391893_eb76488e2a_s.jpg" alt="20111114-Kiana-012" /></a>
								</div>
															<div class="flickr-thumb">
									<a href="http://flickr.com/photo.gne?id=6428390815" onclick="pageTracker._trackPageview('/outgoing/flickr.com/photo.gne?id=6428390815&amp;referer=');"><img class="photo" title="20111114-Kiana-013" src="http://farm8.static.flickr.com/7009/6428390815_7510c3ed25_s.jpg" alt="20111114-Kiana-013" /></a>
								</div>
															<div class="flickr-thumb">
									<a href="http://flickr.com/photo.gne?id=6428389919" onclick="pageTracker._trackPageview('/outgoing/flickr.com/photo.gne?id=6428389919&amp;referer=');"><img class="photo" title="20111114-Kiana-014" src="http://farm8.static.flickr.com/7019/6428389919_b687b16b49_s.jpg" alt="20111114-Kiana-014" /></a>
								</div>
															<div class="flickr-thumb">
									<a href="http://flickr.com/photo.gne?id=6428388757" onclick="pageTracker._trackPageview('/outgoing/flickr.com/photo.gne?id=6428388757&amp;referer=');"><img class="photo" title="20111115-Kiana-035" src="http://farm8.static.flickr.com/7006/6428388757_4eb12ac01d_s.jpg" alt="20111115-Kiana-035" /></a>
								</div>
															<div class="flickr-thumb">
									<a href="http://flickr.com/photo.gne?id=6428386929" onclick="pageTracker._trackPageview('/outgoing/flickr.com/photo.gne?id=6428386929&amp;referer=');"><img class="photo" title="20111116-Kiana-045" src="http://farm7.static.flickr.com/6233/6428386929_2b3c8f39ef_s.jpg" alt="20111116-Kiana-045" /></a>
								</div>
															<div class="flickr-thumb">
									<a href="http://flickr.com/photo.gne?id=6428385867" onclick="pageTracker._trackPageview('/outgoing/flickr.com/photo.gne?id=6428385867&amp;referer=');"><img class="photo" title="20111116-Kiana-050" src="http://farm7.static.flickr.com/6053/6428385867_3326114dea_s.jpg" alt="20111116-Kiana-050" /></a>
								</div>
															<div class="flickr-thumb">
									<a href="http://flickr.com/photo.gne?id=6428385031" onclick="pageTracker._trackPageview('/outgoing/flickr.com/photo.gne?id=6428385031&amp;referer=');"><img class="photo" title="20111116-Kiana-053" src="http://farm8.static.flickr.com/7005/6428385031_b57fbbd08c_s.jpg" alt="20111116-Kiana-053" /></a>
								</div>
															<div class="flickr-thumb">
									<a href="http://flickr.com/photo.gne?id=6428384225" onclick="pageTracker._trackPageview('/outgoing/flickr.com/photo.gne?id=6428384225&amp;referer=');"><img class="photo" title="20111116-Kiana-056" src="http://farm8.static.flickr.com/7171/6428384225_83178a1aaa_s.jpg" alt="20111116-Kiana-056" /></a>
								</div>
															<div class="flickr-thumb">
									<a href="http://flickr.com/photo.gne?id=6428403247" onclick="pageTracker._trackPageview('/outgoing/flickr.com/photo.gne?id=6428403247&amp;referer=');"><img class="photo" title="20111118-Buckland-025" src="http://farm8.static.flickr.com/7170/6428403247_1609ff248f_s.jpg" alt="20111118-Buckland-025" /></a>
								</div>
															<div class="flickr-thumb">
									<a href="http://flickr.com/photo.gne?id=6428403935" onclick="pageTracker._trackPageview('/outgoing/flickr.com/photo.gne?id=6428403935&amp;referer=');"><img class="photo" title="20111119-Buckland-061" src="http://farm8.static.flickr.com/7173/6428403935_2a60deb84f_s.jpg" alt="20111119-Buckland-061" /></a>
								</div>
															<div class="flickr-thumb">
									<a href="http://flickr.com/photo.gne?id=6428412831" onclick="pageTracker._trackPageview('/outgoing/flickr.com/photo.gne?id=6428412831&amp;referer=');"><img class="photo" title="20111119-Buckland-036" src="http://farm7.static.flickr.com/6111/6428412831_f65b263ab5_s.jpg" alt="20111119-Buckland-036" /></a>
								</div>
															<div class="flickr-thumb">
									<a href="http://flickr.com/photo.gne?id=6428413817" onclick="pageTracker._trackPageview('/outgoing/flickr.com/photo.gne?id=6428413817&amp;referer=');"><img class="photo" title="20111119-Buckland-047" src="http://farm7.static.flickr.com/6031/6428413817_c1d5739aa0_s.jpg" alt="20111119-Buckland-047" /></a>
								</div>
												<div class="fg-clear"></div>
				</div>
												<div class="fg-clear"></div>
							<script type="text/javascript">
											jQuery(document).ready(function(){
							jQuery("#gallery-dfaaf200 .flickr-thumb img").flightbox({size_callback: get_sizes});
						});
										
										//-->
				</script>
			

<p><a href="http://feedads.g.doubleclick.net/~a/oOpmFwORqexEFcr0rDilNDMFNAk/0/da"><img src="http://feedads.g.doubleclick.net/~a/oOpmFwORqexEFcr0rDilNDMFNAk/0/di" border="0" ismap="true"></img></a><br/>
<a href="http://feedads.g.doubleclick.net/~a/oOpmFwORqexEFcr0rDilNDMFNAk/1/da"><img src="http://feedads.g.doubleclick.net/~a/oOpmFwORqexEFcr0rDilNDMFNAk/1/di" border="0" ismap="true"></img></a></p><div class="feedflare">
<a href="http://feeds.feedburner.com/~ff/jr?a=G98Ph4ijcoA:RehC3bHZvEc:yIl2AUoC8zA"><img src="http://feeds.feedburner.com/~ff/jr?d=yIl2AUoC8zA" border="0"></img></a> <a href="http://feeds.feedburner.com/~ff/jr?a=G98Ph4ijcoA:RehC3bHZvEc:iP2mn8-2DTg"><img src="http://feeds.feedburner.com/~ff/jr?d=iP2mn8-2DTg" border="0"></img></a> <a href="http://feeds.feedburner.com/~ff/jr?a=G98Ph4ijcoA:RehC3bHZvEc:qj6IDK7rITs"><img src="http://feeds.feedburner.com/~ff/jr?d=qj6IDK7rITs" border="0"></img></a> <a href="http://feeds.feedburner.com/~ff/jr?a=G98Ph4ijcoA:RehC3bHZvEc:wZbwfOfh5Go"><img src="http://feeds.feedburner.com/~ff/jr?i=G98Ph4ijcoA:RehC3bHZvEc:wZbwfOfh5Go" border="0"></img></a>
</div><img src="http://feeds.feedburner.com/~r/jr/~4/G98Ph4ijcoA" height="1" width="1"/>]]></content:encoded>
			<wfw:commentRss>http://www.justinrummel.com/kiana-and-buckland-alaska/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		<feedburner:origLink>http://www.justinrummel.com/kiana-and-buckland-alaska/</feedburner:origLink></item>
		<item>
		<title>MacTech Conference 2011</title>
		<link>http://feedproxy.google.com/~r/jr/~3/TQ93SKd6NP0/</link>
		<comments>http://www.justinrummel.com/mactech-conference-2011/#comments</comments>
		<pubDate>Wed, 30 Nov 2011 19:54:59 +0000</pubDate>
		<dc:creator>Justin Rummel</dc:creator>
				<category><![CDATA[Photography]]></category>
		<category><![CDATA[Mactech]]></category>

		<guid isPermaLink="false">http://www.justinrummel.com/?p=536</guid>
		<description><![CDATA[Wow&#8230; I&#8217;ve been slacking off on writing posts.  I know I&#8217;m highly overdue on S/MIME on iOS, I&#8217;ll be working on that soon&#8230; just finding a few snags and using MDM deployments.  For now here are several sets of pictures I&#8217;ve been taking over the past month. Compared to last year&#8217;s collection, these are weak except for [...]]]></description>
			<content:encoded><![CDATA[<p>Wow&#8230; I&#8217;ve been slacking off on writing posts.  I know I&#8217;m highly overdue on S/MIME on iOS, I&#8217;ll be working on that soon&#8230; just finding a few snags and using MDM deployments.  For now here are several sets of pictures I&#8217;ve been taking over the past month.</p>
<p><img title="MacTech Conference 2011" src="http://farm7.staticflickr.com/6102/6316431767_d0c68e4f68.jpg" alt="MacTech Conference 2011" width="500" height="333" /></p>
<p>Compared to last year&#8217;s collection, these are weak except for the landscape pictures I was able to take out of the airplane window traveling to CA and returning home to DC. MacTech was an awesome conference and I hope to present again next year!</p>
				<div id="gallery-e49e126e" class="flickr-gallery photoset">
													<div class="flickr-thumb">
									<a href="http://flickr.com/photo.gne?id=6316053367" onclick="pageTracker._trackPageview('/outgoing/flickr.com/photo.gne?id=6316053367&amp;referer=');"><img class="photo" title="No smoking, No food or drink, no happy robot toasters" src="http://farm7.static.flickr.com/6225/6316053367_66048cc365_s.jpg" alt="No smoking, No food or drink, no happy robot toasters" /></a>
								</div>
															<div class="flickr-thumb">
									<a href="http://flickr.com/photo.gne?id=6316948932" onclick="pageTracker._trackPageview('/outgoing/flickr.com/photo.gne?id=6316948932&amp;referer=');"><img class="photo" title="Texas Sunrise" src="http://farm7.static.flickr.com/6097/6316948932_96fa5a18af_s.jpg" alt="Texas Sunrise" /></a>
								</div>
															<div class="flickr-thumb">
									<a href="http://flickr.com/photo.gne?id=6316431767" onclick="pageTracker._trackPageview('/outgoing/flickr.com/photo.gne?id=6316431767&amp;referer=');"><img class="photo" title="Camera Roll-40" src="http://farm7.static.flickr.com/6102/6316431767_d0c68e4f68_s.jpg" alt="Camera Roll-40" /></a>
								</div>
															<div class="flickr-thumb">
									<a href="http://flickr.com/photo.gne?id=6316432517" onclick="pageTracker._trackPageview('/outgoing/flickr.com/photo.gne?id=6316432517&amp;referer=');"><img class="photo" title="Camera Roll-41" src="http://farm7.static.flickr.com/6039/6316432517_f17895652c_s.jpg" alt="Camera Roll-41" /></a>
								</div>
															<div class="flickr-thumb">
									<a href="http://flickr.com/photo.gne?id=6316433069" onclick="pageTracker._trackPageview('/outgoing/flickr.com/photo.gne?id=6316433069&amp;referer=');"><img class="photo" title="Camera Roll-42" src="http://farm7.static.flickr.com/6051/6316433069_ce47612335_s.jpg" alt="Camera Roll-42" /></a>
								</div>
															<div class="flickr-thumb">
									<a href="http://flickr.com/photo.gne?id=6316433701" onclick="pageTracker._trackPageview('/outgoing/flickr.com/photo.gne?id=6316433701&amp;referer=');"><img class="photo" title="Camera Roll-44" src="http://farm7.static.flickr.com/6212/6316433701_dab30b6aca_s.jpg" alt="Camera Roll-44" /></a>
								</div>
															<div class="flickr-thumb">
									<a href="http://flickr.com/photo.gne?id=6316434569" onclick="pageTracker._trackPageview('/outgoing/flickr.com/photo.gne?id=6316434569&amp;referer=');"><img class="photo" title="Camera Roll-45" src="http://farm7.static.flickr.com/6212/6316434569_d938f4bdfc_s.jpg" alt="Camera Roll-45" /></a>
								</div>
															<div class="flickr-thumb">
									<a href="http://flickr.com/photo.gne?id=6316435379" onclick="pageTracker._trackPageview('/outgoing/flickr.com/photo.gne?id=6316435379&amp;referer=');"><img class="photo" title="Virginia Sunset" src="http://farm7.static.flickr.com/6037/6316435379_5d14c0460e_s.jpg" alt="Virginia Sunset" /></a>
								</div>
												<div class="fg-clear"></div>
				</div>
												<div class="fg-clear"></div>
							<script type="text/javascript">
											jQuery(document).ready(function(){
							jQuery("#gallery-e49e126e .flickr-thumb img").flightbox({size_callback: get_sizes});
						});
										
										//-->
				</script>
			
<p>&nbsp;</p>

<p><a href="http://feedads.g.doubleclick.net/~a/LuwWvR74KNNrCZ9aVuHQ7lJHvdI/0/da"><img src="http://feedads.g.doubleclick.net/~a/LuwWvR74KNNrCZ9aVuHQ7lJHvdI/0/di" border="0" ismap="true"></img></a><br/>
<a href="http://feedads.g.doubleclick.net/~a/LuwWvR74KNNrCZ9aVuHQ7lJHvdI/1/da"><img src="http://feedads.g.doubleclick.net/~a/LuwWvR74KNNrCZ9aVuHQ7lJHvdI/1/di" border="0" ismap="true"></img></a></p><div class="feedflare">
<a href="http://feeds.feedburner.com/~ff/jr?a=TQ93SKd6NP0:JaXYx8bq0LU:yIl2AUoC8zA"><img src="http://feeds.feedburner.com/~ff/jr?d=yIl2AUoC8zA" border="0"></img></a> <a href="http://feeds.feedburner.com/~ff/jr?a=TQ93SKd6NP0:JaXYx8bq0LU:iP2mn8-2DTg"><img src="http://feeds.feedburner.com/~ff/jr?d=iP2mn8-2DTg" border="0"></img></a> <a href="http://feeds.feedburner.com/~ff/jr?a=TQ93SKd6NP0:JaXYx8bq0LU:qj6IDK7rITs"><img src="http://feeds.feedburner.com/~ff/jr?d=qj6IDK7rITs" border="0"></img></a> <a href="http://feeds.feedburner.com/~ff/jr?a=TQ93SKd6NP0:JaXYx8bq0LU:wZbwfOfh5Go"><img src="http://feeds.feedburner.com/~ff/jr?i=TQ93SKd6NP0:JaXYx8bq0LU:wZbwfOfh5Go" border="0"></img></a>
</div><img src="http://feeds.feedburner.com/~r/jr/~4/TQ93SKd6NP0" height="1" width="1"/>]]></content:encoded>
			<wfw:commentRss>http://www.justinrummel.com/mactech-conference-2011/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		<feedburner:origLink>http://www.justinrummel.com/mactech-conference-2011/</feedburner:origLink></item>
		<item>
		<title>Apple’s Built-in Anti-Virus: XProtect</title>
		<link>http://feedproxy.google.com/~r/jr/~3/WwexgU7Juz8/</link>
		<comments>http://www.justinrummel.com/apples-built-in-anti-virus-xprotect/#comments</comments>
		<pubDate>Tue, 01 Nov 2011 16:17:43 +0000</pubDate>
		<dc:creator>Justin Rummel</dc:creator>
				<category><![CDATA[Lion]]></category>
		<category><![CDATA[Apple]]></category>
		<category><![CDATA[cli]]></category>

		<guid isPermaLink="false">http://www.justinrummel.com/?p=515</guid>
		<description><![CDATA[Today, Intego announced of a new trojan designed for the Mac dubbed &#8220;DevilRobber&#8221;. You can read Intego&#8217;s site (or many other sites posting about this trojan), but I wanted to remind everyone that there is a built-in anti-virus software within updated versions of Snow Leopard (version 10.6.7 with Security Update 2011-003 OR greater) and Lion [...]]]></description>
			<content:encoded><![CDATA[<p>Today, <a href="http://blog.intego.com/new-malware-devilrobber-grabs-files-and-bitcoins-performs-bitcoin-mining-and-more/" onclick="pageTracker._trackPageview('/outgoing/blog.intego.com/new-malware-devilrobber-grabs-files-and-bitcoins-performs-bitcoin-mining-and-more/?referer=');">Intego announced of a new trojan designed for the Mac</a> dubbed &#8220;DevilRobber&#8221;.</p>
<p>You can read Intego&#8217;s site (or many other sites posting about this trojan), but I wanted to remind everyone that there is a built-in anti-virus software within updated versions of Snow Leopard (version 10.6.7 with Security Update 2011-003 OR greater) and Lion called XProtect.</p>
<p>Xprotect is enabled by going to System Preferences =&gt; Security =&gt; General tab and check the &#8220;Automatically update safe downloads list&#8221;. If you ever want to update your list, just uncheck / recheck the option.</p>
<p><a href="http://www.justinrummel.com/wp-content/uploads/2011/11/XProtect.png"><img class="size-full wp-image-518" title="XProtect" src="http://www.justinrummel.com/wp-content/uploads/2011/11/XProtect.png" alt="XProtect" width="500" height="414" /></a><br />(Notice, my settings may look different from yours as I have FileVault enabled along with other MCX settings. The safe downloads list is what&#8217;s important for this article.)</p>
<p>However, let&#8217;s get a little more information from Xprotect.</p>
<p>If we run to following command &#8220;today&#8221; (11/1/2011 @ 11am Eastern), we get the following results:</p>
<blockquote>
<pre>/usr/libexec/PlistBuddy -c "print LastModification" /System/Library/CoreServices/CoreTypes.bundle/Contents/Resources/XProtect.meta.plist
Tue, 11 Oct 2011 16:20:51 GMT</pre>
</blockquote>
<p>This tells us that our anti-virus dictionary file has not been updated since Oct 11th of 2011. In order to update your dictionary, you can use the above check / recheck method or:</p>
<blockquote>
<pre>/usr/libexec/XProtectUpdater</pre>
</blockquote>
<p>You will notice that as of right now the XPotect meta file timestamp has not change. I assume Apple will soon update this file to protect Mac users from DevilRobber, or any other future trojan/virus that gets created. We&#8217;re just dependent on Apple to update their dictionary just the same as Intego / Sophos / etc users are dependent on their paid software to update their dictionary file.  Once the file is updated, you should get a similar result for MacDefender.</p>
<blockquote><pre>cat /System/Library/CoreServices/CoreTypes.bundle/Contents/Resources/XProtect.plist | grep MacDefender</pre>
</blockquote>
<p><b>### Update</b><br />
XProtect.plist file has been updated as of Nov 1st, 2011, and if you grep for &#8220;Devil&#8221; you will get a response of &#8220;OSX.DevilRobber.A&#8221;.  Pretty quick (and automatically done) as the announcement was on Nov 1st. </p>

<p><a href="http://feedads.g.doubleclick.net/~a/i60yABcpZQ84jxFzdLiB6RXXXhA/0/da"><img src="http://feedads.g.doubleclick.net/~a/i60yABcpZQ84jxFzdLiB6RXXXhA/0/di" border="0" ismap="true"></img></a><br/>
<a href="http://feedads.g.doubleclick.net/~a/i60yABcpZQ84jxFzdLiB6RXXXhA/1/da"><img src="http://feedads.g.doubleclick.net/~a/i60yABcpZQ84jxFzdLiB6RXXXhA/1/di" border="0" ismap="true"></img></a></p><div class="feedflare">
<a href="http://feeds.feedburner.com/~ff/jr?a=WwexgU7Juz8:KVEH_GEEzJI:yIl2AUoC8zA"><img src="http://feeds.feedburner.com/~ff/jr?d=yIl2AUoC8zA" border="0"></img></a> <a href="http://feeds.feedburner.com/~ff/jr?a=WwexgU7Juz8:KVEH_GEEzJI:iP2mn8-2DTg"><img src="http://feeds.feedburner.com/~ff/jr?d=iP2mn8-2DTg" border="0"></img></a> <a href="http://feeds.feedburner.com/~ff/jr?a=WwexgU7Juz8:KVEH_GEEzJI:qj6IDK7rITs"><img src="http://feeds.feedburner.com/~ff/jr?d=qj6IDK7rITs" border="0"></img></a> <a href="http://feeds.feedburner.com/~ff/jr?a=WwexgU7Juz8:KVEH_GEEzJI:wZbwfOfh5Go"><img src="http://feeds.feedburner.com/~ff/jr?i=WwexgU7Juz8:KVEH_GEEzJI:wZbwfOfh5Go" border="0"></img></a>
</div><img src="http://feeds.feedburner.com/~r/jr/~4/WwexgU7Juz8" height="1" width="1"/>]]></content:encoded>
			<wfw:commentRss>http://www.justinrummel.com/apples-built-in-anti-virus-xprotect/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		<feedburner:origLink>http://www.justinrummel.com/apples-built-in-anti-virus-xprotect/</feedburner:origLink></item>
		<item>
		<title>Niagara Falls</title>
		<link>http://feedproxy.google.com/~r/jr/~3/7mwcCqsaSLs/</link>
		<comments>http://www.justinrummel.com/niagara-falls/#comments</comments>
		<pubDate>Wed, 05 Oct 2011 20:47:05 +0000</pubDate>
		<dc:creator>Justin Rummel</dc:creator>
				<category><![CDATA[Photography]]></category>
		<category><![CDATA[Travel]]></category>

		<guid isPermaLink="false">http://www.justinrummel.com/?p=497</guid>
		<description><![CDATA[For the past couple of weeks, I&#8217;ve been in Niagara Falls, NY for a client. I have never seen the falls or have been to Canada, so it was fun to check both of those items off my life&#8217;s to-do list, and in the process took some pictures. For the pictures I knew I wanted [...]]]></description>
			<content:encoded><![CDATA[<p><img title="Niagara Falls at night" src="http://farm7.static.flickr.com/6015/6200826580_2d4e5f6061.jpg" alt="Niagara Falls at night" width="500" height="333" /></p>
<p>For the past couple of weeks, I&#8217;ve been in Niagara Falls, NY for a client. I have never seen the falls or have been to Canada, so it was fun to check both of those items off my life&#8217;s to-do list, and in the process took some pictures.</p>
<p>For the pictures I knew I wanted to get the long exposure for the water coming down the falls, however, it was harder at night to get the right balance between getting enough light to even see the falls vs. washing out everything. In the end I used a high ISO of 1600 and half second shutter speed. I would have preferred to use ISO 200 (or 100 if possible) to reduce the noise in the pictures. For future note, these pictures are from the US side of the falls, the Canadian side is better for viewing the falls (just haven&#8217;t been there at night&#8230; not yet at least).</p>
<p>Check <a title="www.niagaraparks.com/attractions/falls-illumination.html" href="http://www.niagaraparks.com/attractions/falls-illumination.html" onclick="pageTracker._trackPageview('/outgoing/www.niagaraparks.com/attractions/falls-illumination.html?referer=');">www.niagaraparks.com/attractions/falls-illumination.html</a> for the light&#8217;s schedule.</p>
				<div id="gallery-41b4f72e" class="flickr-gallery photoset">
													<div class="flickr-thumb">
									<a href="http://flickr.com/photo.gne?id=6170790624" onclick="pageTracker._trackPageview('/outgoing/flickr.com/photo.gne?id=6170790624&amp;referer=');"><img class="photo" title="Niagara Falls" src="http://farm7.static.flickr.com/6152/6170790624_e56c02c48b_s.jpg" alt="Niagara Falls" /></a>
								</div>
															<div class="flickr-thumb">
									<a href="http://flickr.com/photo.gne?id=6200826580" onclick="pageTracker._trackPageview('/outgoing/flickr.com/photo.gne?id=6200826580&amp;referer=');"><img class="photo" title="20110929-Niagara_Falls-115_HDR" src="http://farm7.static.flickr.com/6015/6200826580_2d4e5f6061_s.jpg" alt="20110929-Niagara_Falls-115_HDR" /></a>
								</div>
															<div class="flickr-thumb">
									<a href="http://flickr.com/photo.gne?id=6200314521" onclick="pageTracker._trackPageview('/outgoing/flickr.com/photo.gne?id=6200314521&amp;referer=');"><img class="photo" title="20110929-Niagara_Falls-002" src="http://farm7.static.flickr.com/6009/6200314521_28dc8bc70a_s.jpg" alt="20110929-Niagara_Falls-002" /></a>
								</div>
															<div class="flickr-thumb">
									<a href="http://flickr.com/photo.gne?id=6200828076" onclick="pageTracker._trackPageview('/outgoing/flickr.com/photo.gne?id=6200828076&amp;referer=');"><img class="photo" title="20110929-Niagara_Falls-005" src="http://farm7.static.flickr.com/6173/6200828076_6224115f9d_s.jpg" alt="20110929-Niagara_Falls-005" /></a>
								</div>
															<div class="flickr-thumb">
									<a href="http://flickr.com/photo.gne?id=6200828636" onclick="pageTracker._trackPageview('/outgoing/flickr.com/photo.gne?id=6200828636&amp;referer=');"><img class="photo" title="20110929-Niagara_Falls-006" src="http://farm7.static.flickr.com/6156/6200828636_ee8e55d7ac_s.jpg" alt="20110929-Niagara_Falls-006" /></a>
								</div>
															<div class="flickr-thumb">
									<a href="http://flickr.com/photo.gne?id=6200316513" onclick="pageTracker._trackPageview('/outgoing/flickr.com/photo.gne?id=6200316513&amp;referer=');"><img class="photo" title="20110929-Niagara_Falls-013" src="http://farm7.static.flickr.com/6158/6200316513_d497cbbd7b_s.jpg" alt="20110929-Niagara_Falls-013" /></a>
								</div>
															<div class="flickr-thumb">
									<a href="http://flickr.com/photo.gne?id=6200317003" onclick="pageTracker._trackPageview('/outgoing/flickr.com/photo.gne?id=6200317003&amp;referer=');"><img class="photo" title="20110929-Niagara_Falls-029" src="http://farm7.static.flickr.com/6177/6200317003_c6353f5e51_s.jpg" alt="20110929-Niagara_Falls-029" /></a>
								</div>
															<div class="flickr-thumb">
									<a href="http://flickr.com/photo.gne?id=6200830166" onclick="pageTracker._trackPageview('/outgoing/flickr.com/photo.gne?id=6200830166&amp;referer=');"><img class="photo" title="20110929-Niagara_Falls-031" src="http://farm7.static.flickr.com/6160/6200830166_fd3bd145d1_s.jpg" alt="20110929-Niagara_Falls-031" /></a>
								</div>
															<div class="flickr-thumb">
									<a href="http://flickr.com/photo.gne?id=6200830594" onclick="pageTracker._trackPageview('/outgoing/flickr.com/photo.gne?id=6200830594&amp;referer=');"><img class="photo" title="20110929-Niagara_Falls-036" src="http://farm7.static.flickr.com/6005/6200830594_bb2584265d_s.jpg" alt="20110929-Niagara_Falls-036" /></a>
								</div>
															<div class="flickr-thumb">
									<a href="http://flickr.com/photo.gne?id=6200830930" onclick="pageTracker._trackPageview('/outgoing/flickr.com/photo.gne?id=6200830930&amp;referer=');"><img class="photo" title="20110929-Niagara_Falls-041" src="http://farm7.static.flickr.com/6159/6200830930_08c4d556fc_s.jpg" alt="20110929-Niagara_Falls-041" /></a>
								</div>
															<div class="flickr-thumb">
									<a href="http://flickr.com/photo.gne?id=6200831518" onclick="pageTracker._trackPageview('/outgoing/flickr.com/photo.gne?id=6200831518&amp;referer=');"><img class="photo" title="20110929-Niagara_Falls-046" src="http://farm7.static.flickr.com/6143/6200831518_b569e8f434_s.jpg" alt="20110929-Niagara_Falls-046" /></a>
								</div>
															<div class="flickr-thumb">
									<a href="http://flickr.com/photo.gne?id=6200319369" onclick="pageTracker._trackPageview('/outgoing/flickr.com/photo.gne?id=6200319369&amp;referer=');"><img class="photo" title="20110929-Niagara_Falls-051" src="http://farm7.static.flickr.com/6163/6200319369_acf2e24956_s.jpg" alt="20110929-Niagara_Falls-051" /></a>
								</div>
															<div class="flickr-thumb">
									<a href="http://flickr.com/photo.gne?id=6200832376" onclick="pageTracker._trackPageview('/outgoing/flickr.com/photo.gne?id=6200832376&amp;referer=');"><img class="photo" title="20110929-Niagara_Falls-052" src="http://farm7.static.flickr.com/6162/6200832376_90f4c27b2e_s.jpg" alt="20110929-Niagara_Falls-052" /></a>
								</div>
															<div class="flickr-thumb">
									<a href="http://flickr.com/photo.gne?id=6200832790" onclick="pageTracker._trackPageview('/outgoing/flickr.com/photo.gne?id=6200832790&amp;referer=');"><img class="photo" title="20110929-Niagara_Falls-054" src="http://farm7.static.flickr.com/6009/6200832790_96a1f969a8_s.jpg" alt="20110929-Niagara_Falls-054" /></a>
								</div>
															<div class="flickr-thumb">
									<a href="http://flickr.com/photo.gne?id=6200320757" onclick="pageTracker._trackPageview('/outgoing/flickr.com/photo.gne?id=6200320757&amp;referer=');"><img class="photo" title="20110929-Niagara_Falls-055" src="http://farm7.static.flickr.com/6170/6200320757_7e368120bc_s.jpg" alt="20110929-Niagara_Falls-055" /></a>
								</div>
															<div class="flickr-thumb">
									<a href="http://flickr.com/photo.gne?id=6200834006" onclick="pageTracker._trackPageview('/outgoing/flickr.com/photo.gne?id=6200834006&amp;referer=');"><img class="photo" title="20110929-Niagara_Falls-056" src="http://farm7.static.flickr.com/6027/6200834006_0a6abaa32e_s.jpg" alt="20110929-Niagara_Falls-056" /></a>
								</div>
															<div class="flickr-thumb">
									<a href="http://flickr.com/photo.gne?id=6200834466" onclick="pageTracker._trackPageview('/outgoing/flickr.com/photo.gne?id=6200834466&amp;referer=');"><img class="photo" title="Allen! Allen! Allen!" src="http://farm7.static.flickr.com/6163/6200834466_c87a771d54_s.jpg" alt="Allen! Allen! Allen!" /></a>
								</div>
															<div class="flickr-thumb">
									<a href="http://flickr.com/photo.gne?id=6200322225" onclick="pageTracker._trackPageview('/outgoing/flickr.com/photo.gne?id=6200322225&amp;referer=');"><img class="photo" title="20110929-Niagara_Falls-091" src="http://farm7.static.flickr.com/6158/6200322225_bfe22481d8_s.jpg" alt="20110929-Niagara_Falls-091" /></a>
								</div>
															<div class="flickr-thumb">
									<a href="http://flickr.com/photo.gne?id=6200835300" onclick="pageTracker._trackPageview('/outgoing/flickr.com/photo.gne?id=6200835300&amp;referer=');"><img class="photo" title="20110929-Niagara_Falls-106" src="http://farm7.static.flickr.com/6171/6200835300_1fd2a48d84_s.jpg" alt="20110929-Niagara_Falls-106" /></a>
								</div>
															<div class="flickr-thumb">
									<a href="http://flickr.com/photo.gne?id=6200323037" onclick="pageTracker._trackPageview('/outgoing/flickr.com/photo.gne?id=6200323037&amp;referer=');"><img class="photo" title="20110929-Niagara_Falls-112" src="http://farm7.static.flickr.com/6167/6200323037_71da7f8b36_s.jpg" alt="20110929-Niagara_Falls-112" /></a>
								</div>
															<div class="flickr-thumb">
									<a href="http://flickr.com/photo.gne?id=6200323473" onclick="pageTracker._trackPageview('/outgoing/flickr.com/photo.gne?id=6200323473&amp;referer=');"><img class="photo" title="20110929-Niagara_Falls-118" src="http://farm7.static.flickr.com/6163/6200323473_43ccd4f078_s.jpg" alt="20110929-Niagara_Falls-118" /></a>
								</div>
															<div class="flickr-thumb">
									<a href="http://flickr.com/photo.gne?id=6200836490" onclick="pageTracker._trackPageview('/outgoing/flickr.com/photo.gne?id=6200836490&amp;referer=');"><img class="photo" title="20110929-Niagara_Falls-120" src="http://farm7.static.flickr.com/6138/6200836490_b93fe6cb4b_s.jpg" alt="20110929-Niagara_Falls-120" /></a>
								</div>
												<div class="fg-clear"></div>
				</div>
												<div class="fg-clear"></div>
							<script type="text/javascript">
											jQuery(document).ready(function(){
							jQuery("#gallery-41b4f72e .flickr-thumb img").flightbox({size_callback: get_sizes});
						});
										
										//-->
				</script>
			

<p><a href="http://feedads.g.doubleclick.net/~a/uhnXBJEsNvuZjs8HuNVuPHW9fxQ/0/da"><img src="http://feedads.g.doubleclick.net/~a/uhnXBJEsNvuZjs8HuNVuPHW9fxQ/0/di" border="0" ismap="true"></img></a><br/>
<a href="http://feedads.g.doubleclick.net/~a/uhnXBJEsNvuZjs8HuNVuPHW9fxQ/1/da"><img src="http://feedads.g.doubleclick.net/~a/uhnXBJEsNvuZjs8HuNVuPHW9fxQ/1/di" border="0" ismap="true"></img></a></p><div class="feedflare">
<a href="http://feeds.feedburner.com/~ff/jr?a=7mwcCqsaSLs:LilCiT8vIPg:yIl2AUoC8zA"><img src="http://feeds.feedburner.com/~ff/jr?d=yIl2AUoC8zA" border="0"></img></a> <a href="http://feeds.feedburner.com/~ff/jr?a=7mwcCqsaSLs:LilCiT8vIPg:iP2mn8-2DTg"><img src="http://feeds.feedburner.com/~ff/jr?d=iP2mn8-2DTg" border="0"></img></a> <a href="http://feeds.feedburner.com/~ff/jr?a=7mwcCqsaSLs:LilCiT8vIPg:qj6IDK7rITs"><img src="http://feeds.feedburner.com/~ff/jr?d=qj6IDK7rITs" border="0"></img></a> <a href="http://feeds.feedburner.com/~ff/jr?a=7mwcCqsaSLs:LilCiT8vIPg:wZbwfOfh5Go"><img src="http://feeds.feedburner.com/~ff/jr?i=7mwcCqsaSLs:LilCiT8vIPg:wZbwfOfh5Go" border="0"></img></a>
</div><img src="http://feeds.feedburner.com/~r/jr/~4/7mwcCqsaSLs" height="1" width="1"/>]]></content:encoded>
			<wfw:commentRss>http://www.justinrummel.com/niagara-falls/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		<feedburner:origLink>http://www.justinrummel.com/niagara-falls/</feedburner:origLink></item>
		<item>
		<title>Remove Diginotar CA Certificate</title>
		<link>http://feedproxy.google.com/~r/jr/~3/-yyfSF64jAU/</link>
		<comments>http://www.justinrummel.com/remove-diginotar-ca-certificate/#comments</comments>
		<pubDate>Wed, 31 Aug 2011 12:32:31 +0000</pubDate>
		<dc:creator>Justin Rummel</dc:creator>
				<category><![CDATA[Apple]]></category>
		<category><![CDATA[certificates]]></category>
		<category><![CDATA[Lion]]></category>
		<category><![CDATA[OSX]]></category>
		<category><![CDATA[OSXS]]></category>

		<guid isPermaLink="false">http://www.justinrummel.com/?p=471</guid>
		<description><![CDATA[First, I want to say thanks to Edward Marczak for his original post on how to remove the Diginotar CA Certificate, and his forward thinking about how to do this from a System Admin perspective. I wanted to add a few more bits of info to his post to better explain the security command. In [...]]]></description>
			<content:encoded><![CDATA[<p>First, I want to say thanks to <a href="http://radiotope.com/content/remove-certificate" onclick="pageTracker._trackPageview('/outgoing/radiotope.com/content/remove-certificate?referer=');">Edward Marczak</a> for his original post on how to remove the Diginotar CA Certificate, and his forward thinking about how to do this from a System Admin perspective.  I wanted to add a few more bits of info to his post to better explain the <em>security</em> command.</p>
<p>In Ed&#8217;s post, he states to run this command:</p>
<blockquote><pre>sudo /usr/bin/security delete-certificate -Z C060ED44CBD881BD0EF86C0BA287DDCF8167478C /System/Library/Keychains/SystemRootCertificates.keychain</pre>
</blockquote>
<p>So the &#8220;-Z&#8221; flag is telling they system to search based on the SHA-1 has value of the certificate.  How do you know this is the correct certificate?  By using the find-certificate operation.</p>
<blockquote><pre>/usr/bin/security find-certificate -Z -e "info@diginotar.nl" /System/Library/Keychains/SystemRootCertificates.keychain | grep SHA | awk -F ": " '{print $2}'</pre>
</blockquote>
<p>In the command above, I&#8217;m asking the security command to find the certificate with the email address with the &#8220;-e&#8221; flag.  The &#8220;-Z&#8221; flag in this command states to print out the SHA-1 has value.  At the end I&#8217;m using &#8220;grep&#8221; to filter all the other information that comes with displaying your certificate information via Terminal then &#8220;awk&#8221; to only return the hash value.  This way you can have some logic to ensure that you system find the correct certificate to delete vs. taking information from a website and fully trusting the instructions (no offense to Ed, it is just a good practice to perform sanity checks). </p>
<blockquote><pre>#!/bin/sh
BADDIGI=$(/usr/bin/security find-certificate -Z -e "info@diginotar.nl" /System/Library/Keychains/SystemRootCertificates.keychain | grep SHA | awk -F ": " '{print $2}')
echo "Going to delete: $BADDIGI\n"
sudo /usr/bin/security delete-certificate -Z "$BADDIGI" /System/Library/Keychains/SystemRootCertificates.keychain</pre>
</blockquote>
<p>So the obvious question from the above command is &#8220;How do I know info@diginotar.nl was the correct email&#8221;?  Simple, I checked Keychain Access.  </p>
<p>If you open Keychain Access (located in /Applications/Utilities/), do a search for Diginotar (you will get one value in return as seen below).  Right click the certificate and select &#8220;Get Info&#8221;.</p>
<p style="text-align: center;"><a href="http://www.justinrummel.com/wp-content/uploads/2011/08/Digi-Search.png" rel="lightbox"><img src="http://www.justinrummel.com/wp-content/uploads/2011/08/Digi-Search.png" alt="Digi-Search" title="Digi-Search" width="545" height="200" class="aligncenter size-medium wp-image-480" /></a></p>
<p style="text-align: center;"><a href="http://www.justinrummel.com/wp-content/uploads/2011/08/Digi-Info.png" rel="lightbox"><img src="http://www.justinrummel.com/wp-content/uploads/2011/08/Digi-Info.png" alt="Digi-Info" title="Digi-Info" width="545" height="347" class="aligncenter size-medium wp-image-481" /></a></p>

<p><a href="http://feedads.g.doubleclick.net/~a/mFoZTUIfyQWuBkq7welLEXcXxJY/0/da"><img src="http://feedads.g.doubleclick.net/~a/mFoZTUIfyQWuBkq7welLEXcXxJY/0/di" border="0" ismap="true"></img></a><br/>
<a href="http://feedads.g.doubleclick.net/~a/mFoZTUIfyQWuBkq7welLEXcXxJY/1/da"><img src="http://feedads.g.doubleclick.net/~a/mFoZTUIfyQWuBkq7welLEXcXxJY/1/di" border="0" ismap="true"></img></a></p><div class="feedflare">
<a href="http://feeds.feedburner.com/~ff/jr?a=-yyfSF64jAU:54sQHF-MZ4Y:yIl2AUoC8zA"><img src="http://feeds.feedburner.com/~ff/jr?d=yIl2AUoC8zA" border="0"></img></a> <a href="http://feeds.feedburner.com/~ff/jr?a=-yyfSF64jAU:54sQHF-MZ4Y:iP2mn8-2DTg"><img src="http://feeds.feedburner.com/~ff/jr?d=iP2mn8-2DTg" border="0"></img></a> <a href="http://feeds.feedburner.com/~ff/jr?a=-yyfSF64jAU:54sQHF-MZ4Y:qj6IDK7rITs"><img src="http://feeds.feedburner.com/~ff/jr?d=qj6IDK7rITs" border="0"></img></a> <a href="http://feeds.feedburner.com/~ff/jr?a=-yyfSF64jAU:54sQHF-MZ4Y:wZbwfOfh5Go"><img src="http://feeds.feedburner.com/~ff/jr?i=-yyfSF64jAU:54sQHF-MZ4Y:wZbwfOfh5Go" border="0"></img></a>
</div><img src="http://feeds.feedburner.com/~r/jr/~4/-yyfSF64jAU" height="1" width="1"/>]]></content:encoded>
			<wfw:commentRss>http://www.justinrummel.com/remove-diginotar-ca-certificate/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
		<feedburner:origLink>http://www.justinrummel.com/remove-diginotar-ca-certificate/</feedburner:origLink></item>
		<item>
		<title>Built-in Hidden Command Line Tools: Stroke and Airport</title>
		<link>http://feedproxy.google.com/~r/jr/~3/gqw6p9VWRoY/</link>
		<comments>http://www.justinrummel.com/built-in-hidden-command-line-tools-stroke-and-airport/#comments</comments>
		<pubDate>Wed, 03 Aug 2011 15:22:06 +0000</pubDate>
		<dc:creator>Justin Rummel</dc:creator>
				<category><![CDATA[Lion]]></category>
		<category><![CDATA[Apple]]></category>
		<category><![CDATA[cli]]></category>
		<category><![CDATA[OSX]]></category>
		<category><![CDATA[OSXS]]></category>

		<guid isPermaLink="false">http://www.justinrummel.com/?p=439</guid>
		<description><![CDATA[These tools are nothing new as they were available in Snow Leopard (and I believe Leopard, just can&#8217;t check), but they are fun little tools just in case you don&#8217;t have Apple&#8217;s Xcode [iTunes link] installed or MacPorts available on your computer. Port Scanning with stroke So you want to perform a port scan, but [...]]]></description>
			<content:encoded><![CDATA[<p>These tools are nothing new as they were available in Snow Leopard (and I believe Leopard, just can&#8217;t check), but they are fun little tools just in case you don&#8217;t have Apple&#8217;s Xcode [<a href="http://itunes.apple.com/us/app/xcode/id448457090?mt=12" onclick="pageTracker._trackPageview('/outgoing/itunes.apple.com/us/app/xcode/id448457090?mt=12&amp;referer=');">iTunes link</a>] installed or <a href="http://www.macports.org/install.php" onclick="pageTracker._trackPageview('/outgoing/www.macports.org/install.php?referer=');">MacPorts</a> available on your computer.<span id="more-439"></span></p>
<h2>Port Scanning with <em>stroke</em></h2>
<p>So you want to perform a port scan, but you are missing the more powerful <em>nmap</em> command that can be installed via MacPorts or compiled from <a href="http://nmap.org/download.html#source" onclick="pageTracker._trackPageview('/outgoing/nmap.org/download.html_source?referer=');">insecure.org</a>. In order to use the command, open Terminal and cd to the <strong>/Applications/Utilities/Network\ Utility.app/Contents/Resources/</strong> directory, then type ./stoke</p>
<blockquote>
<pre>justinrummel@JRummel-MBP:Resources$ ./stroke
2011-08-02 12:46:09.315 stroke[45023:707] stroke address startPort endPort</pre>
</blockquote>
<p>The help information for stoke is very short, mostly because this is a one trick pony. You can enter your address (IP or FQDN), a starting port number, and end port number, then off you go! A good port to start with is 20 and end somewhere around 10000. Yes you can go higher to 65535, but it will just take longer. So for example:</p>
<blockquote>
<pre>justinrummel@JRummel-MBP:Resources$ ./stroke 192.168.1.111 20 10000
Port Scanning host: 192.168.1.111
     Open TCP Port: 22 ssh
     Open TCP Port: 25 smtp
     Open TCP Port: 53 domain
     Open TCP Port: 80 http
     Open TCP Port: 88 kerberos
     Open TCP Port: 106 3com-tsmux
     Open TCP Port: 143 imap
     Open TCP Port: 311 asip-webadmin
     Open TCP Port: 389 ldap
     Open TCP Port: 443 https
     Open TCP Port: 464 kpasswd
     Open TCP Port: 587 submission
     Open TCP Port: 625 dec_dlm
     Open TCP Port: 749 kerberos-adm
     Open TCP Port: 993 imaps
     Open TCP Port: 2000 callbook
     Open TCP Port: 2336 appleugcontrol
     Open TCP Port: 3659 apple-sasl
     Open TCP Port: 4190 sieve
     Open TCP Port: 5204
     Open TCP Port: 5220
     Open TCP Port: 5268
     Open TCP Port: 5900 rfb
     Open TCP Port: 8088 radan-http</pre>
</blockquote>
<p>Things you can&#8217;t do for people who use nmap include fingerprinting, service information, comma separated for a select ports to scan vs. the whole spectrum. If you find a port number and are not sure what it&#8217;s used for, check the Apple kbase article <a href="http://support.apple.com/kb/ts1629" onclick="pageTracker._trackPageview('/outgoing/support.apple.com/kb/ts1629?referer=');">Well known TCP and UDP ports used by Apple software products</a>.</p>
<h2>Wireless discovery with <em>airport</em></h2>
<p>The airport command is more powerful than stroke as you are able to use this for preferences setting, network scanning, or packet capturing! First lets find the command by cd to the <strong>/System/Library/PrivateFrameworks/Apple80211.framework/Versions/Current/Resources/</strong> directory, then type ./airport</p>
<p>If you just typed that out&#8230; you&#8217;ll notice a long list of options for this command. More than I want to copy and paste for this post, and much more than stroke!</p>
<p>If you need to capture the available wireless networks that are at your current location, we&#8217;ll use the &#8220;-s&#8221; flag for scanning available Wi-Fi networks.</p>
<blockquote>
<pre>justinrummel@JRummel-MBP:Resources$ ./airport -s
SSID    BSSID             RSSI CHANNEL HT CC SECURITY (auth/unicast/group)
hhonors 00:1a:a2:82:2d:90 -90     4    N -- NONE
hhonors 00:16:46:2c:41:40 -89    11    N -- NONE
hhonors 00:16:46:2c:43:00 -78     6    N -- NONE
hhonors 00:1a:a2:82:30:10 -50     6    N -- NONE
hhonors 00:16:46:2c:42:60 -83     1    N -- NONE
hhonors 00:16:46:2c:42:20 -63     1    N -- NONE
hhonors 00:1b:2a:95:52:70 -75    11    N -- NONE</pre>
</blockquote>
<p>From my Hilton hotel, you can see there are 7 Access Points (AP) that are near my room, all with the SSID of &#8220;hhonors&#8221;. We can also see that there is one bad AP that is running on channel 4. If you were not aware, enjoy this 802.11 101 lesson <span style="text-decoration: underline;">only use channels 1, 6, and 11</span> for &#8220;g&#8221; service (&#8220;n&#8221; has more channels and are higher numbers, but that discussion is for another post. So if I connect to the &#8220;hhonors&#8221; network, how do I know which AP I really connected to. My guess would be the one with RSSI value of -50 because that is the strongs single. Think of RSSI as golf; the lower the better.</p>
<p>If you need to see information about your current wireless network, you can use the &#8220;-I&#8221; flag.</p>
<blockquote>
<pre>justinrummel@JRummel-MBP:Resources$ ./airport -I
     agrCtlRSSI: -51
     agrExtRSSI: 0
    agrCtlNoise: -90
    agrExtNoise: 0
          state: running
        op mode: station
     lastTxRate: 54
        maxRate: 54
lastAssocStatus: 0
    802.11 auth: open
      link auth: none
          BSSID: 0:1a:a2:82:30:10
           SSID: hhonors
            MCS: -1
        channel: 6</pre>
</blockquote>
<p>Once connected to &#8220;hhonors&#8221;, the &#8220;-I&#8221; flag gave me the BSSID of &#8220;0:1a:a2:82:30:10&#8243; which matches the previous command results using the &#8220;-s&#8221; flag who&#8217;s RSSI of -50.</p>
<p>What else can you do with the airport command? How about this awesome list:</p>
<ul>
<li>DisconnectOnLogout</li>
<li>Automatic Joining</li>
<li>Remembering Recent Networks</li>
<li>Requiring an Admin account to make changes</li>
</ul>
<p>These options should look somewhat familiar as if you check out the System Preferences =&gt; Network =&gt; Wi-Fi you would see the same checkboxes. This gives you the option of changing your settings by SSH or a script later in time.</p>
<div id="attachment_445" class="wp-caption aligncenter" style="width: 310px"><a href="http://www.justinrummel.com/wp-content/uploads/2011/08/Wi-Fi1.png" rel="lightbox"><img class="size-medium wp-image-445" title="Wi-Fi1" src="http://www.justinrummel.com/wp-content/uploads/2011/08/Wi-Fi1-300x266.png" alt="Wi-Fi Network Settings" width="300" height="266" align="center" /></a><p class="wp-caption-text">Wi-Fi Network Settings</p></div>
<div id="attachment_446" class="wp-caption aligncenter" style="width: 310px"><a href="http://www.justinrummel.com/wp-content/uploads/2011/08/Wi-Fi2.png" rel="lightbox"><img class="size-medium wp-image-446" title="Wi-Fi2" src="http://www.justinrummel.com/wp-content/uploads/2011/08/Wi-Fi2-300x266.png" alt="Wi-Fi Network Options" width="300" height="266" align="center" /></a><p class="wp-caption-text">Wi-Fi Network Options</p></div>

<p><a href="http://feedads.g.doubleclick.net/~a/SIBhWB18KbrL1i_CEnL6CF7kwG4/0/da"><img src="http://feedads.g.doubleclick.net/~a/SIBhWB18KbrL1i_CEnL6CF7kwG4/0/di" border="0" ismap="true"></img></a><br/>
<a href="http://feedads.g.doubleclick.net/~a/SIBhWB18KbrL1i_CEnL6CF7kwG4/1/da"><img src="http://feedads.g.doubleclick.net/~a/SIBhWB18KbrL1i_CEnL6CF7kwG4/1/di" border="0" ismap="true"></img></a></p><div class="feedflare">
<a href="http://feeds.feedburner.com/~ff/jr?a=gqw6p9VWRoY:0ejC-J58Wm0:yIl2AUoC8zA"><img src="http://feeds.feedburner.com/~ff/jr?d=yIl2AUoC8zA" border="0"></img></a> <a href="http://feeds.feedburner.com/~ff/jr?a=gqw6p9VWRoY:0ejC-J58Wm0:iP2mn8-2DTg"><img src="http://feeds.feedburner.com/~ff/jr?d=iP2mn8-2DTg" border="0"></img></a> <a href="http://feeds.feedburner.com/~ff/jr?a=gqw6p9VWRoY:0ejC-J58Wm0:qj6IDK7rITs"><img src="http://feeds.feedburner.com/~ff/jr?d=qj6IDK7rITs" border="0"></img></a> <a href="http://feeds.feedburner.com/~ff/jr?a=gqw6p9VWRoY:0ejC-J58Wm0:wZbwfOfh5Go"><img src="http://feeds.feedburner.com/~ff/jr?i=gqw6p9VWRoY:0ejC-J58Wm0:wZbwfOfh5Go" border="0"></img></a>
</div><img src="http://feeds.feedburner.com/~r/jr/~4/gqw6p9VWRoY" height="1" width="1"/>]]></content:encoded>
			<wfw:commentRss>http://www.justinrummel.com/built-in-hidden-command-line-tools-stroke-and-airport/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
		<feedburner:origLink>http://www.justinrummel.com/built-in-hidden-command-line-tools-stroke-and-airport/</feedburner:origLink></item>
		<item>
		<title>MacTech Conference 2011 – How Lion Has Changed Mac OS X: Services, Features, and Capabilities</title>
		<link>http://feedproxy.google.com/~r/jr/~3/p625nYJSQQM/</link>
		<comments>http://www.justinrummel.com/mactech-conference-2011-how-lion-has-changed-mac-os-x-services-features-and-capabilities/#comments</comments>
		<pubDate>Sat, 30 Jul 2011 16:53:49 +0000</pubDate>
		<dc:creator>Justin Rummel</dc:creator>
				<category><![CDATA[MacTech]]></category>
		<category><![CDATA[Lion]]></category>
		<category><![CDATA[Mactech]]></category>
		<category><![CDATA[OSXS]]></category>

		<guid isPermaLink="false">http://www.justinrummel.com/?p=422</guid>
		<description><![CDATA[I&#8217;ll be speaking at MacTech Conference 2011 which runs November 2-4 in Los Angeles with Randy Saeks! This discussion will review the major changes between Snow Leopard and Lion, and what it takes to configure these services. There are many changes in Lion&#8211;some subtle, and some no so subtle. In either case, though, an admin [...]]]></description>
			<content:encoded><![CDATA[<p>I&#8217;ll be speaking at MacTech Conference 2011 which runs November 2-4 in Los Angeles with <a href="http://techrecess.com/" onclick="pageTracker._trackPageview('/outgoing/techrecess.com/?referer=');">Randy Saeks</a>!</p>
<p>This discussion will review the major changes between Snow Leopard and Lion, and what it takes to configure these services. There are many changes in Lion&#8211;some subtle, and some no so subtle. In either case, though, an admin needs to be aware of the changes and how it impacts them. There are changes in Directory Services, Kerberos, Database Services, Server Control, Machine Management and more. Lion is growing to be a major change vs. little differences that was experienced from Leopard to Snow Leopard. It will be easier to grasp seeing what was once performed is now accomplished by &#8220;this new process&#8221;.</p>
<p>You can see the entire list of speakers at <a href="http://www.mactech.com/conference/sessions" onclick="pageTracker._trackPageview('/outgoing/www.mactech.com/conference/sessions?referer=');">http://www.mactech.com/conference/sessions</a></p>
<p>Register now at <a href="https://forms.mactech.com/fillsurvey.php?sid=236&amp;rid=MainSite" onclick="pageTracker._trackPageview('/outgoing/forms.mactech.com/fillsurvey.php?sid=236_amp_rid=MainSite&amp;referer=');">https://forms.mactech.com/fillsurvey.php?sid=236&amp;rid=MainSite</a>, as early bird pricing ends Aug 8th!</p>

<p><a href="http://feedads.g.doubleclick.net/~a/Jyexsmbf40p0S0Hs0nFsjh-u798/0/da"><img src="http://feedads.g.doubleclick.net/~a/Jyexsmbf40p0S0Hs0nFsjh-u798/0/di" border="0" ismap="true"></img></a><br/>
<a href="http://feedads.g.doubleclick.net/~a/Jyexsmbf40p0S0Hs0nFsjh-u798/1/da"><img src="http://feedads.g.doubleclick.net/~a/Jyexsmbf40p0S0Hs0nFsjh-u798/1/di" border="0" ismap="true"></img></a></p><div class="feedflare">
<a href="http://feeds.feedburner.com/~ff/jr?a=p625nYJSQQM:A8Mqln4MJ-Q:yIl2AUoC8zA"><img src="http://feeds.feedburner.com/~ff/jr?d=yIl2AUoC8zA" border="0"></img></a> <a href="http://feeds.feedburner.com/~ff/jr?a=p625nYJSQQM:A8Mqln4MJ-Q:iP2mn8-2DTg"><img src="http://feeds.feedburner.com/~ff/jr?d=iP2mn8-2DTg" border="0"></img></a> <a href="http://feeds.feedburner.com/~ff/jr?a=p625nYJSQQM:A8Mqln4MJ-Q:qj6IDK7rITs"><img src="http://feeds.feedburner.com/~ff/jr?d=qj6IDK7rITs" border="0"></img></a> <a href="http://feeds.feedburner.com/~ff/jr?a=p625nYJSQQM:A8Mqln4MJ-Q:wZbwfOfh5Go"><img src="http://feeds.feedburner.com/~ff/jr?i=p625nYJSQQM:A8Mqln4MJ-Q:wZbwfOfh5Go" border="0"></img></a>
</div><img src="http://feeds.feedburner.com/~r/jr/~4/p625nYJSQQM" height="1" width="1"/>]]></content:encoded>
			<wfw:commentRss>http://www.justinrummel.com/mactech-conference-2011-how-lion-has-changed-mac-os-x-services-features-and-capabilities/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		<feedburner:origLink>http://www.justinrummel.com/mactech-conference-2011-how-lion-has-changed-mac-os-x-services-features-and-capabilities/</feedburner:origLink></item>
	</channel>
</rss><!-- This Quick Cache file was built for (  www.justinrummel.com/feed/ ) in 0.88141 seconds, on Jan 26th, 2012 at 4:54 am UTC. --><!-- This Quick Cache file will automatically expire ( and be re-built automatically ) on Jan 26th, 2012 at 5:54 am UTC --><!-- +++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ --><!-- Quick Cache Is Fully Functional :-) ... A Quick Cache file was just served for (  www.justinrummel.com/feed/ ) in 0.00045 seconds, on Jan 26th, 2012 at 4:54 am UTC. -->

