From owner-freebsd-current@freebsd.org Thu Oct 29 21:56:44 2015 Return-Path: Delivered-To: freebsd-current@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 7ED55A2100E for ; Thu, 29 Oct 2015 21:56:44 +0000 (UTC) (envelope-from bdrewery@FreeBSD.org) Received: from mailman.ysv.freebsd.org (mailman.ysv.freebsd.org [IPv6:2001:1900:2254:206a::50:5]) by mx1.freebsd.org (Postfix) with ESMTP id 5FD971FC8 for ; Thu, 29 Oct 2015 21:56:44 +0000 (UTC) (envelope-from bdrewery@FreeBSD.org) Received: by mailman.ysv.freebsd.org (Postfix) id 5D2DEA2100D; Thu, 29 Oct 2015 21:56:44 +0000 (UTC) Delivered-To: current@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 5BCEDA2100C for ; Thu, 29 Oct 2015 21:56:44 +0000 (UTC) (envelope-from bdrewery@FreeBSD.org) Received: from freefall.freebsd.org (freefall.freebsd.org [IPv6:2001:1900:2254:206c::16:87]) by mx1.freebsd.org (Postfix) with ESMTP id 39BBC1FC6 for ; Thu, 29 Oct 2015 21:56:44 +0000 (UTC) (envelope-from bdrewery@FreeBSD.org) Received: from mail.xzibition.com (localhost [IPv6:::1]) by freefall.freebsd.org (Postfix) with ESMTP id 337AC1F01 for ; Thu, 29 Oct 2015 21:56:44 +0000 (UTC) (envelope-from bdrewery@FreeBSD.org) Received: from mail.xzibition.com (localhost [172.31.3.2]) by mail.xzibition.com (Postfix) with ESMTP id D004D17893 for ; Thu, 29 Oct 2015 21:56:43 +0000 (UTC) X-Virus-Scanned: amavisd-new at mail.xzibition.com Received: from mail.xzibition.com ([172.31.3.2]) by mail.xzibition.com (mail.xzibition.com [172.31.3.2]) (amavisd-new, port 10026) with LMTP id nmhsIodkznUb for ; Thu, 29 Oct 2015 21:56:41 +0000 (UTC) Subject: Re: r288951: ifconfig -alias, arp not removed DKIM-Filter: OpenDKIM Filter v2.9.2 mail.xzibition.com 930D41788E To: current@FreeBSD.org References: <5632485F.5080203@FreeBSD.org> <56324C80.8000408@vangyzen.net> <56324D69.4080507@FreeBSD.org> From: Bryan Drewery Openpgp: id=F9173CB2C3AAEA7A5C8A1F0935D771BB6E4697CF; url=http://www.shatow.net/bryan/bryan2.asc Organization: FreeBSD Message-ID: <5632961B.2040604@FreeBSD.org> Date: Thu, 29 Oct 2015 14:56:43 -0700 User-Agent: Mozilla/5.0 (Windows NT 10.0; WOW64; rv:38.0) Gecko/20100101 Thunderbird/38.3.0 MIME-Version: 1.0 In-Reply-To: <56324D69.4080507@FreeBSD.org> Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="idTac2hu78KME0irTXCJbIcMF2QbvRb6S" X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.20 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 29 Oct 2015 21:56:44 -0000 This is an OpenPGP/MIME signed message (RFC 4880 and 3156) --idTac2hu78KME0irTXCJbIcMF2QbvRb6S Content-Type: text/plain; charset=windows-1252 Content-Transfer-Encoding: quoted-printable On 10/29/2015 9:46 AM, Bryan Drewery wrote: > On 10/29/15 9:42 AM, Eric van Gyzen wrote: >> On 10/29/2015 11:25, Bryan Drewery wrote: >>> # ifconfig >>> igb0: flags=3D8843 metric 0 m= tu 1500 >>> >>> options=3D403bb >>> ether c8:0a:a9:04:39:78 >>> inet 10.10.0.7 netmask 0xffff0000 broadcast 10.10.255.255 >>> inet 10.10.7.2 netmask 0xffff0000 broadcast 10.10.255.255 >>> inet 10.10.0.9 netmask 0xffff0000 broadcast 10.10.255.255 >>> nd6 options=3D23 >>> media: Ethernet autoselect (1000baseT ) >>> status: active >>> >>> # ifconfig igb0 inet 10.10.0.9 -alias >>> # arp -an|grep 10.10.0.9 >>> ? (10.10.0.9) at c8:0a:a9:04:39:78 on igb0 permanent [ethernet] >>> # arp -d 10.10.0.9 >>> arp: writing to routing socket: Operation not permitted >>> >>> I swear this is not normal. I'm on an older build as well, r288951. >> >> That definitely looks abnormal. See what "route get" says. I think >> that's the error you get when there is a route for that address. >> >=20 > # netstat -rn|grep 10.10.0.9 > # route get 10.10.0.9 > route to: lapbox > destination: 10.10.0.0 > mask: 255.255.0.0 > fib: 0 > interface: igb0 > flags: > recvpipe sendpipe ssthresh rtt,msec mtu weight expire > 0 0 0 0 1500 1 0 > # route get 5.5.5.5 > route to: 5.5.5.5 > destination: default > mask: default > gateway: router.asus.com > fib: 0 > interface: igb0 > flags: > recvpipe sendpipe ssthresh rtt,msec mtu weight expire > 0 0 0 0 1500 1 0 >=20 > For more context, this current system had 10.10.0.9 added to it. I > started up a VM which also started using 10.10.0.9 and managed to "win"= > on the local network for owning it. (I don't know arp and this stuff > well). I then came to this system to remove the alias and the arp entry= > to allow me to connect from it and have gotten into this situation. >=20 Just saw this in dmesg, which is what I described: arp: 08:00:27:12:c1:a5 is using my IP address 10.10.0.9 on igb0! arp: 08:00:27:12:c1:a5 is using my IP address 10.10.0.9 on igb0! arp: 08:00:27:12:c1:a5 attempts to modify permanent entry for 10.10.0.9 on igb0 arp: 08:00:27:12:c1:a5 attempts to modify permanent entry for 10.10.0.9 on igb0 arp: 08:00:27:12:c1:a5 attempts to modify permanent entry for 10.10.0.9 on igb0 arp: 08:00:27:12:c1:a5 attempts to modify permanent entry for 10.10.0.9 on igb0 --=20 Regards, Bryan Drewery --idTac2hu78KME0irTXCJbIcMF2QbvRb6S Content-Type: application/pgp-signature; name="signature.asc" Content-Description: OpenPGP digital signature Content-Disposition: attachment; filename="signature.asc" -----BEGIN PGP SIGNATURE----- Version: GnuPG v2 iQEcBAEBAgAGBQJWMpYbAAoJEDXXcbtuRpfPlqYH/0t/FtB7pORqqdX7Zpc5YTjl fSk7bLOPUBxNFnLwXJmoPQ0VvOSM2GEcsYzQPHAIAozFv6093FjQXqWX1j60d0yg YMaM0Uh0cQMZx2MBXIscoZ7Zg8FLbj7X4Btc6y0wYMdlTuAR1M7GNscIDZver6aG LxiZSBRDYmnvQQLYESerMGaAJVV6dCx5yTuzgcCYeKvtObCZgPrXDo0+rscuIVL4 NVtg9lCU3n0jZASNs5G3WcFCqAWmlCQp6BQMn9NQ2bdlYuseZEDRUlRSxgA4sHDm Fox5z0hxkHcGtk11FqayV1fuKWuv9p/TwB8AeTpfC9A5iJgA8Ovd+98aH/myfNk= =SDaL -----END PGP SIGNATURE----- --idTac2hu78KME0irTXCJbIcMF2QbvRb6S--