<?xml version='1.0' encoding='UTF-8'?><rss xmlns:atom='http://www.w3.org/2005/Atom' xmlns:openSearch='http://a9.com/-/spec/opensearchrss/1.0/' xmlns:georss='http://www.georss.org/georss' version='2.0'><channel><atom:id>tag:blogger.com,1999:blog-6347225410141611306</atom:id><lastBuildDate>Fri, 26 Feb 2010 14:04:43 +0000</lastBuildDate><title>Matthew Sporleder's website</title><description>netbsd technology identity ldap musings perl programming c</description><link>http://mspo.com/</link><managingEditor>noreply@blogger.com (matthew sporleder)</managingEditor><generator>Blogger</generator><openSearch:totalResults>76</openSearch:totalResults><openSearch:startIndex>1</openSearch:startIndex><openSearch:itemsPerPage>25</openSearch:itemsPerPage><item><guid isPermaLink='false'>tag:blogger.com,1999:blog-6347225410141611306.post-7990516279106725026</guid><pubDate>Fri, 26 Feb 2010 01:38:00 +0000</pubDate><atom:updated>2010-02-25T23:00:10.267-05:00</atom:updated><category domain='http://www.blogger.com/atom/ns#'>NetBSD</category><title>NetBSD hackathon results</title><description>&lt;a href="http://wiki.netbsd.se/Hackathon13#Result"&gt;Hackathon 13 Results&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;Update!  I'm editing the text of this post because it makes me sound a lot more important than I was. :)&lt;br /&gt;&lt;br /&gt;I managed to participate a little bit in the hackathon, replied to a few PR's trying to get some feedback/closure, so I'm pleased.&lt;br /&gt;&lt;br /&gt;Thanks to HUGE efforts by hardcore developers, GNATs shows a really great result!&lt;br /&gt;&lt;br /&gt;GNATS Bug Database Summary&lt;br /&gt;State Count (before) Count (after)&lt;br /&gt;open  4418  4322&lt;br /&gt;analyzed  155  155&lt;br /&gt;feedback  200  225&lt;br /&gt;suspended  61  60&lt;br /&gt;dead  6  11&lt;br /&gt;closed  35081  35180&lt;br /&gt;TOTAL  39921&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/6347225410141611306-7990516279106725026?l=mspo.com' alt='' /&gt;&lt;/div&gt;</description><link>http://mspo.com/2010/02/netbsd-hackathon-results.html</link><author>noreply@blogger.com (matthew sporleder)</author><thr:total xmlns:thr='http://purl.org/syndication/thread/1.0'>0</thr:total></item><item><guid isPermaLink='false'>tag:blogger.com,1999:blog-6347225410141611306.post-1832521312132279880</guid><pubDate>Fri, 19 Feb 2010 23:25:00 +0000</pubDate><atom:updated>2010-02-19T18:30:01.477-05:00</atom:updated><category domain='http://www.blogger.com/atom/ns#'>NetBSD</category><title>NetBSD hackathon now!</title><description>Quick!!  Point your irc client at freenode (&lt;a href="http://freenode.net/irc_servers.shtml"&gt;freenode irc servers&lt;/a&gt;) and join #netbsd-code for a weekend of interesting stuff.&lt;br /&gt;&lt;br /&gt;&lt;a href="irc://irc.freenode.net/netbsd-code"&gt;IRC Link&lt;/a&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/6347225410141611306-1832521312132279880?l=mspo.com' alt='' /&gt;&lt;/div&gt;</description><link>http://mspo.com/2010/02/netbsd-hackathon-now.html</link><author>noreply@blogger.com (matthew sporleder)</author><thr:total xmlns:thr='http://purl.org/syndication/thread/1.0'>0</thr:total></item><item><guid isPermaLink='false'>tag:blogger.com,1999:blog-6347225410141611306.post-8409623886450621834</guid><pubDate>Thu, 04 Feb 2010 01:49:00 +0000</pubDate><atom:updated>2010-02-03T20:50:37.223-05:00</atom:updated><category domain='http://www.blogger.com/atom/ns#'>NetBSD</category><title>One more NetBSD security advisory</title><description>&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;</description><link>http://mspo.com/2010/02/one-more-netbsd-security-advisory.html</link><author>noreply@blogger.com (matthew sporleder)</author><thr:total xmlns:thr='http://purl.org/syndication/thread/1.0'>0</thr:total></item><item><guid isPermaLink='false'>tag:blogger.com,1999:blog-6347225410141611306.post-4968952790579574802</guid><pubDate>Tue, 02 Feb 2010 20:52:00 +0000</pubDate><atom:updated>2010-02-02T15:54:47.781-05:00</atom:updated><category domain='http://www.blogger.com/atom/ns#'>NetBSD</category><title>NetBSD - hackathon + two security advisories</title><description>&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;</description><link>http://mspo.com/2010/02/netbsd-hackathon-two-security.html</link><author>noreply@blogger.com (matthew sporleder)</author><thr:total xmlns:thr='http://purl.org/syndication/thread/1.0'>0</thr:total></item><item><guid isPermaLink='false'>tag:blogger.com,1999:blog-6347225410141611306.post-5161874013335005698</guid><pubDate>Wed, 27 Jan 2010 14:46:00 +0000</pubDate><atom:updated>2010-01-27T09:51:53.637-05:00</atom:updated><category domain='http://www.blogger.com/atom/ns#'>NetBSD</category><title>NetBSD network tuning thread</title><description>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;</description><link>http://mspo.com/2010/01/netbsd-network-tuning-thread.html</link><author>noreply@blogger.com (matthew sporleder)</author><thr:total xmlns:thr='http://purl.org/syndication/thread/1.0'>0</thr:total></item><item><guid isPermaLink='false'>tag:blogger.com,1999:blog-6347225410141611306.post-826732027834399880</guid><pubDate>Sat, 23 Jan 2010 03:07:00 +0000</pubDate><atom:updated>2010-01-22T22:17:34.907-05:00</atom:updated><category domain='http://www.blogger.com/atom/ns#'>NetBSD</category><title>NetBSD - still fun</title><description>&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;</description><link>http://mspo.com/2010/01/netbsd-still-fun.html</link><author>noreply@blogger.com (matthew sporleder)</author><thr:total xmlns:thr='http://purl.org/syndication/thread/1.0'>0</thr:total></item><item><guid isPermaLink='false'>tag:blogger.com,1999:blog-6347225410141611306.post-5505880918825853625</guid><pubDate>Tue, 19 Jan 2010 04:06:00 +0000</pubDate><atom:updated>2010-02-08T09:40:48.783-05:00</atom:updated><category domain='http://www.blogger.com/atom/ns#'>NetBSD</category><title>NetBSD postfix to gmail relay</title><description>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;</description><link>http://mspo.com/2010/01/netbsd-postfix-to-gmail-relay.html</link><author>noreply@blogger.com (matthew sporleder)</author><thr:total xmlns:thr='http://purl.org/syndication/thread/1.0'>1</thr:total></item><item><guid isPermaLink='false'>tag:blogger.com,1999:blog-6347225410141611306.post-2217765645759781510</guid><pubDate>Fri, 15 Jan 2010 23:24:00 +0000</pubDate><atom:updated>2010-01-15T18:29:02.949-05:00</atom:updated><category domain='http://www.blogger.com/atom/ns#'>NetBSD</category><title>NetBSD on wikipedia</title><description>&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;</description><link>http://mspo.com/2010/01/netbsd-on-wikipedia.html</link><author>noreply@blogger.com (matthew sporleder)</author><thr:total xmlns:thr='http://purl.org/syndication/thread/1.0'>0</thr:total></item><item><guid isPermaLink='false'>tag:blogger.com,1999:blog-6347225410141611306.post-3483034360624714772</guid><pubDate>Thu, 31 Dec 2009 16:42:00 +0000</pubDate><atom:updated>2009-12-31T11:51:24.906-05:00</atom:updated><category domain='http://www.blogger.com/atom/ns#'>NetBSD</category><title>NetBSD, MAC, etc</title><description>&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;</description><link>http://mspo.com/2009/12/netbsd-mac-etc.html</link><author>noreply@blogger.com (matthew sporleder)</author><thr:total xmlns:thr='http://purl.org/syndication/thread/1.0'>0</thr:total></item><item><guid isPermaLink='false'>tag:blogger.com,1999:blog-6347225410141611306.post-5510707553720194211</guid><pubDate>Thu, 24 Dec 2009 13:02:00 +0000</pubDate><atom:updated>2009-12-24T08:04:36.205-05:00</atom:updated><category domain='http://www.blogger.com/atom/ns#'>linux</category><title>cygwin update</title><description>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;</description><link>http://mspo.com/2009/12/cygwin-update.html</link><author>noreply@blogger.com (matthew sporleder)</author><thr:total xmlns:thr='http://purl.org/syndication/thread/1.0'>0</thr:total></item><item><guid isPermaLink='false'>tag:blogger.com,1999:blog-6347225410141611306.post-9061679253508891570</guid><pubDate>Mon, 14 Dec 2009 01:46:00 +0000</pubDate><atom:updated>2009-12-13T20:49:19.467-05:00</atom:updated><category domain='http://www.blogger.com/atom/ns#'>pkgsrc</category><title>mod_geoip2 added to pkgsrc</title><description>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;</description><link>http://mspo.com/2009/12/modgeoip2-added-to-pkgsrc.html</link><author>noreply@blogger.com (matthew sporleder)</author><thr:total xmlns:thr='http://purl.org/syndication/thread/1.0'>0</thr:total></item><item><guid isPermaLink='false'>tag:blogger.com,1999:blog-6347225410141611306.post-8814622818819130416</guid><pubDate>Wed, 09 Dec 2009 22:57:00 +0000</pubDate><atom:updated>2009-12-10T10:09:55.301-05:00</atom:updated><category domain='http://www.blogger.com/atom/ns#'>NetBSD</category><title>Xen 4 and NetBSD</title><description>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;</description><link>http://mspo.com/2009/12/xen-4-and-netbsd.html</link><author>noreply@blogger.com (matthew sporleder)</author><thr:total xmlns:thr='http://purl.org/syndication/thread/1.0'>0</thr:total></item><item><guid isPermaLink='false'>tag:blogger.com,1999:blog-6347225410141611306.post-681868885355278343</guid><pubDate>Tue, 08 Dec 2009 15:46:00 +0000</pubDate><atom:updated>2009-12-10T10:06:40.216-05:00</atom:updated><category domain='http://www.blogger.com/atom/ns#'>NetBSD</category><title>NetBSD terminfo and curses improved</title><description>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;</description><link>http://mspo.com/2009/12/netbsd-terminfo-and-curses-improved.html</link><author>noreply@blogger.com (matthew sporleder)</author><thr:total xmlns:thr='http://purl.org/syndication/thread/1.0'>0</thr:total></item><item><guid isPermaLink='false'>tag:blogger.com,1999:blog-6347225410141611306.post-3815954650971807981</guid><pubDate>Sat, 05 Dec 2009 12:15:00 +0000</pubDate><atom:updated>2009-12-05T07:21:26.540-05:00</atom:updated><category domain='http://www.blogger.com/atom/ns#'>os x</category><title>iChat with NetGear SPI (stateful packet inspection) is problematic</title><description>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;</description><link>http://mspo.com/2009/12/ichat-with-netgear-spi-stateful-packet.html</link><author>noreply@blogger.com (matthew sporleder)</author><thr:total xmlns:thr='http://purl.org/syndication/thread/1.0'>0</thr:total></item><item><guid isPermaLink='false'>tag:blogger.com,1999:blog-6347225410141611306.post-7629423697960941905</guid><pubDate>Sat, 05 Dec 2009 01:30:00 +0000</pubDate><atom:updated>2009-12-04T20:34:02.326-05:00</atom:updated><category domain='http://www.blogger.com/atom/ns#'>NetBSD</category><title>BSDCan 2010 announced - represent NetBSD</title><description>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;</description><link>http://mspo.com/2009/12/bsdcan-2010-announced-represent-netbsd.html</link><author>noreply@blogger.com (matthew sporleder)</author><thr:total xmlns:thr='http://purl.org/syndication/thread/1.0'>1</thr:total></item><item><guid isPermaLink='false'>tag:blogger.com,1999:blog-6347225410141611306.post-5185880646936208423</guid><pubDate>Sat, 21 Nov 2009 16:32:00 +0000</pubDate><atom:updated>2009-11-21T11:46:51.403-05:00</atom:updated><title>NetBSD and NFS v4</title><description>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;</description><link>http://mspo.com/2009/11/netbsd-and-nfs-v4.html</link><author>noreply@blogger.com (matthew sporleder)</author><thr:total xmlns:thr='http://purl.org/syndication/thread/1.0'>0</thr:total></item><item><guid isPermaLink='false'>tag:blogger.com,1999:blog-6347225410141611306.post-5457358432366402664</guid><pubDate>Sat, 14 Nov 2009 20:53:00 +0000</pubDate><atom:updated>2009-11-14T16:07:40.413-05:00</atom:updated><category domain='http://www.blogger.com/atom/ns#'>java programming</category><title>programming jrobin on the command line</title><description>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;</description><link>http://mspo.com/2009/11/programming-jrobin-on-command-line.html</link><author>noreply@blogger.com (matthew sporleder)</author><thr:total xmlns:thr='http://purl.org/syndication/thread/1.0'>0</thr:total></item><item><guid isPermaLink='false'>tag:blogger.com,1999:blog-6347225410141611306.post-4552825430738809880</guid><pubDate>Sat, 14 Nov 2009 13:12:00 +0000</pubDate><atom:updated>2009-11-24T22:31:10.114-05:00</atom:updated><category domain='http://www.blogger.com/atom/ns#'>NetBSD</category><title>NetBSD defaulting to more  security, then the normal amount, then back again!</title><description>&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;</description><link>http://mspo.com/2009/11/netbsd-defaulting-to-more-security-then.html</link><author>noreply@blogger.com (matthew sporleder)</author><thr:total xmlns:thr='http://purl.org/syndication/thread/1.0'>0</thr:total></item><item><guid isPermaLink='false'>tag:blogger.com,1999:blog-6347225410141611306.post-766663165376466186</guid><pubDate>Tue, 10 Nov 2009 02:05:00 +0000</pubDate><atom:updated>2009-11-09T21:08:37.315-05:00</atom:updated><category domain='http://www.blogger.com/atom/ns#'>NetBSD</category><title>NetBSD over git- call for collaboration</title><description>&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;</description><link>http://mspo.com/2009/11/netbsd-over-git-call-for-collaboration.html</link><author>noreply@blogger.com (matthew sporleder)</author><thr:total xmlns:thr='http://purl.org/syndication/thread/1.0'>0</thr:total></item><item><guid isPermaLink='false'>tag:blogger.com,1999:blog-6347225410141611306.post-1917032716048410140</guid><pubDate>Sat, 31 Oct 2009 19:44:00 +0000</pubDate><atom:updated>2009-10-31T16:05:47.415-04:00</atom:updated><category domain='http://www.blogger.com/atom/ns#'>apache tips</category><title>greed in apache rewrite rules</title><description>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;</description><link>http://mspo.com/2009/10/greed-in-apache-rewrite-rules.html</link><author>noreply@blogger.com (matthew sporleder)</author><thr:total xmlns:thr='http://purl.org/syndication/thread/1.0'>0</thr:total></item><item><guid isPermaLink='false'>tag:blogger.com,1999:blog-6347225410141611306.post-4071134096453982256</guid><pubDate>Wed, 21 Oct 2009 13:59:00 +0000</pubDate><atom:updated>2009-10-21T10:05:02.256-04:00</atom:updated><category domain='http://www.blogger.com/atom/ns#'>pkgsrc</category><title>pkgsrc openjdk7 gets better java font support</title><description>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;</description><link>http://mspo.com/2009/10/pkgsrc-openjdk7-gets-better-java-font.html</link><author>noreply@blogger.com (matthew sporleder)</author><thr:total xmlns:thr='http://purl.org/syndication/thread/1.0'>0</thr:total></item><item><guid isPermaLink='false'>tag:blogger.com,1999:blog-6347225410141611306.post-3307897367249992999</guid><pubDate>Sat, 17 Oct 2009 12:43:00 +0000</pubDate><atom:updated>2009-10-17T08:50:04.091-04:00</atom:updated><category domain='http://www.blogger.com/atom/ns#'>NetBSD</category><title>NetBSD gets usb device access from userland</title><description>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;</description><link>http://mspo.com/2009/10/netbsd-gets-usb-device-access-from.html</link><author>noreply@blogger.com (matthew sporleder)</author><thr:total xmlns:thr='http://purl.org/syndication/thread/1.0'>0</thr:total></item><item><guid isPermaLink='false'>tag:blogger.com,1999:blog-6347225410141611306.post-2242449866372668074</guid><pubDate>Wed, 09 Sep 2009 11:40:00 +0000</pubDate><atom:updated>2009-09-09T08:01:12.781-04:00</atom:updated><category domain='http://www.blogger.com/atom/ns#'>project ideas</category><title>monitoring systems and the sysadmin intranet</title><description>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;</description><link>http://mspo.com/2009/09/monitoring-systems-and-sysadmin.html</link><author>noreply@blogger.com (matthew sporleder)</author><thr:total xmlns:thr='http://purl.org/syndication/thread/1.0'>0</thr:total></item><item><guid isPermaLink='false'>tag:blogger.com,1999:blog-6347225410141611306.post-597658813862551225</guid><pubDate>Tue, 08 Sep 2009 15:55:00 +0000</pubDate><atom:updated>2009-09-08T11:56:26.751-04:00</atom:updated><category domain='http://www.blogger.com/atom/ns#'>c programming</category><category domain='http://www.blogger.com/atom/ns#'>ldap</category><title>some gcc flags</title><description>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;</description><link>http://mspo.com/2009/09/some-gcc-flags.html</link><author>noreply@blogger.com (matthew sporleder)</author><thr:total xmlns:thr='http://purl.org/syndication/thread/1.0'>0</thr:total></item><item><guid isPermaLink='false'>tag:blogger.com,1999:blog-6347225410141611306.post-7605842658784152882</guid><pubDate>Sat, 29 Aug 2009 00:57:00 +0000</pubDate><atom:updated>2009-08-28T20:59:13.619-04:00</atom:updated><category domain='http://www.blogger.com/atom/ns#'>NetBSD</category><title>NetBSD developer David Maxwell to defend the BSD license</title><description>&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;</description><link>http://mspo.com/2009/08/netbsd-developer-david-maxwell-to.html</link><author>noreply@blogger.com (matthew sporleder)</author><thr:total xmlns:thr='http://purl.org/syndication/thread/1.0'>0</thr:total></item></channel></rss>