From owner-freebsd-questions Thu Jan 17 20: 8:18 2002 Delivered-To: freebsd-questions@freebsd.org Received: from tomts8-srv.bellnexxia.net (tomts8.bellnexxia.net [209.226.175.52]) by hub.freebsd.org (Postfix) with ESMTP id E189337B402 for ; Thu, 17 Jan 2002 20:08:14 -0800 (PST) Received: from xena.gsicomp.on.ca ([199.243.128.21]) by tomts8-srv.bellnexxia.net (InterMail vM.4.01.03.16 201-229-121-116-20010115) with ESMTP id <20020118040814.BKLU16860.tomts8-srv.bellnexxia.net@xena.gsicomp.on.ca>; Thu, 17 Jan 2002 23:08:14 -0500 Received: from hermes (hermes.gsicomp.on.ca [192.168.0.18]) by xena.gsicomp.on.ca (8.11.1/8.11.1) with SMTP id g0I3wCX96751; Thu, 17 Jan 2002 22:58:13 -0500 (EST) (envelope-from matt@gsicomp.on.ca) Message-ID: <012d01c19fd5$bf723d30$831c1a09@gsicomp.on.ca> From: "Matthew Emmerton" To: "Bob Hall" , References: <20020117193741.C267@starpower.net> <20020117230302.C656@starpower.net> Subject: Re: Using natd Date: Thu, 17 Jan 2002 23:08:12 -0500 MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit X-Priority: 3 X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook Express 5.50.4807.1700 X-MimeOLE: Produced By Microsoft MimeOLE V5.50.4807.1700 Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG > On Thu, Jan 17, 2002 at 09:46:17PM -0500, tony wrote: > > I'm sorry but when I make a change to natd.conf and then try a kill -HUP > > pidfile it doesn't actually notice the configuration change.. that is why I > > posted the script that actually kills natd and then restarts it > > You may be right. The only time I send HUP to natd is when I'm > restarting pppd. That's a configuration change, but not a change > in a configuration file. This is correct. I've got a patch that makes a HUP signal make natd re-read it's configuration file. (I got tired of losing my connection to remote machines when tweaking configurations.) Due to the design of libalias there's no easy way to make old entries go away, but existing entries can be modified and new entries can be added. Making natd into something more like ipfw (with add/change/delete functionality) is on my TODO list ... somewhere. -- Matt Emmerton To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message