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.2.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.2-py3-none-any.whl (5.0 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: traceflow_win-1.0.2.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.2.tar.gz
Algorithm Hash digest
SHA256 da7ef8d83affe55f4e308776757c2baf119f3a7e6b058fb06df12aeed9af1486
MD5 2031647aa0f2984077bfe796559185b3
BLAKE2b-256 765678d398ca1ca188b2f0968b7ac7f54abe4b7029ce2b1483421ce02ff2ed61

See more details on using hashes here.

File details

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

File metadata

  • Download URL: traceflow_win-1.0.2-py3-none-any.whl
  • Upload date:
  • Size: 5.0 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.2-py3-none-any.whl
Algorithm Hash digest
SHA256 25ec1b93f424eb8f48a21ff2ce87996bfbe0bb8b2cb7ae0a21e17074cc815295
MD5 80ce5df1b918738351a532662b19332a
BLAKE2b-256 360daa42d04caafdb2b5aebfa02472b84d9246ca005908526a0e8567c7debc53

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