Giter Site home page Giter Site logo

iam54r1n4 / tracevis Goto Github PK

View Code? Open in Web Editor NEW

This project forked from wikicensorship/tracevis

0.0 0.0 0.0 271 KB

Traceroute with any packet. Visualize the routes. Discover Middleboxes and Firewalls

Home Page: https://wikicensorship.github.io/

License: The Unlicense

Python 17.98% Dockerfile 0.07% Jinja 81.95%

tracevis's Introduction

TraceVis

Traceroute with any packet. Visualize the routes. Discover Middleboxes and Firewalls

CodeQL Dockerise unittest

TraceVis is a research project whose main goal is to find middleboxes. Where a packet is tampered with or blocked. This tool also has other features such as downloading and visualizing traceroute data from RIPE Atlas probes.

example graph

Install and build

Note:

You need to install npcap in Windows. If you already have programs like Wireshark or Nmap/Zenmap, they will install this automatically.

(Not required on Linux.)

Using docker:

Pull docker image from github container registry:
docker pull ghcr.io/wikicensorship/tracevis
Or clone project and build docker image on your machine:
docker build -t tracevis .

Directly:

Download or clone project and then install Python dependencies:
python3 -m pip install -r requirements.txt

How to use

Default DNS trace:
python3 ./tracevis.py --dns

or with docker image:

docker run ghcr.io/wikicensorship/tracevis --dns

or trace in paris mode:

python3 ./tracevis.py --dns --paris
Packet trace:
python3 ./tracevis.py --packet

or with docker image:

docker run -it ghcr.io/wikicensorship/tracevis --packet
trace with a config file:
python3 ./tracevis.py --config ./samples/quicv0xbabababa.conf

or you can override:

python3 ./tracevis.py --config ./samples/syn.conf -i "75.2.60.5,99.83.231.61"

(There is more in ./samples: Client-Hello, NTP, HTTP-GET, and more QUIC packets)

Download traceroute data from a RIPE Atlas probe:
python3 ./tracevis.py --ripe [probe-id]

or with docker image:

docker run \
    --mount type=bind,source=/path/to/results,target=/tracevis_data/ \
    ghcr.io/wikicensorship/tracevis --ripe [probe-id]
# OR
docker run \
    -v /path/to/results/:/tracevis_data/ \
    ghcr.io/wikicensorship/tracevis --ripe [probe-id]
Visualize a json file:
python3 ./tracevis.py --file ./path/to/file.json

or with docker image:

docker run \
    --mount type=bind,source=/path/to/results,target=/tracevis_data/ \
    ghcr.io/wikicensorship/tracevis --file /tracevis_data/file.json
# OR
docker run \
    -v /path/to/results/:/tracevis_data/ \
    ghcr.io/wikicensorship/tracevis --file /tracevis_data/file.json
See the help message:
python3 ./tracevis.py -h

or with docker image:

docker run ghcr.io/wikicensorship/tracevis

Examples:

example graph

example cli

example cli

example cli

example graph

example graph

example graph

tracevis's People

Contributors

xhdix avatar ohmydevops avatar ryneq avatar moh53n avatar rzr8i avatar shahinsorkh avatar noorbala7418 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.