<?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>trivia</title>
	<atom:link href="http://baldric.net/feed/" rel="self" type="application/rss+xml" />
	<link>http://baldric.net</link>
	<description>another voice in the babble on the net</description>
	<lastBuildDate>Mon, 30 Jan 2012 16:59:18 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.3</generator>
		<item>
		<title>tomorrow the world</title>
		<link>http://baldric.net/2012/01/30/tomorrow-the-world/</link>
		<comments>http://baldric.net/2012/01/30/tomorrow-the-world/#comments</comments>
		<pubDate>Mon, 30 Jan 2012 13:30:52 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[free software]]></category>
		<category><![CDATA[linux and unix]]></category>
		<category><![CDATA[trivial musing]]></category>
		<category><![CDATA[linux]]></category>

		<guid isPermaLink="false">http://baldric.net/?p=1300</guid>
		<description><![CDATA[A slightly breathless new post over at omgubuntu proudly boasts that the market share of Linux on the desktop jumped &#8220;from 0.96% in January 2011 to 1.41% by the year’s end.&#8221; (That could equally be be written as a close to 50% rise in Linux&#8217; popularity). No doubt this will scare the pants off Steve [...]]]></description>
			<content:encoded><![CDATA[<p>A slightly breathless new post over at <a href="http://www.omgubuntu.co.uk/2012/01/is-linux-marketshare-on-the-rise-it-seems-so/">omgubuntu</a> proudly boasts that the market share of Linux on the desktop jumped &#8220;from 0.96% in January 2011 to 1.41% by the year’s end.&#8221; (That could equally be be written as a close to 50% rise in Linux&#8217; popularity). No doubt this will scare the pants off Steve Ballmer.</p>
<p>I can&#8217;t help being amused by the comments below this post which run like this:</p>
<blockquote><p>1. Thanks to Unity!</p>
<p>2. Despite unity.</p>
<p>3. Despite unity &#038; gnome shell.</p>
<p>4. Thanks to gnome &#038; despite unity.</p>
<p>5. Thanks to Ubuntu.</p>
<p>6. Thanks to Linux Mint.</p></blockquote>
<p>This sort of united, combined front in opposition to proprietary software is exactly what will drive free software to say, oh around 2% of the desktop.</p>
]]></content:encoded>
			<wfw:commentRss>http://baldric.net/2012/01/30/tomorrow-the-world/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>moxie&#8217;s proxy</title>
		<link>http://baldric.net/2012/01/22/moxies-proxy/</link>
		<comments>http://baldric.net/2012/01/22/moxies-proxy/#comments</comments>
		<pubDate>Sun, 22 Jan 2012 19:02:14 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[free software]]></category>
		<category><![CDATA[net tools]]></category>
		<category><![CDATA[network (in)security]]></category>
		<category><![CDATA[privacy]]></category>
		<category><![CDATA[tips, tricks and howtos]]></category>
		<category><![CDATA[trivial musing]]></category>
		<category><![CDATA[anonymity]]></category>
		<category><![CDATA[google]]></category>
		<category><![CDATA[network security]]></category>
		<category><![CDATA[networking]]></category>
		<category><![CDATA[tips]]></category>
		<category><![CDATA[TOR]]></category>
		<category><![CDATA[tricks and howtos]]></category>

		<guid isPermaLink="false">http://baldric.net/?p=1288</guid>
		<description><![CDATA[Moxie Marlinspike, a security researcher probably best known for his SSL proxy tool, likes google even less than I do. His googlesharing website says: &#8220;Google thrives where privacy does not. If you&#8217;re like most internet users, Google knows more about you than you might be comfortable with. Whether you were logged in to a Google [...]]]></description>
			<content:encoded><![CDATA[<p>Moxie Marlinspike, a security researcher probably best known for his <a href="http://www.thoughtcrime.org/software/sslsniff/">SSL proxy</a> tool, likes google even less than I do. His <a href="http://www.googlesharing.net/">googlesharing</a> website says:</p>
<blockquote><p>&#8220;Google thrives where privacy does not. If you&#8217;re like most internet users, Google knows more about you than you might be comfortable with. Whether you were logged in to a Google account or not, they know everything you&#8217;ve ever searched for, what search results you clicked on, what news you read, and every place you&#8217;ve ever gotten directions to. Most of the time, thanks to things like Google Analytics, they even know which websites you visited that you didn&#8217;t reach through Google. If you use Gmail, they know the content of every email you&#8217;ve ever sent or received, whether you&#8217;ve deleted it or not.</p>
<p>They know who your friends are, where you live, where you work, and where you spend your free time. They know about your health, your love life, and your political leanings. These days they are even branching out into collecting your realtime GPS location and your DNS lookups. In short, not only do they know a lot about what you&#8217;re doing, they also have significant insight into what you&#8217;re thinking.&#8221;
</p></blockquote>
<p>His solution to this problem was interesting. He came up with the idea of a proxy system which would intercept all google queries, strip off identifying material (such as cookies and UserAgent strings and other HTTP headers) substitute new identifiers and mix the requests up with those from other users before forwarding to google. Implementation depended upon a Firefox addon (nothing for other browsers) which identified google queries and forwarded them to the proxy. All other traffic was untouched.  </p>
<p><a href="http://baldric.net/wp-content/uploads/2012/01/google-sharing-proxy.png"><img src="http://baldric.net/wp-content/uploads/2012/01/google-sharing-proxy.png" alt="image of googlesharing proxy" title="google-sharing-proxy" width="192" height="268" class="aligncenter size-full wp-image-1289" /></a></p>
<p>I stopped using google (except via <a href="https://ssl.scroogle.org/">scoogle</a>) some time ago, and when Moxie&#8217;s new proxy first surfaced I thought it interesting but susceptible to the same problem I <a href="http://baldric.net/2009/07/05/tor-on-a-vps/">discussed in mid 2009</a> when writing about <a href="http://blogs.law.harvard.edu/hroberts/about/">Hal Roberts&#8217;</a> experience of GIFC &#8211; all you are doing is shifting knowledge of your searches from google to a new intermediary.  However, Moxie later addressed <a href="http://www.googlesharing.net/faq.html#faq7">this problem</a> with the release of version 0.20 of his addon so I thought I&#8217;d take another look at it. Unfortunately the addon won&#8217;t work with FF 9 (which I am using). Moxie&#8217;s proxy is not the only one out there however. Because he released the code under an open source licence, others have picked it up. I found one at <a href="http://gs.netsend.nl/">gs.netsend.nl</a>. They also provide an updated FF addon which will work with versions up to 15 (i.e. probably around next wednesday given the speed with which Mozilla is currently shipping new FF releases). </p>
<p>Once the addon is installed, it gives you two proxy options in the preferences settings &#8211; one is the original proxy.googlesharing.net, the other is gs.netsend.nl itself. In testing I found that the original googlesharing proxy seemed to be off-line, but when using the netsend.nl proxy I was reassured to see the message &#8220;Search results anonymized by GoogleSharing&#8221; added to the google homepage. I was even more reassured that my sniffer showed a connection to vps1101.pcextreme.nl on 31.21.98.201 and not to any known google network.</p>
<p>So, will I use it? Maybe. But the proxy mechanism seems to be unreliable. In many tests, the proxy connection seemed to be bypassed and the connection was obviously made direct to google (as evidenced by my sniffer). I think this failure is doubly unfortunate because it does not fail safe (i.e. the connection does not simply fail with an error message, it passes you direct through to google). This could lead the unwary to think that they are protected when in fact they are not.</p>
<p>I prefer not to use google at all. And in those cases where I do want to compare results with another search engine I prefer to do so via tor. But it is one more option in my toolkit if used carefully. And if using it pisses off google, then it is worth it occasionally.    </p>
]]></content:encoded>
			<wfw:commentRss>http://baldric.net/2012/01/22/moxies-proxy/feed/</wfw:commentRss>
		<slash:comments>4</slash:comments>
		</item>
		<item>
		<title>and darkness shall be upon the face of the net</title>
		<link>http://baldric.net/2012/01/18/and-darkness-shall-be-upon-the-face-of-the-net/</link>
		<comments>http://baldric.net/2012/01/18/and-darkness-shall-be-upon-the-face-of-the-net/#comments</comments>
		<pubDate>Wed, 18 Jan 2012 15:05:46 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[networks and networking]]></category>
		<category><![CDATA[privacy]]></category>
		<category><![CDATA[trivial musing]]></category>
		<category><![CDATA[anonymity]]></category>
		<category><![CDATA[DNS]]></category>

		<guid isPermaLink="false">http://baldric.net/?p=1271</guid>
		<description><![CDATA[Today, 18 January 2012, parts of the &#8216;net went deliberately dark in combined opposition to the SOPA (A Bill to:&#8220;promote prosperity, creativity, entrepreneurship, and innovation by combating the theft of U.S. property, and for other purposes.&#8221; I love the &#8220;other purposes&#8221; bit.) and PIPA bills currently being considered by the US legislative machinery. These two [...]]]></description>
			<content:encoded><![CDATA[<p>Today, 18 January 2012, parts of the &#8216;net went deliberately dark in combined opposition to the <a href="www.gpo.gov/fdsys/pkg/BILLS-112hr3261ih/pdf/BILLS-112hr3261ih.pdf">SOPA</a> (A Bill to:<em>&#8220;promote prosperity, creativity, entrepreneurship, and innovation by combating the theft of U.S. property, and for other purposes.&#8221;</em> I love the &#8220;other purposes&#8221; bit.) and <a href="leahy.senate.gov/imo/media/doc/BillText-PROTECTIPAct.pdf">PIPA</a> bills currently being considered by the US legislative machinery. These two bills are classic examples of badly thought through legislation developed in response to lobby group pressure to protect an existing business model which is failing. I don&#8217;t normally make political comment, but I find myself entirely in agreement with the sentiments expressed on the <a href="https://www.torproject.org/sopa-pipa">torproject site</a> this morning. </p>
<p>When first attempting to view the tor site, readers are faced with this:</p>
<p><a href="http://baldric.net/wp-content/uploads/2012/01/tor-goes-dark.png"><img src="http://baldric.net/wp-content/uploads/2012/01/tor-goes-dark-300x166.png" alt="image of blacked out tor website" title="tor-goes-dark" width="300" height="166" class="aligncenter size-medium wp-image-1272" /></a></p>
<p>Clicking on the blacked out section you are taken to a copy of the 18 January <a href="https://blog.torproject.org/blog/blackout-against-copyright-overreach-stop-sopa-and-pipa">blog posting</a> which says:</p>
<blockquote><p>&#8220;The Tor Project doesn&#8217;t usually get involved with U.S. copyright debates. But SOPA and PIPA (the House&#8217;s &#8220;Stop Online Piracy Act&#8221; and the Senate&#8217;s &#8220;Protect-IP Act&#8221;) go beyond enforcement of copyright. These copyright bills would strain the infrastructure of the Internet, on which many free communications &#8212; anonymous or identified &#8212; depend. Originally, the bills proposed that so-called &#8220;rogue sites&#8221; should be blocked through the Internet&#8217;s Domain Name System (DNS). That would have broken DNSSEC security and shared U.S. censorship tactics with those of China&#8217;s &#8220;great firewall.&#8221; </p>
<p>Now, while we hear that DNS-blocking is off the table, the bills remain threatening to the network of intermediaries who carry online speech. Most critically to Tor, SOPA contained a provision forbidding &#8220;circumvention&#8221; of court-ordered blocking that was written broadly enough that it could apply to Tor &#8212; which helps its users to &#8220;circumvent&#8221; local-network censorship. Further, both bills broaden the reach of intermediary liability, to hold conduits and search engines liable for user-supplied infringement. The private rights of action and &#8220;safe harbors&#8221; could force or encourage providers to censor well beyond the current DMCA&#8217;s &#8220;notice and takedown&#8221; provision (of which Chilling Effects documents numerous burdens and abuses).&#8221;
</p></blockquote>
<p>Jimmy Wales, the founder of wikipedia has been a particularly <a href="http://en.wikipedia.org/wiki/Wikipedia:SOPA_initiative/Learn_more">vocal critic</a> of the impending legislation. Today, english speaking users of wikipedia were greeted with the following page:</p>
<p><a href="http://baldric.net/wp-content/uploads/2012/01/wikipedia-blackout.png"><img src="http://baldric.net/wp-content/uploads/2012/01/wikipedia-blackout-300x166.png" alt="image of the wikipedia blackout page" title="wikipedia-blackout" width="300" height="166" class="aligncenter size-medium wp-image-1278" /></a> </p>
<p>There is plenty of discussion about the effects of SOPA and PIPA on-line in the usual technical fora (see <a href="http://www.wired.com/threatlevel/2012/01/why-weve-censored-wired-com/">wired</a>, for example) but as <a href="http://www.theregister.co.uk/2012/01/07/mainstream_media_silent_on_sopa/">El Reg</a> said about a week ago, the mainstream media in the US have been largely quiet about the implications of the Bills should they ever become law. </p>
<p>I wonder why.   </p>
]]></content:encoded>
			<wfw:commentRss>http://baldric.net/2012/01/18/and-darkness-shall-be-upon-the-face-of-the-net/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>t-mobile resets its policy?</title>
		<link>http://baldric.net/2012/01/12/t-mobile-resets-its-policy/</link>
		<comments>http://baldric.net/2012/01/12/t-mobile-resets-its-policy/#comments</comments>
		<pubDate>Thu, 12 Jan 2012 22:07:10 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[network (in)security]]></category>
		<category><![CDATA[networks and networking]]></category>
		<category><![CDATA[privacy]]></category>
		<category><![CDATA[security]]></category>
		<category><![CDATA[trivial musing]]></category>
		<category><![CDATA[email]]></category>
		<category><![CDATA[ISP]]></category>
		<category><![CDATA[network security]]></category>
		<category><![CDATA[networks]]></category>
		<category><![CDATA[securit]]></category>

		<guid isPermaLink="false">http://baldric.net/?p=1256</guid>
		<description><![CDATA[As I have mentioned in other posts here, I run my own mail server on one of my VMs. I do this for a variety of reasons, but the main one is that I like to control my own network destiny. Back in October last year I noticed an interesting change in my mail experience [...]]]></description>
			<content:encoded><![CDATA[<p>As I have mentioned in other posts here, I run my own mail server on one of my VMs. I do this for a variety of reasons, but the main one is that I like to control my own network destiny. Back in October last year I noticed an interesting change in my mail experience with my HTC mobile (actually my wife first noticed it and blamed me, assuming that I had &#8220;twiddled with something&#8221; as she put it). Heaven forfend.</p>
<p>My mail setup is postfix/dovecot with SASL authentication and TLS protecting the mail authentication exchange. My X509 certs are self generated (and so not signed by any CA). I pick up mail over IMAPS (when mobile) and POP3S (at home &#8211; for perverse reasons of history I like to actually download mail to my main desktop over POP3 and archive it to two separate NAS backups). I send via the standard SMTP port 25 but require authentication and protect the exchange with TLS.  </p>
<p>My mail had been working fine ever since I set it up some years ago, but as I said, back in October my wife complained that she could no longer send email from her HTC mobile (we both use t-mobile as the network provider). She was at work at the time so away from my home network. Both our phones are setup to use use wifi for connectivity where it is available (as it is at home of course). When my wife complained I checked my phone and it could send and receive without problem. But when I switched wifi off, thus forcing the data connection though the mobile network, I got the same problem as my wife reported. On checking my mail server logs I read this:</p>
<blockquote><p>postfix/smtpd[28089]: connect from unknown[149.254.186.120]<br />
postfix/smtpd[28089]: warning: network_biopair_interop: error reading 11 bytes from the network: Connection reset by peer<br />
postfix/smtpd[28089]: SSL_accept error from unknown[149.254.186.120]:-1<br />
postfix/smtpd[28089]: lost connection after STARTTLS from unknown[149.254.186.120]<br />
postfix/smtpd[28089]: disconnect from unknown[149.254.186.120]</p></blockquote>
<p>(the ip address is one of t-mobile&#8217;s servers on their &#8220;TMUK-WBR-N2&#8243; network)</p>
<p>Everything I could find about that sort of message suggested that the client was tearing down the connection because there was something wrong with the TLS handshake and it was not trusted. Checking earlier logs, I found that t-mobile&#8217;s address had apparently changed (to the address above) recently. So I assumed that some recent network change following the Orange/T-mobile merger had been badly managed and all would be well again as soon as the problem was spotted. Wrong. It persisted. So I had to investigate further. As part of my investigation of the error, I tried moving mail from port 25 to 587 (submission) because that sometimes gets around the problem of ISPs blocking, or otherwise interfering, with outbound connections from their networks to port 25, No deal. In fact it looked as if t-mobile were blocking all connections to port 587 (I assumed a whitelisting policy block, or again, a cockup).</p>
<p>So, the scenario was: mail works when connecting over wifi and using my domestic ISP&#8217;s network, but doesn&#8217;t when using t-mobile&#8217;s 3G network. Symptoms point to a lack of trust in the TLS handshake. Tentative conclusion? There is an SSL/TLS proxy somewhere in the mobile operator&#8217;s chain. That proxy sucessfully negotiates with our phones, but when it gets my self certified X509 cert from the server. it can&#8217;t authenticate it and decides that the connection is untrusted so tears it down. My server sees this as the client (my phone) tearing down the connection. [As it turns out, this conclusion was completely wrong, but hey].</p>
<p>I said in an email at the time to a friend whose advice I was seeking, &#8220;I suspect cockup rather than outright conspiracy, but if my telco is dumb enough to stick a MITM ssl proxy in my mail chain, they really ought to have thought about handling self signed certs a little better. Otherwise it sort of gives the game away.&#8221;</p>
<p>In response, he very sensibly suggested that I should run a sniffer on the server and check what was going on. At that time, I was busy doing something else so I didn&#8217;t. And because the problem was intermittent (and my wife stopped complaining) I never got around to properly investigating further. (I should explain that I rarely send mail from my mobile nowadays. I just read mail there and wait until I get home to a decent keyboard and can reply to whatever needs handling from there. My wife just gave up bothering to try).     </p>
<p>I should have persisted because of course I wasn&#8217;t the only one to experience this problem.  </p>
<p>Back in November, a member of the t-mobile discussion forum called &#8220;dpg&#8221; <a href="http://support.t-mobile.co.uk/discussions/index?page=forums&#038;topic=80101915a8144e01337e648aca002435&#038;messageit.offset=0">posted</a> a message complaining that he could not connect to port 587 over t-mobile&#8217;s 3G network. In response, a member of the t-mobile forum team suggested that dpg might reconfigure his email so that it was relayed via t-mobile&#8217;s own SMTP server. Not unreasonably, dpg didn&#8217;t think this was an acceptable response &#8211; not least because he would then have to send his email in clear. He then posted again saying that &#8220;the TLS handshake fails when the mail client receives a TCP packet with the reset (RST) flag set.&#8221; (This is a <strong>bad thing (TM).</strong> Further, he posted again saying that he had set up his own mail server and repeated earlier tests so that he could see both ends of the connection. At the client side he posted mail from his laptop tethered to his phone which was connected to the t-mobile 3G network. By running sniffers at both ends of the connection he was able to prove to his own satisfaction that something in the t-mobile network was sending a RST and tearing down any connection when a STARTTLS was seen. Again, in a later post in response to one from another poster who apparently manages several mail servers and had been looking at the same issue for a client, dpg says:</p>
<blockquote><p>&#8220;I must say I&#8217;m not too pleased to discover that T-Mobile may be snooping all traffic to check for SMTP messages. I have demonstrated that they may be doing this by running a SMTP server on a non-standard port and finding that they still sent TCP reset packets during TLS negotiation &#8211; so they must be examining all packets and not just those destined for TCP ports 25 and 587.</p>
<p>I&#8217;m also not that keen on T-Mobile spoofing/forging TCP resets. This is the sort of tactic resorted to by the Great Firewall of China (http://www.lightbluetouchpaper.org/2006/06/27/ignoring-the-great-firewall-of-china/) and also by Comcast back in 2007 (https://www.eff.org/wp/packet-forgery-isps-report-comcast-affair) until the US FCC told them to stop (http://hraunfoss.fcc.gov/edocs_public/attachmatch/FCC-08-183A1.pdf).&#8221;
</p></blockquote>
<p>Then 9 days ago, dpg posted this message:</p>
<blockquote><p>&#8220;I finally got to the bottom of this. I was contacted by T-Mobile technical support today and was told that they are now actively looking for and blocking any TLS-secured SMTP sessions. So, it is a deliberate policy after all, despite what the support staff have been saying on here, twitter and on 150. They told me it is something they have been rolling out over the last three months &#8211; which explains why it was intermittent and dependent on IP address and APN to begin with.</p>
<p>So, the only options for sending email over T-Mobile&#8217;s network are:<br />
- unencrypted but authenticated SMTP (usually on port 25)<br />
- SSL-encrypted SMTP (usually on port 465)<br />
- unauthenticated and unencrypted email to smtp.t-email.co.uk</p>
<p>TLS-encrypted SMTP sessions are always blocked whether or not they are on the default port of 587.&#8221;
</p></blockquote>
<p>(As an aside, there is, of course, another alternative. You can ditch t-mobile as your provider and pick one which doesn&#8217;t use DPI to screw your connections. You pays your money&#8230;.)</p>
<p>Following this, a new poster called &#8220;mickeyc&#8221; said this:</p>
<blockquote><p>&#8220;I&#8217;ve been experiencing this exact same problem. I run my own mail server which has SSL on port 465 and also uses TLS on port 587. I used wireshark to confirm that the RST packets are being spoofed. This is the exact same technology used by &#8220;The Great Firewall of China&#8221;. I have two t-mobile sims. One is about a year old and doesn&#8217;t experience this problem (yet), one is a few weeks old and does.&#8221;
</p></blockquote>
<p>He went to say that he had also experienced problems with his OpenVPN connections and would be blogging about the problem (damned bloggers get everywhere) and sure enough, Mike Cardwell did so at <a href="https://grepular.com/Punching_through_The_Great_Firewall_of_TMobile">grepular.com</a>. That blog post is worth reading because it has an interesting set of comments and responses from Mike appended.</p>
<p>Mike&#8217;s post seems to have been picked up by a few others (El Reg <a href="http://www.theregister.co.uk/2012/01/11/t_mobile_security/">has one</a>, and as Mike himself has pointed out, boingboing.net has a particularly <a href="http://boingboing.net/2012/01/10/t-mobile-uk-is-secretly-disrup.html">OTT post</a> which seems to say that he is accusing t-mobile of something he clearly isn&#8217;t. </p>
<p>Finally, two days ago, dpg posted this:</p>
<blockquote><p>
&#8220;I&#8217;m pleased to report that T-Mobile is no longer blocking TLS-secured email on port 587. As a follow-up to an email exchange over the Christmas period I was contacted today to say that, contrary to what I had been told previously, it was never a deliberate policy to block TLS-secured outgoing email. There was a problem with some equipment after all, which was resolved yesterday.&#8221;
</p></blockquote>
<p>I tried again myself today. Initially, I got the same old symptoms (&#8220;lost connection after STARTTLS&#8221;) then I rebooted my &#8216;phone and lo and behold I could send email.</p>
<p>Like Mike, I tend to the cockup over conspiracy theory, it&#8217;s more likely for one thing. IANAL, but it seems to me that it would be in breach of RIPA part I, Unlawful Interception, for the telco to intercept my SMTP traffic in the way it seems to have been doing. That is not likely to be a deliberate act by a major UK mobile network provider.</p>
<p>But I&#8217;ll still keep an eye on things. </p>
]]></content:encoded>
			<wfw:commentRss>http://baldric.net/2012/01/12/t-mobile-resets-its-policy/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>tails in a spin</title>
		<link>http://baldric.net/2012/01/12/tails-in-a-spin/</link>
		<comments>http://baldric.net/2012/01/12/tails-in-a-spin/#comments</comments>
		<pubDate>Thu, 12 Jan 2012 19:15:52 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[coding and admin]]></category>
		<category><![CDATA[free software]]></category>
		<category><![CDATA[net tools]]></category>
		<category><![CDATA[networks and networking]]></category>
		<category><![CDATA[tips, tricks and howtos]]></category>
		<category><![CDATA[trivial musing]]></category>
		<category><![CDATA[anonymity]]></category>
		<category><![CDATA[Debian]]></category>
		<category><![CDATA[networking]]></category>
		<category><![CDATA[privacy]]></category>
		<category><![CDATA[security]]></category>

		<guid isPermaLink="false">http://baldric.net/?p=1258</guid>
		<description><![CDATA[When I first tested running a tails mirror on one of my VMs, the traffic level reported by vnstat ran at around 20-30 GiB per day. I figured I could live with that because it meant that my total monthly traffic would be unlikely to exceed my monthly 1TB allowance. However, when I checked the [...]]]></description>
			<content:encoded><![CDATA[<p>When I first tested running a <a href="http://baldric.net/2011/12/20/the-amnesic-incognito-live-system/">tails</a> mirror on one of my VMs, the traffic level reported by vnstat ran at around 20-30 GiB per day. I figured I could live with that because it meant that my total monthly traffic would be unlikely to exceed my monthly 1TB allowance. However, when I checked the stats on that server last week (around the 9th of Jan) I found that I was shipping out around 150 GiB per day and vnstat was predicting a monthly total of close to 3 TB. As the tails admins said when I told them that I would have to shut off the mirror on that VM while I sorted something, &#8220;Ooops&#8221;. Ooops indeed. I couldn&#8217;t chance a massive bill for exceeding my bandwidth allowance by quite that much. The actual stats for 4, 5, 6, 7, 8 and 9 January before I pulled the plug were: 34.23 GiB, 69.14 GiB, 178.31 GiB, 131.68 GiB, 99.05 GiB and 133.27 Gib. It turns out that tails 0.10 was released on 4 January and I hadn&#8217;t been prepared. A lesson learned.</p>
<p>Having shut down and had the DNS round robin amended, I attended to finding some way of throttling my traffic so that I could live within my allowance whilst still providing a useful mirror. I scratched my head for a while before stumbling on the obvious, I should be throttling at application level. (Sometimes I find that I miss simple answers because I am looking for complicated ones). </p>
<p>I started out by assuming that I should be using <a href="http://lartc.org/">tc</a> and <a href="http://www.netfilter.org/">iptables</a> mangling, or something like the userspace tool <a href="http://monkey.org/~marius/pages/?page=trickle">trickle</a>, all of which looked horribly more complicated than the approach taken by tor (which allows you to simply set the acceptable bandwidth rate to some limit, plus set an accounting period maximum of some total transfer limit per day/week whatever). And of course it turns out that my webserver (lighttpd) allows something similar. Just set the server limit to some chosen max transfer rate and, if necessary, also impose a per IP max rate. The magic configuration file options are:</p>
<blockquote><p># limit server throughput to 300 kbytes/sec (~3000 kbits/sec)<br />
server.kbytes-per-second = 300<br />
# and limit individual connections to 50 kbytes (~500 kbits/sec)<br />
connection.kbytes-per-second = 50
</p></blockquote>
<p>I tested this by pulling a copy of the tails iso from one of my other VMs which has a high bandwidth connection and got acceptable (and expected) results. So now I can go back on-line later this month safe in the knowledge that I&#8217;m not going to blow all my bandwidth in one week. </p>
]]></content:encoded>
			<wfw:commentRss>http://baldric.net/2012/01/12/tails-in-a-spin/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>well it&#8217;s not me</title>
		<link>http://baldric.net/2012/01/05/well-its-not-me/</link>
		<comments>http://baldric.net/2012/01/05/well-its-not-me/#comments</comments>
		<pubDate>Thu, 05 Jan 2012 19:34:51 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[trivial musing]]></category>

		<guid isPermaLink="false">http://baldric.net/?p=1248</guid>
		<description><![CDATA[With grateful thanks as always to XKCD.]]></description>
			<content:encoded><![CDATA[<p><a href="http://baldric.net/wp-content/uploads/2012/01/duty_calls.png"><img src="http://baldric.net/wp-content/uploads/2012/01/duty_calls-272x300.png" alt="XKCD cartoon number 386" title="duty_calls" width="272" height="300" class="aligncenter size-medium wp-image-1249" /></a></p>
<p>With grateful thanks as always to <a href="https://www.xkcd.com/386/">XKCD</a>.</p>
]]></content:encoded>
			<wfw:commentRss>http://baldric.net/2012/01/05/well-its-not-me/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>happy birthday trivia</title>
		<link>http://baldric.net/2011/12/24/happy-birthday-trivia/</link>
		<comments>http://baldric.net/2011/12/24/happy-birthday-trivia/#comments</comments>
		<pubDate>Sat, 24 Dec 2011 17:03:13 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[trivial musing]]></category>

		<guid isPermaLink="false">http://baldric.net/?p=1244</guid>
		<description><![CDATA[Astonishingly, today is the fifth anniversary of my first post to trivia. So, five years ago on christmas eve, I was writing a blog post. Five years later, it is again christmas eve and what am I doing? Hmmm.]]></description>
			<content:encoded><![CDATA[<p>Astonishingly, today is the fifth anniversary of my <a href="http://baldric.net/2006/12/24/first-post/">first post</a> to trivia. So, five years ago on christmas eve, I was writing a blog post. Five years later, it is again christmas eve and what am I doing?</p>
<p>Hmmm. </p>
]]></content:encoded>
			<wfw:commentRss>http://baldric.net/2011/12/24/happy-birthday-trivia/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>bah, humbug</title>
		<link>http://baldric.net/2011/12/24/bah-humbug/</link>
		<comments>http://baldric.net/2011/12/24/bah-humbug/#comments</comments>
		<pubDate>Sat, 24 Dec 2011 16:57:09 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[trivial musing]]></category>
		<category><![CDATA[e-book]]></category>
		<category><![CDATA[email]]></category>

		<guid isPermaLink="false">http://baldric.net/?p=1241</guid>
		<description><![CDATA[At this time of year it is traditional to receive christmas cards from people with whom you may have only infrequent, if any, contact on a normal daily basis. If you are in a relationship, these cards will often be addressed to you as a couple or family, and be signed on behalf of other [...]]]></description>
			<content:encoded><![CDATA[<p>At this time of year it is traditional to receive christmas cards from people with whom you may have only infrequent, if any, contact on a normal daily basis. If you are in a relationship, these cards will often be addressed to you as a couple or family, and be signed on behalf of other couples or families. In my case, on opening such cards I often then end up shouting out something like, &#8220;Darling, who the hell are Sarah and Jimmy?&#8221; and &#8220;Did we send them a card?&#8221; (as if it mattered.)</p>
<p>In my view, this problem has become exacerbated by the rise of the e-card (an email substitute for those too idle, or too penny pinching, to even go to the trouble of sending actual cards through the real postal system). Maybe I&#8217;m becoming more reactionary in my old age (it happens) but e-cards are, in my view, even worse than <a href="http://baldric.net/2011/08/14/in-praise-of-dead-trees/">e-books</a>. </p>
<p>Strange as it may sound, most people I know use their christmas cards as decorative features by hanging them on string around doorways, or placing them on the mantle over the fireplace alongside the christmas tree. What am I supposed to do with a bloody flash animation of a kitten playing with a bauble? </p>
<p>Worse, these e-cards do not usually even come direct from the sender&#8217;s (known) email address but via the commercial creator&#8217;s website. This means that the email runs the risk of being treated as spam and thus not reaching the intended destination. Or, again, in my case, if they <em>do</em> actually reach their destination and I see an email from some unknown sender with the message &#8220;Sarah and Jimmy have sent you the attached e-card in support of save the vegetarian whales. Click here to see it&#8221;, it goes straight into the deleted pile unopened.</p>
<p>Hah! Take that! You aren&#8217;t going to socially engineer <em>me</em> into installing your damned trojan.</p>
<p>Merry Christmas. </p>
]]></content:encoded>
			<wfw:commentRss>http://baldric.net/2011/12/24/bah-humbug/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>the amnesic incognito live system</title>
		<link>http://baldric.net/2011/12/20/the-amnesic-incognito-live-system/</link>
		<comments>http://baldric.net/2011/12/20/the-amnesic-incognito-live-system/#comments</comments>
		<pubDate>Tue, 20 Dec 2011 15:35:42 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[linux and unix]]></category>
		<category><![CDATA[network (in)security]]></category>
		<category><![CDATA[privacy]]></category>
		<category><![CDATA[trivial musing]]></category>
		<category><![CDATA[anonymity]]></category>
		<category><![CDATA[Debian]]></category>
		<category><![CDATA[security]]></category>

		<guid isPermaLink="false">http://baldric.net/?p=1238</guid>
		<description><![CDATA[Or &#8220;tails&#8221; if you prefer, is a live CD/USB distribution based on debian which aims to help you preserve your privacy and anonymity when out and about. As the home website says, tails helps you to: use the Internet anonymously almost anywhere you go and on any computer: all connections to the Internet are forced [...]]]></description>
			<content:encoded><![CDATA[<p>Or <a href="http://tails.boum.org/">&#8220;tails&#8221;</a> if you prefer, is a live CD/USB distribution based on debian which aims to help you preserve your privacy and anonymity when out and about. As the home website says, tails helps you to:</p>
<ul>
<li><strong>use the Internet anonymously</strong> almost anywhere you go and on any computer:<br />
all connections to the Internet are forced to go through <a href="https://www.torproject.org/">the Tor network</a>;</li>
<li><strong>leave no trace</strong> on the computer you&#8217;re using unless you ask it explicitly;</li>
<li><strong>use state-of-the-art cryptographic tools</strong> to encrypt your files, email and instant messaging.</li>
</ul>
<p>This is a <em>good thing</em> (TM).</p>
<p>I already have a <a href="http://baldric.net/2010/08/01/autossh-or-how-to-use-tor-through-a-central-ssh-proxy/">system at home</a> which allows me to use the tor network whenever I want to be anonymous, but tails allows me to do the same thing when I&#8217;m away from that setup. I like the idea so much that I now provide a <a href="http://dl.amnesia.boum.org/">mirror</a> for the tails distribution to complement my tor exit node. Every little helps.</p>
]]></content:encoded>
			<wfw:commentRss>http://baldric.net/2011/12/20/the-amnesic-incognito-live-system/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>tunnelling X over ssh</title>
		<link>http://baldric.net/2011/12/19/tunnelling-x-over-ssh/</link>
		<comments>http://baldric.net/2011/12/19/tunnelling-x-over-ssh/#comments</comments>
		<pubDate>Mon, 19 Dec 2011 20:18:14 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[coding and admin]]></category>
		<category><![CDATA[free software]]></category>
		<category><![CDATA[linux and unix]]></category>
		<category><![CDATA[network (in)security]]></category>
		<category><![CDATA[networks and networking]]></category>
		<category><![CDATA[security]]></category>
		<category><![CDATA[tips, tricks and howtos]]></category>
		<category><![CDATA[trivial musing]]></category>
		<category><![CDATA[network security]]></category>
		<category><![CDATA[networking]]></category>
		<category><![CDATA[ssh]]></category>
		<category><![CDATA[tips]]></category>
		<category><![CDATA[tricks and howtos]]></category>

		<guid isPermaLink="false">http://baldric.net/?p=1233</guid>
		<description><![CDATA[OK, yes, I know there are probably already a gazillion web pages on the &#8216;net explaining exactly how to do this, but I got caught out by a silly gotcha when I tried to do this a couple of days ago, so I thought I&#8217;d post a note. Firstly, X is not exactly a secure [...]]]></description>
			<content:encoded><![CDATA[<p>OK, yes, I know there are probably already a gazillion web pages on the &#8216;net explaining exactly how to do this, but I got caught out by a silly gotcha when I tried to do this a couple of days ago, so I thought I&#8217;d post a note.</p>
<p>Firstly, X is not exactly a secure protocol, nor is it easy to filter at NAT firewalls, so the ability to tunnel it over ssh is hugely welcome. In fact, ssh can be used to tunnel practically any other protocol you care to name, so it should be your first port of call should you wish to connect to a remote system using an insecure protocol. (I use it to wrap rsync for example). </p>
<p>I don&#8217;t run X on my VMs (there is no need, they don&#8217;t run desktop software) and I had not previously seen the need to run X based graphical programs on those servers. However, a couple of days ago I thought it would be really useful to run etherape on one particular remote server so that I could watch the traffic patterns. Normally I use iptraf (which is ncurses based) when I want to monitor network traffic in real time, but etherape is pretty cool and gives a nice graphical view of your network connections. But it runs on an X based gui.</p>
<p>So. I changed the remote server&#8217;s sshd_config to enable X forwarding (<strong>&#8220;X11Forwarding no&#8221;</strong> becomes <strong>&#8220;X11Forwarding yes&#8221;</strong>) and restarted sshd. On my desktop I similarly changed my local ssh_config file to allow X forwarding (<strong>&#8220;ForwardX11 no&#8221;</strong> becomes <strong>&#8220;ForwardX11 yes&#8221;</strong>) to obviate the need to use the -X switch on the command line. I then installed etherape on the remote server and fired it up only to get the message <strong>&#8220;Error: no display specified&#8221;</strong>. Sure enough <strong>&#8220;echo $DISPLAY&#8221;</strong> showed nothing. But I had thought (and everything I had read confirmed) that ssh should take care of setting the appropriate display when X11 forwarding was set. </p>
<p>So I then tried setting a display manually (<strong>export DISPLAY=localhost:10.0</strong> on the remote server) and then got the response <strong>&#8220;Error: cannot open display: localhost:10.0&#8243;</strong>. So, still no deal.  I spent some time scratching my head (and reading man pages) and sent off a query to my local Linux User group in parallel asking for advice. They were gentle with me.</p>
<p>The first, and rapid, response, said: </p>
<blockquote><p>On the server:</p>
<p>    sudo apt-get install xauth</p>
<p>Then disconnect and reconnect the client.</p>
<p>Jobs a good un.</p></blockquote>
<p>Thank you Brett.</p>
<p>So the moral is, make sure that you have X authorisation working properly on the remote system (check for the existence of $HOME/.Xauthority) if you experience the same symptoms I did. </p>
]]></content:encoded>
			<wfw:commentRss>http://baldric.net/2011/12/19/tunnelling-x-over-ssh/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>

