Bug 29164

Summary: [PATCH] lack of 'Do not fragment' flag in ping(8)
Product: Base System Reporter: Maxim Konovalov <maxim>
Component: binAssignee: Maxim Konovalov <maxim>
Status: Closed FIXED    
Severity: Affects Only Me    
Priority: Normal    
Version: 5.0-CURRENT   
Hardware: Any   
OS: Any   
Attachments:
Description Flags
file.diff none

Description Maxim Konovalov 2001-07-23 14:00:01 UTC
	There is no 'Do not fragment' flag in ping(8) which is
	useful with PMTU discovery problems.

Fix: Stolen from OpenBSD.
How-To-Repeat: 
	N/A
Comment 1 dima 2001-07-23 14:21:28 UTC
maxim@macomnet.ru writes:
> >Fix:
> 
> Stolen from OpenBSD.
> 
> Index: ping.c
> ===================================================================
> RCS file: /home/ncvs/src/sbin/ping/ping.c,v
> retrieving revision 1.59
> diff -u -r1.59 ping.c
> --- ping.c	2001/07/07 19:09:21	1.59
> +++ ping.c	2001/07/20 10:47:35
...

How about sending this to -audit?  ping is security-sensitive software
(being setuid), so I think a review is in order.
Comment 2 Maxim Konovalov 2001-07-23 14:26:58 UTC
On Mon, 23 Jul 2001, Dima Dorfman wrote:

> maxim@macomnet.ru writes:
> > >Fix:
> >
> > Stolen from OpenBSD.
> >
> > Index: ping.c
> > ===================================================================
> > RCS file: /home/ncvs/src/sbin/ping/ping.c,v
> > retrieving revision 1.59
> > diff -u -r1.59 ping.c
> > --- ping.c	2001/07/07 19:09:21	1.59
> > +++ ping.c	2001/07/20 10:47:35
> ...
>
> How about sending this to -audit?  ping is security-sensitive software
> (being setuid), so I think a review is in order.

I am agree with you, will do. Thanks.

- -maxim

-- 
Maxim Konovalov, MAcomnet, Internet-Intranet Dept., system engineer
phone: +7 (095) 796-9079, mailto: maxim@macomnet.ru
Comment 3 dd freebsd_committer freebsd_triage 2002-02-11 02:32:30 UTC
Responsible Changed
From-To: freebsd-bugs->maxim

Over to originator.
Comment 4 Maxim Konovalov freebsd_committer freebsd_triage 2003-01-23 13:08:51 UTC
State Changed
From-To: open->closed

An updated patch was committed to HEAD. I am going to MFC it 
in six months.