Giter VIP home page Giter VIP logo

nextonion's Introduction

NextOnion

Status: inactive

Implementation of the NextOnion protocol. (the name is just a placeholder for now)

Note on the name change

Yeah, the previous one was kinda dumb and misleading.

Status

Right now, have just implemented the simple MQTT example from the iota.rs library provided by IOTA. Other than that, the protocol has not been developed program-wise. It's a pretty simple protocol, so it shouldn't take an obsessivly long time to make (probably ;)).

DISCLAIMER

There is no guarentee that this protocol will acctually work, it is a relitively new idea.

LICENSING NOTICE

This project is licensed under the Apache-2.0-NoHarm License, found in License.md

HOW IT WORKS

Note: flowchart is in development, this just illustrates the GENERAL idea flowchart-outline

In short:

The client machine handles two-three processes, each a separate connection to the IOTA network (connected to separate nodes).

One process is what I call the observer, and the other is the sender.

The observer connects via MQTT to an iota node, and its IP address can be seen.

On the other hand, the other process, the sender, can only send messages, but cannot receive anything.

The sender creates a spoofed packet and sends that message to a dedicated node (OVERFLOW) on the iota network.

Well, since the node has no idea what the real IP is, it cannot communicate with the user.

Therefore, the node does not know who actually sent the message, while the sender does not know if the node even received or accepted the message.

That's where the observer comes in.

If the node accepts the sent data by the sender, the message will be sent by the node to the entire network.

In this case, the observer monitors all of the events on the network.

So, if the data was successfully sent, the observer will receive it.

And if the server receives it within the next 1-2 milestones on the network, then it will confirm with the sender. (might be changed as I learn more about how IOTA works)

If it does not, then it will tell the sender to again repeat this until the data is successfully sent.

The result is, no node knows who actually sent the original message.

The only possible metadata that can be collected is when and how long the observer connects to the network and how long.

The node the observer is connected to does not know which data the observer is using, so it is unidentifiable.

The observer is also in charge of reading incoming messages from other users.

(NOTE: protocol will be explained in more depth later on, but for now, this is just the general framework. )

nextonion's People

Contributors

wsdevv avatar pitchblacknights avatar

Stargazers

 avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.