<?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 Tarun Chinmai on Medium]]></title>
        <description><![CDATA[Stories by Tarun Chinmai on Medium]]></description>
        <link>https://medium.com/@TarunChinmai?source=rss-ff03aea5c0f2------2</link>
        <image>
            <url>https://cdn-images-1.medium.com/fit/c/150/150/1*iDCOHFBmeuLWKI5iZ6FR2A.jpeg</url>
            <title>Stories by Tarun Chinmai on Medium</title>
            <link>https://medium.com/@TarunChinmai?source=rss-ff03aea5c0f2------2</link>
        </image>
        <generator>Medium</generator>
        <lastBuildDate>Wed, 02 Dec 2026 11:55:57 GMT</lastBuildDate>
        <atom:link href="https://medium.com/@TarunChinmai/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[The Kaspersky Scandal]]></title>
            <link>https://medium.com/@TarunChinmai/the-kaspersky-scandal-da009d452201?source=rss-ff03aea5c0f2------2</link>
            <guid isPermaLink="false">https://medium.com/p/da009d452201</guid>
            <category><![CDATA[cybersecurity]]></category>
            <category><![CDATA[kaspersky]]></category>
            <category><![CDATA[antivirus]]></category>
            <category><![CDATA[infosec]]></category>
            <category><![CDATA[security]]></category>
            <dc:creator><![CDATA[Tarun Chinmai]]></dc:creator>
            <pubDate>Thu, 26 Oct 2017 17:03:46 GMT</pubDate>
            <atom:updated>2017-10-26T17:08:36.945Z</atom:updated>
            <content:encoded><![CDATA[<p>A brief timeline of how kaspersky got implicated in the big scandal</p><blockquote>Disclaimer: All of the below data is sourced from publicly available information.</blockquote><ol><li>NSA Employee takes home malware from work.</li></ol><p>2. Installs pirated MS office. Turns off Kaspersky 🤦‍♂️ when it complains that the pirated software is malware.</p><p>3. The malware takes hold, backdoor in the machine open for god knows how long</p><p>4. Employee turns on kaspersky again, it detects the office malware, deletes it.</p><p>5. Kaspersky finds the employee’s stash of malware from NSA. Sends it to the network for analysis as they seem to be suspicious</p><p>6. An analyst looks at the files, sees that they belong to NSA, and informs the CEO</p><p>7. Eugene Kaspersky asks the analyst to delete the files, and forget about it.</p><p>8. The Israeli government hackers who were inside Kaspersky’s network found that Kaspersky had access to NSA files (briefly)</p><p>9. Israel informs NSA that kaspersky had NSA tools in their network</p><p>10. US Gov bans installations of Kaspersky product.</p><blockquote>What is unclear is how Russia allegedly got hold of the NSA malware taken from the analyst’s laptop. Maybe, they exploited the backdoor?</blockquote><p>References:</p><ul><li><a href="https://theintercept.com/document/2017/10/24/kaspersky-lab-preliminary-results-of-the-internal-investigation-into-alleged-incident-reported-by-u-s-media/">Kaspersky Lab: Preliminary results of the internal investigation into alleged incident reported by U.S. media ? - The Intercept</a></li><li><a href="https://www.nytimes.com/2017/10/10/technology/kaspersky-lab-israel-russia-hacking.html">How Israel Caught Russian Hackers Scouring the World for U.S. Secrets</a></li><li><a href="https://www.theguardian.com/technology/2017/sep/13/us-government-bans-kaspersky-lab-russian-spying">US government bans agencies from using Kaspersky software over spying fears</a></li><li><a href="https://www.theguardian.com/technology/2017/oct/06/kaspersky-lab-denies-involvement-russian-hack-nsa-contractor-moscow">Kaspersky Lab denies involvement in Russian hack of NSA contractor</a></li><li><a href="https://arstechnica.com/information-technology/2015/06/stepson-of-stuxnet-stalked-kaspersky-for-months-tapped-iran-nuke-talks/">Stepson of Stuxnet stalked Kaspersky for months, tapped Iran nuke talks</a></li><li><a href="https://www.kaspersky.com/blog/kaspersky-in-the-shitstorm/19794/">What the scandal with Kaspersky Lab and the NSA is all about</a></li></ul><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=da009d452201" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[There and Back again - Part 2 : Hemkhund Sahib and Badrinath]]></title>
            <link>https://medium.com/@TarunChinmai/there-and-back-again-part-2-hemkhund-sahib-and-badrinath-bee5970f56a2?source=rss-ff03aea5c0f2------2</link>
            <guid isPermaLink="false">https://medium.com/p/bee5970f56a2</guid>
            <category><![CDATA[trekking-in-the-himalayas]]></category>
            <category><![CDATA[himalayas]]></category>
            <category><![CDATA[nature]]></category>
            <category><![CDATA[travel]]></category>
            <category><![CDATA[trekking]]></category>
            <dc:creator><![CDATA[Tarun Chinmai]]></dc:creator>
            <pubDate>Sun, 03 Sep 2017 15:52:09 GMT</pubDate>
            <atom:updated>2017-09-03T15:53:20.155Z</atom:updated>
            <content:encoded><![CDATA[<p>Catch up with Part 1 <a href="https://medium.com/@TarunChinmai/valley-of-flowers-ecd933c6054a">here</a>.</p><p><strong>Day 5: Ghangria - Hemkund Sahib - Ghangria</strong></p><p>Our muscles were sore after the strenuous trek of the previous day. Moreover, a injury that one of our group members had the previous day, got worse overnight and rendered him unable to walk. So, the party split into two. Three on mules and 5 on foot to conquer Hemkhund Sahib.</p><p>The foot soldiers started the day early, departing from the hotel at 7.30, amdist overcast skies. It was a gloomy day when we began our ascent to the 15000 foot high Hemkhund Sahib. We decided to time our walks and started walking in 10 minute intervals. The climb was very steep and we huffed and puffed our way up the hill, taking breaks once 10 minutes were up. We managed to maintain a steady pace and covered 3 km in 1.5 hrs. Our guide was very impressed and was optimistic that we will reach the top soon.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*TJ1iDJbgDxAh0g0awuKA9g.jpeg" /><figcaption>Walking amidst the clouds</figcaption></figure><p>The climate started to get chilly as we climbed, and the clouds encircled us. Visibility was very less, and we could see only 10 metres ahead of us. We were literally walking in the middle of the cloud!. Walking made us hot and sweaty, but outside was so cold. We could neither wear our jerkins nor take them off completely. We took a break at the halfway point, and we could see the steam coming from our body. It was a surreal experience indeed.</p><p>Charged with nimbu pani and nimbu chai, we started the second half of the ascent, only to discover that it was harder than the first. The cold made it even harder, making it tough to breathe. Two of the five people started experiencing head spins, while the rest started facing difficulty in breathing. We lumbered along, resisting the urge to sit and sleep. It was then we saw a glimpse of a glacier. That joy brought an unexpected energy into our tired bones, and we ran near it to see it in its entirety. Our guide let us climb on top of the Glacier, and we clicked a lot of pictures, totally forgetting our tiredness. Our horse riding friends had also caught up with us by then, and we saw them riding away, like the Dothraki.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*V3GWK8bvTW_7jmdyiuz6_Q.jpeg" /><figcaption>Posing on the glacier</figcaption></figure><p>Being an important sikh pilgrimage area, lots of Sikhs were climbing along with us. The ones coming down after offering their respects to the deity, encouraged us to keep moving. It was getting very difficult to walk by then, due to the altitude, and those kind words and chocolates really helped. After trudging along, for what felt like an eternity, we saw the clouds clear and the gurudwara came into sight. We mustered all our remaining energy, and made the last climb till the gurudwara and entered the Langar.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*b_HR9wQutrUV82DVNgshqg.jpeg" /><figcaption>Hemkhund Sahib Gurudwara</figcaption></figure><p>We had sizzling hot Chai (Tea), Kheer ( a sweet porridge ), and Kichdi there before heading out to wash our feet in the holy lake. We then went inside the gurudwara, paid our respects, and came back. Some of us took a dip in the freezing pool, while the others rested. We were all happy to have made the daunting climb without mishaps, and started our downward journey.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*AykyuiqfVOT67-4YC4G3XQ.jpeg" /><figcaption>The path we climbed up</figcaption></figure><p>The downward climb was a cakewalk compared to the upward one. we literally ran down the mountain, stopping only to remove jerkins and have some snacks. The clouds had dispersed by then, and we marvelled at the sights that the trail had to offer. We stared in disbelief, about how we managed to climb some sections. We safely reached our room and retired for the night.</p><p><strong>Day 6: Ghangria - Govindghat - Badrinath</strong></p><p>Our trek was nearly over, and now we only had the return journey to look forward to. Amidst overcast skies, we settled our bills and departed with a heavy heart towards Ghangria. We moved at a healthy pace and as the day progressed the skies cleared, and we were treated to crystal clear views of the entire landscape. The pristine views were denied to us on the way up, due to the incessant drizzle. We made quick time, and reached Pulna by lunch. We boarded a jeep, went till Govindghat and changed onto another taxi towards Badrinath.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*hOzjx7ccBI_jhh73AAICsw.jpeg" /><figcaption>A freshly uprooted tree on the trail from Ghangria to Govindghat</figcaption></figure><p>We had travelled for only half an hour, when the traffic was stopped. We disembarked to find out what was going on, and discovered that a huge landslide had happened at Lambagad, and the BRO and SDRF were busy clearing it. We went closer to the landslide site, and what we saw scared us to a great extent. The rocks were precariously balanced and the soil seemed to be so loose that it might collapse on us any moment. The teams cleared the landslide, and we went off on our way towards Badrinath.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*Yp1M6s1DArNWc2d36JNjvA.jpeg" /></figure><p>The ride was beautiful, and we were treated to enchanting views of the mountains. This area is called called DevBhoomi - the land of the Gods, and it did justice to the name. We reached Badrinath by 3pm. . As it is a very important Hindu religious place, dozens of sadhus dotted its streets. The Alaknanda river, a tributary of the Ganges flows through the town, and devotees throng its banks to take a dip before visiting the temple.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*4WYxTSgorznyO03Eauaeyw.jpeg" /><figcaption>The Joshimat — Badrinath Highway</figcaption></figure><p>We decided to visit the temple on the next day, and instead decided to explore the town. It was by far the largest town that we have encountered on this trip, and was very peaceful for its size. After having some yummy mouth watering samosas, our eyes fell on a small roadside shop selling <a href="https://en.wikipedia.org/wiki/Momo_(food)">momos</a> and <a href="https://en.wikipedia.org/wiki/Aloo_tikki">Tikkis</a>. We took over the shop completely, bombarding the vendor with orders for Tikkis, momos and Bun Tikkis. After devouring the tikkis, we went back to our rooms for a game of cards and rest.</p><p><strong>Day 7: Badrinath - Mana - Badrinath</strong></p><p>It was a lazy day for us, as we had a tourist’s itinerary. We visited the Tapt Kund near the temple after breakfast, and got blessings form a sadhu on the banks of the Alaknanda. The waters of the Tapt Kund, a natural geyser were scalding hot, and were able to wash our feet only with the water. There were a lot of people who braved the heat to take baths in that water too!.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*_6pwyjDtA5lqx8fyFPXZtA.jpeg" /><figcaption>The entrance to Mana</figcaption></figure><p>We then started our Journey to Mana, the last Indian village in these areas. Mana is a quaint little village, and supplies most of Badrinath’s agrarian needs. Inside Mana, we visited the <a href="https://www.trawell.in/uttarakhand/badrinath/vyas-gufa-vyas-cave">Vyasa Gufa</a> and Ganesh Gufa , the caves from which Ved Vyas is supposed to have recited the Mahabharatha, and Lord Ganesha is supposed to have written it. Beside Vyas Gufa is India’s last tea shop. We had some sizzling hot chai there, and went on towards our next point.</p><p>The next stop was Bheem pul, a place where the myhtical Bheem placed a rock to cross the river Saraswathi. It is said that his foot impression can be seen on the mountain. The roars of the Saraswathi river beckoned us, and we moved closer to our guide, who showed us the origin of the river. It is said that the river starts from beneath the rocks, and joins with the Alaknanda. To our utter disbelief we found two more tea shops, each claiming to be India’s last tea shop (Again!)!.</p><p>We returned to Badrinath in time for the evening aarthi. The temple was beautifully lit, and we had a good darshan. The chants of “jai badri vishal “ and “Narayana” filled the air, charging the atmosphere. We ate the prasad, roamed a bit and tucked in early, in anticipation of the long drive of the next day.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*z4l92ipHFOehTkZfiKHvrQ.jpeg" /><figcaption>Lord Badrinath’s temple</figcaption></figure><p><strong>Day 8: Badrinath - Haridwar - Delhi</strong></p><p>We started off from Badrinath very early, at 7 am and were brought to a screeching halt, a few kms from the town. We learned that, there was another landslide at Lambagad, the same place where it occurred on our onward journey. We had a frustrating wait of 4+ hours with almost no information, until a BRO official told that the road wouldn’t be fixed by the day. We were all very tensed, as we had a bus to catch in Haridwar to make in time for the next day’s flight. Our guide suggested that we abandon this car before the landslide, cross the hill on foot and take another taxi towards Haridwar. We took his advice and so began another impromptu trek.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*c1ToTqN89AUIrDnD9JOphw.jpeg" /><figcaption>Mountain Hopping</figcaption></figure><p>The trail was very very steep, almost nearly vertical in some places. We huffed and puffed and kept walking, as we were now in a race against time. We moved as fast as we could, and we reached the spot exactly above the landslide in about half an hour. We went closer to inspect, and saw that despite having steel nets to prevent landfalls, the soil was developing fissures and was in a very precarious state. It looked like it could slide down entirely, anytime. We finally crossed over the hill in an hour. The driver told us that it was impossible to reach Haridwar in time for our bus, but he would try to get us there. We dropped our guides off in Govindghat, and moved at a breakneck speed towards Haridwar.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*21jZJ6v-lJ1to3Gtcj69AQ.jpeg" /><figcaption>Steel nets to prevent landslides</figcaption></figure><p>We finally got Internet access back, and got to know that due to the conviction of a religious leader, there was unrest in the districts, curfew was imposed and no public transport was operational. We immediately confirmed it with the transport authorities, arranged alternative transport and were finally confident that we would make it in time for our flight. It was then another mishap happened. The traffic was stopped due to another landslide.</p><p>We lost the greater part of an hour there, and when it finally cleared, our driver went into schumacher mode. He drove the car at impossible speeds in the hilly terrain and got us to Rishikesh by 10.30pm. We then switched taxis, to begin our descending journey to Delhi Airport. I was hoping that this driver would be better than the last, and my hopes were squashed within 10 minutes of the drive beginning.</p><p>Holding my thumping heart in my hands, I rode shotgun in that terrifying drive from Haridwar to Delhi. The driver seemed to have no qualms about jumping lights and driving on the wrong side of the road too!. I felt that it was a miracle we reached the airport in one piece</p><p><strong>Day 9: Delhi - Chennai</strong></p><p>After that nerve-wracking journey, we were grateful to get away from the place as soon as possible. We landed in Chennai, and the trip had come to an end finally.</p><p>It was an out of the world experience for me, and I can’t wait to get back to the mountains again!.</p><p>Photos: Sanjeev Sundaravarathan</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=bee5970f56a2" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[There and Back again - A Trip to the Valley of Flowers - Part 1]]></title>
            <link>https://medium.com/@TarunChinmai/valley-of-flowers-ecd933c6054a?source=rss-ff03aea5c0f2------2</link>
            <guid isPermaLink="false">https://medium.com/p/ecd933c6054a</guid>
            <category><![CDATA[trekking]]></category>
            <category><![CDATA[trekking-in-the-himalayas]]></category>
            <category><![CDATA[travel]]></category>
            <category><![CDATA[himalayas]]></category>
            <dc:creator><![CDATA[Tarun Chinmai]]></dc:creator>
            <pubDate>Thu, 31 Aug 2017 06:29:34 GMT</pubDate>
            <atom:updated>2017-09-03T15:54:38.292Z</atom:updated>
            <content:encoded><![CDATA[<p>A group of 8 guys, including me went on a trip to the valley of flowers in Uttarkhand, India. What follows is a detailed account of it.</p><p>Itinerary:</p><p>Day 1 : Chennai — Delhi — Haridwar</p><p>Day 2: Haridwar — Govindghat</p><p>Day 3: Govindghat — Ghangria</p><p>Day 4: Ghangria — Valley Of Flowers — Ghangria</p><p>Day 5: Ghangria — Hemkund Sahib — Ghangria</p><p>Day 6: Ghangria — Govindghat — Badrinath</p><p>Day 7: Badrinath — Mana — Badrinath</p><p>Day 8: Badrinath — Haridwar — Delhi</p><p>Day 9: Delhi — Chennai</p><p>The wonderful team over at <a href="http://crazypeaks.com/">CrazyPeaks</a> took care of arranging our transport, trek and lodging from Haridwar till Haridwar. The total cost of our trip, excluding our food costs came up to Rs. 22,000.</p><p><strong>Day 1 : Chennai - Delhi - Haridwar</strong></p><p>The trip got off to a good start, and we took off from Chennai without any hassle. We reached Delhi airport, changed over to the metro, went direct to the NDLS station. It was then, to our horror, we discovered that a train had <a href="http://www.hindustantimes.com/lucknow/utkal-express-train-derails-in-up-s-muzaffarnagar-six-coaches-topple-several-injured/story-SCKjYOupeTY7M2zzcbdWVO.html">derailed</a> on our route, and that our train was going to be delayed. The train started( thank god for that?) at a very slow speed towards Haridwar and the funny part was we didn’t know when we were supposed to get off. The TC conveniently decided to skip the journey because of the new route. With the mobile data being intermittent we couldn’t even check when to get off. So began a sleepless night for some of us.. especially when we realised our shoes were about to get stolen!! You may think I’m lying, but a man crawled on his knees out of our sight trying to steal our shoes. Luckily for us the “vigilant” police stopped him in his tracks. (How do you expect us to sleep eh?). We finally reached Haridwar at 5.30 am, an hour and half behind schedule.</p><p><strong>Day 2 : Haridwar - Govindghat</strong></p><p>Thankfully, our taxi was waiting for us at Haridwar station. We quickly boarded and started off towards Govindghat. The journey was largely uneventful, and we were treated to wonderful views of the <a href="https://en.wikipedia.org/wiki/Panch_Prayag">panchprayags</a>. The holy Ganges river, at its ferocious best was a sight to behold. We halted at Devprayag, took in the scenery and stretched our legs.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*1gFuXu5Alf0aSg6jFN9UzQ.jpeg" /><figcaption>Devprayag, the first of the panchprayags, where the Bhagirathi flows into the Alaknanda</figcaption></figure><p>We halted for a snack at Joshimat, and discovered, to our annoyance, that we had lost internet connectivity. However, the scenic route from Joshimat to Govindghat, surrounded by steep hills on both sides enthralled us, and we got ready for a week without internet or mobile connectivity.</p><iframe src="https://cdn.embedly.com/widgets/media.html?type=text%2Fhtml&amp;key=a19fcc184b9711e1b4764040d3dc5c07&amp;schema=facebook&amp;url=https%3A//www.facebook.com/ronniesmack/videos/1656800214338965/&amp;image=https%3A//i.embed.ly/1/image%3Furl%3Dhttps%253A%252F%252Fscontent-iad3-1.xx.fbcdn.net%252Fv%252Ft15.0-10%252F21208166_1656800751005578_4295617176091492352_n.jpg%253Foh%253D4b1dcbf989e77cf6ad9c88ebec486f33%2526oe%253D5A25A7D4%26key%3Da19fcc184b9711e1b4764040d3dc5c07" width="600" height="600" frameborder="0" scrolling="no"><a href="https://medium.com/media/53ff090aadd9cb3da1d698888ea07524/href">https://medium.com/media/53ff090aadd9cb3da1d698888ea07524/href</a></iframe><p>We reached Govindghat in the evening, and we stayed in the Nanda Devi hotel. The room was spacious, and had an excellent view of the Alaknanda. The river’s sound was so loud that we had to raise our voices to be heard. The night’s were scary due to the booms of the river, and the monstrous Himalayan mosquitoes, which were atleast twice as large as the ones in the plains.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*G8sBy5ch7wQxdKprSZnruA.jpeg" /><figcaption>The view from the room at Govindghat</figcaption></figure><p><strong>Day 3: Govindghat - Ghangria</strong></p><p>We met our trek leaders - Raghu and Upendra in the morning. After getting polythene ponchos for 30 apiece, and trek poles at 30 a piece for all of us, we were all set to get going. We took a taxi from our hotel till the bridge, registered at the checkpost and transferred onto another taxi till pulna. The climate was gloomy, and it was raining a little. We were overcome by nervous excitement.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*Iv0LTX2AMDF8n51ZqeG-aA.jpeg" /><figcaption>All set for the trek</figcaption></figure><p>On reaching Pulna, we started walking on the trail to Ghangria. The trail was well laid, and was lined with stones, making walking easy. The views were beautiful, with a number of waterfalls and steep cliffs lining the route. Halfway through, we had the first mishap. One of our group members had trouble breathing, and had to take a mule. We sent off half our bags with him, to ease our backs.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*Fq4zcr0Yeu1S7uToiGo2og.jpeg" /><figcaption>The winding path to Ghangria</figcaption></figure><p>Being a pilgrim trail, there were a number of shops dotting the path. We had our lunch halfway through the trail, and continued our trek towards Ghangria. About 3km from Ghangria, we saw huge stones falling from the top of the hills on the opposite side. Our guide told us that the landslides were happening on the trail to the valley of flowers, and that the valley was closed on that day. It was a scary sight to behold, and we were chilled to our bones. The last 2 km were very steep and was really taxing on our backs and legs. We were spellbound by the view outside of Ghangria village. Taking in the views of the huge waterfall, we rested a bit and refreshed our tired bodies.</p><iframe src="https://cdn.embedly.com/widgets/media.html?src=https%3A%2F%2Fkuula.co%2Fshare%2F7lkJf&amp;url=https%3A%2F%2Fkuula.co%2Fpost%2F7lkJf&amp;image=https%3A%2F%2Ffiles.kuula.io%2F59a5-32bd-1151-e405%2F01-share.jpg&amp;key=a19fcc184b9711e1b4764040d3dc5c07&amp;type=text%2Fhtml&amp;schema=kuula" width="360" height="360" frameborder="0" scrolling="no"><a href="https://medium.com/media/022f293166981f9a4d503a0d3b367ec4/href">https://medium.com/media/022f293166981f9a4d503a0d3b367ec4/href</a></iframe><p>With that, we reached our hotel at Ghangria, settled down, ate dinner and went to sleep, eagerly expecting what the next day had in store.</p><p><strong>Day 4 : Ghangria - Valley of Flowers - Ghangria</strong></p><p>Atlast, the D-Day had arrived. We were very excited about the day ahead, and to our good fortune, the weather was pleasant. It was neither raining, nor too hot. We started at 7.30 from our hotel, picked up our packed lunches and made our way towards the enchanting valley of flowers.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*7NPR5v1Sw5MHWQV_oz2m8w.jpeg" /><figcaption>The View from the checkpost</figcaption></figure><p>Once we crossed the checkpost outside Ghangria, we had to cross a makeshift bridge, made of a single asbestos sheet. Once we were past that, we were on the trail to the valley. The trail was long, well maintained and steep at most places. There were ample places to sit and rest, and few streams to fill water from. The Pushpavathi river was flowing alongside us for most of the journey, and there were quite a few crossings too.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*QXH3Q9DoMYIRqjG4vQwpAw.jpeg" /><figcaption>Crossing the makeshift bridge on the pushpavathi</figcaption></figure><p>The entrance to the valley is 4km from the checkpost, and the path traverses through the forest, steadily climbing in altitude. Two of our party were severely weakened by the altitude gain, and one of them was hit severely by <a href="https://en.wikipedia.org/wiki/Altitude_sickness">AMS</a>. Mules are not allowed in the valley, and there was no way to get them up or down quickly. We took rest for sometime, and they seemed to get better. We held our grit, kept walking towards the destination, and our determination was well rewarded with enchanting views like this.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*dL6jgFqWFrP8wPc-M0CVKw.jpeg" /><figcaption>Valley of Flowers</figcaption></figure><p>We finally reached the banks of the river pushpavathi, the official starting point to the valley. The water as so pristine and clear that we all wanted to jump in immediately. Our guide gave the nod, and in we jumped!. The water was icy cold, and refreshing to our tired bones. The two affected by AMS decided to rest for sometime, and start the descent with one of our guides -Upendra. The others, rejuvenated by the water, decided to explore the valley further.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*JLZpEJt-2_zKskwC6WPVMA.jpeg" /></figure><p>Our guide gave us a single condition. Get back to the river bed by 2 pm. We had two hours in hand, and so we set a timer for an hour and started walking. We could see a flag in the distance, and decided to make it to that point. And so we walked, taking in the immense beauty of the valley. The hills were covered with white and pink flowers, making it an enchanting sight to behold. We finally reached the flag, and found that it was called “<a href="http://www.trekkinginhimalayas.com/valley-of-flowers.html">Legge Point</a>”, a cemetery of Joan Margaret Legge. We rested a bit there, and started our way back.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*60k4Y2EBtehTTYxQoxI4pw.jpeg" /><figcaption>The flower covered mountains</figcaption></figure><p>The descent was uneventful, and we reached Ghangria in two and a half hours, whereas the onward journey, took us 5 hrs. We were tired to the core, and couldn’t take one step ahead. All we wanted was to get to our rooms and rest our tired bones. However we were halted in our tracks, once we caught a whiff off the freshly made gulab jamuns in the shops nearby and devoured a plate each despite the agony our bodies were going through. Rejuvenated, we dragged our bodies till our hotel, and tucked in for the night.</p><p>That ends the first part of the series, the <a href="https://medium.com/@TarunChinmai/there-and-back-again-part-2-hemkhund-sahib-and-badrinath-bee5970f56a2">second one</a> will cover our visit to Hemkhund Sahib, Badrinath and Mana.!.</p><p>Picture Courtesy:<a href="https://www.facebook.com/ronniesmack"> <strong>Sanjeev Sundaravarathan</strong></a></p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=ecd933c6054a" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Building a network wide adblocker using Raspberry Pi]]></title>
            <link>https://medium.com/@TarunChinmai/building-a-network-wide-adblocker-using-raspberry-pi-c346b39c9353?source=rss-ff03aea5c0f2------2</link>
            <guid isPermaLink="false">https://medium.com/p/c346b39c9353</guid>
            <category><![CDATA[adblock]]></category>
            <category><![CDATA[raspberry-pi]]></category>
            <category><![CDATA[technology]]></category>
            <category><![CDATA[dns]]></category>
            <dc:creator><![CDATA[Tarun Chinmai]]></dc:creator>
            <pubDate>Sun, 29 Jan 2017 15:55:54 GMT</pubDate>
            <atom:updated>2017-01-29T15:55:54.543Z</atom:updated>
            <content:encoded><![CDATA[<p>I had an old raspberry pi, which was lying in a corner, gathering dust, and I decided to put it to some use. I started out to design a basic adblocker system, which uses dns spoofing to get rid of ads.</p><p>The idea :</p><ol><li>Collect a list of known ad servers ( domains from which the ads are served )</li><li>Map all these domains to a local web server</li><li>Return a empty response to all the pages requested.</li></ol><p>The configuration required has to be done on two devices — The raspberry pi and the router.</p><p><strong>Router Config ( Google for exact methods for your router model)</strong></p><ol><li>Assign a static ip to the raspberry Pi.</li><li>Change the DHCP address block, so that the static address of the raspberry pi is outside the address space, ie, if the raspi address is 192.168.1.2, make sure the dhcp range starts from 192.168.1.3.</li><li>Change the primary dns server to the ip of the raspberry pi. Set the secondary dns to 8.8.8.8 (Google dns, for back up. replace with openDNS or whatever).</li></ol><p><strong>Raspi Config</strong></p><ol><li>Flash raspbian on the sdcard. If you already have done this, skip.</li><li>Clone the <a href="https://github.com/Tchinmai7/NetworkAdBlocker">https://github.com/Tchinmai7/NetworkAdBlocker</a> repo</li><li>Run the setup.sh file to get up and running.</li></ol><p><strong>What’s included in the repo</strong></p><ol><li>The setup scripts installs python3, dnsmasq and lighthttpd if its not installed, and finds the static ip of the raspi</li><li>It’ll invoke a python script,which will fetch the ad server lists from predefined locations and store them in a temporary file.</li><li>The unique results are stored in /etc/dnsmasq.conf file.</li><li>It then copies the additional config files to the /etc/dnsmasq.d directory as adblock.conf</li><li>The 404 pages of lighthttpd servers are edited to return a empty response.</li></ol><p>This blocks almost all kinds of ads, including video ads on android. Some of the poorly designed websites look very ugly, as they have huge gaps in the content. But , hey. That’s a small sacrifice to get rid of all ads on the network.</p><p>I had half finished this project when I came across <a href="https://pi-hole.net/">https://pi-hole.net/</a>. Pi-Hole uses the same methods, albeit in a better way. It even has a fancy web UI!.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=c346b39c9353" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Sharing internet connection from a linux machine over Ethernet]]></title>
            <link>https://medium.com/@TarunChinmai/sharing-internet-connection-from-a-linux-machine-over-ethernet-a5cbbd775a4f?source=rss-ff03aea5c0f2------2</link>
            <guid isPermaLink="false">https://medium.com/p/a5cbbd775a4f</guid>
            <category><![CDATA[linux]]></category>
            <category><![CDATA[iptables]]></category>
            <category><![CDATA[networking]]></category>
            <category><![CDATA[tech]]></category>
            <dc:creator><![CDATA[Tarun Chinmai]]></dc:creator>
            <pubDate>Sun, 25 Dec 2016 13:29:54 GMT</pubDate>
            <atom:updated>2016-12-25T16:31:31.411Z</atom:updated>
            <content:encoded><![CDATA[<p>I have a PC at home, which connects to the internet using ethernet. However, due to a storm, my ISP was down and I wasn’t getting broadband. However, I still had access to the internet through mobile data, and was using a hotspot to access internet from my laptops.</p><p>The PC doesn’t have a WiFi card, and hence wasn’t able to connect to the internet. So, I decided to share my laptop’s internet with the PC. The laptop runs linux, and the PC runs Windows.</p><p>The setup looks like this :</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/600/1*KKIV-YPje8kJoRIqnoGQ7Q.png" /></figure><p>On the laptop, I did the following.</p><ol><li>Enable IP Forwarding sysctl -w net.ipv4.ip_forward=1. This will enable the kernel to forward packets, which are arriving to this machine.</li><li>Assign a static IP to the ethernet interface, in my case eth1. sudo ifconfig eth1 192.168.122.10 netmask 255.255.255.0 up Just make sure that no other device on your network uses this ip. On the safer side, assign the ip in a totally different subnet.</li><li>Enable masquerading on the interface which is connected to the internet. In my case, its my WiFi interface, eth0. sudo iptables -t nat -A POSTROUTING -o eth0 -j MASQUERADE. This will masquerade (replace the src ip on the packet with the eth0 ip) all traffic arriving from other interfaces, to the eth0 interface.</li><li>Add iptable rules to ACCEPT and FORWARD traffic from the subnet</li></ol><pre>sudo iptables -I FORWARD -o eth0 -s 192.168.0.0/16 -j ACCEPT<br>sudo iptables -I INPUT -s 192.168.0.0/16 -j ACCEPT</pre><p>These rules will redirect the kernel to accept packets coming from the 192.168.0.0 subnet, and forward them onto the eth0 interface.</p><p>On the windows machine, do the following</p><ol><li>Goto Network and sharing center → Ethernet → Properties → ipv4 Properties</li><li>Assign an ip in the same subnet as the ethernet interface of the laptop</li><li>Set the laptop’s ip as the default gateway</li><li>Assign DNS servers (8.8.8.8 , 8.8.4.4 for Google DNS)</li></ol><figure><img alt="" src="https://cdn-images-1.medium.com/max/606/1*Z40ryGL3cy_T6vofXfs2uw.png" /></figure><p>Now the PC has internet access, through the laptop.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=a5cbbd775a4f" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Installing Kubernetes]]></title>
            <link>https://medium.com/@TarunChinmai/installing-kubernetes-f0c8dec1487c?source=rss-ff03aea5c0f2------2</link>
            <guid isPermaLink="false">https://medium.com/p/f0c8dec1487c</guid>
            <category><![CDATA[docker]]></category>
            <category><![CDATA[kubernetes]]></category>
            <dc:creator><![CDATA[Tarun Chinmai]]></dc:creator>
            <pubDate>Tue, 25 Oct 2016 17:30:37 GMT</pubDate>
            <atom:updated>2016-10-25T17:53:12.849Z</atom:updated>
            <content:encoded><![CDATA[<p>To setup a kubernetes cluster on your local machine, for testing and playing with kubernetes, go <a href="http://kubernetes.io/docs/getting-started-guides/minikube/">here</a>, and install minikube.</p><p>If you want to setup kubernetes on a local cluster, then</p><ul><li>If your cluster runs latest ubuntu-16.04, then go <a href="http://kubernetes.io/docs/getting-started-guides/kubeadm/">here</a>, and install Kubeadm.</li><li>If your cluster runs ubuntu 14.04, then read on.</li></ul><p>Kubernetes installation is automated by a script, kube-up.sh found in their repositories. What is essentially does is,</p><ul><li>Build the binaries of kubelet, kubeproxy, etcd, and flanneld</li><li>scp the necessary files to the machines</li><li>ssh into the machines, and edit the configs</li><li>Do a sanity check, and exit cleanly if everything works (which is hardly the case).</li></ul><p>So, To install kubernetes with the script, the prerequisites are</p><ul><li>Atleast one machine, running ubuntu 14.04</li><li>Passwordless, keybased ssh access to the above machines</li><li>sudo powers on the machines.</li><li>A working docker installation on all nodes.</li><li>bridge-utils to be installed on all nodes</li><li>Internet access for the master node.</li></ul><p>The process is pretty straightforward.</p><ul><li>First ,install <a href="http://kubernetes.io/docs/user-guide/prereqs/">kubectl</a> on your machine , the one which you use to interact with the cluster.</li><li>Clone the repo</li></ul><pre><strong>git clone --depth 1 </strong><a href="https://github.com/kubernetes/kubernetes.git"><strong>https://github.com/kubernetes/kubernetes.git</strong></a></pre><ul><li>configure the environment variables (I’m using the versions that worked without issues for me. verify with the official site incase anything newer is released).</li></ul><pre><strong>export KUBE_VERSION=1.4.0<br>export FLANNEL_VERSION=0.5.5<br>export ETCD_VERSION=2.2.1</strong></pre><ul><li>now, open the file at $dir/cluster/ubuntu/config-default.sh , and edit these lines</li></ul><pre><strong>export nodes=&quot;vcap@10.10.103.250 vcap@10.10.103.162 vcap@10.10.103.223&quot; ##Replace these with your username@ips. ex tchinmai@192.168.122.4) <br><br>export roles=&quot;ai i i&quot; ##(a=master,i=minion,ai=master&amp;minion. place the intended roles in the same order of the ips)<br><br>export NUM_NODES=${NUM_NODES:-3} ##the number of *minion* nodes. if you specify 4 nodes above, and your master doesn&#39;t double up as minion, then enter 3 here.<br><br>export SERVICE_CLUSTER_IP_RANGE=192.168.3.0/24 ##make sure there&#39;s no IP space conflict. This is used for intracluster communication<br><br>export FLANNEL_NET=172.16.0.0/16 ##Make sure there&#39;s no conflict. Used by etcd to talk to its peers.</strong></pre><ul><li>Incase you’re behind a proxy, edit this line</li></ul><pre><strong>PROXY_SETTING=&quot;http_proxy=http://server:port https_proxy=https://server:port&quot; ##use your configs.</strong></pre><ul><li>Now, cd to the “cluster” directory and type</li></ul><pre><strong>KUBERNETES_PROVIDER=ubuntu ./kube-up.sh</strong></pre><ul><li>If all goes well, you should see</li></ul><pre><strong>Cluster validation succeeded</strong></pre><p>If there are errors, recheck your configuration files, and then run</p><pre><strong>KUBERNETES_PROVIDER=ubuntu ./kube-down.sh</strong></pre><p>to tear down the cluster. After doing this, *reinstall docker* . Then try to bring up the cluster again, this time, with debug mode. To enable debug mode, edit the config-default.sh, find the line that says</p><blockquote><strong>DEBUG=${DEBUG:-”false”}</strong></blockquote><p>and change it to</p><blockquote><strong>DEBUG=${DEBUG:-”true”}</strong></blockquote><p>You’ll now get logs, which you can use to ask for help on StackOverflow or at their <a href="http://kubernetes.slack.com/">slack</a> channel</p><p>If you see errors with DefaultStorageClass, then open up the config-default.sh, and edit the following</p><pre><strong>export ADMISSION_CONTROL=NamespaceLifecycle,LimitRanger,ServiceAccount, DefaultStorageClass,ResourceQuota ## remove DefaultStorageClass.</strong></pre><p>It should look like this</p><pre><strong>export ADMISSION_CONTROL=NamespaceLifecycle,LimitRanger,ServiceAccount, ResourceQuota </strong></pre><p>You should now have a kubernetes cluster up and running. to deploy the additional features such as the dashboard and the dns, run this command</p><pre><strong>cd cluster/ubuntu<br>KUBERNETES_PROVIDER=ubuntu ./deployAddons.sh</strong></pre><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=f0c8dec1487c" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[The dummy’s guide to Kubernetes]]></title>
            <link>https://medium.com/@TarunChinmai/the-dummys-guide-to-kubernetes-b96b2c48876?source=rss-ff03aea5c0f2------2</link>
            <guid isPermaLink="false">https://medium.com/p/b96b2c48876</guid>
            <category><![CDATA[kubernetes]]></category>
            <category><![CDATA[docker]]></category>
            <dc:creator><![CDATA[Tarun Chinmai]]></dc:creator>
            <pubDate>Tue, 25 Oct 2016 17:21:39 GMT</pubDate>
            <atom:updated>2016-10-25T17:30:52.331Z</atom:updated>
            <content:encoded><![CDATA[<p>Kubernetes ( Koo-ber-net-ees ) or k8s as its popularly known is a container orchestration platform. It is a massive open source project started by Google, and is based on their <a href="http://research.google.com/pubs/pub43438.html">Borg System</a>.</p><p>Kubernetes is in active development, and gets new features and changes almost everyday. Everything written in this article might become obsolete as the days progress. Now, without much ado, lets dive into the world of kubernetes!.</p><p>Kubernetes is typically meant to be run on a multi-node cluster ( it can be run on a single machine too. more on that later).</p><ul><li>Kubernetes deals with all applications in a level of abstraction called &quot;Pods&quot;. Pods are a collection of containers needed to run a single app. Ie, A single instance of the app can be called a pod.</li><li>There can be multiple pods running per-application for high availability</li><li>These pods can be distributed across machines for a high degree of scalability and availability.</li></ul><p>Kubernetes cluster has a master node and many other minion nodes. These nodes all run &quot;<a href="https://github.com/coreos/etcd">etcd</a>&quot;- a distributed data store, which stores all the information about the cluster, such as state, running applications, location of pods etc. Etcd works on the basis of &quot;<a href="http://thesecretlivesofdata.com/raft/">raft consensus algorithm</a>&quot;</p><p>Before we see how kubernetes works, we need to understand the terminology. Kubernetes lets us run applications in two different ways. Either as a “Deployment” or a “service”.</p><p>In Deployment mode, an application can be configured to run on multiple nodes, or a single node. It is usually not exposed to the outer world, and is visible only at the cluster level. It is useful for running internal applications like databases, which do not need to be exposed to the outer world. (The world is dark and full of terrors. why expose db’s ?)</p><p>In Service mode, an application can be exposed to the outer world in many ways, the most prominent of them being NodePort and LoadBalancer mode. The loadbalancer mode is prefered when deploying kubernetes on a cloud provider, as it hooksup with the provider’s loadbalancer and works seamlessly. However, for an on-prem deployment, NodePort works, as the service is exposed by binding it to a port on the machine. The external loadbalancer ( HAProxy, Nginx etc) can be configured to use that port.</p><p>The architecture of the kubernetes system can be seen from this image</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*JOvPcOTCaOvYojnTxGocMw.png" /><figcaption>Kubernetes Architecture</figcaption></figure><p>The Major components of the kubernetes system are as follows.</p><p>Components that run on sys-admin machines :</p><ul><li>Kubectl — The CLI that’s used to interact with the cluster</li></ul><p>Components running on all nodes :</p><ul><li>etcd — The distributed key value store, that runs on all the nodes in the cluster. It contains all the data about the cluster. It stores what service is running where, which pod belongs to which service , etc.</li></ul><p>Components running on master node:</p><ul><li>Scheduler — responsible for starting/stopping pods, services etc.</li><li>Replication controller — Used to make sure that applications are available, at the required level of availability. For instance, it can be specified that 2 instances of an application are to be available at all times. The replication controller takes care of it.</li><li>API server — A server which controls the various components. Kubectl commands are received by this component. Operates over REST.</li></ul><p>Components running on minion node:</p><ul><li>Kubelet — a responsible to start and stop pods on the node</li><li>Kube-Proxy — An internal load balancer running on all nodes. Redirects requests to the node that actually has the pod. All incoming requests to a service are handled by kube-proxy.</li><li>docker — used to start / maintain the containers.</li></ul><p>Deploying applications on kubernetes is fairly simple. You need to specify the specification of a “pod” in a yaml file, Pick a mode of exposing it — service or deployment, and write the appropriate yaml, then configure the load balancer. That’s all it takes to deploy a simple application. More details about kubernetes can be found <a href="http://kubernetes.io/docs/">here</a>.</p><p>For installation instructions, the official docs are <a href="http://kubernetes.io/docs/getting-started-guides/">here</a>. My instructions are <a href="https://medium.com/@TarunChinmai/installing-kubernetes-f0c8dec1487c#.hfjoraij3">here</a>.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=b96b2c48876" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Install Docker]]></title>
            <link>https://medium.com/@TarunChinmai/install-docker-47dc7fe0ef24?source=rss-ff03aea5c0f2------2</link>
            <guid isPermaLink="false">https://medium.com/p/47dc7fe0ef24</guid>
            <category><![CDATA[ubuntu]]></category>
            <category><![CDATA[docker]]></category>
            <category><![CDATA[containers]]></category>
            <dc:creator><![CDATA[Tarun Chinmai]]></dc:creator>
            <pubDate>Tue, 25 Oct 2016 16:31:31 GMT</pubDate>
            <atom:updated>2016-10-25T16:31:31.697Z</atom:updated>
            <content:encoded><![CDATA[<p>This blog describes the installation procedure for Docker — the stable version, and the experimental version, and instructions to compile docker from source.</p><p>“The below Instructions have been tested on Ubuntu Trusty Tahr (14.04) and Ubuntu Xenial Xerus (16.04) “</p><p><strong>Prerequisites:</strong></p><ul><li>Ubuntu 14.04 or Ubuntu 16.04 is needed</li><li>Linux kernel &gt;=4.3 (Go here for instructions to update)</li><li>A working installation of Go Lang to compile from source (instructions <a href="https://medium.com/@TarunChinmai/install-golang-1b954bc3ffd0#.836x3t22h">here</a>)</li></ul><h3>Step-by-step guide : Docker — Stable ( latest)</h3><p>1. Install the prerequisites.</p><pre>sudo apt-get update &amp;&amp; sudo apt-get install apt-transport-https ca-certificates</pre><p>2. Add the keys to docker’s repositories</p><pre>sudo apt-key adv --keyserver hkp://p80.pool.sks-keyservers.net:80 --recv-keys 58118E89F3A912897C070ADBF76221572C52609D</pre><p>3. Add the docker repository to the sources.</p><pre>sudo vi /etc/apt/sources.list.d/docker.list</pre><pre>&quot;deb <a href="https://apt.dockerproject.org/repo">https://apt.dockerproject.org/repo</a> ubuntu-trusty main&quot; ( if on ubuntu 14.04)</pre><pre>&quot;deb <a href="https://apt.dockerproject.org/repo">https://apt.dockerproject.org/repo</a> ubuntu-xenial main&quot; (if ubuntu 16.04)</pre><p>4. Update sources, and install the extra kernel modules</p><pre>sudo apt-get update &amp;&amp; sudo apt-get install linux-image-extra-$(uname -r) linux-image-extra-virtual</pre><p>5. Install the docker-engine</p><pre>sudo apt-get install docker-engine</pre><p>6. Start the docker service</p><pre>sudo service docker start</pre><p>7. To be able to run docker without sudo, do the following</p><pre>sudo groupadd docker<br>sudo usermod -aG docker $USER</pre><p>8. Open <strong>/</strong>etc/defaults/docker , and append “ — dns 8.8.8.8” to resolve any dns related issues.</p><p>9. Reboot for the changes to take effect.</p><h3>Step-by-step guide : Docker — Experimental ( latest)</h3><p><strong>Method 1:</strong></p><ol><li>The easiest way to install docker experimental version, is to install the stable version, and then do the following. The automated script will install all the necessary packages and dependencies.</li></ol><pre>curl -sSL <a href="https://experimental.docker.com/">https://experimental.docker.com/</a> | sh</pre><p><strong>Method 2:</strong></p><ol><li>Install the stable version.</li></ol><p>2. Download the experimental binaries , and unpack them to /usr/bin</p><pre>wget -O docker.tgz <a href="https://experimental.docker.com/builds/Linux/x86_64/docker-latest.tgz">https://experimental.docker.com/builds/Linux/x86_64/docker-latest.tgz</a></pre><pre>sudo service docker stop</pre><pre>sudo rm -rf /usr/bin/docker*</pre><pre>sudo tar xvf docker.tgz -C /usr/bin/</pre><pre>sudo service docker start</pre><p>Verify if the experimental binaries were correctly installed,</p><pre>docker version</pre><p>Check if both the client and server have the “ Experimental : True “ flag.</p><h3>Step-by-step guide : Docker — compile from source ( Bleeding edge )</h3><p>The experimental binaries are often behind the master branch by about a week, and if there’s a need to have the latest, features, docker has to be compiled from source.</p><ol><li>To compile docker from source, you need to install Go Lang (<a href="https://medium.com/@TarunChinmai/install-golang-1b954bc3ffd0#.836x3t22h"> instructions here </a>) and Git. (sudo apt-get install git)</li><li>A Working installation of docker is needed to compile docker from source., so install the stable build (kinda ironic)</li></ol><p>3. Clone the repo,and make. Get some coffee. It’ll take a lot of time.</p><pre>git clone <a href="https://github.com/docker/docker.git">https://github.com/docker/docker.git</a> docker<br>cd docker<br>make binary (for a stable build)<br>DOCKER_EXPERIMENTAL=1 make binary (for the experimental build)</pre><p>4. The binaries can be found in docker/binaries. Move them to /usr/bin to replace the existing docker installation.</p><p><strong>References :</strong></p><p><a href="http://docs.master.dockerproject.org/">http://docs.master.dockerproject.org/</a></p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=47dc7fe0ef24" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Install GoLang]]></title>
            <link>https://medium.com/@TarunChinmai/install-golang-1b954bc3ffd0?source=rss-ff03aea5c0f2------2</link>
            <guid isPermaLink="false">https://medium.com/p/1b954bc3ffd0</guid>
            <category><![CDATA[golang]]></category>
            <category><![CDATA[ubuntu]]></category>
            <dc:creator><![CDATA[Tarun Chinmai]]></dc:creator>
            <pubDate>Tue, 25 Oct 2016 16:30:46 GMT</pubDate>
            <atom:updated>2016-10-25T16:30:46.175Z</atom:updated>
            <content:encoded><![CDATA[<p>Go Lang is needed to compile docker from source, and to install kubernetes. The official repositories are often outdated, hence use this guide. This guide will install Go — 1.7.1 on a linux machine (Ubuntu 14.04/16.04)</p><p><strong>Step-by-step guide</strong></p><p>1. Update repository information</p><pre>sudo apt-get update &amp;&amp; sudo apt-get upgrade</pre><p>2. Fetch the latest stable tarball from <a href="https://golang.org/dl/">https://golang.org/dl/</a> and move to /usr/local</p><pre>curl -O <a href="https://storage.googleapis.com/golang/go1.7.1.linux-amd64.tar.gz">https://storage.googleapis.com/golang/go1.7.1.linux-amd64.tar.gz</a><br>tar xvf go1.7.1.linux-amd64.tar.gz<br>sudo mv go /usr/local</pre><p>3. Export the path to .profile</p><pre>echo &quot;export PATH=$PATH:/usr/local/go/bin&quot; &gt;&gt;~/.profile<br>source ~/.profile</pre><p>4. Create a working directory for Go, and add it to profile.</p><pre>mkdir ~/work<br>echo &quot;export GOPATH=$HOME/work&quot;&gt;&gt;~/.profile<br>source ~/.profile</pre><p>Verify Go installation by typing “ go version “.</p><p><strong>References:</strong></p><p><a href="https://www.digitalocean.com/community/tutorials/how-to-install-go-1-6-on-ubuntu-14-04">https://www.digitalocean.com/community/tutorials/how-to-install-go-1-6-on-ubuntu-14-04</a></p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=1b954bc3ffd0" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[CRIU - Installation]]></title>
            <link>https://medium.com/@TarunChinmai/criu-installation-f277cda14ce0?source=rss-ff03aea5c0f2------2</link>
            <guid isPermaLink="false">https://medium.com/p/f277cda14ce0</guid>
            <category><![CDATA[raspberry-pi]]></category>
            <category><![CDATA[criu]]></category>
            <category><![CDATA[deployment]]></category>
            <category><![CDATA[containers]]></category>
            <category><![CDATA[linux]]></category>
            <dc:creator><![CDATA[Tarun Chinmai]]></dc:creator>
            <pubDate>Tue, 25 Oct 2016 16:24:21 GMT</pubDate>
            <atom:updated>2018-07-12T19:16:45.791Z</atom:updated>
            <content:encoded><![CDATA[<p>Checkpoint/Restore In Userspace, or CRIU (pronounced kree-oo, IPA: /krɪʊ/, Russian: криу), is a software tool for Linux operating system. Using this tool, you can freeze a running application (or part of it) and checkpoint it as a collection of files on disk. You can then use the files to restore the application and run it exactly as it was during the time of freeze. With this feature, application live migration, snapshots, remote debugging, and many other things are possible.</p><p>Quoting Linus Torvalds “ this is a project by various mad Russians to perform c/r mainly from userspace, with various oddball helper code added into the kernel where the need is demonstrated “</p><p>CRIU is now distributed with Ubuntu Xenial Xerus ( 16.04), however, its outdated.</p><p>CRIU needs linux kernel &gt; 4.3 to work properly</p><p><strong>Instructions</strong></p><p>1. Install the dependencies to compile CRIU</p><pre>sudo apt-get update &amp;&amp; sudo apt-get install -y protobuf-c-compiler libprotobuf-c0-dev protobuf-compiler libprotobuf-dev:amd64 gcc build-essential bsdmainutils python git-core asciidoc make htop git curl supervisor cgroup-lite libapparmor-dev libseccomp-dev libprotobuf-dev libprotobuf-c0-dev protobuf-c-compiler protobuf-compiler python-protobuf libnl-3-dev libcap-dev libaio-dev apparmor libnet1-dev</pre><p>2. Clone the CRIU project from github, and make.</p><pre>git clone  <a href="https://github.com/xemul/criu.git">https://github.com/xemul/criu.git</a> criu<br>cd criu<br>make clean<br>make<br>make install</pre><p>3. Use the following command to see if your kernel supports all features. if the first command’s output is “looks good”, most features will work.</p><pre>sudo criu check<br>sudo criu check --all</pre><p>More about CRIU <a href="https://criu.org/">here</a></p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=f277cda14ce0" width="1" height="1" alt="">]]></content:encoded>
        </item>
    </channel>
</rss>