<?xml version="1.0" encoding="utf-8"?>
<rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	>

<channel>
	<title>Gargleblaster.org &#187; BOFH</title>
	<atom:link href="http://www.gargleblaster.org/category/bofh/feed" rel="self" type="application/rss+xml" />
	<link>http://www.gargleblaster.org</link>
	<description></description>
	<lastBuildDate>Wed, 16 Jun 2010 08:34:07 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.0.1</generator>
		<item>
		<title>Web 3.0</title>
		<link>http://www.gargleblaster.org/2007/03/16/web-30.html</link>
		<comments>http://www.gargleblaster.org/2007/03/16/web-30.html#comments</comments>
		<pubDate>Fri, 16 Mar 2007 07:36:51 +0000</pubDate>
		<dc:creator>Merlijn</dc:creator>
				<category><![CDATA[BOFH]]></category>
		<category><![CDATA[javascript]]></category>
		<category><![CDATA[web 2.0]]></category>

		<guid isPermaLink="false">http://www.gargleblaster.org/2007/03/16/web-30.html</guid>
		<description><![CDATA[This morning before going to work I had a little chat with a friend of mine. me: morning what&#8217;s your opinion about javascript? friend: Necessary evil. me: hmm ok you&#8217;re on the same line as sans http://isc.sans.org/diary.html?storyid=2457&#038;rss friend: http is too dumb to do what people want to do. And javascript is better than java. [...]]]></description>
			<content:encoded><![CDATA[<p>This morning before going to work I had a little chat with a friend of mine.</p>
<p>me:<br />
morning<br />
what&#8217;s your opinion about javascript?</p>
<div align="right">
friend:<br />
Necessary evil.
</div>
<p>me:<br />
hmm ok you&#8217;re on the same line as sans</p>
<p>http://isc.sans.org/diary.html?storyid=2457&#038;rss</p>
<div align="right">
friend:<br />
http is too dumb to do what people want to do.<br />
And javascript is better than java.<br />
And it&#8217;s more cross platform.  But it&#8217;s tough to write and easy to hide evil.
</div>
<p>me:<br />
i am &#8220;discovering&#8221; javascript the last months<br />
(i know, 10 years late)<br />
i think it rocks.<br />
makes me totally reconsider the way webpages could work<br />
building a part now where ppl can make teams, by drag and dropping members<br />
without a single page refresh.</p>
<div align="right">
friend:<br />
Right.<br />
Welcome to web 2.0.<br />
Well, we&#8217;re on 3.0<br />
But you can join 2.0
</div>
<p>me:<br />
yh i heard the 3.0 for the first time this week<br />
what&#8217;s 3.0 btw?<br />
no internet? borg?</p>
<div align="right">
friend @ 7:15<br />
It&#8217;s nonsense.<br />
Like 2.0
</div>
<p>me @ 07:15<br />
like 2.0 is<br />
gmta, rofl</p>
<p><b><i>Update</i></b><br />
Another friend pointed me (after reading the above> to this userfriendly cartoon&#8230;</p>
<div align="center"><a href="http://ars.userfriendly.org/cartoons/?id=20061201"><img src = "http://www.gargleblaster.org/images2/userfriendly.gif"/ alt="web2.0" /></a></div>
]]></content:encoded>
			<wfw:commentRss>http://www.gargleblaster.org/2007/03/16/web-30.html/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Finally&#8230; sasl with virtual accounts in mysql working!</title>
		<link>http://www.gargleblaster.org/2005/09/18/finally-sasl-with-virtual-accounts-in-mysql-working.html</link>
		<comments>http://www.gargleblaster.org/2005/09/18/finally-sasl-with-virtual-accounts-in-mysql-working.html#comments</comments>
		<pubDate>Sun, 18 Sep 2005 18:32:14 +0000</pubDate>
		<dc:creator>Merlijn</dc:creator>
				<category><![CDATA[BOFH]]></category>
		<category><![CDATA[freeBSD]]></category>
		<category><![CDATA[postfix]]></category>
		<category><![CDATA[SASL]]></category>

		<guid isPermaLink="false">http://www.gargleblaster.org/?p=175</guid>
		<description><![CDATA[*sigh* This bothered me from the moment I got my new postfix mailserver. Everything worked&#8230;tls/amavisd-new/courier/plain-sasl/postfix all with mysql. But somehow I didn&#8217;t get sasl working with the virtual user accounts in mysql. I tried almost everything and nothing worked. Once in a while I tried to get it working again, but every time it ended [...]]]></description>
			<content:encoded><![CDATA[<p>*sigh*<br />
This bothered me from the moment I got my new postfix mailserver.<br />
Everything worked&#8230;tls/amavisd-new/courier/plain-sasl/postfix all with mysql. But somehow I didn&#8217;t get sasl working with the virtual user accounts in mysql. I tried almost everything and nothing worked.<br />
Once in a while I tried to get it working again, but every time it ended in a dissapointment.<br />
Until today! Jippie!</p>
<p>The missing link turned out to be using the &#8220;-r &#8221; option in saslauthd.sh.<br />
From the saslauthd man pages:</p>
<pre>
     -r      Combine the realm with the login (with an '@' sign in between).
             e.g.  login: "foo" realm: "bar" will get passed as login:
             "foo@bar".  Note that the realm will still be passed, which may
             lead to unexpected behavior.
</pre>
<p>On freeBSD, add this to rc.conf:</p>
<pre>
saslauthd_flags="-r -a getpwent"
</pre>
<p>And in /usr/local/lib/sasl2/smtpd.conf:</p>
<pre>
sasl_pwcheck_method: auxprop
sasl_auxprop_plugin: sql
sql_engine: mysql
mech_list: login plain crammd6 digestmd5
sql_user: sql-user
sql_passwd: sql-pass
sql_database: postfix
sql_select: SELECT clear FROM postfix_users WHERE email = '%u@%r'
sql_verbose: yes
</pre>
<p>And don&#8217;t forget to restart the saslauthd after editing this file.</p>
<pre>
# saslauthd -v
saslauthd 2.1.21
authentication mechanisms: sasldb getpwent kerberos5 pam rimap
</pre>
]]></content:encoded>
			<wfw:commentRss>http://www.gargleblaster.org/2005/09/18/finally-sasl-with-virtual-accounts-in-mysql-working.html/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Fire!</title>
		<link>http://www.gargleblaster.org/2005/07/29/fire.html</link>
		<comments>http://www.gargleblaster.org/2005/07/29/fire.html#comments</comments>
		<pubDate>Fri, 29 Jul 2005 18:14:04 +0000</pubDate>
		<dc:creator>Merlijn</dc:creator>
				<category><![CDATA[BOFH]]></category>
		<category><![CDATA[alpha]]></category>
		<category><![CDATA[DIA]]></category>
		<category><![CDATA[fire]]></category>
		<category><![CDATA[wolweze]]></category>

		<guid isPermaLink="false">http://www.gargleblaster.org/?p=165</guid>
		<description><![CDATA[Recently I have resigned from my former student-society-computer-foundation. Together with 4 friends, we kept the network running with given-away-for-free-thrash computers (except the DEC-alpha kick ass server). Lots of fun, lots of beer, but life goes on. A couple of years ago we had a fire in our mission-control room, and we made some pictures. The [...]]]></description>
			<content:encoded><![CDATA[<p>Recently I have resigned from my former student-society-computer-foundation. Together with 4 friends, we kept the network running with given-away-for-free-thrash computers (except the DEC-alpha kick ass server).<br />
Lots of fun, lots of beer, but life goes on.</p>
<p>A couple of years ago we had a fire in our mission-control room, and we made some pictures. The final thing i&#8217;ve done 5 minutes ago with my root-account was scp-ing the fire pictures to gargleblaster.org.</p>
<p>So long and thanks for all the fish&#8230;</p>
<p><a href="http://www.gargleblaster.org/images2/fik/fik.html">The pictures</a>&#8230;subtitles are in Dutch.<br />
The real amazing thing is that all those computers are still up and running.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.gargleblaster.org/2005/07/29/fire.html/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>OS X: sshd/sftp jail</title>
		<link>http://www.gargleblaster.org/2005/05/26/os-x-sshdsftp-jail.html</link>
		<comments>http://www.gargleblaster.org/2005/05/26/os-x-sshdsftp-jail.html#comments</comments>
		<pubDate>Thu, 26 May 2005 20:21:46 +0000</pubDate>
		<dc:creator>Merlijn</dc:creator>
				<category><![CDATA[BOFH]]></category>
		<category><![CDATA[OS X]]></category>
		<category><![CDATA[jail]]></category>
		<category><![CDATA[netinfo]]></category>
		<category><![CDATA[sftp]]></category>
		<category><![CDATA[sshd]]></category>

		<guid isPermaLink="false">http://www.gargleblaster.org/?p=155</guid>
		<description><![CDATA[A while ago I enabled a jail for an useraccount on my server. Last week, I had to add another user. The difference between priviliged useraccount and a &#8220;jailed&#8221; useraccount is a dot in the path of the home directory, for example: &#8220;/Users/./username&#8221;. Being a little bit under stress and having not very much time, [...]]]></description>
			<content:encoded><![CDATA[<p>A while ago I enabled a <a href="http://www.gargleblaster.org/?p=112" >jail for an useraccount</a> on my server.<br />
Last week, I had to add another user.</p>
<p>The difference between priviliged useraccount and a &#8220;jailed&#8221; useraccount is a dot in the path of the home directory, for example: &#8220;/Users/./username&#8221;.</p>
<p>Being a little bit under stress and having not very much time, I couldn&#8217;t recall how to do that with OS X serveradmin.<br />
Very frustrating. Googling and digging through the manuals didn&#8217;t give the answer where I was looking for.<br />
Am I the only one who prefers the plain old /etc/passwd above netinfo? </p>
<p>But&#8230;today I recalled how I did it before.<br />
And it&#8217;s so simple&#8230;.(after mucking around with obscure CLI commands like nicl and serversetup)</p>
<p><img src="http://www.gargleblaster.org/images2/admin.jpg" alt="server-admin" width="460" height="417" border="0" /></p>
]]></content:encoded>
			<wfw:commentRss>http://www.gargleblaster.org/2005/05/26/os-x-sshdsftp-jail.html/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Configuring the date and time on PIX OS 6.3</title>
		<link>http://www.gargleblaster.org/2005/03/27/configuring-the-date-and-time-on-pix-os-63.html</link>
		<comments>http://www.gargleblaster.org/2005/03/27/configuring-the-date-and-time-on-pix-os-63.html#comments</comments>
		<pubDate>Sun, 27 Mar 2005 07:31:03 +0000</pubDate>
		<dc:creator>Merlijn</dc:creator>
				<category><![CDATA[BOFH]]></category>
		<category><![CDATA[Cisco]]></category>
		<category><![CDATA[DST]]></category>
		<category><![CDATA[firewall]]></category>
		<category><![CDATA[NTP]]></category>
		<category><![CDATA[PIX]]></category>

		<guid isPermaLink="false">http://www.gargleblaster.org/?p=149</guid>
		<description><![CDATA[Summertime again. All of my servers are synced with a central NTP and pick up summertime nicely. Except my Cisco PIX 515e. Turned out that I didn&#8217;t configure my date time settings very well. So, as well for my reference as for your information: clock timezone CET 01 clock summer-time CET recurring last Sunday March [...]]]></description>
			<content:encoded><![CDATA[<p>Summertime again.<br />
All of my servers are synced with a central NTP and pick up summertime nicely.<br />
Except my Cisco PIX 515e.<br />
Turned out that I didn&#8217;t configure my date time settings very well.<br />
So, as well for my reference as for your information:</p>
<p><code><br />
clock timezone CET 01<br />
clock summer-time CET recurring last Sunday March 2:00 last Sunday october 2:00<br />
ntp server <i>i.p.a.dr</i> source <i>interface</i><br />
ntp server <i>i.p.a.dr</i> source <i>interface</i><br />
</code></p>
<p>The clock timezone command is tricky&#8230;You have to specify your own timezone AND the offset against UTC.<br />
A list of timezone abbr. which Cisco uses can be found <a href ="http://www.cisco.com/en/US/products/hw/optical/ps2011/products_user_guide_chapter09186a00800bd9d7.html" title="Cisco timezones" >here</a>.<br />
<code><br />
# show clock detail<br />
09:27:34.357 CET Sun Mar 27 2005<br />
Time source is NTP<br />
Summer time starts 02:00:00 CET Sun Mar 27 2005<br />
Summer time ends 02:00:00 CET Sun Oct 30 2005<br />
</code></p>
]]></content:encoded>
			<wfw:commentRss>http://www.gargleblaster.org/2005/03/27/configuring-the-date-and-time-on-pix-os-63.html/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Upgrading freeBSD</title>
		<link>http://www.gargleblaster.org/2005/03/06/upgrading-freebsd.html</link>
		<comments>http://www.gargleblaster.org/2005/03/06/upgrading-freebsd.html#comments</comments>
		<pubDate>Sun, 06 Mar 2005 17:38:16 +0000</pubDate>
		<dc:creator>Merlijn</dc:creator>
				<category><![CDATA[BOFH]]></category>
		<category><![CDATA[freeBSD]]></category>
		<category><![CDATA[upgrading]]></category>

		<guid isPermaLink="false">http://www.gargleblaster.org/?p=142</guid>
		<description><![CDATA[Keeping mission critical machines up2date is always a burden for a sysadmin. Esp. if you are an allround sysadmin, responsible for all kind of servers. On freeBSD, this has become quite easy. There has is a new tool in town: portsnap. Setup is easy. See this article on TaoSecurity. After installing it boils down to [...]]]></description>
			<content:encoded><![CDATA[<p>Keeping mission critical machines up2date is always a burden for a sysadmin.<br />
Esp. if you are an allround sysadmin, responsible for all kind of servers.<br />
On freeBSD, this has become quite easy.<br />
There has is a new tool in town: <a href="http://www.daemonology.net/portsnap/">portsnap.</a></p>
<p>Setup is easy. See this article on <a href="http://www.taosecurity.com/keeping_freebsd_applications_up-to-date.html">TaoSecurity</a>.<br />
After installing it boils down to this:</p>
<p>cd /usr/ports<br />
portsnap fetch<br />
portsnap update<br />
make fetchindex<br />
portsdb -u<br />
portversion -v -l &#8220;<&#8221;<br />
Check /usr/ports/UPDATING for information relating to my applications<br />
portupgrade -varR</p>
<p>Total control :)</p>
]]></content:encoded>
			<wfw:commentRss>http://www.gargleblaster.org/2005/03/06/upgrading-freebsd.html/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Upgrade day</title>
		<link>http://www.gargleblaster.org/2005/02/16/upgrade-day.html</link>
		<comments>http://www.gargleblaster.org/2005/02/16/upgrade-day.html#comments</comments>
		<pubDate>Wed, 16 Feb 2005 21:28:46 +0000</pubDate>
		<dc:creator>Merlijn</dc:creator>
				<category><![CDATA[BOFH]]></category>
		<category><![CDATA[General]]></category>
		<category><![CDATA[OS X]]></category>

		<guid isPermaLink="false">http://www.gargleblaster.org/?p=135</guid>
		<description><![CDATA[pfeeuw. Transmit 3 Pix OS 7 (well, announced at least) Wordpress 1.5 Transmit 3 have I bought today. PIXos 7 will be a free upgrade (SMARTnet to the rescue) Wordpress&#8230;2 out of 3 blogs already updated, gargleblaster will follow this weekend. Transmit 3 kicks ass. Still clicking through the different new options. I know I&#8217;m [...]]]></description>
			<content:encoded><![CDATA[<p>pfeeuw.</p>
<p>Transmit 3<br />
Pix OS 7 (well, announced at least)<br />
Wordpress 1.5</p>
<p>Transmit 3 have I bought today.<br />
PIXos 7 will be a free upgrade (SMARTnet to the rescue)<br />
Wordpress&#8230;2 out of 3 blogs already updated, gargleblaster will follow this weekend.</p>
<p>Transmit 3 kicks ass. Still clicking through the different new options. I know I&#8217;m going to love the &#8220;DockSend&#8221; option.<br />
A year ago I thought that a graphical (s)FTP client was for lusers, but since my colo I couldn&#8217;t live without Transmit.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.gargleblaster.org/2005/02/16/upgrade-day.html/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Postfix mailqueue</title>
		<link>http://www.gargleblaster.org/2005/02/06/postfix-mailqueue.html</link>
		<comments>http://www.gargleblaster.org/2005/02/06/postfix-mailqueue.html#comments</comments>
		<pubDate>Sun, 06 Feb 2005 10:46:11 +0000</pubDate>
		<dc:creator>Merlijn</dc:creator>
				<category><![CDATA[BOFH]]></category>
		<category><![CDATA[OS X]]></category>
		<category><![CDATA[freeBSD]]></category>

		<guid isPermaLink="false">http://www.gargleblaster.org/?p=133</guid>
		<description><![CDATA[*sigh* This took me more than 5 minutes. How to empty a postfix mailque completly: postsuper -d ALL It&#8217;s not in the manual.]]></description>
			<content:encoded><![CDATA[<p>*sigh*</p>
<p>This took me more than 5 minutes. How to empty a postfix mailque completly:</p>
<p><code><br />
postsuper -d ALL<br />
</code></p>
<p>It&#8217;s not in the manual.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.gargleblaster.org/2005/02/06/postfix-mailqueue.html/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Simple solution to prevent dictionary attacks on SSHD</title>
		<link>http://www.gargleblaster.org/2005/02/01/simple-solution-to-prevent-dictionary-attacks-on-sshd.html</link>
		<comments>http://www.gargleblaster.org/2005/02/01/simple-solution-to-prevent-dictionary-attacks-on-sshd.html#comments</comments>
		<pubDate>Tue, 01 Feb 2005 21:13:41 +0000</pubDate>
		<dc:creator>Merlijn</dc:creator>
				<category><![CDATA[BOFH]]></category>

		<guid isPermaLink="false">http://www.gargleblaster.org/?p=132</guid>
		<description><![CDATA[I like simple solutions. My sshd deamon is constantly hammered by Scriptkiddies using random dictionary attacks. One simple way to prevent most is changing the port where sshd listens on, or use an unusual portmapping. I don&#8217;t really like that however. Don&#8217;t ask me why, it has probably something to do with my bad memory. [...]]]></description>
			<content:encoded><![CDATA[<p>I like simple solutions.<br />
My sshd deamon is constantly hammered by Scriptkiddies using random dictionary attacks.<br />
One simple way to prevent most is changing the port where sshd listens on, or use an unusual portmapping.<br />
I don&#8217;t really like that however. Don&#8217;t ask me why, it has probably something to do with my bad memory. I keep forgetting those ports.</p>
<p>Two other simple mechanisms which you could implement are:</p>
<p>1) restricting allowed useraccounts. Esp. if you don&#8217;t have a very common username like Jack or John:<br />
<code><br />
AllowUsers secretuser othersecretuser@192.168.3.*<br />
</code><br />
By adding the ipaddress you only allow login from that particular ipaddress for that particular user.</p>
<p>2) rectrict the number of tries for password guessing<br />
<code><br />
MaxStartups 10:30:60<br />
</code></p>
<p>From the manpages:</p>
<blockquote><p>
Specifies the maximum number of concurrent unauthenticated con-<br />
nections to the sshd daemon.  Additional connections will be<br />
dropped until authentication succeeds or the LoginGraceTime<br />
expires for a connection.  The default is 10.</p>
<p>Alternatively, random early drop can be enabled by specifying the<br />
three colon separated values &#8220;start:rate:full&#8221; (e.g.,<br />
&#8220;10:30:60&#8243;).  sshd will refuse connection attempts with a proba-<br />
bility of &#8220;rate/100&#8221; (30%) if there are currently &#8220;start&#8221;<br />
(10) unauthenticated connections.  The probability increases lin-<br />
early and all connection attempts are refused if the number of<br />
unauthenticated connections reaches &#8220;full&#8221; (60).
</p></blockquote>
<p>read more at <a href="http://aplawrence.com/Blog/B1117.html">this blogentry at ap-lawrence.</a></p>
]]></content:encoded>
			<wfw:commentRss>http://www.gargleblaster.org/2005/02/01/simple-solution-to-prevent-dictionary-attacks-on-sshd.html/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Serial console on Xserve with Panther</title>
		<link>http://www.gargleblaster.org/2004/12/08/serial-console-on-xserve-with-panther.html</link>
		<comments>http://www.gargleblaster.org/2004/12/08/serial-console-on-xserve-with-panther.html#comments</comments>
		<pubDate>Wed, 08 Dec 2004 18:44:20 +0000</pubDate>
		<dc:creator>Merlijn</dc:creator>
				<category><![CDATA[BOFH]]></category>
		<category><![CDATA[OS X]]></category>

		<guid isPermaLink="false">http://www.gargleblaster.org/?p=119</guid>
		<description><![CDATA[NOTE: I submitted this post as a hint on macosxhints.com, You might check this link for any user comments. Enabling serial console with panther is very easy. If you know where to look. /System/Library/StartupItems/SerialTerminalSupport/SerialTerminalSupport Read this file. It has lots of information about the serial port. After reading it, enter: /System/Library/StartupItems/SerialTerminalSupport/SerialTerminalSupport start This should enable [...]]]></description>
			<content:encoded><![CDATA[<p><i>NOTE: I submitted this post as a hint on macosxhints.com, You might check <a a href = "http://www.macosxhints.com/article.php?story=20041209022229654">this link for any user comments</a>.</i></p>
<p>Enabling serial console with panther is very easy. If you know where to look.</p>
<p><code><br />
/System/Library/StartupItems/SerialTerminalSupport/SerialTerminalSupport<br />
</code></p>
<p>Read this file. It has lots of information about the serial port.</p>
<p>After reading it, enter:<br />
<code><br />
/System/Library/StartupItems/SerialTerminalSupport/SerialTerminalSupport start<br />
</code></p>
<p>This should enable console access. However not in my case. I have to connect through a console server at my colo, which operates at 9600. Apple enables a 57600 baudrate by default.<br />
<code><br />
vi /etc/ttys<br />
</code></p>
<p>Look for the following line:<br />
<code><br />
tty.serial      "/usr/libexec/getty serial.57600"        vt100   on secure<br />
</code><br />
And change this to<br />
<code><br />
tty.serial      "/usr/libexec/getty serial.9600"        vt100   on secure<br />
</code></p>
<p>give a<br />
<code><br />
/System/Library/StartupItems/SerialTerminalSupport/SerialTerminalSupport restart<br />
</code></p>
<p>And I was able to connect.</p>
<p>If I had discovered the above earlier, I had saved myself for driving to my CoLo serverroom a couple weeks ago when I made a mistake with remotly configuring my en0.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.gargleblaster.org/2004/12/08/serial-console-on-xserve-with-panther.html/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>
