From owner-freebsd-net@FreeBSD.ORG Thu Feb 9 16:26:07 2006 Return-Path: X-Original-To: freebsd-net@freebsd.org 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 4716F16A420 for ; Thu, 9 Feb 2006 16:26:07 +0000 (GMT) (envelope-from lists@wm-access.no) Received: from lakepoint.domeneshop.no (lakepoint.domeneshop.no [194.63.248.54]) by mx1.FreeBSD.org (Postfix) with ESMTP id A3B4143D45 for ; Thu, 9 Feb 2006 16:26:05 +0000 (GMT) (envelope-from lists@wm-access.no) Received: from [192.168.9.8] (gw1.arcticwireless.no [80.203.184.14]) (authenticated bits=0) by lakepoint.domeneshop.no (8.13.4/8.13.4) with ESMTP id k19GQ4TN020639 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NOT); Thu, 9 Feb 2006 17:26:04 +0100 Message-ID: <43EB6D14.2070107@wm-access.no> Date: Thu, 09 Feb 2006 17:25:56 +0100 From: =?ISO-8859-1?Q?Sten_Daniel_S=F8rsdal?= User-Agent: Thunderbird 1.5 (Windows/20051201) MIME-Version: 1.0 To: Vitaliy Ovsyannikov References: <176144277.20060209173923@kr.ru> In-Reply-To: <176144277.20060209173923@kr.ru> X-Enigmail-Version: 0.94.0.0 OpenPGP: id=D6F56A9B Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="------------enig493086D4A8DE570B46823556" Cc: freebsd-net@freebsd.org Subject: Re: incomplete+permanent arp entries X-BeenThere: freebsd-net@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Networking and TCP/IP with FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 09 Feb 2006 16:26:07 -0000 This is an OpenPGP/MIME signed message (RFC 2440 and 3156) --------------enig493086D4A8DE570B46823556 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: quoted-printable Vitaliy Ovsyannikov wrote: > Hello, freebsd-net. >=20 > I've noticed what it is possible to make incomplete+permanent > entries in kernel arp table. >=20 > xx# arp -s 1.2.3.4 pub > arp: invalid Ethernet address 'pub' >=20 > # arp 1.2.3.4 > 1.2.3.4 (1.2.3.4) at (incomplete) on vlan1 permanent [vlan] >=20 > In result of it's permanent entry, kernel doesn't listening for > arp-replies for this host. >=20 > My question is simple: is it bug or feature? >=20 I think i understand why you ask though, the answer could easily go both = ways. But my conclussion was that, to me, the man page and the error message=20 indicates it is a bug. By that i mean that arp reports the ethernet=20 address to be invalid but it still performs the task as if the ethernet=20 address was valid and no synopsis written for this case. I'd go with bug = and say that the same application can be done with 'route -blackhole=20 -host 1.2.3.4 127.0.0.1' or something similar. If it turns out to be the right thing to do then perhaps you would be so = kind as to sendbug(1) it? --=20 Sten Daniel S=F8rsdal --------------enig493086D4A8DE570B46823556 Content-Type: application/pgp-signature; name="signature.asc" Content-Description: OpenPGP digital signature Content-Disposition: attachment; filename="signature.asc" -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.2 (MingW32) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org iD8DBQFD620YMvOF8Nb1apsRAlmIAJ0dke4nwT64Hi8MzGIODJxHE/yJiwCfcu1C vlnsFG9rh1XL2hq0g7JBgvk= =JK+P -----END PGP SIGNATURE----- --------------enig493086D4A8DE570B46823556--