Skip to main content

A tool to find out maximum MTU size on an IPv4 path

Project description

mtuprobe

A tool to probe the current MTU on an IPv4 path.

So far it's compatible with Linux only however it can very easily be adapted to any other operating system.

Installation

pip install mtuprobe

Usage

The default options are sane and should give you good results. Suppose that you want to know the current effective MTU towards wikipedia.org, in a shell you can try:

% mtuprobe wikipedia.org
Max packet size:         1464
Expected ethernet MTU:   1492

You can check out mtuprobe -h to get the complete list of options.

Values are:

  • Max packet size — Max packet size specified to ping, meaning the size of the data segment of the ICMP packet
  • Expected ethernet MTU — That's what the MTU should be if you're transmitting over Ethernet and the header sizes are what is expected from such a setup. This should apply most of the time but surely some weird network setups could violate this.

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

mtuprobe-0.1.0.tar.gz (4.1 kB view details)

Uploaded Source

Built Distribution

mtuprobe-0.1.0-py3-none-any.whl (4.8 kB view details)

Uploaded Python 3

File details

Details for the file mtuprobe-0.1.0.tar.gz.

File metadata

  • Download URL: mtuprobe-0.1.0.tar.gz
  • Upload date:
  • Size: 4.1 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/1.0.5 CPython/3.8.2 Linux/4.19.0-11-amd64

File hashes

Hashes for mtuprobe-0.1.0.tar.gz
Algorithm Hash digest
SHA256 95be3d90fccb2b9a5822cfff23226a44139d81d5dcb1d1298eae3e75e34b5712
MD5 b978d9769fd638fd1e63df30bbc5ef10
BLAKE2b-256 fbf3527cac0fc884a125a6bfe4f5b0b6cf7b0c7d8215c94801d69347cc116ab0

See more details on using hashes here.

Provenance

File details

Details for the file mtuprobe-0.1.0-py3-none-any.whl.

File metadata

  • Download URL: mtuprobe-0.1.0-py3-none-any.whl
  • Upload date:
  • Size: 4.8 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/1.0.5 CPython/3.8.2 Linux/4.19.0-11-amd64

File hashes

Hashes for mtuprobe-0.1.0-py3-none-any.whl
Algorithm Hash digest
SHA256 0fd370ac5035bce0503da3e172fb8882a8a78d7b5d4a26a37d9f2729e07662a5
MD5 7e941683eecf9d475f0090e8a7379ee9
BLAKE2b-256 c15a8752220120c0775ba4b861bd8bb2e57804a66db4bb6034633e03defe8f3d

See more details on using hashes here.

Provenance

Supported by

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