Add option for packet size

Open
#393 0 comments 3 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Assessment

Difficulty
3/5
Estimated time
1-2 days
Newbie friendliness
45/100
Issue type
Feature
Clarity
Mostly clear
Activity status
Stale
Tech stack
rust
Domain
cli, networking

Research direction

Start by locating gping's command-line argument parsing and the ICMP packet construction or send path. Check how the current default packet size is set, then verify that a new option changes the sent packet size while preserving the existing default behavior.

Written by the indexing model from the issue text.

Description

When sending ICMP ping packets, it makes sense to have an adjustable packet size. The default packet size is quite small and may not be representative of the user experience. Online calls with video typically have UDP packets as large as 1000 bytes and more. In particular, larger packets have a significantly higher probability to be dropped, e.g. on a Wifi network.

The standard ping command has a -s parameter to adjust the packets size. Please add such an option to gping.

Dominant language
Rust
Stars
12.7k
Forks
366
Avg merge
7d 7h
Merged PRs (30d)
1

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

More from orf/gping

All issues in orf/gping

Similar issues

More Rust issues

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.