Skip to main content

A windows compatible path tracing package based off the functionality of rucarrol's traceflow.

Project description

TraceflowWin

Small cross-platform traceroute tool that supports multi-path probing based on the functionality of rucarrol's traceflow.

Rucarrol's Traceflow: https://github.com/rucarrol/traceflow

Works on Linux without Npcap
Requires Npcap on Windows: https://npcap.com/#download

  • Must have support raw traffic and Wincap API comp mode

Npcap

Python Example

from traceflow_win import TraceflowWin
import asyncio

async def main():
    tracer = TraceflowWin("8.8.8.8")
    results = await tracer.run()
    
    for path_id, hops in results.items():
        print(f"Path {path_id}: {hops}")

asyncio.run(main())

CLI Usage

python -m traceflow_win <Ip/Hostname>

Example:

python -m traceflow_win 1.1.1.1 --path-count 5 --max-hops 40

CLI Options

Argument Description Default
<destination> Destination IP or hostname to trace Required
--path-count Number of parallel paths 4
--max-hops Maximum number of hops 30
--timeout Timeout per hop in seconds 2
-h, --help Show help message

Notes/Known Problems:

  • High path counts (8-10 and above) can result in trace errors as scapy sniff() is not asynchronous.

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

traceflow_win-1.0.3.tar.gz (4.2 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

traceflow_win-1.0.3-py3-none-any.whl (5.1 kB view details)

Uploaded Python 3

File details

Details for the file traceflow_win-1.0.3.tar.gz.

File metadata

  • Download URL: traceflow_win-1.0.3.tar.gz
  • Upload date:
  • Size: 4.2 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.13.2

File hashes

Hashes for traceflow_win-1.0.3.tar.gz
Algorithm Hash digest
SHA256 e74247bb0a898e554507d27d34405465024bdf2254ae8aa3456917cf6dfc0633
MD5 3d779d0d43381c46964172ac947ed1fd
BLAKE2b-256 d901e7c6b012c5da0959681ebf862d57a0a0158b28251969016e5962af20f351

See more details on using hashes here.

File details

Details for the file traceflow_win-1.0.3-py3-none-any.whl.

File metadata

  • Download URL: traceflow_win-1.0.3-py3-none-any.whl
  • Upload date:
  • Size: 5.1 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.13.2

File hashes

Hashes for traceflow_win-1.0.3-py3-none-any.whl
Algorithm Hash digest
SHA256 b9328e779466d03ea439827e9ed4016d5bf9b5389a3cad8099f884b1cd93f08a
MD5 a9ae7e1d75a4ca8dec6e4558d404a104
BLAKE2b-256 b2f9f1357459ed5f52cd84ba31ed99a247cbd160eb75e8015de3749d6a898c45

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page