Git Product home page Git Product logo

applicationfragment's Introduction

This code implement proxies for DNS application-level fragmentation, based on an idea originally submitted on the IETF DNSOP mailing list by Mukund Sivaraman [email protected]:

https://www.ietf.org/mail-archive/web/dnsop/current/msg12964.html

In IPv4, datagrams that do not fit into a single physical packet are sometimes split into several smaller packets and reassembled by the network. The idea with these proxies is to investigate the idea of splitting DNS messages in the protocol itself, so they will not by fragmented by the IP layer.

This is a proof of concept setup, which provides a client proxy and a server proxy. The data flow works like this:

  • Query:
    • DNS packets arrive at the client proxy, which listens on the well-known port 53.
    • The client proxy then sends the DNS packets over the network to a custom port on the server proxy.
    • The packets arrive at the server proxy, which then sends them to port 53 of the actual DNS server.
  • Reply:
    • The DNS server sends replies, which go back to the server proxy.
    • The server proxy fragments the replies (if necessary), and then sends these reply fragments back to the client proxy.
    • The client proxy reassembles the full reply from the fragments, and then sends the reply back to the original query source.

In principle, the server proxy could be put in front of any DNS authoritative server to provide support for DNS application-level fragmentation. Using the client proxy in front of a normal DNS resolver would require a bit more work.

applicationfragment's People

Contributors

runxiawan avatar

Watchers

James Cloos avatar  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.