GithubHelp home page GithubHelp logo

csc5032z--assignment's Introduction

This assignment has been done to analyze two websites namely:

  1. Google.com
  2. Wits.ac.za

The analysis was done using network tools namely: Wireshark, Traceroute, and curl. The paper starts by analyzing various protocols which are present on the application layer of the two websites. After this, the transport layer security of the two websites is then analyzed. Finally, AS path analysis is performed to determine the internet paths from different continents and countries to where these websites are hosted.

The github repo can be found here: https://github.com/willie84/CSC5032Z--Assignment Requirements:

  1. You need Ripe Atlas API Key
  2. You need a MaxiMind Geolocation Account API key and the User Id. https://www.maxmind.com/en/home

The files present:

  1. main.py is a python script with follwing 8 functions:

1.1 send_ripe_measurement_request(domain, apikey): which send a measurement request to the Ripe Atlas. https://atlas.ripe.net/ You need an API Key and credits to run the measurements. The function performs a traceroute meaurement to 24 probes hosted in the 8 sources countries listed in the code.

1.2 fetch_ripe_result(result_id, output_file) function which fetches ripe results and save them in an output_file. The results are fetched after 20 minutes.

1.3 tracecdns(trace_data): which is a function that uses Maxmind geoloaction database to determine the location of various probes. This is to analyze the path analysis taken by the internet traffic from probes to the detination./

1.4 showTrafficPath(asntrace): This function prints the ASN Paths from different probes.

1.5 executemeasurements(): is the function that call all the the other functions for internet measuremsnts operations.

1.6 get_location(domain): returns the location of the server given a domain.

1.7 get_records(domain): return the DNS records for various websites. The dns records tested are ['A', 'AAAA', 'NS', 'MX', 'CNAME', 'TXT', 'SOA']

1.8 gethttpheaders(domain): uses the python library return the HTTP headers for various websites.

2.The other files are results of running the above python script.

You can use either python 2 or python 3 to run the script.

csc5032z--assignment's People

Contributors

willie84 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.