<?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/"
	
	xmlns:media="http://search.yahoo.com/mrss/"
	>

<channel>
	<title>Run.To.The.Hills &#187; Hackery</title>
	<atom:link href="http://rob.runtothehills.org/archives/category/hacky-stuff/feed" rel="self" type="application/rss+xml" />
	<link>http://rob.runtothehills.org</link>
	<description>Talk is cheap. Show me the code.</description>
	<lastBuildDate>Tue, 07 Sep 2010 09:57:09 +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>Fix Oracle dot Net&#8230;</title>
		<link>http://rob.runtothehills.org/archives/334</link>
		<comments>http://rob.runtothehills.org/archives/334#comments</comments>
		<pubDate>Wed, 04 Feb 2009 17:10:36 +0000</pubDate>
		<dc:creator>rob</dc:creator>
				<category><![CDATA[.Net]]></category>
		<category><![CDATA[Development]]></category>
		<category><![CDATA[Hackery]]></category>

		<guid isPermaLink="false">http://rob.runtothehills.org/archives/334</guid>
		<description><![CDATA[Image by Getty Images via Daylife …is now up! FixOracle.Net in its first incarnation fixes the type of dodgy Oracle code we’re using on our current project, but since the ‘fixing engine’ is shared between the web site, the winform tool, and the command line tool, when I figure out what casts are missing, I’ll [...]]]></description>
			<content:encoded><![CDATA[<div class="zemanta-img" style="display: block; float: right; margin: 1em; width: 123px" jquery1233766726280="940"><a href="http://www.daylife.com/image/04UDdQ5dy110R?utm_source=zemanta&amp;utm_medium=p&amp;utm_content=04UDdQ5dy110R&amp;utm_campaign=z1"><img style="border-right: medium none; border-top: medium none; display: block; border-left: medium none; border-bottom: medium none" height="150" alt="SAN FRANCISCO - SEPTEMBER 24:  The new Oracle ..." src="http://cache.daylife.com/imageserve/04UDdQ5dy110R/113x150.jpg" width="113" /></a>
<p class="zemanta-img-attribution" style="font-size: 0.8em">Image by <a href="http://www.daylife.com/source/Getty_Images">Getty Images</a> via <a href="http://www.daylife.com/">Daylife</a></p>
</p></div>
<p>…is now up! <a href="http://www.fixoracle.net" target="_blank">FixOracle.Net</a> in its first incarnation fixes the type of dodgy <a class="zem_slink" title="Oracle (comics)" href="http://en.wikipedia.org/wiki/Oracle_%28comics%29" rel="wikipedia">Oracle</a> code we’re using on our current project, but since the ‘fixing engine’ is shared between the web site, the winform tool, and the command line tool, when I figure out what casts are missing, I’ll add them too.</p>
<p>In the mean time <a href="http://www.fixoracle.net/">http://www.fixoracle.net</a> is where you need to go for the absolute best in web design and hot advert-clicking-for-your-friends action. </p>
<p>Well, they’re not going to click themselves.</p>
<p> <img src='http://rob.runtothehills.org/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> </p>
<div class="zemanta-pixie" style="margin-top: 10px; height: 15px"><a class="zemanta-pixie-a" title="Zemified by Zemanta" href="http://reblog.zemanta.com/zemified/6c3aab93-b37b-49f6-ad11-5773622c77e0/"><img class="zemanta-pixie-img" style="border-right: medium none; border-top: medium none; float: right; border-left: medium none; border-bottom: medium none" alt="Reblog this post [with Zemanta]" src="http://img.zemanta.com/reblog_e.png?x-id=6c3aab93-b37b-49f6-ad11-5773622c77e0" /></a></div>
]]></content:encoded>
			<wfw:commentRss>http://rob.runtothehills.org/archives/334/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:thumbnail url="http://cache.daylife.com/imageserve/04UDdQ5dy110R/113x150.jpg" />
		<media:content url="http://cache.daylife.com/imageserve/04UDdQ5dy110R/113x150.jpg" medium="image">
			<media:title type="html">SAN FRANCISCO - SEPTEMBER 24:  The new Oracle ...</media:title>
		</media:content>
		<media:content url="http://img.zemanta.com/reblog_e.png?x-id=6c3aab93-b37b-49f6-ad11-5773622c77e0" medium="image">
			<media:title type="html">Reblog this post [with Zemanta]</media:title>
		</media:content>
	</item>
		<item>
		<title>SSH, Safe surfing and avoiding the wrath of the Net Filter</title>
		<link>http://rob.runtothehills.org/archives/306</link>
		<comments>http://rob.runtothehills.org/archives/306#comments</comments>
		<pubDate>Fri, 15 Aug 2008 21:26:00 +0000</pubDate>
		<dc:creator>rob</dc:creator>
				<category><![CDATA[Hackery]]></category>

		<guid isPermaLink="false">http://runtothehills.org/rob/archives/306</guid>
		<description><![CDATA[Technorati Tags: Tunneling,SSH,Filter Avoidance,Security,Privacy Image via Wikipedia Many of my friends often wonder how to avoid their corporate firewalls, and secure their traffic against snooper. Well, its pretty easy to avoid the network traffic cops. People need a method to be safe anywhere where they end up logging on outside their homes, where they have [...]]]></description>
			<content:encoded><![CDATA[<div class="wlWriterSmartContent" id="scid:0767317B-992E-4b12-91E0-4F059A8CECA8:bf3f82a5-64b0-4c5c-8eaa-2d7b485d6d06" style="padding-right: 0px; display: inline; padding-left: 0px; padding-bottom: 0px; margin: 0px; padding-top: 0px">Technorati Tags: <a href="http://technorati.com/tags/Tunneling" rel="tag">Tunneling</a>,<a href="http://technorati.com/tags/SSH" rel="tag">SSH</a>,<a href="http://technorati.com/tags/Filter%20Avoidance" rel="tag">Filter Avoidance</a>,<a href="http://technorati.com/tags/Security" rel="tag">Security</a>,<a href="http://technorati.com/tags/Privacy" rel="tag">Privacy</a></div>
<div class="zemanta-img" style="display: block; float: right; margin: 1em" ?="?"><a href="http://commons.wikipedia.org/wiki/Image:Traffic-control-Roma.jpg"><img style="border-right: medium none; border-top: medium none; display: block; border-left: medium none; border-bottom: medium none" alt="Traffic control in Rome, Italy. This traffic c..." src="http://upload.wikimedia.org/wikipedia/commons/thumb/1/1b/Traffic-control-Roma.jpg/202px-Traffic-control-Roma.jpg" ?="?" /></a>
<p class="zemanta-img-attribution">Image via <a href="http://commons.wikipedia.org/wiki/Image:Traffic-control-Roma.jpg">Wikipedia</a></p>
</p></div>
<p>Many of my friends often wonder how to avoid their corporate <a class="zem_slink" title="Firewall" href="http://en.wikipedia.org/wiki/Firewall" rel="wikipedia">firewalls</a>, and secure their <a class="zem_slink" title="Traffic" href="http://en.wikipedia.org/wiki/Traffic" rel="wikipedia">traffic</a> against snooper. Well, its pretty easy to avoid the network traffic cops.</p>
<p>People need a method to be safe anywhere where they end up <a class="zem_slink" title="Logging" href="http://en.wikipedia.org/wiki/Logging" rel="wikipedia">logging</a> on outside their homes, where they have (mostly) all of the privacy and security they need.</p>
<p>Maybe they just want to browse the latest torrents, or god forbid run a <a class="zem_slink" title="File sharing" href="http://en.wikipedia.org/wiki/File_sharing" rel="wikipedia">P2P</a> <a class="zem_slink" title="Client (computing)" href="http://en.wikipedia.org/wiki/Client_%28computing%29" rel="wikipedia">client</a> outside their own network.</p>
<p>Obviously there are many restricted uses of corporate resources, (should you really be <a class="zem_slink" title="Uploading and downloading" href="http://en.wikipedia.org/wiki/Uploading_and_downloading" rel="wikipedia">downloading</a> playmate images at any time outside your own home?!) but reading private emails in your dinner hour? Checking how your shares are doing ready for the purchase of your 60ft yacht? </p>
<p>Well I often wondered that too; how I&#8217;m going to get a 60 foot yacht, not about tunnelling IP traffic <img src='http://rob.runtothehills.org/wp-includes/images/smilies/icon_wink.gif' alt=';)' class='wp-smiley' />  !</p>
<p>It turns out my esteemed WPF co-worker, Tim Haughton, has just put up a nice blog entry about how to set yourself up to do just that. Check out the <a href="http://www.agilemicroisv.com/2008/08/3-things-you-di.html">offending blog entry</a> <img src='http://rob.runtothehills.org/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' />  He&#8217;s articulated much better than I could. </p>
<p>Oh, and happy surfing.</p>
<h6 class="zemanta-related-title" style="font-size: 1em">Related articles by Zemanta</h6>
<ul class="zemanta-article-ul">
<li class="zemanta-article-ul-li"><a href="http://www.liveside.net/blogs/main/archive/2008/07/11/looking-at-the-live-mesh-peer-to-peer-synch.aspx">Looking at the Live Mesh peer-to-peer synch</a></li>
<li class="zemanta-article-ul-li"><a href="http://arstechnica.com/news.ars/post/20080814-first-look-wuala-online-p2p-backup-service-makes-us-nervous.html">First look: Wuala online P2P backup service makes us nervous</a></li>
<li class="zemanta-article-ul-li"><a href="http://www.articlesbase.com/article.php?aid=522388&amp;pid=6775764102">My Essential Guide To Downloading a Free Podcast</a></li>
<li class="zemanta-article-ul-li"><a href="http://techdirt.com/articles/20080811/0353381944.shtml">&#8216;Innocent Infringement&#8217; As A Way To Lower Copyright Infringement Damages?</a></li>
<li class="zemanta-article-ul-li"><a href="http://www.financialpost.com/small_business/tools/story.html?id=707468">Sharing documents without feeling vulnerable</a></li>
<li class="zemanta-article-ul-li"><a href="http://captsolo.net/info/blog_a.php/2008/07/12/fcc_chief_says_comcast_interfering_with_">FCC: Comcast interfering with Internet traffic violated principles of Internet</a></li>
</ul>
<div class="zemanta-pixie" style="margin-top: 10px; height: 15px"><a class="zemanta-pixie-a" title="Zemified by Zemanta" href="http://reblog.zemanta.com/zemified/f90ec2d3-02d0-4327-8e2d-90be4715bba9/"><img class="zemanta-pixie-img" style="border-right: medium none; border-top: medium none; float: right; border-left: medium none; border-bottom: medium none" alt="Reblog this post [with Zemanta]" src="http://img.zemanta.com/reblog_c.png?x-id=f90ec2d3-02d0-4327-8e2d-90be4715bba9" /></a></div>
]]></content:encoded>
			<wfw:commentRss>http://rob.runtothehills.org/archives/306/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:thumbnail url="http://upload.wikimedia.org/wikipedia/commons/thumb/1/1b/Traffic-control-Roma.jpg/202px-Traffic-control-Roma.jpg" />
		<media:content url="http://upload.wikimedia.org/wikipedia/commons/thumb/1/1b/Traffic-control-Roma.jpg/202px-Traffic-control-Roma.jpg" medium="image">
			<media:title type="html">Traffic control in Rome, Italy. This traffic c...</media:title>
		</media:content>
		<media:content url="http://img.zemanta.com/reblog_c.png?x-id=f90ec2d3-02d0-4327-8e2d-90be4715bba9" medium="image">
			<media:title type="html">Reblog this post [with Zemanta]</media:title>
		</media:content>
	</item>
		<item>
		<title>Cure for slow Bitttorrent downloaded with Synology DS106e</title>
		<link>http://rob.runtothehills.org/archives/185</link>
		<comments>http://rob.runtothehills.org/archives/185#comments</comments>
		<pubDate>Tue, 10 Jun 2008 23:10:10 +0000</pubDate>
		<dc:creator>rob</dc:creator>
				<category><![CDATA[General]]></category>
		<category><![CDATA[Hackery]]></category>

		<guid isPermaLink="false">http://runtothehills.org/rob/archives/185</guid>
		<description><![CDATA[&#160; I&#8217;ve had the slow download problem for over 2 years now, and finally managed to fix it tonight. Fair enough, the upgrade to the latest firmware may have helped, but i was still getting less than 2Kbytes a second with the defaults. After fiddling with port forwarding on my router, I ended up putting [...]]]></description>
			<content:encoded><![CDATA[<p>&#160;</p>
<p>I&#8217;ve had the slow download problem for over 2 years now, and finally managed to fix it tonight. Fair enough, the upgrade to the latest firmware may have helped, but i was still getting less than 2Kbytes a second with the defaults.</p>
<p>After fiddling with port forwarding on my router, I ended up putting upload and download limits into the boxes that state that 0 means unlimited.</p>
<p>since I&#8217;m still on Virgin Media&#8217;s extortionate &#163;25 a month for 4Mbit connections, i entered 4096 in the download box, and 128 in the upload box.</p>
<p>I&#8217;m aware that the boxes state KB/s , note the upper case KB , so it should mean Kilo Bytes per second, but if i put 512 in there, the download rates didn&#8217;t increase.</p>
<p>I put 4096 in there, and suddenly I&#8217;m getting over 100KB/s on the download. Go figure.</p>
<p>Anyway, I think the best thing to do is port forward the standard ports from your router to the Synology Box using TCP only. Then start entering ever increasing numbers into those connection speed boxes, until you hit a number that lets your torrents take off.</p>
<p>here&#8217;s the evidence :</p>
<p><a href="http://runtothehills.org/rob/wp-content/uploads/2008/06/synspeed.png"><img style="border-right: 0px; border-top: 0px; border-left: 0px; border-bottom: 0px" height="84" alt="SynSpeed" src="http://runtothehills.org/rob/wp-content/uploads/2008/06/synspeed-thumb.png" width="492" border="0" /></a> </p>
</p>
<p>that&#8217;s over 100KB a second, and it peaked at almost 200KB/s too. uTorrent manages about 10KB/s more, but I can live with that now I can turn off my PC <img src='http://rob.runtothehills.org/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> </p>
<p>Happy torrent-ing!</p>
<div class="wlWriterSmartContent" id="scid:0767317B-992E-4b12-91E0-4F059A8CECA8:68af26b7-c9f6-4f21-b364-b79ca43e6ade" style="padding-right: 0px; display: inline; padding-left: 0px; padding-bottom: 0px; margin: 0px; padding-top: 0px">Technorati Tags: <a href="http://technorati.com/tags/Torrent" rel="tag">Torrent</a>,<a href="http://technorati.com/tags/download" rel="tag">download</a>,<a href="http://technorati.com/tags/speed" rel="tag">speed</a></div>
]]></content:encoded>
			<wfw:commentRss>http://rob.runtothehills.org/archives/185/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:thumbnail url="http://runtothehills.org/rob/wp-content/uploads/2008/06/synspeed-thumb.png" />
		<media:content url="http://runtothehills.org/rob/wp-content/uploads/2008/06/synspeed-thumb.png" medium="image">
			<media:title type="html">SynSpeed</media:title>
		</media:content>
	</item>
		<item>
		<title>Synology Subversion Update</title>
		<link>http://rob.runtothehills.org/archives/182</link>
		<comments>http://rob.runtothehills.org/archives/182#comments</comments>
		<pubDate>Mon, 09 Jun 2008 22:58:31 +0000</pubDate>
		<dc:creator>rob</dc:creator>
				<category><![CDATA[.Net]]></category>
		<category><![CDATA[Development]]></category>
		<category><![CDATA[Hackery]]></category>

		<guid isPermaLink="false">http://runtothehills.org/rob/archives/182</guid>
		<description><![CDATA[Technorati Tags: Synology,Subversion,DS106e,DS106j When I originally installed my Subversion server on the Synology box way back in March 07 the firmware on the box was pretty much OEM. I&#8217;d tweaked the firmware to allow telnet, but that was about the only upgrade I&#8217;d got. Well, since my I received my winning iPod I hadn&#8217;t really [...]]]></description>
			<content:encoded><![CDATA[<div class="wlWriterSmartContent" id="scid:0767317B-992E-4b12-91E0-4F059A8CECA8:577d6316-9529-4cec-b364-44830d1650ba" style="padding-right: 0px; display: inline; padding-left: 0px; padding-bottom: 0px; margin: 0px; padding-top: 0px">Technorati Tags: <a href="http://technorati.com/tags/Synology" rel="tag">Synology</a>,<a href="http://technorati.com/tags/Subversion" rel="tag">Subversion</a>,<a href="http://technorati.com/tags/DS106e" rel="tag">DS106e</a>,<a href="http://technorati.com/tags/DS106j" rel="tag">DS106j</a></div>
<p>When I originally installed my Subversion server on the Synology box <a href="http://runtothehills.org/rob/archives/25" target="_blank">way back in March 07</a> the firmware on the box was pretty much OEM. I&#8217;d tweaked the firmware to allow telnet, but that was about the only upgrade I&#8217;d got.</p>
<p>Well, since my I <a href="http://runtothehills.org/rob/archives/166" target="_blank">received my winning iPod</a> I hadn&#8217;t really considered using the full capability of the Synology box, including it&#8217;s iTunes server.</p>
<p>So, I&#8217;ve bit the bullet, and upgraded the firmware! </p>
<p>Braving the WHOPPING 300 version number difference, i downloaded the latest firmware from the Synology site, and installed it, after making sure my SVN repository was backed up of course!</p>
<p>Anyway, the update went without a hitch, and , WOW, what a difference on the front end. First of all they&#8217;ve gone all Ajax-y &#8211; there are lots of interactive panels and controls now compared with the old static pages.</p>
<p>After i&#8217;d finished playing with all the sliding panels, I booted up Putty to check the telnet access. Yep,&#160; still there. I referred back to the old article on installing SVN on the Synology box, and upgraded the packages using IPKG.</p>
<p>However, when i came to boot up the svnserve daemon I started getting missing lib errors. I&#8217;ve seen some of those in the original article comments, and lots of people had mailed me saying that the instructions don&#8217;t work. So, I poked around, and found that IPKG hadn&#8217;t actually upgraded all of the packages successfully. Scrolling back up the window there were two errors downloading some of the package updates. So, I re-ran IPKG upgrading again, and this time the packages did download ok.</p>
<p>I ran svnserve, and it fired up immediately. Going back to my PC, straight into TortoiseSVN&#8217;s repository browser, and we&#8217;re back in business.</p>
<p>So, if you&#8217;ve followed the original Synology Subversion article, and are having problems &#8211; make sure you don&#8217;t have any errors when running IPKG. If you do , re-run it and let it re-try download the missing dependent packages, or alternatively download them by hand and copy them to the Synology box by hand.</p>
<p>So, I can confirm that the original Synology Subversion Hack &amp; Install does still work on the DS106e with the very latest firmware.</p>
<p>And, now I can get to my music via iTunes too. Synology you guys ROCK.</p>
]]></content:encoded>
			<wfw:commentRss>http://rob.runtothehills.org/archives/182/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
	</item>
		<item>
		<title>Synology Bittorrent Problems?</title>
		<link>http://rob.runtothehills.org/archives/26</link>
		<comments>http://rob.runtothehills.org/archives/26#comments</comments>
		<pubDate>Sun, 25 Mar 2007 20:58:59 +0000</pubDate>
		<dc:creator>rob</dc:creator>
				<category><![CDATA[Development]]></category>
		<category><![CDATA[General]]></category>
		<category><![CDATA[Hackery]]></category>

		<guid isPermaLink="false">http://runtothehills.org/rob/archives/26</guid>
		<description><![CDATA[I&#8217;ve had the Synology Box for a few months now, and up until last night, had absolutely 0 problems. Last night, I had a Bittorrent download complete, but the status in the Download Redirector was showing &#8220;Shared Folder not found&#8221;. Weird, because not an hour before I&#8217;d had two torrents complete without any problems. Anyway, [...]]]></description>
			<content:encoded><![CDATA[<p>I&#8217;ve had the Synology Box for a few months now, and up until last night, had absolutely 0 problems. Last night, I had a Bittorrent download complete, but the status in the Download Redirector was showing &#8220;Shared Folder not found&#8221;. Weird, because not an hour before I&#8217;d had two torrents complete without any problems. Anyway, like most things , everything&#8217;s really great whilst its working fine. It&#8217;s when you have to fix it that the problems start.</p>
<p>It turns out that the temporary download area is off limits from the normal interface, and unless the download completes successfully, the Synology bit torrent client doesn&#8217;t copy the file from it&#8217;s internal download area to your shared folder.) So I guess if it can&#8217;t find the shared folder, that&#8217;s why it stopped at 100% and I couldn&#8217;t see the completed file! Duh!</p>
<h3>Telnet to the rescue!</h3>
<p>Luckily, if you&#8217;ve installed the Telnet hack ( see my previous entry on <a href="http://runtothehills.org/rob/archives/25" target="_blank">Installing Subversion</a> ) you can find the completed (but uncopied file) in the Client&#8217;s temporary folder. Here&#8217;s the steps I used to recover my completed but unfinished download</p>
<ol>
<li>Login to your Synology box as root</li>
<li>cd /volume1/@downloads</li>
</ol>
<p>at this point , you should see a folder full of numbered subfolder, in my case there were 3 folders, numbered 34,35 and 36. Each one of these folders represents an unfinished download.</p>
<p>for each of the numbered folders execute an &#8216;ls&#8217; command followed by the folder name , in my case the first command would have been</p>
<blockquote><p>3. ls 34</p></blockquote>
<p align="left">do this (changing the folder name) for each of your folders in the @downloads directory. When you come across your completed but uncopied download stop. My file was in the folder named &#8217;36&#8242;</p>
<p align="left">Next we issue a copy command to copy the completed file to a shared folder I can see &#8211; in this case I had a shared folder called &#8216;downloads&#8217;.</p>
<blockquote>
<p align="left">4. cp 36/VSMar07CTP_VSTS_7PartsTotal.part05.rar /volume1/downloads/</p>
</blockquote>
<p align="left">assuming all goes well, (and you have enough space) your file should now be accessible from your windows machine.</p>
<p align="left">Lastly , now we&#8217;ve got our file safely from the clutches of the Download Redirector, we can safely remove it. Open up the D/L redirector, highlight your download and click remove!</p>
<p align="left">Done!</p>
<p align="left">&nbsp;</p>
]]></content:encoded>
			<wfw:commentRss>http://rob.runtothehills.org/archives/26/feed</wfw:commentRss>
		<slash:comments>2</slash:comments>
	
	</item>
	</channel>
</rss>
