From owner-freebsd-ports@FreeBSD.ORG Fri Jun 3 16:42:16 2011 Return-Path: Delivered-To: freebsd-ports@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 3CDBF106566B for ; Fri, 3 Jun 2011 16:42:16 +0000 (UTC) (envelope-from yuri.pankov@gmail.com) Received: from mail-fx0-f54.google.com (mail-fx0-f54.google.com [209.85.161.54]) by mx1.freebsd.org (Postfix) with ESMTP id B64AE8FC12 for ; Fri, 3 Jun 2011 16:42:15 +0000 (UTC) Received: by fxm11 with SMTP id 11so2062000fxm.13 for ; Fri, 03 Jun 2011 09:42:14 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:x-authentication-warning:date:from:to:cc :subject:message-id:references:mime-version:content-type :content-disposition:in-reply-to:user-agent; bh=96o1Z0LvgdP0KCdo1Eppe0GoNCQ++bqWLYOq76W3gGY=; b=xgHemNg3qKBxKEswWiUJswT6pfwPFQlxKuTgC0fBx93nPVeiUh4vAYUF7NsB3y1/GN LCVrTbpCpS024K6Ub7RZMCGe5JyznzbmOn35BYCA+qPgkUybmScFU2hgFIriLqNcUHod oGBikOlE91BgEIUo2iXTvipQveasXCHNIOW8E= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=x-authentication-warning:date:from:to:cc:subject:message-id :references:mime-version:content-type:content-disposition :in-reply-to:user-agent; b=eOGLRfkjpKaEffkMV5Sol4B/P/dgSIslJU95q7tDGwG6pg8TFJN0XOTLjaxfcG/W1V BxeVIdGHu+93OhQIFBjM3dxs+ppe3DsUo0TKo10Z7jvgbnxpeEHNZFR0lbsSUng3+NlA VgyK2S/7NjEY7KKQXQ6Rft1ER+Qxo4Z9Pnhdk= Received: by 10.223.94.129 with SMTP id z1mr1143586fam.144.1307117642190; Fri, 03 Jun 2011 09:14:02 -0700 (PDT) Received: from procyon.xvoid.org ([213.132.76.142]) by mx.google.com with ESMTPS id q10sm538856fan.8.2011.06.03.09.14.00 (version=TLSv1/SSLv3 cipher=OTHER); Fri, 03 Jun 2011 09:14:00 -0700 (PDT) Received: from procyon.xvoid.org (yuri@procyon.xvoid.org [IPv6:::1]) by procyon.xvoid.org (8.14.4/8.14.4) with ESMTP id p53GDwOo098236; Fri, 3 Jun 2011 20:13:58 +0400 (MSD) (envelope-from yuri.pankov@gmail.com) Received: (from yuri@localhost) by procyon.xvoid.org (8.14.4/8.14.4/Submit) id p53GDwrE098235; Fri, 3 Jun 2011 20:13:58 +0400 (MSD) (envelope-from yuri.pankov@gmail.com) X-Authentication-Warning: procyon.xvoid.org: yuri set sender to yuri.pankov@gmail.com using -f Date: Fri, 3 Jun 2011 20:13:58 +0400 From: Yuri Pankov To: Pavel Timofeev Message-ID: <20110603161358.GB1247@procyon.xvoid.org> References: MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="gatW/ieO32f1wygP" Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.5.21 (2010-09-15) Cc: freebsd-ports@freebsd.org Subject: Re: Fping with WITH_IPV6=YES X-BeenThere: freebsd-ports@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Porting software to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 03 Jun 2011 16:42:16 -0000 --gatW/ieO32f1wygP Content-Type: text/plain; charset=us-ascii Content-Disposition: inline On Fri, Jun 03, 2011 at 05:57:44PM +0400, Pavel Timofeev wrote: > Is it normal that /usr/ports/net/fping doesn't work correct if you have > WITH_IPV6=YES in /etc/make.conf? Port's Makefile has the following comment: # IPv6 not enabled by default, as it does not work together with IPv4. and looking at the code, it seems that fping can use either ipv6 or ipv4 but not both (see the #if(n)def's in the code). With -DWITH_IPV6: $ fping 192.168.1.4 192.168.1.252 fping: hostname nor servname provided, or not known $ fping 2001:470:28:4ba:89c1:323b:9032:86ea \ 2001:470:28:4ba:4a5b:39ff:feb3:b824 2001:470:28:4ba:89c1:323b:9032:86ea is alive 2001:470:28:4ba:4a5b:39ff:feb3:b824 is alive Without -DWITH_IPV6: $ fping 192.168.1.4 192.168.1.252 192.168.1.4 is alive 192.168.1.252 is alive $ fping 2001:470:28:4ba:89c1:323b:9032:86ea \ 2001:470:28:4ba:4a5b:39ff:feb3:b824 2001:470:28:4ba:89c1:323b:9032:86ea address not found 2001:470:28:4ba:4a5b:39ff:feb3:b824 address not found HTH, Yuri --gatW/ieO32f1wygP Content-Type: application/pgp-signature -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.17 (FreeBSD) iQIcBAABAgAGBQJN6QhGAAoJEF9SuVmZPGsqPB4QAJq3gMda347DrH0uRjI3DmQF HDQQ7StvbKyWHaPmDqMsayZ5A+kk+Qm4+QhlnR8CKwo3aaC40CcVXTouZvlOMWog a2Ytkol6bXb1RayUKTubUC5K36Bv5wF3ANOp5aE7iH4XtfgTIQFaJWr0tLUPrV2W yQWjWhU3Nk7SXyeP7cS9N7JMVwCfxX6Z4RJo/jhGKxU6FbYLoDXnjLUTRfYbysUz 0DEDj2tSVzPeLyrjqkbHE5GPUf6GjznSg0D8SEgo/WIPwZNdIXMSLmE8SGZtyOAj hCO0LUHttDCC1oZHFnqFMtFZW6q7bBIqZPtipwxYg4Ky+fwv/Af0wBadbVOKD9HG 3IpuDvmIGEvyVvNau8qX/Hnb2bo1PqBfhVSsYTAiDk63jggdCNpbuFZgw4UBVkn9 uxBAw4+fOwVdRWquiMoNAKIEdh02r6YR7Pr8NavUCLqWMNiLVi/Vie5+t7EMfeIS /UOt4vFX0VIgqsmW/HcYRmlFnVPsGjkAcA7JqA07es4TT7q7hFbJEpqBTRfKLFEP gr+XnJLMF/fCRySkANmQGVh7FRH1q2KqMY5dJ/MmKCUBR1fWxySr/REmQBtXvOYF N/YdZig/WwSh9C6ph8x26JMBsZA6XyunekLbjsoqF7HVED9V58Mrjqq2GJOMj/vz rlEx85cu0m8hu0MsXQ8o =xxtX -----END PGP SIGNATURE----- --gatW/ieO32f1wygP--