<?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 Sakshi Dhamija on Medium]]></title>
        <description><![CDATA[Stories by Sakshi Dhamija on Medium]]></description>
        <link>https://medium.com/@sakshi-dhamija?source=rss-36fd093d79b6------2</link>
        <image>
            <url>https://cdn-images-1.medium.com/fit/c/150/150/1*n2o3jIt_ta6Clqk_9Xw2Jg.jpeg</url>
            <title>Stories by Sakshi Dhamija on Medium</title>
            <link>https://medium.com/@sakshi-dhamija?source=rss-36fd093d79b6------2</link>
        </image>
        <generator>Medium</generator>
        <lastBuildDate>Sun, 29 Nov 2026 15:05:16 GMT</lastBuildDate>
        <atom:link href="https://medium.com/@sakshi-dhamija/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[Network Topologies]]></title>
            <link>https://sakshi-dhamija.medium.com/network-topologies-9aaf05e13a0b?source=rss-36fd093d79b6------2</link>
            <guid isPermaLink="false">https://medium.com/p/9aaf05e13a0b</guid>
            <category><![CDATA[computer-network]]></category>
            <category><![CDATA[topology]]></category>
            <dc:creator><![CDATA[Sakshi Dhamija]]></dc:creator>
            <pubDate>Fri, 17 Sep 2021 10:38:16 GMT</pubDate>
            <atom:updated>2021-09-17T10:38:16.521Z</atom:updated>
            <content:encoded><![CDATA[<p>In computer networks, a topology is used to explain how devices are physically connected to each other and how they interact logically with each other using communication links. There are two types of topologies:</p><ul><li><strong>Physical Topology:</strong> A physical topology describes the way in which the computers or nodes are connected with each other in a computer network.</li><li><strong>Logical Topology:</strong> A logical topology describes the way, data flow from one computer to another. It is bound to a network protocol and defines how data is moved throughout the network and which path it takes.</li></ul><p><strong><em>Network topology</em></strong><em> defines the layout, virtual shape, or structure of the network, not only physically but also logically. A network can have one physical topology and multiple logical topologies at the same time.</em></p><p>In this article I’ll focus mainly on <em>Physical Topologies</em>. But before we learn about various types of topologies and their properties, I’ll first give you a brief about various technical terms used for defining the properties.</p><ul><li><strong><em>Unidirectional transfer</em></strong>: Data is sent in only one direction.</li><li><strong><em>Bidirectional transfer</em></strong>: Data is sent and recieved at both ends of a communication link.</li><li><strong><em>Point to point</em></strong>: topology connecting two nodes with a single communication link.</li><li><strong><em>Point to multipoint</em></strong>: topolgy connecting one node with mutiple different nodes.</li><li><strong><em>Multipoint Connection</em></strong>: topolgy with only a single transmission line for multiple nodes.</li><li><strong><em>Robust</em></strong>: a topolgy network is called robust if it performs well against attacks, i.e. a network that takes significant amount of damage before it collapses.</li><li><strong><em>Deterministic:</em></strong> a topology in which each device is given access for transmission at a fixed time interval.</li></ul><blockquote>Quick fact: Mesh topology is one of the most robust and reliable topologies.</blockquote><p>Now after having a grip on basic termonologies let’s understand different types of technologies:</p><ul><li><strong>Bus Topology:</strong></li></ul><figure><img alt="" src="https://cdn-images-1.medium.com/max/960/1*IWNV4l8QVtiWsTwueIGy3A.jpeg" /></figure><p>✅Bus topology is the simplest kind of topology in which a common bus or channel is used for communication in the network. The bus is connected to various taps and droplines. Taps are the connectors, while droplines are the cables connecting the bus with the computer.</p><p>✅When a sender sends a message, all other nodes can hear it but only destination node accepts it by verifying the mac address attached with the data frame.</p><p>✅Non-robust, unidirectional, multipoint connection topology.</p><p>✅Bus technology is mainly suited for small networks like LAN, etc</p><ul><li><strong>Ring Topology:</strong></li></ul><figure><img alt="" src="https://cdn-images-1.medium.com/max/960/1*VnBZw9l_nIdk64X2tPrSlA.jpeg" /></figure><p>✅In this topology, each node is connected to two neighbbbouring nodes forming a circular ring.</p><p>✅This topology mainly works on a token-based system. If a token is free then the node can capture the token and attach the data and destination address to the token, and then leaves the token for communication. When this token reaches the destination node, the data is removed by the receiver and the token is made free to carry the next data.</p><p>✅There are two types of token release techniques: Early token release releases the token just after transmitting the data and Delay token release releases the token after the acknowledgment is received from the receiver.</p><p>✅Deterministic, Unidirectional but can be made bidirectional by having 2 connections between each Network Node (called Dual Ring Topology).</p><ul><li><strong>Star Topology:</strong></li></ul><figure><img alt="" src="https://cdn-images-1.medium.com/max/960/1*fLM8rAXPsBaFPzQBRfs2Eg.jpeg" /></figure><p>✅A topology in which all the nodes are connected to a centralized hub. Any node requesting for service or providing service, first contact the hub for communication.<br>✅The central device(hub or switch) has<em> point to point communication</em> link with the devices. The central device then broadcast or unicast the message based on the central device used.</p><ul><li><strong>Mesh Topology:</strong></li></ul><figure><img alt="" src="https://cdn-images-1.medium.com/max/960/1*bKIYAi2jguzu51arku6AOw.jpeg" /></figure><p>✅In this topology each node is connected to other node via a particular channel. In other words, direct communication takes place between the nodes in the network.<br>✅There are mainly two types of Mesh. Full Mesh: In which each node is connected to every other node in the network. Partial Mesh: In which, some nodes are not connected to every node in the network.<br>✅Robust, bidirectional, fast communication.</p><ul><li><strong>Tree Topology:</strong></li></ul><figure><img alt="" src="https://cdn-images-1.medium.com/max/960/1*w8rfl7F52QKx4FY6vGwgQQ.jpeg" /></figure><p>✅A topology in which all the nodes are directly or indirectly connected to the main bus cable. It is a combination of Bus and Star topology.<br>✅Non- robust, multipoint connection, least or no data loss.</p><ul><li><strong>Hybrid Topology:</strong></li></ul><figure><img alt="" src="https://cdn-images-1.medium.com/max/960/1*18wlqirKTgpmbZedAbNkyg.jpeg" /></figure><p>✅A topology which is a combination of two or more topologies. In practical use, they are the most widely used.<br>✅In this topology, all topologies are interconnected according to the needs to form a hybrid. All the good features of each topology can be used to make an efficient hybrid topology.<br>✅Reliable, Provides Flexibility and can handle large number of nodes.</p><p><em>Hope this information was useful. I collected most of it from various websites, put them together and then explained them in a simpler manner. Also, the images are taken from </em><a href="https://afteracademy.com/"><em>AfterAcademy</em></a><em> website.</em></p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=9aaf05e13a0b" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Computer Network Basic Terms]]></title>
            <link>https://sakshi-dhamija.medium.com/computer-network-basic-terms-dae39e176f07?source=rss-36fd093d79b6------2</link>
            <guid isPermaLink="false">https://medium.com/p/dae39e176f07</guid>
            <category><![CDATA[computer-networking]]></category>
            <dc:creator><![CDATA[Sakshi Dhamija]]></dc:creator>
            <pubDate>Sat, 04 Sep 2021 12:27:49 GMT</pubDate>
            <atom:updated>2021-09-04T12:27:49.363Z</atom:updated>
            <content:encoded><![CDATA[<p>Hello everyone, this article is a simple walkthrough of Computer Network basic terms and definitions. I’ve described the terms in the simplest manner I can, so as to increase their understanding. Have a look!</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/488/1*PVe2mwrfY-so4D0fNqCzrw.jpeg" /></figure><ul><li><strong>Open system:</strong> A system connected to the network and is ready for communication.</li><li><strong>Closed System:</strong> A system not connected to the network and is not ready for communication.</li><li><strong>OSI: </strong>Open Systems Interconnection is a reference model that specifies standards for communications Protocol and functionalities of each layer.</li><li><strong>Protocol:</strong> A set of rules which define how communication happens across different entities of a network. Few of such protocols are TCP, IP, UDP, ARP, DHCP, and FTP.</li><li><strong>Hostname:</strong> Each device in a network has a unique device name called Hostname. <br><em>Type ‘hostname’ in the command prompt(administrator mode) to check the hostname of your device.</em></li><li><strong>IP address:</strong> Internet Protocol address, also called logical address is the address of the system across the network. It is provided by your Internet Service Provider.<br><em>Type ‘ipconfig’ in the command prompt to check the IP address of your machine.</em></li><li><strong>MAC Address:</strong> Media Access Control Address, also called Physical Address is the address assigned to Network Interface Card at the time of manufacturer.<br><em>Type ‘ipconfig/all’ in the command prompt to check the MAC address of your machine.</em></li></ul><p><strong><em>Then aren’t IP address and MAC address the same?</em></strong><br>Nope, MAC address defines the device identity, whereas IP address defines how your device is connected to the network.</p><ul><li><strong>Port:</strong> A port can be referred to as a logical channel through which data can be sent/received to an application. In simpler words, a port is a communication endpoint. A virtual place within your operating system where network communications start and end. <br><em>Type ‘netstat -a’ in the command prompt to list all the ports being used.</em></li><li><strong>Socket:</strong> A Socket is one endpoint of a two-way communication link between two programs running on the network.</li></ul><p><strong><em>Wait, wait. Is socket the same as Port?</em></strong><br>Nope. Consider this example :<br>A TCP connection is defined by two endpoints aka sockets.<br>An endpoint(socket) is defined by the combination of the network address and the port identifier. <br>The purpose of a port is to differentiate multiple endpoints on a given network address. Basically, a port is a virtualized endpoint. This virtualization makes multiple concurrent connections on a single network interface possible.</p><blockquote>It is the socket pair (the 4-tuple consisting of the client IP address, client port number, server IP address, and server port number) that specifies the two endpoints that uniquely identify each TCP connection in an internet. (<em>TCP-IP Illustrated Volume 1</em>, W. Richard Stevens)</blockquote><ul><li><strong>ARP:</strong> Address Resolution Protocol, is used to convert an IP address to its corresponding physical address(i.e., MAC Address).</li><li><strong>RARP:</strong> Reverse Address Resolution Protocol, provides the IP address of the device given a physical address as input. But RARP has become obsolete since the time DHCP has come into the picture.</li></ul><p><strong><em>Note</em></strong><em>: Most of this content is taken from </em><a href="https://www.geeksforgeeks.org/"><em>GeeksforGeeks</em></a><em> and </em><a href="https://stackoverflow.com/"><em>Stackoverflow</em></a><em>. I just collected the information and explained it in simpler terms.</em></p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=dae39e176f07" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[What happens when you hit a URL?]]></title>
            <link>https://sakshi-dhamija.medium.com/what-happens-when-you-hit-a-url-81f676868062?source=rss-36fd093d79b6------2</link>
            <guid isPermaLink="false">https://medium.com/p/81f676868062</guid>
            <category><![CDATA[clients]]></category>
            <category><![CDATA[http-request]]></category>
            <category><![CDATA[url]]></category>
            <category><![CDATA[internet]]></category>
            <category><![CDATA[servers]]></category>
            <dc:creator><![CDATA[Sakshi Dhamija]]></dc:creator>
            <pubDate>Wed, 13 Jan 2021 15:17:48 GMT</pubDate>
            <atom:updated>2021-01-13T15:17:48.745Z</atom:updated>
            <content:encoded><![CDATA[<p>Have you ever wondered what happens when you type in <a href="http://www.medium.com/?">www.medium.com</a> or any URL on your search engine? How is the website rendered and why does it show 404 not found or similar errors sometimes? If yes, then let’s jump in straight to find these answers.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/678/1*4qKt5CbLeRZ2dFjt6a5qMA.jpeg" /></figure><p>A <strong>URL or Uniform Resource Locator</strong> has the location of the resources which we want to access. Consider this as, if the website is the house then URL is its address. For example, <a href="http://www.medium.com/">http://www.medium.com</a> is a URL. Here, the first part or the <strong>HTTP</strong> tells the browser which protocol it should follow. You can learn more about http <a href="https://www.youtube.com/watch?v=eesqK59rhGA"><strong><em>here</em></strong></a>. The second part, i.e. <a href="http://www.medium.com/">www.medium.com</a> is the <strong>Domain Name</strong>. It is the address of the website. We use it to reach the server that is responsible for serving the information for that website. But then what’s the URL? Aren’t they both the addresses of a website?</p><blockquote>The main <strong>difference between URL and Domain Name</strong> is that the URL is a complete address. URL tells about the method through which information should exchange, the path after reaching that website, whereas Domain Name is part of URL. Consider this as, Domain name is the house address of your friend, whereas the URL not only tells the friend’s house address (domain name) but also tells you the path you will go after entering the house and how you are going to communicate like talking in a separate room (secure) or in front of everyone (info can get leak).</blockquote><p>We know that every computer has an <strong>IP address</strong> which is used for communication over the internet. When we <strong>hit</strong> any <strong>URL,</strong> then we are actually <strong>hitting</strong> the <strong>IP address</strong> of the computer which is responsible for serving the website content.</p><p>Your <strong>ISP(Internet Service Provider)</strong> has multiple servers that store and send data like a <strong>DNS (Domain Name Server)</strong>. The Domain name server is required to find IP Addresses associated with the domain name. Consider DNS as a contacts list, which stores contacts with names, and gives us IP addresses that are associated with the domain name, just like our contacts list gives a mobile number that is associated with the person’s name.</p><p>Once the IP address of the computer is<strong> </strong>found, the browser initiates a connection with it using <strong>TCP/IP protocol</strong>.</p><blockquote><strong>TCP</strong> defines how applications can create channels of communication across a network. It also manages how a message is assembled into smaller packets before they are then transmitted over the internet and reassembled in the right order at the destination address. <strong>IP</strong> defines how to address and route each packet to make sure it reaches the right destination.</blockquote><p>The connection between them is built using a process called TCP 3-way Handshake. Briefly, the process performs the following three steps:</p><ol><li>A client computer sends an <strong>SYN message</strong> means, whether the second computer is open for a new connection or not.</li><li>Then<strong> another computer</strong>, if open for a new connection, it sends an <strong>acknowledge message(ACK) </strong>with an SYN message as well.</li><li>After this, the <strong>first computer</strong> acknowledges it by <strong>sending</strong> an<strong> ACK message.</strong></li></ol><p>After the connection is built, the communication between client and server starts, which is called The <strong>Request-Response Process</strong>. The browser sends a <em>Hypertext Transfer Protocol (HTTP)</em> request to the target server to send a copy of the web page, to the client, using TCP/IP.</p><p>After receiving the requests, the server responds with a“<strong>200 OK</strong>” message and other details to the client computer and sends the web page files in form of data packets. This response contains every piece of information that you requested like the <em>web page, status-code, cache-control, etc</em>. The server may also return with 404 or 510 status codes in case of an error. You can read about types of status codes returned from <a href="https://www.restapitutorial.com/httpstatuscodes.html"><strong><em>here</em></strong></a>.</p><p>After receiving the data packets, the browser reassembles them, and finally, the web page loads.</p><p>Thanks for reading! Do not forget to upvote if you like this!</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=81f676868062" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Are Smart Contracts Getting Smarter With IoT?]]></title>
            <link>https://medium.com/tech-iiitg/are-smart-contracts-getting-smarter-with-iot-8001887d6696?source=rss-36fd093d79b6------2</link>
            <guid isPermaLink="false">https://medium.com/p/8001887d6696</guid>
            <category><![CDATA[smart-contracts]]></category>
            <category><![CDATA[blockchain-technology]]></category>
            <category><![CDATA[blockchain]]></category>
            <category><![CDATA[security]]></category>
            <category><![CDATA[internet-of-things]]></category>
            <dc:creator><![CDATA[Sakshi Dhamija]]></dc:creator>
            <pubDate>Wed, 03 Jun 2020 07:21:59 GMT</pubDate>
            <atom:updated>2020-06-03T07:21:59.673Z</atom:updated>
            <content:encoded><![CDATA[<p><em>Suppose you want your house to be able to order a new tube light<br>when one burns out. Also, your house becomes smart enough to not<br>indiscriminately order crates of light bulbs.</em><br>Woah! It sounds too unrealistic! Isn’t it?<br>What if I tell you that it’s actually possible with a combination of existing technologies? Yeah! You guessed it right. I’m talking about blockchain when combined with the Internet of Things (IoT).</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*_B5CLjFUoE0UlLAX95nMwg.jpeg" /></figure><p>A blockchain-enabled IoT deployment could improve the overall health and integrity of the system. Apart from this, it can make many tasks easier for you such as,<br> 1. It allows devices to register and validate themselves against<br> the network.<br> 2. Business logic would execute automatically via smart<br> contracts.<br> 3. A high degree of coordination and authority.<br> 4. Analytical model tracking and yes, secure software updates.</p><p><em>Still confused? Okay, suppose you come back from work, you turn on the TV, and the movie you wanted to watch is already downloaded. Your alarm is about to ring, and your curtains open automatically a second before it.</em></p><p>Getting goosebumps? Relax, Feel better. Now you have someone in your house who listens to you! (*winks*)<br>Well, Smart contracts are a great way of making this happen. A Smart Contract can be defined as a computerized transaction protocol that executes the terms of a contract. The S in <strong>S</strong>mart contracts stands for <strong>Security</strong>. The shrewd contract code encourages, confirms, and authorizes the arrangement or execution of an understanding or exchange. It is the easiest type of decentralized mechanization. It allows us to have general-purpose computations occur on the chain. Where it excels, however, is when they are tasked with managing data-driven interactions on the network. Let us unpack these statements with a real-life example:</p><p><a href="https://blog.slock.it/incubed-secure-blockchain-access-for-iot-db4687b3dfa1"><strong>Slock.it</strong></a><strong> </strong>is a company that works on smart electronic locks<br>called “Slocks”, that can be unlocked with a device that carries<br>the appropriate token. These tokens are bought on the<br>Ethereum blockchain which is a public blockchain network<br>optimized for smart contracts that uses its own<br>cryptocurrency, called Ether. To see its real-life applicability,<br>suppose that you wish to rent your house. You buy a slock<br>and set a price for timed access to that electronic door lock.<br>Now, an interested person can use a mobile app to identify the<br>slock, pay the requested amount in Ethers, then communicate<br>with the lock via a properly signed message to unlock it.<br>Billing is simplified by having all the Slocks operating on the<br>same blockchain.</p><p>Try implementing an IoT enabled blockchain on your own.<strong> </strong><a href="https://github.com/IBM/Hyperledger-Fabric-for-Trusted-IoT"><strong>Here’s</strong></a> a GitHub link for building a Blockchain Network for trusted IoT.</p><p>Now, you might have questions in your mind, like <em>why blockchain only</em>? Or<br>isn’t there any technology other than smart contracts to make<br>this happen. And even if there is, why do we require it in the first<br>place? Isn’t IOT capable of handling all of it alone?<br>The answers to all these questions lie in the concept of IoT itself.<br>Internet of Things, as we all know, is undergoing exponential<br>growth as everything is increasingly connected via the internet. In<br>IoT based systems, the majority of communication that occurs<br>between devices is facilitated through client/server architecture or<br>centralized architecture, through which authentication and<br>identification, and other security measures, are processed by a<br>central authority.</p><p>This is where the problem lies, <em>failure of the central system</em> could lead to the crashing of so many devices worldwide.<br>Secondly, the current approach to IoT security involves <em>high<br>maintenance costs</em> in terms of central cloud servers and other network equipment.</p><p><strong><em>“80% of all the projects we have seen in the last 11 years are customers who have come to us with an existing failed IoT project”</em></strong>- said Nick Earle, President, and CEO of Eseye. What exactly is going wrong? And how can we not fail at IoT? <a href="https://www.iot-now.com/2019/06/11/96471-iot-going-wrong/"><strong>Here’s</strong></a> an article that describes the major issues with IoT and how to solve them.</p><p>Additionally, <em>traditional security threats</em> present in the network such as DDOS, the middle-man-attack, the recent malware Mirai, etc., pose a great security issue. To uncover the optimal solutions for accuracy and efficiency and to migrate the current IoT from a centralized architecture to a decentralized approach, it is needed to incorporate the following fundamental capabilities in the system.</p><ol><li>A peer to peer communication</li><li>Security through transparency approach</li><li>A cost-effective decentralized model with distributed file sharing</li></ol><p>In short <strong>decentralized, permission-based, and all secure</strong>.<br>That’s where the concept of Blockchain kicks in. Because apparently,<br>Blockchain is the most elegant solution one can find for these issues.<br>There is crystal clear transparency in all that occurs over this<br>“<em>chain of blocks</em>” with providing privacy via private contracts. Also,<br>its decentralized nature removes the possibility of a crash of<br>services due to the failure of the central system. Basically, it is a<br><strong><em>marketplace of services between devices</em></strong>. So, the concept over which<br>IoT is built, that is the idea of being able to take the right amount<br>of action at the right time is fulfilled by Blockchain and smart<br>contracts. But the combination needs time to scale. In particular,<br>Blockchain needs time to mature and resolve those integrity issues<br>such as speed and computational complexity with the widespread<br>system of IoT.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/850/1*FEfe5ApR9KxS7iMr-QlGGg.png" /><figcaption>IoT Blockchain platform implementation</figcaption></figure><p><em>What do you think? How long would it take for us to adapt to this<br>concept, at least partially?</em></p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=8001887d6696" width="1" height="1" alt=""><hr><p><a href="https://medium.com/tech-iiitg/are-smart-contracts-getting-smarter-with-iot-8001887d6696">Are Smart Contracts Getting Smarter With IoT?</a> was originally published in <a href="https://medium.com/tech-iiitg">tech@iiit-gwalior</a> on Medium, where people are continuing the conversation by highlighting and responding to this story.</p>]]></content:encoded>
        </item>
    </channel>
</rss>