<?xml version="1.0" encoding="UTF-8"?>
<!-- generator="wordpress/2.0.2" -->
<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/"
	>

<channel>
	<title>37</title>
	<link>http://blog.moopsfc.com/37</link>
	<description>the continuing saga of your hero</description>
	<pubDate>Mon, 24 Mar 2008 15:26:37 +0000</pubDate>
	<generator>http://wordpress.org/?v=2.0.2</generator>
	<language>en</language>
			<item>
		<title>setting up subversion on dapper</title>
		<link>http://blog.moopsfc.com/37/2007/06/20/setting-up-subversion-on-dapper/</link>
		<comments>http://blog.moopsfc.com/37/2007/06/20/setting-up-subversion-on-dapper/#comments</comments>
		<pubDate>Wed, 20 Jun 2007 20:48:25 +0000</pubDate>
		<dc:creator>brodie bruce</dc:creator>
		
	<category>computers</category>
	<category>subversion</category>
	<category>backups</category>
	<category>ssh</category>
		<guid isPermaLink="false">http://blog.moopsfc.com/37/2007/06/20/setting-up-subversion-on-dapper/</guid>
		<description><![CDATA[these are just some notes for myself on how i setup a subversion repository on ubuntu dapper using ssh for the access method. these should probably be combined into a script.
install software
you, obviously, have to have dapper installed and also subversion and an ssh server. on our network, you can just network boot and then [...]]]></description>
			<content:encoded><![CDATA[<p>these are just some notes for myself on how i setup a subversion repository on ubuntu dapper using ssh for the access method. these should probably be combined into a script.</p>
<h3>install software</h3>
<p>you, obviously, have to have dapper installed and also subversion and an ssh server. on our network, you can just network boot and then type &#8220;server&#8221; at the ubuntu prompt which should install the os. make sure that you either disable network booting or if in the dmz, configure an ip in the dhcp server for that specific mac address in order to not network boot anymore. after everything&#8217;s up:</p>
<blockquote><p>sudo apt-get install subversion openssh-server</p></blockquote>
<p>you now should be ready to go.</p>
<h3>setup the basic subversion area</h3>
<ol>
<li>create a subversion (svn) user:<br />
<blockquote><p>sudo adduser &#8211;disabled-password &#8211;home /var/lib/svn svn</p></blockquote>
</li>
<li>create a directory for the repositories and backups.<br />
<blockquote><p>sudo mkdir -m 2770 -p /var/lib/svn/repos /var/lib/svn/repos-backup</p></blockquote>
</li>
<li>make sure the owners are correct:<br />
<blockquote><p>sudo chown -R svn:svn /var/lib/svn</p></blockquote>
</li>
</ol>
<h3>setup a new repository</h3>
<ol>
<li>create a group for permissions for the new repository. i would make the group name the same as the name of the repository to reduce confusion.<br />
<blockquote><p>sudo addgroup [repo-group]</p></blockquote>
</li>
<li>create a directory where the repository will be located with the correct permissions. setting these permissions will  make sure that all of the directories and files that are created when the repository is created will have the proper group set.<br />
<blockquote><p>mkdir -m 2770 -p /var/lib/svn/repos/[repo-group]</p></blockquote>
</li>
<li>set the owner and group for the new repository:<br />
<blockquote><p>sudo chown svn:[repo-group] /var/lib/svn/repos/[repo-name]</p></blockquote>
</li>
<li>create the repository:<br />
<blockquote><p>svnadmin create &#8211;fs-type fsfs /var/lib/svn/repos/[repo-name]</p></blockquote>
</li>
<li>make sure the user and group is create on the files.</li>
<li>add users to the group who need access to this repository:<br />
<blockquote><p>sudo adduser [user] [repo-group]</p></blockquote>
</li>
</ol>
<p>i think that&#8217;s basically it. it seems best to create a separate repository for each project. that way it&#8217;s easy to keep permissions separated by project group. it&#8217;s also appears to not be a requirement with subversion to keep everything in one repository to be able to include them in other projects using modules as in cvs. i haven&#8217;t tested this functionality yet though. see <a href="http://svnbook.red-bean.com/en/1.2/svn.advanced.externals.html">external definitions</a> for more information.</p>
<h3>repository backups</h3>
<p>once you have your repositories setup, clearly you&#8217;re going to want to be backing up your precious data. at the current time, i&#8217;m taking the fairly simple approach of just backing up the entire repository every night using <em>svnadmin hotcopy</em>.</p>
<blockquote><p><a title="simple subversion backup script" id="p293" href="http://blog.moopsfc.com/37/backup-svn.txt">simple subversion backup script</a></p></blockquote>
<p>i just run this script for each repository every night using cron as the svn user. might should be looping through all repositories in the repos directory, but currently i&#8217;m just individually adding each to the crontab. the script doesn&#8217;t do any pruning of the backups. that&#8217;s the responsibility of the backup machine. what needs to be done is to setup a cronjob on the backup server under the target backup user that uses <em>find</em> to remove old backup files. each new backup has a timestamp in the name.<br />
the script just tars up the hotcopy directory and the pipes it to ssh and stores it on a machine we use for backups. to add a user to the backup machine:</p>
<blockquote><p>sudo adduser &#8211;disabled-password &#8211;home /home/backups/$USER $USER</p></blockquote>
<p>after creating the user, you should create a directory in the new user&#8217;s home directory that is the hostname from which you will be backing up. this way you could have backups from multiple machines going to the same user. alternatively, i guess you could create a user for each machine. then do backups as the root user on that machine (necessary for certain directories). this still needs to be worked out a bit.</p>
<p>then you have to generate an ssh key on the subversion machine to use for the backups and put the key on the backup machine under the user you just created. this command (all on one line) would be run as the svn user (or whatever user your doing backups for in the general case).</p>
<blockquote><p>ssh-keygen -b 4096 -t rsa -C $USER-backup@$HOSTNAME -f $HOME/.ssh/$USER-backup</p></blockquote>
<h3>adding new users</h3>
<p>this isn&#8217;t really specific to subversion, but is generally how servers should be configured. the only way to log into the server is using ssh with public keys. you can disabled root and password authentication in the /etc/ssh/sshd_config file. the best thing to do seems to be to add a default .ssh/authorized_keys file when the machine is first installed that includes the known ssh keys for admins. then, when a new user is added, these keys will be there by default. it&#8217;s then fairly easy for an admin to copy in the real user key and remove any admin keys if desired.</p>
<p>the passwords for all non-admin users are disabled. admins need there password in order to be able to run sudo. therefore, all admin users have to also be in the <em>admin</em> group (<code>sudo adduser [user] admin</code>). the same command for generating an ssh key as mentioned above can be used for generating keys.</p>
<p>this information should probably more flushed out in a different post. oh well. that should do for now.</p>
<h3>reference</h3>
<ul>
<li><a href="https://help.ubuntu.com/community/Subversion">subversion ubuntu community documentation</a></li>
</ul>
]]></content:encoded>
			<wfw:commentRSS>http://blog.moopsfc.com/37/2007/06/20/setting-up-subversion-on-dapper/feed/</wfw:commentRSS>
		</item>
		<item>
		<title>resolution validation</title>
		<link>http://blog.moopsfc.com/37/2006/12/07/resolution-validation/</link>
		<comments>http://blog.moopsfc.com/37/2006/12/07/resolution-validation/#comments</comments>
		<pubDate>Thu, 07 Dec 2006 23:36:13 +0000</pubDate>
		<dc:creator>brodie bruce</dc:creator>
		
	<category>technology</category>
		<guid isPermaLink="false">http://blog.moopsfc.com/37/2006/12/07/resolution-validation/</guid>
		<description><![CDATA[the previous post was babbling about what a waste atsc and hdtv have been. i ran across a post today that includes a graph for when resolutions start to matter. as expected, most people with 20/20 won&#8217;t be able to notice unless they have a 30&#8243;+ display.
granted, years from now it might matter, but i [...]]]></description>
			<content:encoded><![CDATA[<p>the previous post was babbling about what a waste atsc and hdtv have been. i ran across a <a href="http://www.carltonbale.com/blog/2006/11/1080p-does-matter/">post</a> today that includes a graph for when resolutions start to matter. as expected, most people with 20/20 won&#8217;t be able to notice unless they have a 30&#8243;+ display.</p>
<p>granted, years from now it might matter, but i remain unconvinced that most people even 20 years from now will have a 50&#8243;+ display. it&#8217;s basically everyone subsidizing the cost of a few people&#8217;s home theaters. the bump to 720p would have been sufficient. 576p (pal dvd) isn&#8217;t listed, but you would assume it would just move the line a reasonable amount farther out.
</p>
]]></content:encoded>
			<wfw:commentRSS>http://blog.moopsfc.com/37/2006/12/07/resolution-validation/feed/</wfw:commentRSS>
		</item>
		<item>
		<title>atsc and hdtv suck</title>
		<link>http://blog.moopsfc.com/37/2006/09/02/atsc-and-hdtv-sucks/</link>
		<comments>http://blog.moopsfc.com/37/2006/09/02/atsc-and-hdtv-sucks/#comments</comments>
		<pubDate>Sat, 02 Sep 2006 01:33:15 +0000</pubDate>
		<dc:creator>brodie bruce</dc:creator>
		
	<category>technology</category>
		<guid isPermaLink="false">http://blog.moopsfc.com/37/2006/09/02/atsc-and-hdtv-sucks/</guid>
		<description><![CDATA[intro
for starters, you should probably read this excellent page discussing the advanced tv problem that was most likely in context of around the mid-1990&#8217;s. i unquestionably side with the c.i.c.a.t.s. proposal. the same site also has good descriptions of interlacing and compression. i would also point out that the european pal format is superior to [...]]]></description>
			<content:encoded><![CDATA[<h3>intro</h3>
<p>for starters, you should probably read this excellent page discussing the <a href="http://alvyray.com/DigitalTV/DTV_Problem.htm">advanced tv problem</a> that was most likely in context of around the mid-1990&#8217;s. i unquestionably side with the c.i.c.a.t.s. proposal. the same site also has good descriptions of <a href="http://alvyray.com/DigitalTV/default.htm">interlacing and compression</a>. i would also point out that the european pal format is superior to ntsc in every way. i am an american.</p>
<h3>interlacing</h3>
<p>let&#8217;s just go ahead and get this one out of the way. interlacing has got to go. unnecessary legacy analog crap. in the absence of digital compression technology it was a brilliant solution. however, those days are supposedly gone so it should no longer be present. i found a good write up about <a href="http://broadcastengineering.com/news/broadcasting_understanding_interlace_2/index.html">interlacing and digital compression</a>. here&#8217;s the important snippet from the conclusion if you don&#8217;t want to read the whole thing:</p>
<blockquote><p>Interlacing is a legacy compression technique developed in the days of vacuum tubes. With MPEG compression, not only is interlacing unnecessary, it’s actually undesirable because MPEG gives worse results with interlaced input for the same bit rate.</p></blockquote>
<p>atsc&#8217;s supposed highest hd format is 1080/60i which is interlaced (that&#8217;s what the &#8216;i&#8217; means). therefore, it should be ignored like the red-headed step-child it is. there are actually a 1080/24p and 1080/30p versions of 1080 which would be fine, but appear to be ignored by the broadcasters.</p>
<p>i should point out that there is a lot of non-sense going on right now about blu-ray and hd dvd and having 1080/60p output. this is totally irrelevant as the majority of content (movies) will have been shot in 24p (24 progressive frames per second) and then full frames encoded into 30 interlaced frames. therefore you will get the full resolution of someting shot on film without having 1080/60p. the xbox or playstation 3 is a different story since they couldn&#8217;t theoretically generate full 1920&#215;1080 at 60 frames per second (fps).</p>
<p>the presence of interlacing for non-legacy formats in atsc is the first signs that the committee should have been fired.</p>
<h3>high resolution</h3>
<p>in their infinite wisdom, atsc thought it was a good idea to have multiple resolutions (clearly  having never setup a tv for your average human). this is one of the key components of high definition. there&#8217;s 1280&#215;720 and 1920&#215;1080. these are the number of pixels (dots) that make up the screen. the 2 most well known forms are 720p and 1080i which are 60 progressive frames and 60 interlaced frames respectively. pretending for a second that interlaced and progressive scanning are equal (which they&#8217;re not), these resolutions are useless for most peoples televisions. supposedly your average home viewer is about 2 or 3 meters away from their display. i wear glasses so my vision should be effectively 20/20. at 2 meters, i question whether or not i can tell the difference between an hd picture and a dvd. for sure, you can tell a difference between hd and analog ntsc, but that is more due to the switch to digital than bumping the resolution. for most everyone with a 42&#8243; display or smaller, they will not be able to tell the difference. the juice is not worth the squeeze.</p>
<p>i found this article from nhk called <a href="http://www.nhk.or.jp/digital/en/technical_report/pdf/ibc200502.pdf">future prospects of hdtv: technical trends towards 1080p</a>. it&#8217;s interesting and claims that the at 2 or 3 meters for a 33&#8243; 1280&#215;720 is sufficient and for 50&#8243; 1920&#215;1080. this is to sustain the appearance of reality. whatever that means. i used to watch dvds and hd on a 6&#8242; wide projected image from approximately 3m using an 800&#215;600 projector. i could make out the pixels, but only if i was looking for it. if you&#8217;re actually paying any attention to what you are watching, you don&#8217;t notice the pixels.</p>
<p>as a side note, most movies with special effects and all animated movies were generated at 2k resolution (that&#8217;s a computer &#8216;k&#8217;, so it&#8217;s a 2048 pixels wide image which is very close to 1920&#215;1080). it&#8217;s only fairly recently that some movie production is done with 4k (4096 wide) images. that means if you saw something like &#8220;finding nemo&#8221; in the theater you were seeing an hd image projected at about 30&#8242;. don&#8217;t you think it&#8217;s enough on your 3&#8242; screen? obviously, film has much higher color depth, but that&#8217;s a different issue that hd doesn&#8217;t even address.</p>
<h3>framerates</h3>
<p>films have been 24 fps for quite some time and yet we&#8217;re still stuck with 30 or 60 fps. wait, my bad, that&#8217;s actually 29.97 (30 * (1000/1001)) or 59.94 due to the addition of color to black and white back in the day. another, apparently unnecessary retardedness hoisted upon us by the ntsc. supposedly, it wasn&#8217;t even necessary to screw with the frame rate. who selects these government agencies? i digress.</p>
<p>basically, it&#8217;s <a href="http://en.wikipedia.org/wiki/Telecine#Frame_rate_differences">slightly complicated</a> to convert a 24fps movie to 30fps for tv. europe and other pal countries don&#8217;t have this problem. pal is 25fps. by speeding up the video and audio by 4%, they can show a movie. as a bonus, the movie is done 4% faster. the downside is that it&#8217;s conceivable to notice a slightly higher pitch to the audio. however, i believe i read somewhere that it&#8217;s not as big of a problem now using pitch correction software that makes all those pop stars&#8217; cds sound so good. in my experience, it was noticable on older movies, but not on newer ones.</p>
<p>at any rate, the switch to digital was a great opportunity to either get back in sync with the movie industry or get in line with some other countries that have a better choice. unfortunately, atsc chose the same crap. actually, the framerates were apparently originally  literal 30 and 60, but later accepted that 29.97 and 59.94 were ok too. show some fucking backbone.</p>
<h3>compression</h3>
<p>atsc uses mpeg-2 video compression. it&#8217;s just not sufficient for the chosen resolutions and bandwidth. especially since most broadcasters around here are sending out an hd channel and a sd channel. so from the already puny ~18Mbps, the alot ~14Mbps for the hd channel. btw, most dvds are ~9Mbps. higher resolutions never should have been attempted with out using better compression. granted, when a lot of this stuff was going on mpeg-4/h.264 or any of the other modern codecs didn&#8217;t really exist in any production capacity which is yet another reason why just switching to standard definition digital would have been a good idea.</p>
<h3>across the pond</h3>
<p>in england, they have digital broadcast television called <a href="http://en.wikipedia.org/wiki/Freeview">freeview</a>. the resolution is the same as a pal dvd (720&#215;576 <a href="http://en.wikipedia.org/wiki/Anamorphic">anamorphic widescreen</a> which stretches to 1024&#215;576) although with a slightly lower bandwidth of like 6.5Mbps. the quality was generally fairly good. they made the correct choice.</p>
<h3>conclusion</h3>
<p>it generally breaks down like this. the first phase of atsc should have been to broadcast the equal of 2 dvd quality channels. by now, everyone could be watching digital television). instead, not. the next phase could including upgrading the image quality and fixing the framerate issues. unfortunately, not. i would have been all for setting 1024&#215;512 @ 25 and 50fps. the worry shouldn&#8217;t be with how old stuff is maintained, but looking to the future. we&#8217;ll get to that in another post.</p>
<p>i&#8217;m sure this is rambling and not very well organized. feel free to suggest edits.
</p>
]]></content:encoded>
			<wfw:commentRSS>http://blog.moopsfc.com/37/2006/09/02/atsc-and-hdtv-sucks/feed/</wfw:commentRSS>
		</item>
		<item>
		<title>using gnu screen to launch server apps from inittab</title>
		<link>http://blog.moopsfc.com/37/2006/08/31/using-gnu-screen-to-launch-server-apps-from-inittab/</link>
		<comments>http://blog.moopsfc.com/37/2006/08/31/using-gnu-screen-to-launch-server-apps-from-inittab/#comments</comments>
		<pubDate>Thu, 31 Aug 2006 20:31:53 +0000</pubDate>
		<dc:creator>brodie bruce</dc:creator>
		
	<category>computers</category>
		<guid isPermaLink="false">http://blog.moopsfc.com/37/2006/08/31/using-gnu-screen-to-launch-server-apps-from-inittab/</guid>
		<description><![CDATA[all of this is on ubuntu 6.06 lts dapper drake. it most likely equally applies to all linuxes (possibly other unixes) that have gnu screen installed and use inittab. the runlevels may be different.
i spent a several hours yesterday looking into how to use screen to launch an app from inittab and still maintain a [...]]]></description>
			<content:encoded><![CDATA[<p>all of this is on ubuntu 6.06 lts dapper drake. it most likely equally applies to all linuxes (possibly other unixes) that have <a href="http://www.gnu.org/software/screen/">gnu screen</a> installed and use inittab. the runlevels may be different.</p>
<p>i spent a several hours yesterday looking into how to use screen to launch an app from inittab and still maintain a console to it. the initial goal was related to how to start a common lisp server application at boot, but the testing was done using a java app. unfortunately, there&#8217;s no console control on the java application, but it does print out some messages at startup and if something goes horribly wrong, the exception is dumped to stderr. it might be worth while to write one.</p>
<p>at any rate, the initial lead came from a post to comp.lang.lisp from like 2004 that i didn&#8217;t have the forsight to bookmark. there wasn&#8217;t any specifics and searching on google for anything related to screen is practically useless, as one might, due to &#8220;screen&#8221; being a fairly generic word. hopefully, including &#8220;gnu screen&#8221; will make it better. probably not.</p>
<p>so, here&#8217;s what i found/figured out. i figure the best way is to create a specific screen config file to pass on the command line with &#8220;-c&#8221;. this makes the command in inittab shorter and possibly makes it easier to keep things separate if you&#8217;re starting multiple applications. the main thing to watch out for is that when starting gnu screen with a config file and using the &#8220;chdir&#8221; command in the file you need to specify the absolute path to the config file. if you don&#8217;t, when you try to re-attach, you&#8217;ll get an &#8220;Unable to open &#8221; message and the detached screen process will exit. not very useful.</p>
<p>here&#8217;s the (sort of) contents of my screen config file:</p>
<blockquote><p>sessionname app</p>
<p>chdir</p>
<p>screen -t ces -L 0 java -jar [full path]/app.jar [args]</p></blockquote>
<p>the sessionname is whatever you want to use for when you re-attach with &#8220;screen -r app&#8221;. you may or may not need to use chdir, but it&#8217;s probably helpful for most apps if that&#8217;s somewhere that the user the application is running as can write to or maybe not. your call. the &#8220;screen&#8221; command is what starts the application. &#8220;-L&#8221; does logging to the default file (which is in wherever the current working dir for screen is. in this case, the dir after &#8220;chdir&#8221;). &#8220;-t&#8221; is probably unnecessary as it&#8217;s just the screen window title. we&#8217;re only using one in this case so i doubt it&#8217;s important. the rest is the command to launch the application. fairly simple.</p>
<p>the next step is the command to start screen. this is (sort of) what i have in /etc/inittab:</p>
<blockquote><p>app:23:respawn:/bin/su - [user] -c &#8220;screen -D -m -c [fullpath]/app.screenrc&#8221;</p></blockquote>
<p>the &#8220;-D -m&#8221; will cause the screen process to start detached without forking to a new process. this is important because when the screen process exits, init will respawn it. the app at the beginning of the line can be whatever you want as long as it&#8217;s unique to the file and 4 characters or less. currently, we are starting some java applications by just directly calling it from inittab and redirecting the stderr and stdout to files. to get it active, just do a &#8220;kill -HUP 1&#8243; as root.</p>
<p>now, to re-attach to the screen session you just use &#8220;screen -r app&#8221; or whatever you used for sessionname in the config file. you should see any output from your application now and have full terminal access just like if you had started it from a shell. gnu screen has support for password protecting the session, but i haven&#8217;t tried it yet. it&#8217;s probably less important in this specific case since you can&#8217;t input/control anything and you have to be either the user or root to re-attach to the session.</p>
<p>there may be a question of screen stability, but i find it unlikely to be a problem as gnu screen has been around for a while and is only getting bug fixes. what a plus to have an application that is feature complete.</p>
<p>an alternative might be to not use screen at all and directly start the application on an empty console instead of a getty program. the downside is that you would have to have physical access to the console in order to access the program. wasn&#8217;t really an option for me.</p>
<p>there&#8217;s also a program called <a href="http://www.cliki.net/detachtty">detachtty</a> written by a lisper that he thinks works better than screen. supposedly, you can access it over the network using ssh, but it&#8217;s not immediately apparent how this is done from my extremely limited scanning of the webpage. it appears to be targeted at use in a real init.d script and doesn&#8217;t seem like it would work from within inittab.<br />
hopefully, this post will help me save some time in the future when i finally get around to using this method.
</p>
]]></content:encoded>
			<wfw:commentRSS>http://blog.moopsfc.com/37/2006/08/31/using-gnu-screen-to-launch-server-apps-from-inittab/feed/</wfw:commentRSS>
		</item>
		<item>
		<title>how to add an ipsec connection on ubuntu dapper</title>
		<link>http://blog.moopsfc.com/37/2006/08/23/how-to-add-an-ipsec-connection-on-ubuntu-dapper/</link>
		<comments>http://blog.moopsfc.com/37/2006/08/23/how-to-add-an-ipsec-connection-on-ubuntu-dapper/#comments</comments>
		<pubDate>Wed, 23 Aug 2006 00:28:54 +0000</pubDate>
		<dc:creator>brodie bruce</dc:creator>
		
	<category>computers</category>
		<guid isPermaLink="false">http://blog.moopsfc.com/37/2006/08/23/how-to-add-an-ipsec-connection-on-ubuntu-dapper/</guid>
		<description><![CDATA[this is using racoon for ike and ipsec tools. i didn&#8217;t use the racoon-tool or whatever the debian added config thing is for racoon because it wouldn&#8217;t startup properly for me. problems loading modules.
i believe the only extra packages installed passed the server defaults was shorewall firewall, racoon and ipsec-tools.
here&#8217;s the notes i took for [...]]]></description>
			<content:encoded><![CDATA[<p>this is using racoon for ike and ipsec tools. i didn&#8217;t use the racoon-tool or whatever the debian added config thing is for racoon because it wouldn&#8217;t startup properly for me. problems loading modules.</p>
<p>i believe the only extra packages installed passed the server defaults was shorewall firewall, racoon and ipsec-tools.</p>
<p>here&#8217;s the notes i took for adding a connection to a new remote host.</p>
<ul>
<li>add pre shared key to /etc/racoon/psk.txt</li>
<li>update /etc/racoon/racoon.conf by adding a remote and sainfo sections similar   to an existing entry. sainfo requires encryption_algorithm,   authentication_algorithm and compression_algorithm entries.</li>
<li>add spdadd entry pairs for both local to remote network and remote to local in  /etc/ipsec-tools.conf.</li>
<li>stop racoon: <code>/etc/init.d/racoon stop</code></li>
<li>restart ipsec: <code>/etc/init.d/setkey restart</code></li>
<li>start racoon: <code>/etc/init.d/racoon start</code></li>
<li>if racoon doesn&#8217;t start, check /var/log/daemon.log for config errors.</li>
<li>add an entry to /etc/shorewall/tunnels to define the remote gateway</li>
<li>add an entry to /etc/shorewall/zones to create a zone to use for rules. the   zone name can&#8217;t be more than 5 characters long.</li>
<li>add entries in the /etc/shorewall/hosts to define what hosts are in the zone</li>
<li>add entires to /etc/shorewall/policy for whatever firewalling rules need to be  created for the vpn. at a minimum an entry to allow full access from loc to   vpn and vpn to loc would be necessary. everything gets dropped by default.</li>
<li>restart shorewall: <code>/etc/init.d/shorewall restart</code></li>
</ul>
]]></content:encoded>
			<wfw:commentRSS>http://blog.moopsfc.com/37/2006/08/23/how-to-add-an-ipsec-connection-on-ubuntu-dapper/feed/</wfw:commentRSS>
		</item>
		<item>
		<title>sweet home alabama?</title>
		<link>http://blog.moopsfc.com/37/2006/06/30/sweet-home-alabama/</link>
		<comments>http://blog.moopsfc.com/37/2006/06/30/sweet-home-alabama/#comments</comments>
		<pubDate>Fri, 30 Jun 2006 22:04:46 +0000</pubDate>
		<dc:creator>brodie bruce</dc:creator>
		
	<category>eurotrip-2006</category>
		<guid isPermaLink="false">http://blog.moopsfc.com/37/2006/06/30/sweet-home-alabama/</guid>
		<description><![CDATA[i&#8217;m back. actually, i was back wednesday. got some good sleep after being up for probably 36+ hours. only the occasional nodding off on the flight. thursday was lazy and then, of course, the world cup started having matches again today. i figure at some point, at least for myself, i should post some final [...]]]></description>
			<content:encoded><![CDATA[<p>i&#8217;m back. actually, i was back wednesday. got some good sleep after being up for probably 36+ hours. only the occasional nodding off on the flight. thursday was lazy and then, of course, the world cup started having matches again today. i figure at some point, at least for myself, i should post some final thoughts, but i just don&#8217;t feel into it right now.</p>
<p>still many questions to sort out about the future. in some ways it&#8217;s good to be back, but a bit of a culture shock. more so than going was.
</p>
]]></content:encoded>
			<wfw:commentRSS>http://blog.moopsfc.com/37/2006/06/30/sweet-home-alabama/feed/</wfw:commentRSS>
		</item>
		<item>
		<title>quicky</title>
		<link>http://blog.moopsfc.com/37/2006/06/26/quicky-2/</link>
		<comments>http://blog.moopsfc.com/37/2006/06/26/quicky-2/#comments</comments>
		<pubDate>Mon, 26 Jun 2006 18:50:49 +0000</pubDate>
		<dc:creator>brodie bruce</dc:creator>
		
	<category>eurotrip-2006</category>
		<guid isPermaLink="false">http://blog.moopsfc.com/37/2006/06/26/quicky-2/</guid>
		<description><![CDATA[this little experiment is coming to an end on the 28th. i&#8217;ll be back in birmingham then. try to contain your joy.
helpful tip of the day: don&#8217;t buy or attempt to move transcontinental tickets late. it&#8217;s cheaper to buy a one-way than move the return portion. seems a bit insane. also, if you&#8217;re going to [...]]]></description>
			<content:encoded><![CDATA[<p>this little experiment is coming to an end on the 28th. i&#8217;ll be back in birmingham then. try to contain your joy.</p>
<p>helpful tip of the day: don&#8217;t buy or attempt to move transcontinental tickets late. it&#8217;s cheaper to buy a one-way than move the return portion. seems a bit insane. also, if you&#8217;re going to the world cup, don&#8217;t plan to do anything else in europe afterwards (except go to amsterdam if you&#8217;ve never been) because you will be a bit deflated after your team loses. well, unless you&#8217;re from brazil in which case you probably just shouldn&#8217;t come until the round of 16.</p>
<p>whether or not the blog will continue is up in the air since i&#8217;m extremely lazy. i suppose i&#8217;m going to have to at least bring it all together in one more post after i get back.
</p>
]]></content:encoded>
			<wfw:commentRSS>http://blog.moopsfc.com/37/2006/06/26/quicky-2/feed/</wfw:commentRSS>
		</item>
		<item>
		<title>status update</title>
		<link>http://blog.moopsfc.com/37/2006/06/23/status-update/</link>
		<comments>http://blog.moopsfc.com/37/2006/06/23/status-update/#comments</comments>
		<pubDate>Fri, 23 Jun 2006 18:19:29 +0000</pubDate>
		<dc:creator>brodie bruce</dc:creator>
		
	<category>eurotrip-2006</category>
		<guid isPermaLink="false">http://blog.moopsfc.com/37/2006/06/23/status-update/</guid>
		<description><![CDATA[i had part of this written and then had to start over because some dumb-fuck at mozilla thinks it&#8217;s a good idea to have the backspace key mapped to the back button.  why would anyone ever do this?
i&#8217;m flying back to london on the 25th.  even booking the flight late it will probably cost me [...]]]></description>
			<content:encoded><![CDATA[<p>i had part of this written and then had to start over because some dumb-fuck at mozilla thinks it&#8217;s a good idea to have the backspace key mapped to the back button.  why would anyone ever do this?</p>
<p>i&#8217;m flying back to london on the 25th.  even booking the flight late it will probably cost me about the same as the train/ferry/train trip took me getting to frankfurt. i&#8217;m going to attempt to try and move my flight up to the 28th, 29th, 2nd or 3rd, non-match days, obviously. so, for good or bad, depending on who you are, i&#8217;ll be home about a week earlier than planned.</p>
<p>i had initially planned to go back through amsterdam for a couple of days or so, but i decided not to tease myself.  i&#8217;m still planning on going back for an extended stay. i wonder how long they&#8217;ll give me a visa for?</p>
<p>damn, 3 posts in one day.  it&#8217;s really far too time consuming.  more an issue with uploading the pictures though.
</p>
]]></content:encoded>
			<wfw:commentRSS>http://blog.moopsfc.com/37/2006/06/23/status-update/feed/</wfw:commentRSS>
		</item>
		<item>
		<title>lot of links</title>
		<link>http://blog.moopsfc.com/37/2006/06/23/lot-of-links-2/</link>
		<comments>http://blog.moopsfc.com/37/2006/06/23/lot-of-links-2/#comments</comments>
		<pubDate>Fri, 23 Jun 2006 18:07:21 +0000</pubDate>
		<dc:creator>brodie bruce</dc:creator>
		
	<category>eurotrip-2006</category>
		<guid isPermaLink="false">http://blog.moopsfc.com/37/2006/06/23/lot-of-links-2/</guid>
		<description><![CDATA[someone&#8217;s comparison of differences between germany and the u.s.
a national geographic survey of 18-24 year olds&#8217;s geographic literacy. i&#8217;m not convinced it&#8217;s truely relevant. does it really  matter if i know that there was an earthquake in pakistan in 2005? where is sudan on the globe? just to be clear, no, it doesn&#8217;t. the [...]]]></description>
			<content:encoded><![CDATA[<p>someone&#8217;s comparison of differences between <a href="http://adaabroad.blogspot.com/2005/07/best-of-both-worlds.html">germany and the u.s.</a></p>
<p>a national geographic survey of 18-24 year olds&#8217;s <a href="http://www.nationalgeographic.com/roper2006/index.html">geographic literacy</a>. i&#8217;m not convinced it&#8217;s truely relevant. does it really  matter if i know that there was an earthquake in pakistan in 2005? where is sudan on the globe? just to be clear, no, it doesn&#8217;t. the percentages weren&#8217;t generally that bad. the worst for me was probably the number of people in the u.s. and this poor showing probably lead to the one about what the most spoken language is. i probably only got 15 out of 20 right and i would say i&#8217;m reasonably informed. more important statistics would be on how well people can learn on their own when information or skills are needed. most of this crap doesn&#8217;t affect someone&#8217;s daily life. i also don&#8217;t think that it&#8217;s really that important for someone to learn a second language just for kicks. it&#8217;s probably a bigger deal in europe since every country (pretty much) speaks a different language. if every state in the u.s. spoke a different language that would be comparable. if i moved to a different country, i would learn the native language. i suppose you could argue that spanish is becoming more important in the u.s., but it&#8217;s the job of the new &#8220;citizen&#8221; to learn the local language. so if you moved to miami, you would need to learn spanish. this is way too much rambling for a link.</p>
<p>some group, non al-qaida, busted supposedly <a href="http://news.yahoo.com/s/ap/20060623/ap_on_re_us/terrorism_investigation">plotting to blow up the sears tower</a> (in chicago if you didn&#8217;t do so well on that last survey). maybe there&#8217;s more info now. an important thing to look for is how much all that crap in the patriot act was used to bust them. my guess is none. from this article, it sounds like it was neighbors reporting suspicous activity.</p>
<p>i also updated the other article related to kangaroo meet, etc. it doesn&#8217;t appear to be a legality issue. more of being common or socially accepted. although, apparently for any meat sold in the u.s., it must be farm raised and not wild. the price is apparently a factor for the u.s. as it&#8217;s comparable in price to beef where we went here in germany. maybe beef is more expensive here. i expect in the u.s. it may be more an issue of pricing it higher to make it even more exclusive and exotic or a demand issue. here&#8217;s an article about its use in <a href="http://www.jrn.columbia.edu/studentwork/cns/2002-04-03/423.asp">trendy restaurants</a>. the unfortunate thing is that kangaroo and emu are low in fat (emu was listed as no cholesterol on the menu where we ate) and maybe that would help all the american fat asses. btw, i&#8217;m not sure what the stats are, but the view of what is fat in europe seems to be different (to the heavier side) from that in america. although, i would discount that more americans aren&#8217;t truly fatter as a percentage. damn, too much rambling again.
</p>
]]></content:encoded>
			<wfw:commentRSS>http://blog.moopsfc.com/37/2006/06/23/lot-of-links-2/feed/</wfw:commentRSS>
		</item>
		<item>
		<title>-result! u.s.a. v ghana</title>
		<link>http://blog.moopsfc.com/37/2006/06/23/result-usa-v-ghana/</link>
		<comments>http://blog.moopsfc.com/37/2006/06/23/result-usa-v-ghana/#comments</comments>
		<pubDate>Fri, 23 Jun 2006 17:28:16 +0000</pubDate>
		<dc:creator>brodie bruce</dc:creator>
		
	<category>eurotrip-2006</category>
		<guid isPermaLink="false">http://blog.moopsfc.com/37/2006/06/23/result-usa-v-ghana/</guid>
		<description><![CDATA[
i can&#8217;t say i&#8217;m surprised by the result. while i was hopeful we would win, my gut feeling was we weren&#8217;t going through. the big question was really whether or not the team that lost to the czechs or the team that tied italy was going to show up. we got the former.
the penalty kick [...]]]></description>
			<content:encoded><![CDATA[<p><img id="image274" alt="2006-06-22 u.s.a. v ghana ticket" src="http://blog.moopsfc.com/37/wp-content/uploads/2006/06/2006-06-22-usa-v-ghana-ticket.jpg" /><br />
i can&#8217;t say i&#8217;m surprised by the result. while i was hopeful we would win, my gut feeling was we weren&#8217;t going through. the big question was really whether or not the team that lost to the czechs or the team that tied italy was going to show up. we got the former.</p>
<p>the penalty kick was bullshit. however, both of ghana&#8217;s goals were a direct result of bad play on our part. why in the hell didn&#8217;t bocanegra head the ball safely out of bounds with a couple of minutes of less left in the half? why was reyna messing around in the back with no support? it&#8217;s difficult to question starting reyna, but after 2 great matches it&#8217;s hard to see how the old man could have any gas left. i think olsen did pretty well after coming in. beasley had his best match of the 3, but that&#8217;s not saying much. my choice still would have been convey. donovan was non-existant as in the first match. someone needs to figure out how to flip his switch to the &#8220;on&#8221; position for matches. if he was playing in a league where you had to perform at your best every week he would learn or be dropped. it doesn&#8217;t seem he cares enough to stick with it long enough to learn. however, after being here for a couple of weeks (and granted, limited exposure), i wouldn&#8217;t want to stay in germany either. if he&#8217;s going to ever progress he has to go to a major league. and no, just because m.l.s. has &#8220;major league&#8221; in it&#8217;s name, it doesn&#8217;t count. after his comment post italy about building confidence after taking people on, i don&#8217;t think he even tried once against ghana. oddly, i only remember dempsey taking someone on once and not getting down the right wing much. is bruce telling the right midfielder to not do this, as beasley wasn&#8217;t doing it either in the first match. i was glad to see dempsey get the goal, but he didn&#8217;t seem the same player from the italy match. unlike donovan, he has hope since he actually seems to have the desire to be the best. i hope some premier or championship scouts saw enough to give him a chance.</p>
<p>i would like to see the match again on t.v. to see for sure, but generally, the ref seemed to be crap. i&#8217;m not sure the u.s. will ever get any calls going our way as long as the crowd boos every decision the ref makes against us. not that it doesn&#8217;t mostly seem warranted. i expect they don&#8217;t like it when players complain, imagine 20,000+ booing and chanting bullshit? regardless of what the ref apologist on the local train from the stadium says (he had a georgia soccer referee camp (or something) t-shirt on. not a good sign for objectivity of ref criticism), that was not a penalty and the ref was crap for both teams. according to the apologist, merk (the german ref) is supposedly rated the number one ref in the world. he didn&#8217;t say by who. if it&#8217;s fifa, it&#8217;s probably just as irrelevant as the fifa national team rankings. bad refing can definitely affect a team mentally and especially after coming of the italy match. the u.s. will have to play perfect matches if they ever hope to win the world cup.</p>
<p>i have a few problems with some of the u.s. supporters&#8217; chants. i only heard some of them at the yanks abroad meeting in nuremberg. there&#8217;s the normal &#8220;<a href="http://www.netflix.com/MovieDisplay?movieid=70011195">team america</a>&#8221; cheer of &#8220;america&#8230;.fuck yeah!&#8221;. however, there was now the appended, &#8220;ghana&#8230;.fuck you!&#8221;. is that really necessary? i did overhear someone saying that it wasn&#8217;t really much fun to harass the ghana fans since they were so nice. they did seem to be good fans. i&#8217;m not a big fan of their team&#8217;s diving and rolling around though. i would also prefer to not have the singing of &#8220;god bless america&#8221; for the obvious (at least for me) reason. in case it&#8217;s not obvious, it&#8217;s the presence of the word &#8220;god&#8221;, &#8220;bless&#8221; and all the other religious bits. we&#8217;re not going to get into it here. i think there were some more, but they escape me now. i would also like to do a political survey on the u.s. supporters. there&#8217;s a lot of nationalistic chanting and abundance of flag waving and what not, but what are the real views? while sitting at the yanks abroad thing, i kept wondering whether or not it was just me who felt there were inconsistencies in the words in the chants/songs and my view of the current situation in the u.s.? i&#8217;ll have to remember to create a survey for the next national team match.</p>
<p>anyways, nobody wants to read that crap. you would probably prefer pictures.</p>
<p>first off, is there some reason the world cup tickets have to be so fucking big? not only are they huge and won&#8217;t fit in a reasonably sized pocket, but they have an rfid chip in the ticket so it says not to bend it. of course, they could at least tell you where the chip is or give a bend point. utterly ridiculous. they must have a friend who makes the ticket holder necklaces (it&#8217;s odd that i didn&#8217;t know how to spell this word off the top of my head. clearly, neckless was incorrect.).</p>
<p><a title="big world cup tickets" class="imagelink" href="http://blog.moopsfc.com/37/wp-content/uploads/2006/06/big-world-cup-tickets.jpg"><img alt="big world cup tickets" id="image276" src="http://blog.moopsfc.com/37/wp-content/uploads/2006/06/big-world-cup-tickets.thumbnail.jpg" /></a></p>
<p>maybe i should be a hand model?</p>
<p>this is from the yanks abroad party at o&#8217;shea&#8217;s pub in nuremberg. i&#8217;m not really sure that a speedo and flag cape is a good look for anyone.</p>
<p><a class="imagelink" title="2006-06-22 u.s.a. v ghana speedo" href="http://blog.moopsfc.com/37/wp-content/uploads/2006/06/2006-06-22-usa-v-ghana-speedo.jpg"><img id="image281" alt="2006-06-22 u.s.a. v ghana speedo" src="http://blog.moopsfc.com/37/wp-content/uploads/2006/06/2006-06-22-usa-v-ghana-speedo.thumbnail.jpg" /></a></p>
<p>i didn&#8217;t really think about it until i was about to post this, but i don&#8217;t think i&#8217;ve seen any of the little boy peeing statues since leaving england. maybe i just missed them. at any rate, this would seem better.</p>
<p><a class="imagelink" title="nuremberg nice tits statue" href="http://blog.moopsfc.com/37/wp-content/uploads/2006/06/2006-06-22-nuremberg-nice-tits.jpg"><img id="image279" alt="nuremberg nice tits statue" src="http://blog.moopsfc.com/37/wp-content/uploads/2006/06/2006-06-22-nuremberg-nice-tits.thumbnail.jpg" /></a></p>
<p>i&#8217;m sure everyone back in the day thought they were real clever with the boy peeing. that or they were all pedophiles. should george bush getting on that? surely if the naked breasts in the halls of justice are going to be cloaked we can&#8217;t have naked boys peeing all over the place. speaking of, isn&#8217;t it a little inconsistent to want to hide breasts and be against gay marriage. wouldn&#8217;t they want to encourage hetersexuality? anyway.</p>
<p>even with captain america watching over us, we couldn&#8217;t pull out a win.</p>
<p><a class="imagelink" title="2006-06-22 u.s.a. v ghana captain america" href="http://blog.moopsfc.com/37/wp-content/uploads/2006/06/2006-06-22-usa-v-ghana-captain-america.jpg"><img id="image280" alt="2006-06-22 u.s.a. v ghana captain america" src="http://blog.moopsfc.com/37/wp-content/uploads/2006/06/2006-06-22-usa-v-ghana-captain-america.thumbnail.jpg" /></a></p>
<p>these were our worst seats of the tournament.</p>
<p><a class="imagelink" title="2006-06-22 u.s.a. v ghana crap seats" href="http://blog.moopsfc.com/37/wp-content/uploads/2006/06/2006-06-22-usa-v-ghana-crap-seats.jpg"><img id="image282" alt="2006-06-22 u.s.a. v ghana crap seats" src="http://blog.moopsfc.com/37/wp-content/uploads/2006/06/2006-06-22-usa-v-ghana-crap-seats.thumbnail.jpg" /></a></p>
<p>before any of this fifa rules for having covered stands crap, they need to have a no fucking track around the pitch rule.</p>
<p>there weren&#8217;t any pictures after the match as we busted ass out of there a few minutes early to catch the earliest train back to frankfurt to be able to watch the brazil v japan match.</p>
<p>these last 2 pictures aren&#8217;t related to the match itself. this limo was parked outside our hotel when we were leaving. it was behind an open gate (normally closed). the odd thing was, the limo&#8217;s there, i&#8217;m have a camera pointed at it and this dumbass asks &#8220;can i help you?&#8221; in that sort of &#8220;what the fuck are you doing here?&#8221; sort of way. is that necessary? why doesn&#8217;t he use half a brain cell and figure it out. painted, unusual limo, camera, uuhhhh? anyways.</p>
<p><a class="imagelink" title="dutch world cup limo" href="http://blog.moopsfc.com/37/wp-content/uploads/2006/06/dutch-world-cup-limo.jpg"><img id="image277" alt="dutch world cup limo" src="http://blog.moopsfc.com/37/wp-content/uploads/2006/06/dutch-world-cup-limo.thumbnail.jpg" /></a></p>
<p>this is the hotel &#8220;beer garden&#8221;. it&#8217;s actually decent for watching matches. ignoring that the video quality wasn&#8217;t that great, analog. what can you do? it seemed fairly temporary anyway.</p>
<p><a class="imagelink" title="our hotel's beer garden" href="http://blog.moopsfc.com/37/wp-content/uploads/2006/06/hotel-beer-garden.jpg"><img id="image278" alt="our hotel's beer garden" src="http://blog.moopsfc.com/37/wp-content/uploads/2006/06/hotel-beer-garden.thumbnail.jpg" /></a></p>
<p>oh well, we lost and we&#8217;re out. 4 years to go. i&#8217;ve seen at least one article that mentioned rumors of 2010 moving to england instead of south africa over worries that the infrastructure there just won&#8217;t be up to snuff. germany has set the bar incredibly high. maybe england really only thinks they really have a shot of winning when it&#8217;s in their country. my expectations that south africa will go as smoothly is rather low. however, i don&#8217;t really know that much about south africa. i&#8217;m not sure the u.s. would even work as well due to public transport. however, they fact that it&#8217;s cheap relative to europe and huge stadiums is a plus. the europeans would just have to get over having night games so it&#8217;s not too hot.<br />
i won&#8217;t be sad about leaving here, nor will i probably ever come back. even with great public transport, it just doesn&#8217;t do it for me for some reason. maybe it&#8217;s just frankfurt. hearing german all the time is really getting on my nerves too. whatever it is that makes it good for listening to <a href="http://rammstein.com/">rammstein</a>, makes it bad for hearing daily in conversation. dutch didn&#8217;t seem to bother me. there was a conversation when i was in amsterdam in which i said i probably couldn&#8217;t tell the difference between german and dutch if i wasn&#8217;t hearing them at the same time. i definitely could now.
</p>
]]></content:encoded>
			<wfw:commentRSS>http://blog.moopsfc.com/37/2006/06/23/result-usa-v-ghana/feed/</wfw:commentRSS>
		</item>
	</channel>
</rss>
