From owner-freebsd-current@FreeBSD.ORG Thu Jan 3 02:12:14 2008 Return-Path: Delivered-To: freebsd-current@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id A032616A418; Thu, 3 Jan 2008 02:12:14 +0000 (UTC) (envelope-from delphij@delphij.net) Received: from tarsier.delphij.net (delphij-pt.tunnel.tserv2.fmt.ipv6.he.net [IPv6:2001:470:1f03:2c9::2]) by mx1.freebsd.org (Postfix) with ESMTP id 41D7A13C44B; Thu, 3 Jan 2008 02:12:14 +0000 (UTC) (envelope-from delphij@delphij.net) Received: from tarsier.geekcn.org (unknown [202.108.54.204]) (using TLSv1 with cipher ADH-CAMELLIA256-SHA (256/256 bits)) (No client certificate requested) by tarsier.delphij.net (Postfix) with ESMTP id 6119A28448; Thu, 3 Jan 2008 10:12:12 +0800 (CST) Received: from localhost (unknown [202.108.54.204]) by tarsier.geekcn.org (Postfix) with ESMTP id 06C75EC4773; Thu, 3 Jan 2008 10:12:12 +0800 (CST) X-Virus-Scanned: amavisd-new at geekcn.org Received: from tarsier.geekcn.org ([202.108.54.204]) by localhost (mail.geekcn.org [202.108.54.204]) (amavisd-new, port 10024) with ESMTP id g6nYOkLk6aXG; Thu, 3 Jan 2008 10:12:07 +0800 (CST) Received: from charlie.delphij.net (71.5.7.139.ptr.us.xo.net [71.5.7.139]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by tarsier.geekcn.org (Postfix) with ESMTP id 14038EB092A; Thu, 3 Jan 2008 10:12:05 +0800 (CST) DomainKey-Signature: a=rsa-sha1; s=default; d=delphij.net; c=nofws; q=dns; h=message-id:date:from:reply-to:organization:user-agent: mime-version:to:cc:subject:references:in-reply-to: x-enigmail-version:openpgp:content-type:content-transfer-encoding; b=kl25voxycPHbjGGgAMN6WbAbSuAINSAxC/htbTtSpP5JLLJNB0Ip9AXCyMus3+yPH 8LgjqEeIoiwSByYGMua5w== Message-ID: <477C4474.3000702@delphij.net> Date: Wed, 02 Jan 2008 18:12:04 -0800 From: Xin LI Organization: The FreeBSD Project User-Agent: Thunderbird 2.0.0.9 (X11/20071125) MIME-Version: 1.0 To: Pawel Worach References: <477BE583.6080202@delphij.net> <477C423F.2020701@gmail.com> In-Reply-To: <477C423F.2020701@gmail.com> X-Enigmail-Version: 0.95.5 OpenPGP: id=18EDEBA0; url=http://www.delphij.net/delphij.asc Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Cc: freebsd-rc@FreeBSD.org, FreeBSD Current , d@delphij.net Subject: Re: [RFC] rc.d script for binding static arp pairs and logging options X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: d@delphij.net List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 03 Jan 2008 02:12:14 -0000 -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 Pawel Worach wrote: > Xin LI wrote: >> -----BEGIN PGP SIGNED MESSAGE----- >> Hash: SHA1 >> >> Hi, >> >> Here is a rc.d script that I use on my own server, which provides two >> functionalities: >> >> - Bind ARP pairs specified in rc.conf (*); >> - Set ARP logging options (+). >> > > What about ethers(5) and arp -f, would that potentially pollute the arp > table with too much junk ? I think ethers(5) is designed for some other uses, i.e. it serves like hosts(5). It sounds like a good idea to utilize arp -f, do we have some easy way to unbind the pairs if we don't want -d -a? (Or we should not even bother to think about it?) Cheers, - -- Xin LI http://www.delphij.net/ FreeBSD - The Power to Serve! -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.4 (FreeBSD) iD8DBQFHfER0i+vbBBjt66ARAktoAKDA58+Iq+0rPZq9e0uZsIIhNWO+DgCcCHrF /c/wj0lrdDaCOMc3rH9QNEw= =k0Lj -----END PGP SIGNATURE-----