From owner-freebsd-current@FreeBSD.ORG Thu Jun 17 09:38:22 2004 Return-Path: Delivered-To: freebsd-current@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id ECF0E16A4CE for ; Thu, 17 Jun 2004 09:38:22 +0000 (GMT) Received: from lurza.secnetix.de (lurza.secnetix.de [83.120.8.8]) by mx1.FreeBSD.org (Postfix) with ESMTP id 2D1FF43D31 for ; Thu, 17 Jun 2004 09:38:22 +0000 (GMT) (envelope-from olli@lurza.secnetix.de) Received: from lurza.secnetix.de (ripyjs@localhost [127.0.0.1]) by lurza.secnetix.de (8.12.11/8.12.11) with ESMTP id i5H9apfI057775; Thu, 17 Jun 2004 11:36:52 +0200 (CEST) (envelope-from oliver.fromme@secnetix.de) Received: (from olli@localhost) by lurza.secnetix.de (8.12.11/8.12.11/Submit) id i5H9apBr057774; Thu, 17 Jun 2004 11:36:51 +0200 (CEST) (envelope-from olli) Date: Thu, 17 Jun 2004 11:36:51 +0200 (CEST) Message-Id: <200406170936.i5H9apBr057774@lurza.secnetix.de> From: Oliver Fromme To: freebsd-current@FreeBSD.ORG, nakal@web.de In-Reply-To: <1087404082.795.28.camel@klotz.local> X-Newsgroups: list.freebsd-current User-Agent: tin/1.5.4-20000523 ("1959") (UNIX) (FreeBSD/4.10-RELEASE (i386)) MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 8bit Subject: Re: ppp with dynamic IPs and ipfw "me" X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list Reply-To: freebsd-current@FreeBSD.ORG, nakal@web.de List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 17 Jun 2004 09:38:23 -0000 Martin wrote: > Sometimes, I get disconnected with my DSL router and ppp > reconnects me in background. This is correct so far, but > I also get a new (dynamic) IP and it seems that ipfw > does not forget my old IP. > > I noticed this behavior with the rules which restrict > the communication to the ntpd-port 123. I'm not sure if this is related to your problem, but you have to kill and restart ntpd every time you get a new IP. That's because ntpd binds to every IP address it finds upon startup explicitely, not just to "*". You can do that automatically with a ppp.linkup script. Regards Oliver -- Oliver Fromme, secnetix GmbH & Co KG, Oettingenstr. 2, 80538 München Any opinions expressed in this message may be personal to the author and may not necessarily reflect the opinions of secnetix in any way. "That's what I love about GUIs: They make simple tasks easier, and complex tasks impossible." -- John William Chambless