Page MenuHomeFreeBSD

ping: Accept ToS keywords with -z
Needs ReviewPublic

Authored by jlduran_gmail.com on Feb 10 2023, 4:56 PM.
Tags
None
Referenced Files
Unknown Object (File)
May 4 2024, 11:46 PM
Unknown Object (File)
May 3 2024, 1:06 AM
Unknown Object (File)
Apr 27 2024, 2:16 AM
Unknown Object (File)
Apr 27 2024, 2:13 AM
Unknown Object (File)
Apr 27 2024, 12:42 AM
Unknown Object (File)
Dec 20 2023, 7:16 AM
Unknown Object (File)
Dec 11 2023, 1:46 AM
Unknown Object (File)
Nov 5 2023, 9:01 PM

Details

Reviewers
asomers
kp
Group Reviewers
manpages
Summary

Inspired by: OpenBSD/Darwin
Obtained from: pfctl/parse.y (src), pf.conf.5 (man)

Diff Detail

Repository
rG FreeBSD src repository
Lint
Lint Skipped
Unit
Tests Skipped

Event Timeline

jlduran_gmail.com added a subscriber: kp.

As a courtesy, tag @kp, as this code was mostly stolen from him.

pauamma_gundo.com added inline comments.
sbin/ping/ping.8
437

Reading this, I would be confused by the difference if any between "netcontrol" and "inetcontrol" and which to use when.

440

Audience check: would people reading this be familiar with the "DiffServ" abbreviation? (I assume it stands for "Differentiated Services".)

441–444

I'd add a "see also" for the meaning of those.

Thank you @pauamma! Those are great suggestions. I took man page changes from pf.conf.5, so I consider it to be my "upstream".
How about a change there, and then pull in those changes here?

sbin/ping/ping.8
437

I'm afraid I won't be able to change the name, as the idea is to mimic pf.conf(5), but we can detail what it means, as ipfw(8) does.
There are a few reasons why I chose pf's implementation, the chief ones being:

  1. This code was inspired by OpenBSD.
  2. IPFW was missing the va code point, which I submitted not so long ago, and this patch was prepared before the addition was made.

Thank you @pauamma! Those are great suggestions. I took man page changes from pf.conf.5, so I consider it to be my "upstream".
How about a change there, and then pull in those changes here?

Sounds good to me, in either direction.

Any updates here? I'd be happy to approve the man page change.

In D38490#914771, @bcr wrote:

Any updates here? I'd be happy to approve the man page change.

Sorry, I have not worked on the man page changes. I was waiting on the code review/approval first. I'll add @kp as a reviewer directly.

Thank you for reminding me about it!