Skip to main content

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.

Metadata

Release files for mtuprobe 0.1.1

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for mtuprobe 0.1.1
File Size Uploaded
mtuprobe-0.1.1.tar.gz 3.5 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for mtuprobe 0.1.1
File Interpreter ABI Platform
mtuprobe-0.1.1-py3-none-any.whl Python 3 none any Details

Total release size: 8.3 kB

Release files / mtuprobe-0.1.1.tar.gz

Download URL mtuprobe-0.1.1.tar.gz
Size 3.5 kB
Tags Source
SHA-256 checksum
How to use checksums
8986bd5e840ed0bf282ae2385004eb555838a8c9276fa39461a8f355279bf66c
BLAKE2b-256 checksum
How to use checksums
3561793dba6ac7f2c44fd9f3b180213439d5446c709d80805b2a3bc5cc7a2e80
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via poetry/2.1.3 CPython/3.10.10 Linux/6.8.0-64-generic

Release files / mtuprobe-0.1.1-py3-none-any.whl

Download URL mtuprobe-0.1.1-py3-none-any.whl
Size 4.8 kB
Tags Python 3
SHA-256 checksum
How to use checksums
e6911c61e3a401cfb92347cf73ef9bcb37ddd852466827445bcd8b323e816a8f
BLAKE2b-256 checksum
How to use checksums
c285d24dd6924570501dc6b0f266e58e0c1e1aaef8c710f80330df9741d79bab
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via poetry/2.1.3 CPython/3.10.10 Linux/6.8.0-64-generic

Release history Release notifications | RSS feed

This release

0.1.1 This release

2 release files

0.1.0

2 release files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page