From owner-freebsd-net Fri Dec 27 7: 3: 2 2002 Delivered-To: freebsd-net@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 9FC4437B401 for ; Fri, 27 Dec 2002 07:03:01 -0800 (PST) Received: from itesec.hsc.fr (itesec.hsc.fr [192.70.106.33]) by mx1.FreeBSD.org (Postfix) with ESMTP id A074843EA9 for ; Fri, 27 Dec 2002 07:03:00 -0800 (PST) (envelope-from Nicolas.Jombart@hsc.fr) Received: from silver.hsc.fr (silver.hsc.fr [192.70.106.98]) (using TLSv1 with cipher EDH-RSA-DES-CBC3-SHA (168/168 bits)) (Client CN "silver.hsc.fr", Issuer "HSC CA" (verified OK)) by itesec.hsc.fr (Postfix) with ESMTP id B1A1D20FF7; Fri, 27 Dec 2002 16:02:58 +0100 (CET) Received: by silver.hsc.fr (Postfix, from userid 1000) id C4B655712; Fri, 27 Dec 2002 16:02:43 +0100 (CET) Date: Fri, 27 Dec 2002 16:02:43 +0100 From: Nicolas Jombart To: jeremie le-hen Cc: net@freebsd.org, hping-devel@lists.linux.it Subject: Re: hping strange behaviour Message-ID: <20021227150243.GA3119@silver.hsc.fr> Mail-Followup-To: jeremie le-hen , net@freebsd.org, hping-devel@lists.linux.it References: <20021227133300.GA7461@carpediem.epita.fr> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20021227133300.GA7461@carpediem.epita.fr> X-Operating-System: FreeBSD 5.0-CURRENT X-Organisation: =?iso-8859-1?Q?Herv?= =?iso-8859-1?Q?=E9?= Schauer Consultants - http://www.hsc.fr/ User-Agent: Mutt/1.5.1i Sender: owner-freebsd-net@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.org (Fri, Dec 27, 2002 at 02:33:00PM +0100) jeremie le-hen wrote: > yoda:tataz# hping -n -I tun0 -V --icmp --dontfrag --icmp-addr 193.252.50.1 > using lo0, addr: 127.0.0.1, MTU: 1500 > HPING 193.252.50.1 (lo0 193.252.50.1): icmp mode set, 28 headers + 0 data bytes > [send_ip] sendto: Can't assign requested address. > > This seems obious that hping doesn't use the right interface tun0 to send his > datagrams. > Note that I'm connected to Internet through a DSL connexion, using PPPoE. My Hmmm, can you provide output of hping -v and your command with -D switch? I have the same problem using pppX interfaces. If you do not use -I, hping should select the correct interface. > So does anyone have an idea on my problem ? Thanks in advance. Yet another bug :) To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-net" in the body of the message