From owner-freebsd-hackers Thu Dec 14 3:22: 3 2000 From owner-freebsd-hackers@FreeBSD.ORG Thu Dec 14 03:22:01 2000 Return-Path: Delivered-To: freebsd-hackers@freebsd.org Received: from ringworld.nanolink.com (ringworld.nanolink.com [195.24.48.189]) by hub.freebsd.org (Postfix) with SMTP id 36ED337B402 for ; Thu, 14 Dec 2000 03:21:59 -0800 (PST) Received: (qmail 1465 invoked by uid 1000); 14 Dec 2000 11:21:04 -0000 Date: Thu, 14 Dec 2000 13:21:04 +0200 From: Peter Pentchev To: Christoph Sold Cc: hackers@freebsd.org Subject: Re: ping: how to set the don't fragment bit? Message-ID: <20001214132104.C369@ringworld.oblivion.bg> Mail-Followup-To: Christoph Sold , hackers@freebsd.org References: <3A38A58A.1D69185A@i-clue.de> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.2.5i In-Reply-To: <3A38A58A.1D69185A@i-clue.de>; from so@server.i-clue.de on Thu, Dec 14, 2000 at 11:48:42AM +0100 Sender: owner-freebsd-hackers@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG On Thu, Dec 14, 2000 at 11:48:42AM +0100, Christoph Sold wrote: > Hi Folks, > > to test a secure tunnel, ping should be able to set the don't fragment > bit in IP packets. Our ping doesn't allow this. Linsucks does. > > Since I never before did any network programming: Is it complicated to > add an option to do so? Either a hint how to program it, or some helpful > soul with the knowledge already in place to take this task? There are other utilities available to craft ICMP ECHO packets - sing and hping come to mind. I'm not sure if sing has been ported to FreeBSD, but there is a security/hping port. You might want to try a freshmeat.net search, or browse the index there. Hope that helps! G'luck, Peter -- The rest of this sentence is written in Thailand, on To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message