<?xml version='1.0' encoding='UTF-8'?><?xml-stylesheet href="http://www.blogger.com/styles/atom.css" type="text/css"?><feed xmlns='http://www.w3.org/2005/Atom' xmlns:openSearch='http://a9.com/-/spec/opensearchrss/1.0/' xmlns:georss='http://www.georss.org/georss'><id>tag:blogger.com,1999:blog-6347225410141611306</id><updated>2010-02-08T09:40:48.777-05:00</updated><title type='text'>Matthew Sporleder's website</title><subtitle type='html'>netbsd technology identity ldap musings perl programming c</subtitle><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/6347225410141611306/posts/default'/><link rel='alternate' type='text/html' href='http://mspo.com/'/><link rel='hub' href='http://pubsubhubbub.appspot.com/'/><link rel='next' type='application/atom+xml' href='http://www.blogger.com/feeds/6347225410141611306/posts/default?start-index=26&amp;max-results=25'/><link rel='http://schemas.google.com/g/2005#feed' type='application/atom+xml' href='http://mspo.com/atom.xml'/><author><name>matthew sporleder</name><uri>http://www.blogger.com/profile/06777351489564855814</uri><email>noreply@blogger.com</email></author><generator version='7.00' uri='http://www.blogger.com'>Blogger</generator><openSearch:totalResults>74</openSearch:totalResults><openSearch:startIndex>1</openSearch:startIndex><openSearch:itemsPerPage>25</openSearch:itemsPerPage><entry><id>tag:blogger.com,1999:blog-6347225410141611306.post-8409623886450621834</id><published>2010-02-03T20:49:00.001-05:00</published><updated>2010-02-03T20:50:37.223-05:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='NetBSD'/><title type='text'>One more NetBSD security advisory</title><content type='html'>&lt;a href="http://mail-index.netbsd.org/security-announce/2010/02/03/msg000041.html"&gt;azalia(4)/hdaudio(4) negative mixer index panic&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;Don't turn your volume to -1!&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/6347225410141611306-8409623886450621834?l=mspo.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://www.blogger.com/feeds/6347225410141611306/8409623886450621834/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='https://www.blogger.com/comment.g?blogID=6347225410141611306&amp;postID=8409623886450621834' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/6347225410141611306/posts/default/8409623886450621834'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/6347225410141611306/posts/default/8409623886450621834'/><link rel='alternate' type='text/html' href='http://mspo.com/2010/02/one-more-netbsd-security-advisory.html' title='One more NetBSD security advisory'/><author><name>matthew sporleder</name><uri>http://www.blogger.com/profile/06777351489564855814</uri><email>noreply@blogger.com</email><gd:extendedProperty xmlns:gd='http://schemas.google.com/g/2005' name='OpenSocialUserId' value='09307313760683642124'/></author><thr:total xmlns:thr='http://purl.org/syndication/thread/1.0'>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-6347225410141611306.post-4968952790579574802</id><published>2010-02-02T15:52:00.002-05:00</published><updated>2010-02-02T15:54:47.781-05:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='NetBSD'/><title type='text'>NetBSD - hackathon + two security advisories</title><content type='html'>&lt;a href="http://mail-index.netbsd.org/current-users/2010/02/02/msg012326.html"&gt;The 13th Hackathon February 19-22 2010&lt;/a&gt;,&lt;br /&gt;come and join us on IRC channel #netbsd-code at FreeNode (irc.freenode.net).&lt;br /&gt;&lt;br /&gt;&lt;a href="http://mail-index.netbsd.org/current-users/2010/02/02/msg012325.html"&gt;OpenSSL TLS renegotiation man in the middle vulnerability&lt;/a&gt;  &lt;-- everyone&lt;br /&gt;&lt;br /&gt;&lt;a href="http://mail-index.netbsd.org/current-users/2010/02/02/msg012324.html"&gt;File system module autoloading Denial of Service attack&lt;/a&gt;  &lt;-- current-only&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/6347225410141611306-4968952790579574802?l=mspo.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://www.blogger.com/feeds/6347225410141611306/4968952790579574802/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='https://www.blogger.com/comment.g?blogID=6347225410141611306&amp;postID=4968952790579574802' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/6347225410141611306/posts/default/4968952790579574802'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/6347225410141611306/posts/default/4968952790579574802'/><link rel='alternate' type='text/html' href='http://mspo.com/2010/02/netbsd-hackathon-two-security.html' title='NetBSD - hackathon + two security advisories'/><author><name>matthew sporleder</name><uri>http://www.blogger.com/profile/06777351489564855814</uri><email>noreply@blogger.com</email><gd:extendedProperty xmlns:gd='http://schemas.google.com/g/2005' name='OpenSocialUserId' value='09307313760683642124'/></author><thr:total xmlns:thr='http://purl.org/syndication/thread/1.0'>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-6347225410141611306.post-5161874013335005698</id><published>2010-01-27T09:46:00.002-05:00</published><updated>2010-01-27T09:51:53.637-05:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='NetBSD'/><title type='text'>NetBSD network tuning thread</title><content type='html'>The recent thread &lt;a href="http://mail-index.netbsd.org/current-users/2010/01/27/msg012237.html"&gt;Why is my gigabit ethernet so slow?&lt;/a&gt; shows application of old recommendations found &lt;a href="http://proj.sunet.se/E2E/tcptune.html"&gt;here&lt;/a&gt;. (NetBSD 2-era; also includes tips for freebsd, linux, and windows!)&lt;br /&gt;&lt;br /&gt;This thread also shows NMBCLUSTERS cropping up again as the first part of solving a performance problem.  I wonder why it isn't dynamicially tunable.  It looks like freebsd can pass it on the boot options, at least.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/6347225410141611306-5161874013335005698?l=mspo.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://www.blogger.com/feeds/6347225410141611306/5161874013335005698/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='https://www.blogger.com/comment.g?blogID=6347225410141611306&amp;postID=5161874013335005698' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/6347225410141611306/posts/default/5161874013335005698'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/6347225410141611306/posts/default/5161874013335005698'/><link rel='alternate' type='text/html' href='http://mspo.com/2010/01/netbsd-network-tuning-thread.html' title='NetBSD network tuning thread'/><author><name>matthew sporleder</name><uri>http://www.blogger.com/profile/06777351489564855814</uri><email>noreply@blogger.com</email><gd:extendedProperty xmlns:gd='http://schemas.google.com/g/2005' name='OpenSocialUserId' value='09307313760683642124'/></author><thr:total xmlns:thr='http://purl.org/syndication/thread/1.0'>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-6347225410141611306.post-826732027834399880</id><published>2010-01-22T22:07:00.003-05:00</published><updated>2010-01-22T22:17:34.907-05:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='NetBSD'/><title type='text'>NetBSD - still fun</title><content type='html'>&lt;a href="http://www.theregister.co.uk/2010/01/22/linux_developers_pay/"&gt;the register says that 75% of linux coders get paid to work on linux&lt;/a&gt;.  This reminds me of a study I wanted to see a few years ago of how much of linux was corporate sponsored development and, truly, &lt;a href="http://en.wikipedia.org/wiki/Just_for_Fun"&gt;not very much fun anymore&lt;/a&gt;.&lt;br /&gt;&lt;br /&gt;Now, I only know of &lt;a href="http://www.netbsd.org/changes/2007.html#hiring-ad"&gt;one NetBSD developer who definitely got paid to work&lt;/a&gt;, and I helped pay for it by &lt;a href="http://www.netbsd.org/donations/"&gt;donating&lt;/a&gt;!  So remember when you're using NetBSD that it truly happened (and continues to do so) by miracles, charity, and general insanity which I find more appealing than cubicles.  I'm in one of those all day anyway.  :)&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/6347225410141611306-826732027834399880?l=mspo.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://www.blogger.com/feeds/6347225410141611306/826732027834399880/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='https://www.blogger.com/comment.g?blogID=6347225410141611306&amp;postID=826732027834399880' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/6347225410141611306/posts/default/826732027834399880'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/6347225410141611306/posts/default/826732027834399880'/><link rel='alternate' type='text/html' href='http://mspo.com/2010/01/netbsd-still-fun.html' title='NetBSD - still fun'/><author><name>matthew sporleder</name><uri>http://www.blogger.com/profile/06777351489564855814</uri><email>noreply@blogger.com</email><gd:extendedProperty xmlns:gd='http://schemas.google.com/g/2005' name='OpenSocialUserId' value='09307313760683642124'/></author><thr:total xmlns:thr='http://purl.org/syndication/thread/1.0'>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-6347225410141611306.post-5505880918825853625</id><published>2010-01-18T23:06:00.003-05:00</published><updated>2010-02-08T09:40:48.783-05:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='NetBSD'/><title type='text'>NetBSD postfix to gmail relay</title><content type='html'>Over the weekend I decided to configure my NetBSD system to stop sending emails to the local mbox (where I never read them) and start sending emails correctly to the internet.  I also wanted to do so using my gmail account.  Most of my info came from &lt;a href="http://souptonuts.sourceforge.net/postfix_tutorial.html"&gt;here&lt;/a&gt; but it's a little verbose for my tastes.  Basically I had to do the following:&lt;br /&gt;&lt;ul&gt;&lt;br /&gt;&lt;li&gt;/etc/mk.conf&lt;/li&gt;&lt;br /&gt;&lt;pre&gt;&lt;br /&gt;PKG_OPTIONS.postfix+= sasl&lt;br /&gt;ACCEPTABLE_LICENSES+= postfix-license&lt;br /&gt;&lt;/pre&gt;&lt;br /&gt;&lt;li&gt;build and install pkgsrc/mail/postfix&lt;/li&gt;&lt;br /&gt;&lt;li&gt;install (I used a binary) pkgsrc/security/cyrus-sasl&lt;/li&gt;&lt;br /&gt;&lt;li&gt;install (I used a binary) pkgsrc/security/cy2-plain-2.1.23&lt;/li&gt;&lt;br /&gt;&lt;li&gt;cp /usr/pkg/share/examples/rc.d/postfix /etc/rc.d/&lt;/li&gt;&lt;br /&gt;&lt;li&gt;modify /usr/pkg/etc/postfix/main.cf&lt;/li&gt;&lt;br /&gt;&lt;pre&gt;&lt;br /&gt;relayhost = [smtp.gmail.com]:587&lt;br /&gt;&lt;br /&gt;#use ssl/tls&lt;br /&gt;smtp_use_tls = yes&lt;br /&gt;smtp_tls_policy_maps = hash:/usr/pkg/etc/postfix/tls_policy&lt;br /&gt;&lt;br /&gt;#Now add a username and password&lt;br /&gt;smtp_sasl_auth_enable = yes&lt;br /&gt;smtp_sasl_password_maps = hash:/usr/pkg/etc/postfix/sasl_passwd&lt;br /&gt;smtp_sasl_security_options=&lt;br /&gt;&lt;/pre&gt;&lt;br /&gt;&lt;li&gt;add /usr/pkg/etc/postfix/tls_policy&lt;/li&gt;&lt;br /&gt;&lt;pre&gt;&lt;br /&gt;smtp.gmail.com         MUST&lt;br /&gt;&lt;/pre&gt;&lt;br /&gt;&lt;li&gt;add /usr/pkg/etc/postfix/sasl_passwd&lt;/li&gt;&lt;br /&gt;&lt;pre&gt;&lt;br /&gt;[smtp.gmail.com]:587              username@gmail.com:password&lt;br /&gt;&lt;/pre&gt;&lt;br /&gt;&lt;li&gt;/usr/pkg/sbin/postmap /usr/pkg/etc/postfix/tls_policy&lt;/li&gt;&lt;br /&gt;&lt;li&gt;/usr/pkg/sbin/postmap /usr/pkg/etc/postfix/sasl_passwd&lt;/li&gt;&lt;br /&gt;&lt;li&gt;/etc/rc.d/postfix start&lt;/li&gt;&lt;br /&gt;&lt;/ul&gt;&lt;br /&gt;&lt;br /&gt;Now test with mailx someone@something.com and watch the maillog.  I do get a warning about not liking the thawt cert, so I may figure out how to import it, but other tutorials all talked about needing your own CA and other insanity.  I would hope the MUST in tls_policy insured that I was using SSL.  I'll tcpdump and see sometime, but for now this seems to be all that's needed.&lt;br /&gt;&lt;br /&gt;(Can we get SASL in base?  I know LDAP, kerberos, and NFSv4 would appreciate it)&lt;br /&gt;&lt;br /&gt;UPDATE!&lt;br /&gt;To fix the ssl cert warning, add the following package:&lt;br /&gt;mozilla-rootcerts&lt;br /&gt;then &lt;br /&gt;cd /etc/openssl/certs&lt;br /&gt;mozilla-rootcerts extract&lt;br /&gt;mozilla-rootcerts rehash&lt;br /&gt;&lt;br /&gt;And add the following to your main.cf:&lt;br /&gt;smtp_tls_CApath = /etc/openssl/certs&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/6347225410141611306-5505880918825853625?l=mspo.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://www.blogger.com/feeds/6347225410141611306/5505880918825853625/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='https://www.blogger.com/comment.g?blogID=6347225410141611306&amp;postID=5505880918825853625' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/6347225410141611306/posts/default/5505880918825853625'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/6347225410141611306/posts/default/5505880918825853625'/><link rel='alternate' type='text/html' href='http://mspo.com/2010/01/netbsd-postfix-to-gmail-relay.html' title='NetBSD postfix to gmail relay'/><author><name>matthew sporleder</name><uri>http://www.blogger.com/profile/06777351489564855814</uri><email>noreply@blogger.com</email><gd:extendedProperty xmlns:gd='http://schemas.google.com/g/2005' name='OpenSocialUserId' value='09307313760683642124'/></author><thr:total xmlns:thr='http://purl.org/syndication/thread/1.0'>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-6347225410141611306.post-2217765645759781510</id><published>2010-01-15T18:24:00.004-05:00</published><updated>2010-01-15T18:29:02.949-05:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='NetBSD'/><title type='text'>NetBSD on wikipedia</title><content type='html'>&lt;a href="http://mail-index.netbsd.org/netbsd-users/2010/01/09/msg005280.html"&gt;Call for improvement of NetBSD on wikipedia.&lt;/a&gt;  If you have some free time feel free to improve the NetBSD articles on wikipedia.  I've added the NetBSD template and some stubs that could use some example usage screenshots (netpgp for sure).&lt;br /&gt;&lt;br /&gt;&lt;a href="http://en.wikipedia.org/wiki/Template:NetBSD"&gt;Improve everything linked here!&lt;/a&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/6347225410141611306-2217765645759781510?l=mspo.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://www.blogger.com/feeds/6347225410141611306/2217765645759781510/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='https://www.blogger.com/comment.g?blogID=6347225410141611306&amp;postID=2217765645759781510' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/6347225410141611306/posts/default/2217765645759781510'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/6347225410141611306/posts/default/2217765645759781510'/><link rel='alternate' type='text/html' href='http://mspo.com/2010/01/netbsd-on-wikipedia.html' title='NetBSD on wikipedia'/><author><name>matthew sporleder</name><uri>http://www.blogger.com/profile/06777351489564855814</uri><email>noreply@blogger.com</email><gd:extendedProperty xmlns:gd='http://schemas.google.com/g/2005' name='OpenSocialUserId' value='09307313760683642124'/></author><thr:total xmlns:thr='http://purl.org/syndication/thread/1.0'>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-6347225410141611306.post-3483034360624714772</id><published>2009-12-31T11:42:00.002-05:00</published><updated>2009-12-31T11:51:24.906-05:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='NetBSD'/><title type='text'>NetBSD, MAC, etc</title><content type='html'>&lt;a href="http://mail-index.netbsd.org/tech-kern/2009/12/31/msg006765.html"&gt;recently&lt;/a&gt;, &lt;a href="http://mail-index.netbsd.org/tech-kern/2009/12/30/msg006762.html"&gt;Elad Efrat&lt;/a&gt; has been &lt;a href="http://mail-index.netbsd.org/tech-kern/2009/12/30/msg006756.html"&gt;sending&lt;/a&gt; in a lot of patches to &lt;a href="http://mail-index.netbsd.org/tech-kern/2009/12/29/msg006732.html"&gt;move&lt;/a&gt; closer to full &lt;a href="http://mail-index.netbsd.org/tech-kern/2009/12/24/msg006689.html"&gt;integration&lt;/a&gt; with &lt;a href="http://netbsd.gw.com/cgi-bin/man-cgi?veriexec++NetBSD-current"&gt;veriexec&lt;/a&gt;, &lt;a href="http://netbsd.gw.com/cgi-bin/man-cgi?secmodel++NetBSD-current"&gt;secmodel&lt;/a&gt;, and apparently &lt;a href="http://en.wikipedia.org/wiki/Mandatory_Access_Control"&gt;MAC&lt;/a&gt; as a whole.&lt;br /&gt;&lt;br /&gt;I expect to see a lot of increased interest in kauth, secmodel, veriexec, and friends as some of these integrations efforts continue to work their way through the entire system.  -current should be interesting for a while, at least.  :)&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/6347225410141611306-3483034360624714772?l=mspo.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://www.blogger.com/feeds/6347225410141611306/3483034360624714772/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='https://www.blogger.com/comment.g?blogID=6347225410141611306&amp;postID=3483034360624714772' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/6347225410141611306/posts/default/3483034360624714772'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/6347225410141611306/posts/default/3483034360624714772'/><link rel='alternate' type='text/html' href='http://mspo.com/2009/12/netbsd-mac-etc.html' title='NetBSD, MAC, etc'/><author><name>matthew sporleder</name><uri>http://www.blogger.com/profile/06777351489564855814</uri><email>noreply@blogger.com</email><gd:extendedProperty xmlns:gd='http://schemas.google.com/g/2005' name='OpenSocialUserId' value='09307313760683642124'/></author><thr:total xmlns:thr='http://purl.org/syndication/thread/1.0'>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-6347225410141611306.post-5510707553720194211</id><published>2009-12-24T08:02:00.002-05:00</published><updated>2009-12-24T08:04:36.205-05:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='linux'/><title type='text'>cygwin update</title><content type='html'>Cygwin, a system I've been using for years at work to make my windows PC more usable, &lt;a href="http://cygwin.com/ml/cygwin-announce/2009-12/msg00027.html"&gt;has been updated&lt;/a&gt;.&lt;br /&gt;&lt;br /&gt;It claims to support files with :'s in the name, but I'll have to see.  This is a nice feature when someone checks in a bunch of CPAN docs from a unix machine into your svn repo.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/6347225410141611306-5510707553720194211?l=mspo.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://www.blogger.com/feeds/6347225410141611306/5510707553720194211/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='https://www.blogger.com/comment.g?blogID=6347225410141611306&amp;postID=5510707553720194211' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/6347225410141611306/posts/default/5510707553720194211'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/6347225410141611306/posts/default/5510707553720194211'/><link rel='alternate' type='text/html' href='http://mspo.com/2009/12/cygwin-update.html' title='cygwin update'/><author><name>matthew sporleder</name><uri>http://www.blogger.com/profile/06777351489564855814</uri><email>noreply@blogger.com</email><gd:extendedProperty xmlns:gd='http://schemas.google.com/g/2005' name='OpenSocialUserId' value='09307313760683642124'/></author><thr:total xmlns:thr='http://purl.org/syndication/thread/1.0'>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-6347225410141611306.post-9061679253508891570</id><published>2009-12-13T20:46:00.002-05:00</published><updated>2009-12-13T20:49:19.467-05:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='pkgsrc'/><title type='text'>mod_geoip2 added to pkgsrc</title><content type='html'>I've added mod_geoip2 to pkgsrc-wip so if you want to do some geographic-based redirection with apache, give it a try!&lt;br /&gt;&lt;br /&gt;This was a funny package because it didn't have a Makefile.  I probably need to add a message about configuring apache, downloading the actual geoip database, etc.  I think it's a good start, though.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/6347225410141611306-9061679253508891570?l=mspo.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://www.blogger.com/feeds/6347225410141611306/9061679253508891570/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='https://www.blogger.com/comment.g?blogID=6347225410141611306&amp;postID=9061679253508891570' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/6347225410141611306/posts/default/9061679253508891570'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/6347225410141611306/posts/default/9061679253508891570'/><link rel='alternate' type='text/html' href='http://mspo.com/2009/12/modgeoip2-added-to-pkgsrc.html' title='mod_geoip2 added to pkgsrc'/><author><name>matthew sporleder</name><uri>http://www.blogger.com/profile/06777351489564855814</uri><email>noreply@blogger.com</email><gd:extendedProperty xmlns:gd='http://schemas.google.com/g/2005' name='OpenSocialUserId' value='09307313760683642124'/></author><thr:total xmlns:thr='http://purl.org/syndication/thread/1.0'>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-6347225410141611306.post-8814622818819130416</id><published>2009-12-09T17:57:00.002-05:00</published><updated>2009-12-10T10:09:55.301-05:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='NetBSD'/><title type='text'>Xen 4 and NetBSD</title><content type='html'>Some NetBSD patches have been approved upstream by Xen.  This is a good thing for Xen 4 on NetBSD.  :)&lt;br /&gt;&lt;a href="http://mail-index.netbsd.org/port-xen/2009/12/09/msg005579.html"&gt;Xen 4.0 on NetBSD&lt;/a&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/6347225410141611306-8814622818819130416?l=mspo.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://www.blogger.com/feeds/6347225410141611306/8814622818819130416/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='https://www.blogger.com/comment.g?blogID=6347225410141611306&amp;postID=8814622818819130416' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/6347225410141611306/posts/default/8814622818819130416'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/6347225410141611306/posts/default/8814622818819130416'/><link rel='alternate' type='text/html' href='http://mspo.com/2009/12/xen-4-and-netbsd.html' title='Xen 4 and NetBSD'/><author><name>matthew sporleder</name><uri>http://www.blogger.com/profile/06777351489564855814</uri><email>noreply@blogger.com</email><gd:extendedProperty xmlns:gd='http://schemas.google.com/g/2005' name='OpenSocialUserId' value='09307313760683642124'/></author><thr:total xmlns:thr='http://purl.org/syndication/thread/1.0'>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-6347225410141611306.post-681868885355278343</id><published>2009-12-08T10:46:00.003-05:00</published><updated>2009-12-10T10:06:40.216-05:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='NetBSD'/><title type='text'>NetBSD terminfo and curses improved</title><content type='html'>Roy Marples has recently completed his work to make the NetBSD curses implementation more useful and compatible.  So if you're a fan of NetBSD's games, vi, etc, &lt;a href=http://mail-index.netbsd.org/tech-userlevel/2009/12/08/msg003017.html&gt;check it out&lt;/a&gt;.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/6347225410141611306-681868885355278343?l=mspo.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://www.blogger.com/feeds/6347225410141611306/681868885355278343/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='https://www.blogger.com/comment.g?blogID=6347225410141611306&amp;postID=681868885355278343' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/6347225410141611306/posts/default/681868885355278343'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/6347225410141611306/posts/default/681868885355278343'/><link rel='alternate' type='text/html' href='http://mspo.com/2009/12/netbsd-terminfo-and-curses-improved.html' title='NetBSD terminfo and curses improved'/><author><name>matthew sporleder</name><uri>http://www.blogger.com/profile/06777351489564855814</uri><email>noreply@blogger.com</email><gd:extendedProperty xmlns:gd='http://schemas.google.com/g/2005' name='OpenSocialUserId' value='09307313760683642124'/></author><thr:total xmlns:thr='http://purl.org/syndication/thread/1.0'>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-6347225410141611306.post-3815954650971807981</id><published>2009-12-05T07:15:00.003-05:00</published><updated>2009-12-05T07:21:26.540-05:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='os x'/><title type='text'>iChat with NetGear SPI (stateful packet inspection) is problematic</title><content type='html'>So for a while now I've noticed that when &lt;a href="http://toutsuite.blogspot.com/"&gt;Girl X&lt;/a&gt; is online from home I am unable to hit my website or ssh to my house.  I thought this was related to my office's firewall but last night noticed that it was happening locally to.&lt;br /&gt;&lt;br /&gt;The problem seems to be that netgear's SPI is triggered when iChat (not adium) signs into AIM and it decides to SHUT DOWN ALL INCOMING TRAFFIC!  So if this website had extended outages during the day, that could have been a potential reason.  Anyway, netgear's SPI sucks and I should put my soekris back in the firewall hotseat.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/6347225410141611306-3815954650971807981?l=mspo.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://www.blogger.com/feeds/6347225410141611306/3815954650971807981/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='https://www.blogger.com/comment.g?blogID=6347225410141611306&amp;postID=3815954650971807981' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/6347225410141611306/posts/default/3815954650971807981'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/6347225410141611306/posts/default/3815954650971807981'/><link rel='alternate' type='text/html' href='http://mspo.com/2009/12/ichat-with-netgear-spi-stateful-packet.html' title='iChat with NetGear SPI (stateful packet inspection) is problematic'/><author><name>matthew sporleder</name><uri>http://www.blogger.com/profile/06777351489564855814</uri><email>noreply@blogger.com</email><gd:extendedProperty xmlns:gd='http://schemas.google.com/g/2005' name='OpenSocialUserId' value='09307313760683642124'/></author><thr:total xmlns:thr='http://purl.org/syndication/thread/1.0'>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-6347225410141611306.post-7629423697960941905</id><published>2009-12-04T20:30:00.003-05:00</published><updated>2009-12-04T20:34:02.326-05:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='NetBSD'/><title type='text'>BSDCan 2010 announced - represent NetBSD</title><content type='html'>FYI- &lt;a href="http://mail-index.netbsd.org/netbsd-advocacy/2009/12/01/msg000211.html"&gt;BSDCan 2010&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;If you're going to be in Canada, go to BSDCan.  I went to NYCBSDCon and had a pretty good time meeting all kinds of people I see on mailing lists, irc, etc.  (Hello, Christos, jlam, and Brian S.), listening to talks about various things, and having something to do when I go somewhere and travel.&lt;br /&gt;&lt;br /&gt;Also if you're doing something interesting, give a talk!  NetBSD does tons of amazing work that no one knows about.  :)&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/6347225410141611306-7629423697960941905?l=mspo.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://www.blogger.com/feeds/6347225410141611306/7629423697960941905/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='https://www.blogger.com/comment.g?blogID=6347225410141611306&amp;postID=7629423697960941905' title='1 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/6347225410141611306/posts/default/7629423697960941905'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/6347225410141611306/posts/default/7629423697960941905'/><link rel='alternate' type='text/html' href='http://mspo.com/2009/12/bsdcan-2010-announced-represent-netbsd.html' title='BSDCan 2010 announced - represent NetBSD'/><author><name>matthew sporleder</name><uri>http://www.blogger.com/profile/06777351489564855814</uri><email>noreply@blogger.com</email><gd:extendedProperty xmlns:gd='http://schemas.google.com/g/2005' name='OpenSocialUserId' value='09307313760683642124'/></author><thr:total xmlns:thr='http://purl.org/syndication/thread/1.0'>1</thr:total></entry><entry><id>tag:blogger.com,1999:blog-6347225410141611306.post-5185880646936208423</id><published>2009-11-21T11:32:00.002-05:00</published><updated>2009-11-21T11:46:51.403-05:00</updated><title type='text'>NetBSD and NFS v4</title><content type='html'>One area in the larger BSD world where I am disappointed is the lack of NFSv4 support.  Redhat has had it for a while, solaris (of course) has it, etc.  Anyway, I found this link: &lt;a href="http://snowhite.cis.uoguelph.ca/nfsv4/"&gt;My BSD/Mac OS X NFS Version 4&lt;/a&gt; and I was wondering what makes nfsv4 support so difficult?  I know that 100% compliance is probably quite a hurdle as it promises many things (full acl support, kerberos, sctp, world peace) but partial support would be a huge win.&lt;br /&gt;&lt;br /&gt;I know a lot of people "don't like nfs" for whatever weird reasons, but it's impact on the enterprise is massive and it's still really the best and most portable way to share storage.  In my experience it's also much more stable and safe than SAN with clustered filesystems.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/6347225410141611306-5185880646936208423?l=mspo.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://www.blogger.com/feeds/6347225410141611306/5185880646936208423/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='https://www.blogger.com/comment.g?blogID=6347225410141611306&amp;postID=5185880646936208423' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/6347225410141611306/posts/default/5185880646936208423'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/6347225410141611306/posts/default/5185880646936208423'/><link rel='alternate' type='text/html' href='http://mspo.com/2009/11/netbsd-and-nfs-v4.html' title='NetBSD and NFS v4'/><author><name>matthew sporleder</name><uri>http://www.blogger.com/profile/06777351489564855814</uri><email>noreply@blogger.com</email><gd:extendedProperty xmlns:gd='http://schemas.google.com/g/2005' name='OpenSocialUserId' value='09307313760683642124'/></author><thr:total xmlns:thr='http://purl.org/syndication/thread/1.0'>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-6347225410141611306.post-5457358432366402664</id><published>2009-11-14T15:53:00.003-05:00</published><updated>2009-11-14T16:07:40.413-05:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='java programming'/><title type='text'>programming jrobin on the command line</title><content type='html'>So at work we recently upgraded our OpenNMS system and noticed that it switched from normal &lt;a href="http://oss.oetiker.ch/rrdtool/"&gt;RRDtool&lt;/a&gt; (which is awesome software) to the pure java alternative &lt;a href="http://www.jrobin.org/index.php/Main_Page"&gt;jrobin&lt;/a&gt;.  This makes sense because opennms is java software and it's generally easier to keep things in the family.  They even took over the development of jrobin!  However, we run a few custom reports requiring custom &lt;a href="http://oss.oetiker.ch/rrdtool/gallery/index.en.html"&gt;graphs&lt;/a&gt;.&lt;br /&gt;&lt;br /&gt;So, now we're working with traditional rrdtool files and jrobin files, which are not compatible.  For one-time generation, you can convert between the two (at least, jrobin claims to do that) but for on-the-fly use it's handy to have a command-line interface to produce these graphs.&lt;br /&gt;&lt;br /&gt;Okay, jrobin comes with a class called the RrdCommander, which is supposed to offer an rrdtool-compatible interface to jrobin files.  RrdCommander's info, create, etc all seem to work as advertised, except of course the GRAPH function!!!  Now, I'm not expert java programmer, but the NullPointerExceptions in org.jrobin.cmd.RrdGraphCmd are so prevalent that trying to create a patch is pointless.  The only sane advice is "try again".  &lt;br /&gt;&lt;br /&gt;Now that our five-line java program is out of the question we must try the next interface- the XML Template.  Luckily, I have found that this basically works, but it has some quirks.  The method to tell you if it's reading your template variables (hasVariables()) simply does not work.  Using a '-' for the filename creates an "in memory graph", but then doesn't leave you a way to get at the graph data and, say, dump it to stdout like using - would imply.  (luckily, I figured out how to implement this myself despite being told it was impossible in freenode's ##java)  The second quirk is that it uses your height and width for the actual graph, but then pads on the legends, leaving you with a somewhat random image size.  Anyway, I now mostly have what I need so I hope to move forward with my life.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/6347225410141611306-5457358432366402664?l=mspo.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://www.blogger.com/feeds/6347225410141611306/5457358432366402664/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='https://www.blogger.com/comment.g?blogID=6347225410141611306&amp;postID=5457358432366402664' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/6347225410141611306/posts/default/5457358432366402664'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/6347225410141611306/posts/default/5457358432366402664'/><link rel='alternate' type='text/html' href='http://mspo.com/2009/11/programming-jrobin-on-command-line.html' title='programming jrobin on the command line'/><author><name>matthew sporleder</name><uri>http://www.blogger.com/profile/06777351489564855814</uri><email>noreply@blogger.com</email><gd:extendedProperty xmlns:gd='http://schemas.google.com/g/2005' name='OpenSocialUserId' value='09307313760683642124'/></author><thr:total xmlns:thr='http://purl.org/syndication/thread/1.0'>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-6347225410141611306.post-4552825430738809880</id><published>2009-11-14T08:12:00.003-05:00</published><updated>2009-11-24T22:31:10.114-05:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='NetBSD'/><title type='text'>NetBSD defaulting to more  security, then the normal amount, then back again!</title><content type='html'>&lt;a href="http://mail-index.netbsd.org/current-users/2009/11/11/msg011155.html"&gt;HEADS-UP: Stack Smash Protection enabled by default for amd64 and i386&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;Later on in the thread, however, &lt;a href="http://mail-index.netbsd.org/current-users/2009/11/12/msg011195.html"&gt;it's revoked&lt;/a&gt; because of performance concerns.&lt;br /&gt;&lt;br /&gt;&lt;b&gt;UPDATE!&lt;/b&gt; &lt;a href="http://mail-index.netbsd.org/current-users/2009/11/24/msg011382.html"&gt;Re-enabled!&lt;/a&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/6347225410141611306-4552825430738809880?l=mspo.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://www.blogger.com/feeds/6347225410141611306/4552825430738809880/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='https://www.blogger.com/comment.g?blogID=6347225410141611306&amp;postID=4552825430738809880' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/6347225410141611306/posts/default/4552825430738809880'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/6347225410141611306/posts/default/4552825430738809880'/><link rel='alternate' type='text/html' href='http://mspo.com/2009/11/netbsd-defaulting-to-more-security-then.html' title='NetBSD defaulting to more  security, then the normal amount, then back again!'/><author><name>matthew sporleder</name><uri>http://www.blogger.com/profile/06777351489564855814</uri><email>noreply@blogger.com</email><gd:extendedProperty xmlns:gd='http://schemas.google.com/g/2005' name='OpenSocialUserId' value='09307313760683642124'/></author><thr:total xmlns:thr='http://purl.org/syndication/thread/1.0'>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-6347225410141611306.post-766663165376466186</id><published>2009-11-09T21:05:00.002-05:00</published><updated>2009-11-09T21:08:37.315-05:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='NetBSD'/><title type='text'>NetBSD over git- call for collaboration</title><content type='html'>&lt;a href=http://mail-index.netbsd.org/current-users/2009/11/09/msg011111.html&gt;my git testing&lt;/a&gt; shows that the git server needs to be fast!&lt;br /&gt;&lt;br /&gt;If anyone would like to retry what I did, please read the above-mentioned email and look at the commands after you checkout netbsd's src from git:&lt;br /&gt;git clone http://ftp.netbsd.org/pub/NetBSD/misc/repositories/git/src&lt;br /&gt;&lt;br /&gt;The NetBSD src tree is roughly four-times larger than the linux kernel and dragonflybsd, so it's definitely one of the larger projects to take on git.  Let us know your findings.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/6347225410141611306-766663165376466186?l=mspo.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://www.blogger.com/feeds/6347225410141611306/766663165376466186/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='https://www.blogger.com/comment.g?blogID=6347225410141611306&amp;postID=766663165376466186' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/6347225410141611306/posts/default/766663165376466186'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/6347225410141611306/posts/default/766663165376466186'/><link rel='alternate' type='text/html' href='http://mspo.com/2009/11/netbsd-over-git-call-for-collaboration.html' title='NetBSD over git- call for collaboration'/><author><name>matthew sporleder</name><uri>http://www.blogger.com/profile/06777351489564855814</uri><email>noreply@blogger.com</email><gd:extendedProperty xmlns:gd='http://schemas.google.com/g/2005' name='OpenSocialUserId' value='09307313760683642124'/></author><thr:total xmlns:thr='http://purl.org/syndication/thread/1.0'>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-6347225410141611306.post-1917032716048410140</id><published>2009-10-31T15:44:00.003-04:00</published><updated>2009-10-31T16:05:47.415-04:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='apache tips'/><title type='text'>greed in apache rewrite rules</title><content type='html'>In modern apache, mod_rewrite uses PCRE instead of your system's regexp.  One thing to watch out for in rules is greediness.  Basically, each matching rule will attempt to match the maximum amount allowable to satisfy a rule.  This, however, is rarely what you want when using statements like (.*) in the middle of a RewriteRule.  (although it's usually exactly what you want at the end of a rule).&lt;br /&gt;&lt;br /&gt;Here's a basic demonstration (watch how $1 takes the largest possible string):&lt;br /&gt;#Rewriting with two greedy capture anything statements split by a '/'&lt;br /&gt; RewriteRule ^/test/(.*)/(.*)$ /foo?one=$1&amp;two=$2 [R,L]&lt;br /&gt;&lt;br /&gt;Results:&lt;br /&gt;&lt;i&gt;&lt;br /&gt;request&lt;br /&gt;&gt; GET /test/foo/bar/moo HTTP/1.1&lt;br /&gt;&lt;br /&gt;response&lt;br /&gt;&lt; HTTP/1.x 302 Found&lt;br /&gt;&lt; Location: http://mspo.com/foo?one=foo/bar&amp;two=moo&lt;br /&gt;&lt;/i&gt;&lt;br /&gt;Now switch to non-greedy mode:&lt;br /&gt;#Rewriting with one non-greedy capture anything followed by a greedy (see how $1 takes the smallest possible string)&lt;br /&gt; RewriteRule ^/test/(.*?)/(.*)$ /foo?one=$1&amp;two=$2 [R,L]&lt;br /&gt;&lt;br /&gt;Results:&lt;br /&gt;&lt;i&gt;&lt;br /&gt;request&lt;br /&gt;&gt; GET /test/foo/bar/moo HTTP/1.1&lt;br /&gt;&lt;br /&gt;response&lt;br /&gt;&lt; HTTP/1.x 302 Found&lt;br /&gt;&lt; Location: http://reallygothic.com/foo?one=foo&amp;two=bar/moo&lt;br /&gt;&lt;/i&gt;&lt;br /&gt;When using aggressive captures (.+) or (.*) in the middle of your rule, think carefully about using the ? to modify greed characteristics to make sure you get exactly what you want.&lt;br /&gt;&lt;br /&gt;For extra testing confusion, a test with just two parameters (GET /test/foo/bar HTTP/1.1) would have shown these two rules to be exactly the same.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/6347225410141611306-1917032716048410140?l=mspo.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://www.blogger.com/feeds/6347225410141611306/1917032716048410140/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='https://www.blogger.com/comment.g?blogID=6347225410141611306&amp;postID=1917032716048410140' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/6347225410141611306/posts/default/1917032716048410140'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/6347225410141611306/posts/default/1917032716048410140'/><link rel='alternate' type='text/html' href='http://mspo.com/2009/10/greed-in-apache-rewrite-rules.html' title='greed in apache rewrite rules'/><author><name>matthew sporleder</name><uri>http://www.blogger.com/profile/06777351489564855814</uri><email>noreply@blogger.com</email><gd:extendedProperty xmlns:gd='http://schemas.google.com/g/2005' name='OpenSocialUserId' value='09307313760683642124'/></author><thr:total xmlns:thr='http://purl.org/syndication/thread/1.0'>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-6347225410141611306.post-4071134096453982256</id><published>2009-10-21T09:59:00.002-04:00</published><updated>2009-10-21T10:05:02.256-04:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='pkgsrc'/><title type='text'>pkgsrc openjdk7 gets better java font support</title><content type='html'>Fonts in java have always been a challenge for everyone involved as java is supposed to provide a portable environment for programs to run- including GUI!&lt;br /&gt;&lt;br /&gt;Java in netbsd has always been even more of a challenge, but now its font support is getting improved: &lt;a href=http://mail-index.netbsd.org/netbsd-java/2009/10/21/msg000204.html&gt;font support in openjdk7 from pkgsrc&lt;/a&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/6347225410141611306-4071134096453982256?l=mspo.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://www.blogger.com/feeds/6347225410141611306/4071134096453982256/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='https://www.blogger.com/comment.g?blogID=6347225410141611306&amp;postID=4071134096453982256' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/6347225410141611306/posts/default/4071134096453982256'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/6347225410141611306/posts/default/4071134096453982256'/><link rel='alternate' type='text/html' href='http://mspo.com/2009/10/pkgsrc-openjdk7-gets-better-java-font.html' title='pkgsrc openjdk7 gets better java font support'/><author><name>matthew sporleder</name><uri>http://www.blogger.com/profile/06777351489564855814</uri><email>noreply@blogger.com</email><gd:extendedProperty xmlns:gd='http://schemas.google.com/g/2005' name='OpenSocialUserId' value='09307313760683642124'/></author><thr:total xmlns:thr='http://purl.org/syndication/thread/1.0'>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-6347225410141611306.post-3307897367249992999</id><published>2009-10-17T08:43:00.003-04:00</published><updated>2009-10-17T08:50:04.091-04:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='NetBSD'/><title type='text'>NetBSD gets usb device access from userland</title><content type='html'>USB device support in userland: &lt;a href="http://mail-index.netbsd.org/tech-kern/2009/10/14/msg006269.html"&gt;kernel usb device driver support in rump&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;This already works for usb storage devices, so let's try to get some sound cards, network devices, and input devices moved into userspace.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/6347225410141611306-3307897367249992999?l=mspo.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://www.blogger.com/feeds/6347225410141611306/3307897367249992999/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='https://www.blogger.com/comment.g?blogID=6347225410141611306&amp;postID=3307897367249992999' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/6347225410141611306/posts/default/3307897367249992999'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/6347225410141611306/posts/default/3307897367249992999'/><link rel='alternate' type='text/html' href='http://mspo.com/2009/10/netbsd-gets-usb-device-access-from.html' title='NetBSD gets usb device access from userland'/><author><name>matthew sporleder</name><uri>http://www.blogger.com/profile/06777351489564855814</uri><email>noreply@blogger.com</email><gd:extendedProperty xmlns:gd='http://schemas.google.com/g/2005' name='OpenSocialUserId' value='09307313760683642124'/></author><thr:total xmlns:thr='http://purl.org/syndication/thread/1.0'>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-6347225410141611306.post-2242449866372668074</id><published>2009-09-09T07:40:00.004-04:00</published><updated>2009-09-09T08:01:12.781-04:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='project ideas'/><title type='text'>monitoring systems and the sysadmin intranet</title><content type='html'>Recently at work I got myself involved in revamping our monitoring system.  This got me thinking about all of of the things a monitoring system should do for you and the needs of systems people for internal tools.  Basically, for each type of system you want to monitor (os, jvm, webserver, etc) certain aspects should be defined on both the front-end and back-end of the app.&lt;br /&gt;&lt;br /&gt;&lt;table&gt;&lt;br /&gt;&lt;tr&gt;&lt;th&gt;entity&lt;/th&gt;&lt;th&gt;Collection&lt;/th&gt;&lt;th&gt;Storage&lt;/th&gt;&lt;th&gt;Thresholding&lt;/th&gt;&lt;th&gt;Alerting&lt;/th&gt;&lt;th&gt;Display&lt;/th&gt;Reporting&lt;/th&gt;&lt;th&gt;Trending&lt;/th&gt;&lt;/tr&gt;&lt;br /&gt;&lt;tr&gt;&lt;td&gt;OS&lt;/td&gt;&lt;td&gt;SNMP&lt;/td&gt;&lt;td&gt;RRD&lt;/td&gt;&lt;td&gt;disk too full?  CPU too high?&lt;/td&gt;&lt;td&gt;snmp traps, email&lt;/td&gt;&lt;td&gt;RRD for cpu, disk, net&lt;/td&gt;&lt;td&gt;Monthly rollup/curve extrapolation&lt;/td&gt;&lt;/tr&gt;&lt;br /&gt;&lt;tr&gt;&lt;td&gt;Apache httpd&lt;/td&gt;&lt;td&gt;curl/mod_status&lt;/td&gt;&lt;td&gt;RRD,csv&lt;/td&gt;&lt;td&gt;values out of whack?&lt;/td&gt;&lt;td&gt;snmp traps, email&lt;/td&gt;&lt;td&gt;apache-specific template&lt;/td&gt;&lt;td&gt;Monthly rollup&lt;/td&gt;&lt;/tr&gt;&lt;br /&gt;&lt;tr&gt;&lt;td&gt;JVM&lt;/td&gt;&lt;td&gt;JMX&lt;/td&gt;&lt;td&gt;RRD&lt;/td&gt;&lt;td&gt;GC too long?  Old Gen too full&lt;/td&gt;&lt;td&gt;snmp traps, email&lt;/td&gt;&lt;td&gt;increase heap?&lt;/td&gt;&lt;/tr&gt;&lt;br /&gt;&lt;/table&gt;&lt;br /&gt;&lt;br /&gt;And that doesn't even start to get into the front-end needs for OLAP-style reporting needed for all of this stuff, a wiki to document everything, an admin interface to define new templates and collections, etc etc etc.&lt;br /&gt;&lt;br /&gt;Another important aspect is a decent live console for 24/7 operations to watch for all of those Alerting things.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/6347225410141611306-2242449866372668074?l=mspo.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://www.blogger.com/feeds/6347225410141611306/2242449866372668074/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='https://www.blogger.com/comment.g?blogID=6347225410141611306&amp;postID=2242449866372668074' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/6347225410141611306/posts/default/2242449866372668074'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/6347225410141611306/posts/default/2242449866372668074'/><link rel='alternate' type='text/html' href='http://mspo.com/2009/09/monitoring-systems-and-sysadmin.html' title='monitoring systems and the sysadmin intranet'/><author><name>matthew sporleder</name><uri>http://www.blogger.com/profile/06777351489564855814</uri><email>noreply@blogger.com</email><gd:extendedProperty xmlns:gd='http://schemas.google.com/g/2005' name='OpenSocialUserId' value='09307313760683642124'/></author><thr:total xmlns:thr='http://purl.org/syndication/thread/1.0'>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-6347225410141611306.post-597658813862551225</id><published>2009-09-08T11:55:00.003-04:00</published><updated>2009-09-08T11:56:26.751-04:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='c programming'/><category scheme='http://www.blogger.com/atom/ns#' term='ldap'/><title type='text'>some gcc flags</title><content type='html'>This is how I compiled openldap once.  It allowed me to have all the dependencies available when I tar-ed up the openldap dir and distributed it around.&lt;br /&gt;&lt;br /&gt;export LDFLAGS="-L/usr/lib/lwp/64 -L/lib/64 -L/usr/lib/64&lt;br /&gt;-L/usr/sfw/lib/sparcv9 -Wl,-R/usr/lib/lwp/64 -Wl,-R/lib/64&lt;br /&gt;-Wl,-R/usr/lib/64 -Wl,-R/usr/sfw/lib/sparcv9&lt;br /&gt;-L/usr/local/openldap64-ol2.3.23-bdb4.2.52/lib&lt;br /&gt;-Wl,-R/usr/local/openldap64-ol2.3.23-bdb4.2.52/lib -m64"&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;export CPPFLAGS="-I/usr/local/openldap64-ol2.3.23-bdb4.2.52/include"&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;export CFLAGS="-m64 -O2"&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/6347225410141611306-597658813862551225?l=mspo.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://www.blogger.com/feeds/6347225410141611306/597658813862551225/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='https://www.blogger.com/comment.g?blogID=6347225410141611306&amp;postID=597658813862551225' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/6347225410141611306/posts/default/597658813862551225'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/6347225410141611306/posts/default/597658813862551225'/><link rel='alternate' type='text/html' href='http://mspo.com/2009/09/some-gcc-flags.html' title='some gcc flags'/><author><name>matthew sporleder</name><uri>http://www.blogger.com/profile/06777351489564855814</uri><email>noreply@blogger.com</email><gd:extendedProperty xmlns:gd='http://schemas.google.com/g/2005' name='OpenSocialUserId' value='09307313760683642124'/></author><thr:total xmlns:thr='http://purl.org/syndication/thread/1.0'>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-6347225410141611306.post-7605842658784152882</id><published>2009-08-28T20:57:00.001-04:00</published><updated>2009-08-28T20:59:13.619-04:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='NetBSD'/><title type='text'>NetBSD developer David Maxwell to defend the BSD license</title><content type='html'>&lt;a href=http://www.prurgent.com/2009-08-26/pressrelease51999.htm&gt;NetBSD developer David Maxwell to defend the BSD license&lt;/a&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/6347225410141611306-7605842658784152882?l=mspo.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://www.blogger.com/feeds/6347225410141611306/7605842658784152882/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='https://www.blogger.com/comment.g?blogID=6347225410141611306&amp;postID=7605842658784152882' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/6347225410141611306/posts/default/7605842658784152882'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/6347225410141611306/posts/default/7605842658784152882'/><link rel='alternate' type='text/html' href='http://mspo.com/2009/08/netbsd-developer-david-maxwell-to.html' title='NetBSD developer David Maxwell to defend the BSD license'/><author><name>matthew sporleder</name><uri>http://www.blogger.com/profile/06777351489564855814</uri><email>noreply@blogger.com</email><gd:extendedProperty xmlns:gd='http://schemas.google.com/g/2005' name='OpenSocialUserId' value='09307313760683642124'/></author><thr:total xmlns:thr='http://purl.org/syndication/thread/1.0'>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-6347225410141611306.post-2846044766171294414</id><published>2009-08-02T13:11:00.002-04:00</published><updated>2009-08-02T13:14:11.223-04:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='pkgsrc'/><title type='text'>cfengine3 added to pkgsrc wip</title><content type='html'>I created a cfengine3 package for wip.  As my second package, this one was a lot easier to get up and running.  :)&lt;br /&gt;&lt;br /&gt;There are, however, a lot of tricks to know about pkgsrc.  For this guy I had to use:&lt;br /&gt;BUILDLINK_TRANSFORM+=l:db:db4&lt;br /&gt;&lt;br /&gt;Which helped make sure I was using the pkgsrc bdb4 instead of the whatever else the system thought I had/was trying to use.  I'm also trying to figure out how to get all the right stuff moved into /var/cfengine as the architecture of cfengine is a little wild.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/6347225410141611306-2846044766171294414?l=mspo.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://www.blogger.com/feeds/6347225410141611306/2846044766171294414/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='https://www.blogger.com/comment.g?blogID=6347225410141611306&amp;postID=2846044766171294414' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/6347225410141611306/posts/default/2846044766171294414'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/6347225410141611306/posts/default/2846044766171294414'/><link rel='alternate' type='text/html' href='http://mspo.com/2009/08/cfengine3-added-to-pkgsrc-wip.html' title='cfengine3 added to pkgsrc wip'/><author><name>matthew sporleder</name><uri>http://www.blogger.com/profile/06777351489564855814</uri><email>noreply@blogger.com</email><gd:extendedProperty xmlns:gd='http://schemas.google.com/g/2005' name='OpenSocialUserId' value='09307313760683642124'/></author><thr:total xmlns:thr='http://purl.org/syndication/thread/1.0'>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-6347225410141611306.post-7246115204035257715</id><published>2009-07-18T23:45:00.003-04:00</published><updated>2009-07-19T00:00:43.330-04:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='NetBSD'/><category scheme='http://www.blogger.com/atom/ns#' term='pkgsrc'/><title type='text'>pkgsrc addition - collectd</title><content type='html'>Today I committed &lt;a href="http://collectd.org"&gt;collectd&lt;/a&gt; to &lt;a href="http://pkgsrc-wip.sf.net"&gt;pkgsrc-wip&lt;/a&gt;.  This is significant because it's the first thing I've ever committed to pkgsrc-wip AND because collectd is a cool piece of software.  (although it's still rapidly evolving)&lt;br /&gt;&lt;br /&gt;Basically, it's tool that can monitor stuff and record it to rrd or csv files.  It can do this with an agent, over snmp, with a custom plugin, with a perl plugin, etc etc etc.  The reason I like it is that it doesn't include a gui, require a database, or any of that other stuff.  It's also why I like &lt;a href="http://web.taranis.org/drraw/"&gt;drraw&lt;/a&gt;.&lt;br /&gt;&lt;br /&gt;The package itself is pretty immature.  As you can image with such a flexible tool, there are a ton of optional plugins that should all be available through the pkgsrc options framework.  They are not and I have just included a few things I thought were essentials.  I left out ping, though, because liboping won't compile on NetBSD (or slightly older linux missing a few headers).  The compile on NetBSD part is getting fixed by adding some socketopts, but liboping really needs some portability improvements before I can url2pkg it easily.  FreeBSD has a port with some patches, so maybe it will just work.&lt;br /&gt;&lt;br /&gt;As an aside-&lt;br /&gt;&lt;br /&gt;My vision of a perfect monitoring system is very flexible.  I prefer to have a wiki for my intranet, and creating the whole monitoring system inside of it; with graphs included on app docs for their required servers, and also on useful pages in templates of my design showing key stats.. I could go on for hours.  :)  (notifications every which way..)&lt;br /&gt;&lt;br /&gt;There are also some things I don't like about collectd.  Mainly that it prefers agent-based operation and doesn't include a full UCD MIB for the snmp monitor.  It would be ideal if they both collected the same data in the same way so you could migrate from snmp to agent without any issues.  They're also evolving the threshold notifications framework, which is pretty important to have settled.  The config file syntax is single-host centric.  And I'm sure I could think of a few other things.  :)&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/6347225410141611306-7246115204035257715?l=mspo.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://www.blogger.com/feeds/6347225410141611306/7246115204035257715/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='https://www.blogger.com/comment.g?blogID=6347225410141611306&amp;postID=7246115204035257715' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/6347225410141611306/posts/default/7246115204035257715'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/6347225410141611306/posts/default/7246115204035257715'/><link rel='alternate' type='text/html' href='http://mspo.com/2009/07/pkgsrc-addition-collectd.html' title='pkgsrc addition - collectd'/><author><name>matthew sporleder</name><uri>http://www.blogger.com/profile/06777351489564855814</uri><email>noreply@blogger.com</email><gd:extendedProperty xmlns:gd='http://schemas.google.com/g/2005' name='OpenSocialUserId' value='09307313760683642124'/></author><thr:total xmlns:thr='http://purl.org/syndication/thread/1.0'>0</thr:total></entry></feed>