From owner-freebsd-questions@FreeBSD.ORG Wed Feb 28 21:16:45 2007 Return-Path: X-Original-To: freebsd-questions@freebsd.org Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 419EB16A404 for ; Wed, 28 Feb 2007 21:16:45 +0000 (UTC) (envelope-from fbsd06@mlists.homeunix.com) Received: from mxout-03.mxes.net (mxout-03.mxes.net [216.86.168.178]) by mx1.freebsd.org (Postfix) with ESMTP id 1B4A913C474 for ; Wed, 28 Feb 2007 21:16:45 +0000 (UTC) (envelope-from fbsd06@mlists.homeunix.com) Received: from gumby.homeunix.com (unknown [87.81.140.128]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by smtp.mxes.net (Postfix) with ESMTP id D316551926 for ; Wed, 28 Feb 2007 16:16:43 -0500 (EST) Date: Wed, 28 Feb 2007 21:16:41 +0000 From: RW To: freebsd-questions@freebsd.org Message-ID: <20070228211641.68c06f16@gumby.homeunix.com> In-Reply-To: <20070228131913.y8awi6yt74c88084@mail.schnarff.com> References: <200702272248.l1RMmD81013215@cheyenne.sixcompanies.com> <8cb6106e0702271455w5be91292vfce007b8ed439e1d@mail.gmail.com> <20070228173517.5a044300@gumby.homeunix.com> <20070228124421.j73ex8x4ow0g0o8k@mail.schnarff.com> <20070228180215.03fcd926@gumby.homeunix.com> <20070228131913.y8awi6yt74c88084@mail.schnarff.com> X-Mailer: Claws Mail 2.7.2 (GTK+ 2.10.9; i386-portbld-freebsd6.2) Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Subject: Re: pf.conf and cable modem X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 28 Feb 2007 21:16:45 -0000 On Wed, 28 Feb 2007 13:19:13 -0500 alex@schnarff.com wrote: > Quoting RW : > > > On Wed, 28 Feb 2007 12:44:21 -0500 > > alex@schnarff.com wrote: > > I was using a half-bridge modem that had a 30 second lease time, > > which was definitely renewing. It would also give me a private > > address when PPPoA went down, and I saw that happen too. > > Are you sure it was a 30 *second* lease time? No sane ISP would set > such a low value -- that's a surefire way to overwhelm their DHCP > servers. As I said, it was a half-bridge modem. It terminates PPPoA and delivers the public IP address and DNS server addresses with its own DHCP server. When PPP is not connected it issues a private IP address instead. Until the Draytek Vigor 100 offered true PPPoA to PPPoE bridging, half-bridge modems were the only ethernet-based modems that would work with FreeBSD and PPPoA. > > I added-in some early static rules to log all the DHCP packets. > > IIRC I never saw any of the lease renewal packets, just some > > broadcast packets. I asked in this list about it but never got a > > reply. > > What were the rules? I'd be curious to see them. > pass out log quick on $ext_if proto udp from port { bootps, bootpc} to port { bootps, bootpc} pass in log quick on $ext_if proto udp from port { bootps, bootpc} to port { bootps, bootpc} I can't remember the details, but the only packets I saw with tcpdump were some incoming broadcasts from the DHCP server.