Skip to content
Snippets Groups Projects
Select Git revision
  • master
1 result

D0020E-projekt

  • A Two-Way Active Measurement Protocol
    
    Read the RFC: http://tools.ietf.org/html/rfc5357
    
    Heavily based on https://packetblog.wordpress.com/2012/08/24/udp-packet-measurement/
    by Roman Arcea.
    
    
    Installation:
    
        None, run the files provided.
    
    Requirements:
    
        python3
        python-numpy
        python-pymongo
    
    Usage instructions:
    
        On one machine edit UDP_client_server.py, change the IP addresses, ports, packet size, etc
        accordingly to your network settings.
    
        On the other machine do the same with the UDP_reflector.py
    
        As default both IPv4 and IPv6 loopback devices are provided in the code,
        use these as a starting point for your use-case.
    
        Start UDP_reflector.py first: python(3) UDP_reflector.py
        Start UDP_client_server.py: python(3) UDP_client_server.py
    
        Measurement data is dependent on locality, currently  there only exist a placeholder function
    
        The test result is stored into MongoDB.
    
    General:
    
        Test results is stored in the database 'matningar', table 'stability'.
    
        Database table:
        +-----------+-----------------+----------------+
        |    _id    |    stability    |    position    |
        +-----------+-----------------+----------------+
    
        Column description:
    
            '_id':        Standard MongoDB generated id, so the first 4bits will be a timestamp.
    
            'stability':  mos calculated network stability.
    
            'position':   Placeholder for further development, which will integrate positional tracking.