<?xml version="1.0" encoding="UTF-8"?><rss xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:atom="http://www.w3.org/2005/Atom" version="2.0" xmlns:cc="http://cyber.law.harvard.edu/rss/creativeCommonsRssModule.html">
    <channel>
        <title><![CDATA[Stories by Ollie Fritz on Medium]]></title>
        <description><![CDATA[Stories by Ollie Fritz on Medium]]></description>
        <link>https://medium.com/@OllieFritz?source=rss-8dec37e875e0------2</link>
        <image>
            <url>https://cdn-images-1.medium.com/fit/c/150/150/1*eKkk5nNF2X25FnGhuH-HZw.jpeg</url>
            <title>Stories by Ollie Fritz on Medium</title>
            <link>https://medium.com/@OllieFritz?source=rss-8dec37e875e0------2</link>
        </image>
        <generator>Medium</generator>
        <lastBuildDate>Tue, 17 Nov 2026 10:42:47 GMT</lastBuildDate>
        <atom:link href="https://medium.com/@OllieFritz/feed" rel="self" type="application/rss+xml"/>
        <webMaster><![CDATA[yourfriends@medium.com]]></webMaster>
        <atom:link href="http://medium.superfeedr.com/" rel="hub"/>
        <item>
            <title><![CDATA[Deep Dives — Some Thoughts]]></title>
            <link>https://medium.com/@OllieFritz/deep-dives-some-thoughts-eebb91c14176?source=rss-8dec37e875e0------2</link>
            <guid isPermaLink="false">https://medium.com/p/eebb91c14176</guid>
            <category><![CDATA[longform]]></category>
            <category><![CDATA[economics]]></category>
            <category><![CDATA[opinion]]></category>
            <category><![CDATA[deep-dives]]></category>
            <category><![CDATA[precis]]></category>
            <dc:creator><![CDATA[Ollie Fritz]]></dc:creator>
            <pubDate>Tue, 15 May 2018 11:59:39 GMT</pubDate>
            <atom:updated>2018-05-15T12:00:53.832Z</atom:updated>
            <content:encoded><![CDATA[<figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*XL_U2DfXA3WwPtJkH7jzEg.jpeg" /></figure><p>I was watching Mr and Mrs Smith last night and this line popped up:</p><blockquote>I guess that’s what happens in the end, you start thinking about the beginning.<br>- Brad Pitt</blockquote><p>Being in the midst of my Masters exams currently I have a similar feeling. I think back to much of my first year, with my mind wondering to a specific module. Called Professional Economics, it consisted of two-hour seminars in which we were given a preci, a 30–50 page document that concerning a specific topic, between a group of 5. These topics ranged from large macro events, such as the financial crisis to smaller micro-focused topics such as pension plans. The aim was to create a document that summarised and outlined policy proposals, given the preci and our economic knowledge.</p><p>I want to start something like that again. Not as group work. Not to be marked and assessed. Not in a two hour time frame. Rather, I want to do <em>deep dives </em>on certain topics to gain more of an understanding of them and have an educated opinion backed by facts, as opposed to sound bites. Here are some of the topics that I want to have a look into:</p><ul><li>Student Debt Bubble</li><li>Progressive vs Flat Taxation</li><li>Lake District Pound — Secure against standard attacks?</li></ul><p>This will take some time, as I want to put out work that has substance to it and I am proud of putting my name underneath. If you are interested in anything I wrote above or have any idea, follow this blog and let me know.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=eebb91c14176" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[How I Nicked my Neighbours Internet with a Tin of Tomatoes]]></title>
            <link>https://medium.com/@OllieFritz/how-i-nicked-my-neighbours-internet-with-a-tin-of-tomatoes-b8be1ce141?source=rss-8dec37e875e0------2</link>
            <guid isPermaLink="false">https://medium.com/p/b8be1ce141</guid>
            <category><![CDATA[programming]]></category>
            <category><![CDATA[cantenna]]></category>
            <category><![CDATA[raspberry-pi]]></category>
            <category><![CDATA[linux]]></category>
            <dc:creator><![CDATA[Ollie Fritz]]></dc:creator>
            <pubDate>Sat, 03 Feb 2018 14:49:45 GMT</pubDate>
            <atom:updated>2018-02-03T14:49:45.268Z</atom:updated>
            <content:encoded><![CDATA[<figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*tHGrFiD47X8H4RLa-aqLnQ.jpeg" /></figure><p>Full Disclosure to begin with, I did not hack or steal my neighbours wifi, I was given full consent and the password.</p><h4>The Issue</h4><p>Being stuck in the Bavarian country-side means being stuck with EDGE mobile broadband, which in 2017 is not really acceptable. For a plethora of reasons, which I will not go into, I cannot get a normal broadband connection, and so I have been pooping over to my neighbour to use his internet for the last few visits.</p><p>Now it is time for an upgrade!</p><p>Season 2 of Mr. Robot gave me the idea of using a “cantenna” to significantly extend the wifi range directionally. However, I wanted more than a single computer to be able to use this wifi extender, so some sort of AP would also be necessary. With little to no research I jumped in.</p><h4>Original Design</h4><p>The three main ingredients, I figured, would be:</p><ul><li>Cantenna itself,</li><li>A wifi AP to connect all my devices to and</li><li>Something to connect the two (and maybe install adblockers or a VPN on later)</li></ul><p>Being the countryside, I was limited to the devices I already had laying around or had taken with me. After scavenging around the house, I managed to find a tool to fit every required part.</p><h4>Parts List</h4><ul><li>Cantenna itself was to consist of a cropped tomato tin can and a wifi adapter (the plastic tip can be taken off),</li><li>The wifi AP portion was taken care off by the TP-Link TL-WR802N which I always have when travelling, which becomes very handy in hotels,</li><li>A Raspberry Pi (Gen 1, I think) would be connecting the two devices,</li><li>Alot of cables to connect everything together</li></ul><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*Br_RVWYGlQJ45-d9g2GEGg.jpeg" /><figcaption>The minimal parts that were needed</figcaption></figure><h4>Implementation</h4><p>By cutting a hole in the side of the can, about 3/4 of the way along, and inserting the plastic-stripped antennae portion of the wifi adapter into it, I created the first prototype. Knowing the password, I plugged the adapter into my laptop via a USB extension cable and pointed it at the neighbours house, which is about 30 meters away from my house. E viola, it worked!</p><p>Now that I knew that the most important, and most hacky, aspect of this was taken care of, I connected it to my Raspberry Pi and started the mundane bit. To set it up I did the following:</p><p>To get the wifi working, I amended the /etc/network/interfaces file adding the following and saving the file.</p><pre>allow-hotplug wlan0<br>auto wlan0<br><br>iface wlan0 inet dhcp<br>        wpa-ssid &quot;network-name&quot;<br>        wpa-psk &quot;netwokr-password&quot;</pre><p>After a reboot I ran sudo apt-get update &amp;&amp; upgrade to check it connected to the network successfully.</p><p>Now to route the internet connection from the USB wifi adapter to the LAN port I followed <a href="https://raspberrypi.stackexchange.com/questions/48307/sharing-the-pis-wifi-connection-through-the-ethernet-port">this stackexchange thread</a>. I installed dnsmasq, which is a service that combines a DNS and DHCP server and is simple to setup.</p><p>Once installed, I again amended /etc/network/interfaces to include</p><pre>allow-hotplug eth0  <br>iface eth0 inet static  <br>    address 192.168.2.1<br>    netmask 255.255.255.0<br>    network 192.168.2.0<br>    broadcast 192.168.2.255</pre><p>To configure dnsmasq I edited /etc/dnsmasq.conf, after making a copy of the original file as it includes useful information. In the config file I pasted</p><pre>interface=eth0      # Use interface eth0  <br>listen-address=192.168.2.1<br>bind-interfaces<br>server=8.8.8.8<br>domain-needed<br>bogus-priv<br>dhcp-range=192.168.2.2,192.168.2.100,12h</pre><p>Next, I removed the # from net.ipv4.ip_forward=1 in /etc/sysctl.conf to enable packet forwarding after the next reboot.</p><p>To configure the NAT the following iptable rules needto be run</p><pre>sudo iptables -t nat -A POSTROUTING -o wlan0 -j MASQUERADE  <br>sudo iptables -A FORWARD -i wlan0 -o eth0 -m state --state RELATED,ESTABLISHED -j ACCEPT  <br>sudo iptables -A FORWARD -i eth0 -o wlan0 -j ACCEPT</pre><p>Finally, so that the iptable rules don’t vanish every time the Pi is rebooted I ran sudo sh -c &quot;iptables-save &gt; /etc/iptables.ipv4.nat to save the rules to the file. Now in /etc/rc.local, above exit 0 I added iptables-restore &lt; /etc/iptables.ipv4.nat as to ensure after each reboot the iptables would be restored.</p><p>Now after a reboot, I plugged my laptop into the Pi’s LAN port and, like magic, it worked. The final, and easiest step, was to plug the AP into the LAN port and hope that I didn’t mess up anywhere.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*sFxNJ1XHg6a9SlS5g-iLLQ.jpeg" /><figcaption>All set up and ready to go!</figcaption></figure><h4>Conclusion</h4><p>I have now been using this <em>“device”</em> for the last 2 weeks and it works like a charm. I stuffed everything, except for the cantenna itself into a old smartphone box and it now rests on the windowsill pointing at the neighbours house, looking very ominous and NSA-like in the process.</p><p>Future investigations may include changing the can to a Pringles tin and seeing if it changes the speed/ reliability at all.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=b8be1ce141" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Creating a Uniform Password]]></title>
            <link>https://medium.com/@OllieFritz/creating-a-uniform-password-132d1efa52e3?source=rss-8dec37e875e0------2</link>
            <guid isPermaLink="false">https://medium.com/p/132d1efa52e3</guid>
            <dc:creator><![CDATA[Ollie Fritz]]></dc:creator>
            <pubDate>Tue, 15 Apr 2014 08:18:50 GMT</pubDate>
            <atom:updated>2014-04-15T08:18:50.973Z</atom:updated>
            <content:encoded><![CDATA[<h4>Because password managers are just a hassle.</h4><p>Now that the <a href="http://heartbleed.com/">Heartbleed </a>bug has been exposed and (mostly) patched, it is the perfect time to change the passwords of (just about) every online account you own. Now this can be done 3 way: using a single password for all your accounts, use a randomly generated password with a password manager, such as 1Password or Apple’s Keychain, or creating a Uniform Password. The first approach is horrendously wrong (I really hope you are not currently using this approach especially not with a password such as <strong><em>doglover92</em></strong>) and the second one is just too much of a faff to be convenient. The third approach is (arguably) not quiet as secure as using a randomly generated string of 18 (or more) characters, that have absolutely no semantic value to them, but it is the right mixture of convenience and security to be a viable, and in my opinion optimal, option.</p><h3>Well then, how is it done?</h3><p>The idea behind Uniform Passwords, is that they follow a general rule,;a Uniform, however have components that make them unique and secure. The simplest version, one which we will <strong>not</strong> be using, is the example <strong><em>rulegmail </em></strong>or <strong><em>rulefacebook</em></strong>. Here you can see that we have a single rule and adapt this rule depending on the site. Instead we will be using a more complex version of this, one that is only used as an example, to give a general idea of how such a Uniform Password could look like.</p><h4>Example:</h4><ol><li>Get a string of random characters or (even better) characters that mean nothing when put together, but have individual meanings. For this example, I will use <strong><em>MB32LE_BO</em></strong>. <strong><em>M</em></strong> for Munich, my favorite city, <strong><em>B </em></strong>for Bavaria, the state it is in, <strong><em>32</em></strong> for the last two letters of my land line number, and <strong><em>LE_BO</em></strong>, as the mixture of my favorite two things as a child <strong><em>LE</em></strong>GO and HARI<strong><em>BO. </em></strong>Again, just an example.</li><li>Enter the domain name of the site into the Uniform. This can we done like this: g o o g l e + <strong><em>MB32LE_BO = MBg32ooLE_BOgle</em></strong>. Looks long doesn&#39;t it? To solve that, only the first and last letter, or the first, last and the first vowel (excluding the first letter), could be used.</li><li>Now add some maths. This should be some maths that can be done mentally on the fly. The maths will depend on your skill in that subject, but anything from checking if the sum of the vowels in the site’s domain name is odd or even, over checking if the sum of all consonants in a prime, to converting all letters into their ASCII equivalent and dividing it by the length of the domain name. This, in the google example would be <strong><em>MBg32ooLE_BO106gle</em></strong>, where 106(.16) is the sum of the ASCII equivalent of the letters in the domain over the length of the domain. Of course,more than one of these can be applied.</li><li>Voila, a new Uniform password has been created, one that can be remembered (even if only after some time) and stored in those password managers, if necessary, as the Uniform rule can simply be written down, such as:<br><strong><em>MB&lt;first letter&gt;32&lt;first vowel&gt;LE_BO&lt;sum of ASCII / length&gt;le&lt;last letter&gt;</em></strong></li></ol><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=132d1efa52e3" width="1" height="1" alt="">]]></content:encoded>
        </item>
    </channel>
</rss>