<?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 Owl Integrations on Medium]]></title>
        <description><![CDATA[Stories by Owl Integrations on Medium]]></description>
        <link>https://medium.com/@project_owl?source=rss-ff727755188d------2</link>
        <image>
            <url>https://cdn-images-1.medium.com/fit/c/150/150/1*kKGLAhCGi1ICTIsTvOikjQ.png</url>
            <title>Stories by Owl Integrations on Medium</title>
            <link>https://medium.com/@project_owl?source=rss-ff727755188d------2</link>
        </image>
        <generator>Medium</generator>
        <lastBuildDate>Wed, 02 Dec 2026 02:33:32 GMT</lastBuildDate>
        <atom:link href="https://medium.com/@project_owl/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[Maritime Mesh Networking at MITRE]]></title>
            <link>https://medium.com/project-owl/maritime-mesh-networking-at-mitre-50a20e65eaf5?source=rss-ff727755188d------2</link>
            <guid isPermaLink="false">https://medium.com/p/50a20e65eaf5</guid>
            <category><![CDATA[maritime]]></category>
            <category><![CDATA[iot]]></category>
            <category><![CDATA[wireless-communication]]></category>
            <category><![CDATA[sensors]]></category>
            <category><![CDATA[open-source]]></category>
            <dc:creator><![CDATA[Owl Integrations]]></dc:creator>
            <pubDate>Thu, 02 May 2024 13:30:18 GMT</pubDate>
            <atom:updated>2024-05-02T13:30:18.397Z</atom:updated>
            <content:encoded><![CDATA[<h4>Evolving the Ducks for Maritime Technology</h4><p><em>Underwater is a unique environment that makes it challenging for us to deploy a typical </em><a href="https://medium.com/project-owl/what-the-duck-7bfdf78f3d01"><em>ClusterDuck Network</em></a><em>. The Ducks communicate through radio waves specifically LoRa radio. These radio waves attenuate quickly when attempting to propagate through the water. An alternative to radio waves for this challenging environment, is acoustic signals (sonar). We integrated acoustic modems into the Ducks and now tested them in controlled environments at MITRE BlueTech Lab.</em></p><p>We are excited to announce our collaboration with MITRE BlueTech Lab, a leading organization in maritime technology development. Our partnership with MITRE’s BlueTech Lab marks a significant milestone in our mission to advance resilient connectivity. OWL has deployed <a href="https://medium.com/project-owl/what-the-duck-7bfdf78f3d01">Ducks</a> on land, in the air, and in space. Now we are finally deploying our Ducks in their natural habitat — at sea.</p><p>Douglas Robbins, Vice President, Engineering and Prototyping at MITRE Labs says, “The MITRE BlueTech Lab will accelerate and provide a foundation for underwater research and innovation for positive impact and help make New England a global nexus of maritime research” (<a href="https://www.mitre.org/news-insights/news-release/new-mitre-bluetech-lab-will-accelerate-maritime-technology-development">www.mitre.org</a>). OWL’s presence at MITRE’s BlueTech Lab is driven by our shared commitment to advancing maritime technology and addressing the challenges of underwater communication. By collaborating with MITRE, OWL gains access to state-of-the-art facilities, expertise, and resources that enable us to test and validate our technologies in real-world underwater environments.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*k2Y9cRhrhwsSyzscuZ9a1w.jpeg" /><figcaption>Bryan and Trevor, from OWL, are discussing the experiment with Jay and Eric (MITRE).</figcaption></figure><p>OWL’s work at MITRE was facilitated through MassChallenge and the NATO DIANA program, which fosters connections between organizations involved in defense innovation. MassChallenge identified MITRE as a strategic resource for the NATO DIANA cohort especially OWL for advancing research and development efforts in underwater technology. Kelly Becker from MassChallenge quoted:</p><blockquote>MITRE’s BlueTech Lab is focused on fostering innovation in the maritime domain align well with MassChallenge’s mission to support high-potential startups tackling challenges with global impact. Our goal in visiting their newly opened lab was to provide our NATO DIANA cohort with access to cutting-edge resources and partnership opportunities in the maritime industry to catalyze breakthroughs that could address critical needs in maritime security, sustainability, and technology.</blockquote><p>During our work at MITRE, OWL focused on several key initiatives aimed at advancing underwater communication and sensor technology. One of our primary objectives was to integrate and test a new type of acoustic modem from NATO DIANA partner company, Water Linked. These modems are essential for establishing reliable communication networks underwater. By evaluating the performance and capabilities of these modems in real-world conditions, we gained valuable insights that inform the development of our own technology.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*HGZt-zbxQMWJHjNA" /><figcaption>Water Linked acoustic modems (<a href="https://waterlinked.com/modem-m16">https://waterlinked.com/modem-m16</a>) that were used during our testing at MITRE BlueTech Lab.</figcaption></figure><p>In addition to testing acoustic modems, OWL integrated sensors into our systems, enhancing our ability to collect data in underwater environments. This integration process involved rigorous testing to ensure the sensors’ functionality and reliability under various conditions. Furthermore, we tested specialized enclosures to protect our equipment from the harsh underwater environment, ensuring durability and effectiveness in challenging conditions.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*lvhuMZhWIqeMSMsR" /></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*ueaX1EtY976GbIpL" /><figcaption>Owl is assembling the sensors into a waterproof enclosure (left) and deploying it into the water (right).</figcaption></figure><p>OWL’s work at MITRE represents a significant step forward in our efforts to advance maritime technology and underwater research. This will benefit the marine industry by enabling more efficient and reliable communication between underwater assets, such as autonomous underwater vehicles (AUVs), sensors, and monitoring systems. Additionally, improved underwater sensing capabilities will enhance environmental monitoring, enabling better understanding and management of marine ecosystems. These advancements will not only support scientific research and exploration but also contribute to the safety, sustainability, and efficiency of various maritime activities, including offshore energy exploration, marine transportation, and disaster response.</p><p>Moving forward, OWL remains committed to collaborating with leading organizations like MITRE to make the world resilient through connectivity — on land, air, space and now water!</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=50a20e65eaf5" width="1" height="1" alt=""><hr><p><a href="https://medium.com/project-owl/maritime-mesh-networking-at-mitre-50a20e65eaf5">Maritime Mesh Networking at MITRE</a> was originally published in <a href="https://medium.com/project-owl">OWL Integrations</a> on Medium, where people are continuing the conversation by highlighting and responding to this story.</p>]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[How can we use our communication technology for good?]]></title>
            <link>https://medium.com/project-owl/how-can-we-use-our-communication-technology-for-good-56f57cc3788d?source=rss-ff727755188d------2</link>
            <guid isPermaLink="false">https://medium.com/p/56f57cc3788d</guid>
            <category><![CDATA[lora]]></category>
            <category><![CDATA[owl-integration]]></category>
            <category><![CDATA[clusterduck-protocol]]></category>
            <category><![CDATA[open-source]]></category>
            <category><![CDATA[disaster-response]]></category>
            <dc:creator><![CDATA[Owl Integrations]]></dc:creator>
            <pubDate>Wed, 01 Jun 2022 16:10:44 GMT</pubDate>
            <atom:updated>2022-06-01T16:10:44.503Z</atom:updated>
            <content:encoded><![CDATA[<figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*fhMII-zZkcbebRJ5.png" /><figcaption>Owl and Information Technology Disaster Resource Center (ITDRC) set up a solar-powered DuckLink device in Humacao, southeastern Puerto Rico in late 2019.</figcaption></figure><h4><strong>Technology Solution</strong></h4><p>Owl deploys a cost-effective, customizable, and easy-to-use IoT device called a Ducklink or “Duck”. A cluster of these ducks generates a resilient communications and sensor mesh network called a ClusterDuck Network (CDN). A CDN can be deployed on ground, on water, in air, and even in space. Once a network is deployed, it can be monitored anywhere 24/7 through the OWL Data Management System (DMS).</p><p>To generate a clustered mesh network, Ducks harness the power of 915mhz LoRa radio to communicate with each other. LoRa is short for “Long Range.” As the name implies, it is used for long range wireless communication. Using low power, it communicates with other wireless technologies using the unlicensed ISM radio bands. In an ideal scenario where two nodes are in line-of-sight with no obstacles between them, the range can be very large. Typically DuckLinks can communicate between each other over 500m-1km. The current world record for longest range of successful data transmission is 832 km.¹</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*yKeF9yNGjVPkeIlQ" /></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*SLrRn4-7I9cTTf4m" /></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*WUZcMoPkW_njex-b" /><figcaption>From left to right: a deployed SolarDuck, DuckDuck, and the Data Management System that collects and analyzes the data.</figcaption></figure><h4><strong>Technology Details</strong></h4><p>This network infrastructure provides low-bandwidth (9.6 kbps), ad-hoc networking that may connect over 2.4Ghz WiFi to consumer electronics (phones, laptops) to provide basic communications capabilities when traditional infrastructure is offline. The DuckLinks involved in these enterprise deployments are powered by 3.7v 1,000 to 20,000 mAh lithium batteries and/or by 12W solar panels. An ESP32 microcontroller runs the DuckLink with WiFi, bluetooth, and power management. DuckLinks mesh through 915 MHz LoRa radio broadcasts. DuckLinks draw 150mA and communicate through 100mW transmissions. DuckLink firmware and the OWL DMS are built in enterprise-grade HTML, CSS, Javascript, Ruby, C++, and C#. The OWL DMS is hosted on IBM Cloud and is accessible anywhere with an internet connection.</p><p>In the mesh network, there will be a designated Duck called that will act as the gateway to the internet. Once this device receives a message, it uploads information to the DMS either through WiFi or through satellite (when a local internet is not available). The DMS collects the data and preprocesses it for analysis or prepares to ship the data out through APIs.</p><p>These Ducks have the ability to adapt to the task at hand by customizing the sensors. Any sensors can be integrated with a Duck to detect anomalies, weather, gas, heat, physical activities and/or characteristics, motion, and other phenomena to provide logistics of the surrounding environment. Collecting data from these different types of sensors in the environment informs a personnel with quality data that allows them to make key decisions.</p><h4><strong>Open-Source Firmware</strong></h4><p>The firmware behind the CDN is the ClusterDuck Protocol (CDP). CDP is an operating system of sorts for the Ducks and instructs them how to create data and handle incoming and outgoing messages. In March 2020, CDP officially became an open-source project under the Linux Foundation. The CDP attracted a community dedicated to Owl’s mission to connect the people, places, and things we care about most. With 1000+ (and counting) members, the CDP is evolving to become more resilient and efficient than ever before.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*DshnPjil-CXSoeyk" /></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*-6gKi4-O8cNI4aUc" /><figcaption>Students from University of Puerto Rico Mayaguez deploying the SolarDucks.</figcaption></figure><h4>How the ClusterDuck Protocol is being used for good</h4><p>The concept of the CDN has been proven multiple times with successful deployments alongside IBM, Verizon, The U.S. Government and Department of Defense, as well as local municipalities throughout the United States to provide disaster resilience. Our next journey will be using this tech to fight climate change by targeting fugitive methane emissions.²</p><p>With the help of IBM, Owl deployed resilient networks across Puerto Rico, deploying resilient communications networks in congested urban environments. In 2019, Owl deployed the network in various austere environments in Puerto Rico after the devastating blow from Hurricane Maria in 2017. It took Puerto Rico many months to get their communications back online.</p><p>Consequently, Owl collaborated with the government officials, universities, and communities to help fortify island networks to mitigate future interruptions with communication. Currently there are permanent installations of the CDN in University of Puerto Rico, Mayagüez, Polytechnic University of Puerto Rico in San Juan, tech work space Engine-4 in Bayamon, and PREMA government facilities in Humacao. About thirty ducks are deployed collecting 10,000 data points daily. These data points are being monitored in real-time on the web-based OWL DMS. Owl is looking forward to returning to Puerto Rico in late 2022 for the first time in three years to expand the network and update the firmware of the deployed Ducks.</p><p>Owl also partnered with CalPoly in 2021 to deploy another iteration of the Duck called SpaceDuck. A Duck was launched into space using a weather balloon to stress test how far a connection can be made using the ClusterDuck Protocol. Imagine being able to connect to a satellite in a cost-effective way when all traditional communications are down! Read our report for more details.²</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*MhHHciYa4QaUVHDi" /><figcaption>The SpaceDuck flying about 84,000 ft in the air.</figcaption></figure><p><em>[1] </em><a href="https://www.thethingsnetwork.org/article/lorawan-world-record-broken-twice-in-single-experiment-1"><em>https://www.thethingsnetwork.org/article/lorawan-world-record-broken-twice-in-single-experiment-1</em></a></p><p><em>[2] </em><a href="https://medium.com/project-owl/does-distributed-communications-technology-have-a-role-to-play-in-monitoring-methane-gas-emissions-2cbae861540b"><em>https://medium.com/project-owl/does-distributed-communications-technology-have-a-role-to-play-in-monitoring-methane-gas-emissions-2cbae861540b</em></a></p><p><em>[3] </em><a href="https://www.project-owl.com/SpaceDucks_Report_May_2021_Project_OWL.pdf"><em>https://www.project-owl.com/SpaceDucks_Report_May_2021_Project_OWL.pdf</em></a></p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=56f57cc3788d" width="1" height="1" alt=""><hr><p><a href="https://medium.com/project-owl/how-can-we-use-our-communication-technology-for-good-56f57cc3788d">How can we use our communication technology for good?</a> was originally published in <a href="https://medium.com/project-owl">OWL Integrations</a> on Medium, where people are continuing the conversation by highlighting and responding to this story.</p>]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Pitching in NSIN Propel Demo Day]]></title>
            <link>https://medium.com/project-owl/pitching-in-nsin-propel-demo-day-16ff3501c0eb?source=rss-ff727755188d------2</link>
            <guid isPermaLink="false">https://medium.com/p/16ff3501c0eb</guid>
            <category><![CDATA[communication]]></category>
            <category><![CDATA[iot]]></category>
            <category><![CDATA[new-lab]]></category>
            <category><![CDATA[lora]]></category>
            <category><![CDATA[department-of-defense]]></category>
            <dc:creator><![CDATA[Owl Integrations]]></dc:creator>
            <pubDate>Fri, 10 Dec 2021 15:22:53 GMT</pubDate>
            <atom:updated>2021-12-10T15:22:53.254Z</atom:updated>
            <content:encoded><![CDATA[<p><em>In the beginning of 2021, we applied for the NSIN Propel accelerator program. It was an accelerator program sponsored by National Security Innovation (NSIN), Newlab, and Decisive Point. Since we are targeting both the Department of Defense (DoD) and the commercial space with our technology, we saw this as an opportunity to accelerate our dual-use startup.</em></p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*XFz37U5fLA2Q5orx" /><figcaption>NSIN Propel Demo Day in the Newlab.</figcaption></figure><p>On Thursday September 23, we pitched in the NSIN Propel Demo Day at the Newlab consisting of key personnel in government and defense organizations. We showcased what Project OWL has accomplished since the start of the accelerator program.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*Uo1LjkVsp1mu0VAP" /><figcaption>Bryan Knouse, CEO, presents the successful pilots Project OWL deployed.</figcaption></figure><p>Afterwards, there was a break-out session, where these key personnel traversed through the company booths. People from the Department of Homeland and Security, the Hanscom Air Force Base and many more visited our booth. Ideas were shared, connections were made, and next steps were discussed. One of the next steps was getting a D.U.C.K. in each of their hands. We were excited to go back home to the duck factory and start building more Ducks.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*N96LruHD0NZzHa77" /></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*f46lT27Ap7_aV9ux" /><figcaption>Project OWL building relationships at NSIN Propel Demo Day. On the left, Nick, CTO, is demoing GasDuck, a Duck that senses benzene in the air. On the right, Bryan is demoing D.U.C.K.</figcaption></figure><p>Also we had the opportunity to network with companies from our cohort. There is some client overlap we have with them. The other companies had great solutions but needed a simple, cost-effective network to communicate the data to the clients. And that is where Project OWL seamlessly fits in this puzzle. Project OWL would deploy a Clusterduck network and companies can utilize it to communicate with their clients. This is exactly what we are known for: being the #1 integrator.</p><p>We are grateful for this opportunity that NSIN, Newlab, and Decisive Point provided. Being a small, young startup, it is very helpful to find organizations that can help us get our great technology in front of the right people.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=16ff3501c0eb" width="1" height="1" alt=""><hr><p><a href="https://medium.com/project-owl/pitching-in-nsin-propel-demo-day-16ff3501c0eb">Pitching in NSIN Propel Demo Day</a> was originally published in <a href="https://medium.com/project-owl">OWL Integrations</a> on Medium, where people are continuing the conversation by highlighting and responding to this story.</p>]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Project OWL Wins xTechSearch 5]]></title>
            <link>https://medium.com/project-owl/project-owl-wins-xtechsearch-5-482d80bd8914?source=rss-ff727755188d------2</link>
            <guid isPermaLink="false">https://medium.com/p/482d80bd8914</guid>
            <category><![CDATA[manet]]></category>
            <category><![CDATA[clusterduck-protocol]]></category>
            <category><![CDATA[communication]]></category>
            <category><![CDATA[lora]]></category>
            <category><![CDATA[xtech]]></category>
            <dc:creator><![CDATA[Owl Integrations]]></dc:creator>
            <pubDate>Thu, 09 Sep 2021 12:59:01 GMT</pubDate>
            <atom:updated>2021-09-10T17:15:57.320Z</atom:updated>
            <content:encoded><![CDATA[<iframe src="https://cdn.embedly.com/widgets/media.html?src=https%3A%2F%2Fwww.youtube.com%2Fembed%2FvDCib0VeAhA%3Fstart%3D7%26feature%3Doembed%26start%3D7&amp;display_name=YouTube&amp;url=https%3A%2F%2Fwww.youtube.com%2Fwatch%3Fv%3DvDCib0VeAhA&amp;image=https%3A%2F%2Fi.ytimg.com%2Fvi%2FvDCib0VeAhA%2Fhqdefault.jpg&amp;key=a19fcc184b9711e1b4764040d3dc5c07&amp;type=text%2Fhtml&amp;schema=youtube" width="854" height="480" frameborder="0" scrolling="no"><a href="https://medium.com/media/bd4519af3549cda09a41363af8100b3e/href">https://medium.com/media/bd4519af3549cda09a41363af8100b3e/href</a></iframe><p>Project OWL are the winners of the xTechSearch 5! Throughout this 18-month journey, we worked hard to broaden our mission to get critical, cheap and simple communication technology in the US Army. We collaborated with our mentors to further develop our technology and execute on our roadmap to get our tech in the hands of more soldiers. During this 3-day xTechSearch event, not only did we receive a grand prize but we also built relationships, learned what the Army is looking for, and demonstrated our technology in front of key personnel in the DoD.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*kiQuF-xo7m5_LXVH3W2jsw.jpeg" /><figcaption>A variety of D.U.C.K. are displayed in Project OWL’s booth.</figcaption></figure><p>On Day 1 of the event, we went on a tour of five departments in the Army Research Lab (ARL) in Adelphi, MD. The five departments were Quantum Lab, TEM Facility, RF &amp; Antennas, Clean Room and the Network Science Research Lab. Each of the departments provided a little introduction in what they were doing and how the army is utilizing state-of-the-art technology in their research.</p><p>One lab that attracted us the most was the Network Science Research Lab. In the Network Science Research Lab, they briefed us with the current research on MANETs and the challenges they were experiencing. Each of us looked at each other simultaneously with a smirk on our faces because this is exactly what we were doing and the exact challenges we were facing. We saw this as an opportunity to collaborate together to overcome these challenges.</p><p>The other labs were interesting. The Radio Frequency and Antenna Lab discussed their research on creating square antennas. The Quantum Lab was working on cooling atoms to micro of a Kelvin to utilize its atomic properties such as quantum computing and precision in navigation and time (PNT). In the Transmission Electroscope Microscopy (TEM) Facility, there is a huge TEM that shoots lasers at a specimen to provide images of its atomic structure. In the Clean Room, nano devices were being created. They presented us with what looked to be a small, blank rectangle to the naked eye, but using a sophisticated magnifying glass, we were able to see clearly some circuits and the words “DEVCON” etched on the surface.</p><p>Day two was pitch day. Only ten finalists were left and got the opportunity to pitch live in front of critical DoD stakeholders for a chance to win a 250k grand prize. Every finalist gave a twenty minute pitch with a ten minute Q&amp;A in front of eleven judges from a variety of backgrounds. Bryan Knouse, CEO, presented an astounding pitch to the judges (see below). At the end of the pitch, a couple of judges even stopped by our booth to connect with us for future collaborations. At this stage of our business, these connections are critical.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*NCpYnnVwnKlWjXzY" /><figcaption>Bryan Knouse, CEO, pitching Project OWL to the eleven judges.</figcaption></figure><p>On the third day we went on a tour of the Pentagon and got the honor to meet Douglas Bush, Principal Deputy Assistant Secretary of the Army for Acquisition, Logistics, and Technology. He listened to our experiences with xTechSearch and opened the floor for a discussion about what he can do to better facilitate the collaboration between the Army and small businesses.</p><p>Overall, this was a great experience for us. We were excited when our names were called for the xTechSearch 5 winner! Thank our mentors Tommy Luginbill, Francesca Scire-Scappuzzo and Nicholas Chadwick for supporting us through this journey. Also thanks xTech and FedTech. They created a platform for small companies, such as Project OWL, to demonstrate their technology to key personnel, make valuable connections, and get inspired by all the current technology that the Army is searching for.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*glgPoyHp2CsjPwfDc33zZA.png" /></figure><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=482d80bd8914" width="1" height="1" alt=""><hr><p><a href="https://medium.com/project-owl/project-owl-wins-xtechsearch-5-482d80bd8914">Project OWL Wins xTechSearch 5</a> was originally published in <a href="https://medium.com/project-owl">OWL Integrations</a> on Medium, where people are continuing the conversation by highlighting and responding to this story.</p>]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Using Bloom Filter to Eliminate DuckDoS]]></title>
            <link>https://medium.com/project-owl/using-bloom-filter-to-eliminate-duckdos-e166b2f766d7?source=rss-ff727755188d------2</link>
            <guid isPermaLink="false">https://medium.com/p/e166b2f766d7</guid>
            <category><![CDATA[bloom-filter]]></category>
            <category><![CDATA[lora]]></category>
            <category><![CDATA[clusterduck-protocol]]></category>
            <category><![CDATA[mesh-networks]]></category>
            <category><![CDATA[algorithms]]></category>
            <dc:creator><![CDATA[Owl Integrations]]></dc:creator>
            <pubDate>Thu, 12 Aug 2021 14:32:54 GMT</pubDate>
            <atom:updated>2021-08-12T14:32:54.015Z</atom:updated>
            <content:encoded><![CDATA[<p><em>The current way the Clusterduck Protocol (CDP) operates is that a Duck broadcasts a message to the ad-hoc network. The message hops over to nearby Ducks. When a different Duck hears that message, it too starts broadcasting it, spreading it around the mesh. This process continues until it reaches the PapaDuck (the gateway device that publishes it to the cloud). This seems great. However if we think about it, this forms an issue. When a nearby Duck receives a message, it will broadcast that message to its neighbor Ducks and one of those Ducks is the original sender. If the original sender receives that message, it will start a broadcast of the same message, which might lead straight back to the neighbor potentially creating an infinite loop. This is not good. It will congest the network with just one message while all other messages will have a very hard time getting through. This essentially forms a Denial of Service Attack (DDoS) in the CDP or as what we like to call it DuckDoS.</em></p><figure><img alt="" src="https://cdn-images-1.medium.com/max/585/1*llT07r89Xm473GEkbsd1_A.png" /><figcaption>Ducks broadcasting the messages.</figcaption></figure><h4>Bloom Filters</h4><p>To solve the issue of DuckDoS, we collaborated with Kahlil Dozier from Columbia University to implement a <strong>bloom filter</strong>. A bloom filter (BF) is an algorithm that uses probability to determine if an element is within a given set. In our case, it will be if a new message is is within a set of already seen messages.</p><p>First a BF creates an empty array called a filter. It takes a message and uses a hash function (function that takes in an input and spits an output of a desired size) to get values that represent indices of that empty filter. If the hashed value is 7, then it will go to the 7th index of the filter and set it equal to one. If BF receives a new message, it hashes it and let’s say it gets a hashed value of 2. It looks in the filter for the index 2 and puts a 1 in it. If BF receives the same message again, it hashes it to get 2 and then looks in the filter for the index 2. Since it is already filled with 1, BF can say that it has already seen that message. Therefore it will ignore the message and not broadcast it.</p><p>This algorithm makes sending the messages more efficient. It does not have to store any message ids, nor create a binary search to see if a message exists. Instead it uses a sparse array of 1’s and 0’s which is a lot more efficient to store and search for values.</p><h4>False Positive Rate of Bloom Filters</h4><p>We know what you are thinking: what if a new message has the same hash values as a different message? This is the probabilistic aspect of the BF. If a message is received, hashed, and then checks to see if it is in the BF, then the BF will report falsely that it has already received that message. In probability, we call that a false positive. If we have a filter of size <strong><em>m</em></strong>, <strong><em>k </em></strong>hash functions, and <strong><em>n</em></strong> messages, then the equation for false positive for BF is</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/334/1*vrRGJ3L4QLMO3yjcxClDhg.png" /><figcaption>The false positive rate.</figcaption></figure><p>Looks very intimidating and scary but let’s go through the steps on how we got to this false positive equation.</p><p>If m is the size of the BF the probability of getting a slot or 0 in the array is</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/170/1*3qZ_RZctlqZzOGPspxXK1g.png" /><figcaption>The probability of an empty slot or 0.</figcaption></figure><p>Since we want the probability of not getting a slot or 1, we subtract it from 1.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/162/1*qNo9Rp1XBTJ8BhVqmP_4DQ.png" /><figcaption>The probability of getting a filled slot or 1.</figcaption></figure><p>Since k is the number of hash functions, then the probability of having a 0 after adding a new message is</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/214/1*NaKbJ_AWrGcjlYi9haXXwQ.png" /><figcaption>The probability of getting a 1 with using k hash functions.</figcaption></figure><p>This is only after one message. But a BF will see many messages. If <strong><em>n </em></strong>is the number of messages, then the probability of a 0 after n messages is</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/226/1*jTT4I5Ygs2iNGI023tOnpA.png" /><figcaption>The probability of getting a 1 using k hash functions and seeing n messages.</figcaption></figure><p>If that is the probability of a bit being 0, then to figure out the probability of it being 1, we just have to subtract it from 1.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/288/1*hJRarx5bSHoyf3Bas2cQjA.png" /></figure><p>Since we are looking for the probability that <strong><em>k</em></strong> different bits were 1’s we raise it to the k-power to get:</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/334/1*vrRGJ3L4QLMO3yjcxClDhg.png" /><figcaption>The false positive rate. The probability that a message gets the same hash values as a different message.</figcaption></figure><p>Based on the false positive rate, we can determine that the bigger the size of filter, m, is the smaller the false positive rate is and the more messages, n, we receive the higher the false positive rate will be. But with a good design of bloom filter architecture, the false positive rate will be extremely small.</p><h4>How can Ducks Use Bloom Filter</h4><p>The idea here is that each Duck can create its own bloom filter. Every time a Duck receives a message, it will hash and store it in a filter and broadcast the message. If the same message comes back, a Duck will hash and check to see if it is in the filter. If it is in the filter it will ignore it. Since the messages stay in the air for a limited time, a Duck can delete that filter and start a new one, saving space within a Duck. This is a game changer for the CDP. It makes the protocol a lot more space-efficient, allowing more information to be put in a data packet and prevents any messages being broadcast in an infinite loop.</p><h4>Related Videos</h4><iframe src="https://cdn.embedly.com/widgets/media.html?src=https%3A%2F%2Fwww.youtube.com%2Fembed%2FElEo6gJ_RqI&amp;display_name=YouTube&amp;url=https%3A%2F%2Fwww.youtube.com%2Fwatch%3Fv%3DElEo6gJ_RqI&amp;image=http%3A%2F%2Fi.ytimg.com%2Fvi%2FElEo6gJ_RqI%2Fhqdefault.jpg&amp;key=a19fcc184b9711e1b4764040d3dc5c07&amp;type=text%2Fhtml&amp;schema=youtube" width="854" height="480" frameborder="0" scrolling="no"><a href="https://medium.com/media/51b6eb797f3d5890e2d944f8d830caa6/href">https://medium.com/media/51b6eb797f3d5890e2d944f8d830caa6/href</a></iframe><iframe src="https://cdn.embedly.com/widgets/media.html?src=https%3A%2F%2Fwww.youtube.com%2Fembed%2FMlSa6Ta8ODc%3Ffeature%3Doembed&amp;display_name=YouTube&amp;url=https%3A%2F%2Fwww.youtube.com%2Fwatch%3Fv%3DMlSa6Ta8ODc&amp;image=https%3A%2F%2Fi.ytimg.com%2Fvi%2FMlSa6Ta8ODc%2Fhqdefault.jpg&amp;key=a19fcc184b9711e1b4764040d3dc5c07&amp;type=text%2Fhtml&amp;schema=youtube" width="854" height="480" frameborder="0" scrolling="no"><a href="https://medium.com/media/78532ed130204f56bfdee3cd4afd3a8a/href">https://medium.com/media/78532ed130204f56bfdee3cd4afd3a8a/href</a></iframe><p><em>The ClusterDuck Protocol is an open source firmware for wireless internet-of-things devices to build communications, sensor, and custom networks.</em></p><p><em>If you would like contribute to the ClusterDuck Protocol, </em><a href="https://clusterduckprotocol.org/slack"><em>join our community</em></a><em>.</em></p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=e166b2f766d7" width="1" height="1" alt=""><hr><p><a href="https://medium.com/project-owl/using-bloom-filter-to-eliminate-duckdos-e166b2f766d7">Using Bloom Filter to Eliminate DuckDoS</a> was originally published in <a href="https://medium.com/project-owl">OWL Integrations</a> on Medium, where people are continuing the conversation by highlighting and responding to this story.</p>]]></content:encoded>
        </item>
    </channel>
</rss>