From owner-freebsd-hackers Thu Jun 12 00:43:49 1997 Return-Path: Received: (from root@localhost) by hub.freebsd.org (8.8.5/8.8.5) id AAA14781 for hackers-outgoing; Thu, 12 Jun 1997 00:43:49 -0700 (PDT) Received: from lassie.eunet.fi (lassie.eunet.fi [192.26.119.7]) by hub.freebsd.org (8.8.5/8.8.5) with SMTP id AAA14776 for ; Thu, 12 Jun 1997 00:43:44 -0700 (PDT) Received: from tahko.lpr.carel.fi ([192.46.69.100]) by lassie.eunet.fi with SMTP id AA24107 (5.67a/IDA-1.5 for ); Thu, 12 Jun 1997 10:43:39 +0300 Received: from mercury.ps.carel.fi by tahko.lpr.carel.fi with ESMTP (8.7.5/1.1) id KAA05651; Thu, 12 Jun 1997 10:37:54 +0300 (EET DST) Received: from sodium (sodium.ps.carel.fi [194.137.216.111]) by mercury.ps.carel.fi (8.8.2/8.8.2) with SMTP id LAA29086; Thu, 12 Jun 1997 11:35:10 +0300 (EET DST) Received: by localhost with Microsoft MAPI; Thu, 12 Jun 1997 10:56:32 +0300 Message-Id: <01BC771F.49BB8990@ari.suutari@ps.carel.fi> From: Ari Suutari To: "'Brian Somers'" , Mark Tinguely Cc: "freebsd-hackers@FreeBSD.ORG" Subject: RE: /var/run/natd.pid request Date: Thu, 12 Jun 1997 10:56:31 +0300 X-Mailer: Microsoft Internet E-mail/MAPI - 8.0.0.4025 Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Sender: owner-hackers@FreeBSD.ORG X-Loop: FreeBSD.org Precedence: bulk Hi, On 12. kesakuuta 1997 10:18, Brian Somers [SMTP:brian@awfulhak.org] wrote: > > > > I finally figured out how to get natd working, and I have a little > > suggestion: stuff the natd PID in /var/run/natd.pid. from my experiments > > when the translating interface's address is dynamic (and using -dynamic > > option), the natd process requires a SIGHUP to make the change to the > > new address. If the natd PID is available, then it will simply the process. > > I've cc'd this to Ari Suutari (the author). I don't have any problem > with this idea. > Good idea, I'll add this to next version. > I did however think that the address change was transparent (reading the > routing socket), but I havn't looked at the code. > It is automatic based on messages in routing socket. It worked for me with le & ep drivers but I haved tested it with ppp. The idea is that sending SIGHUP should no longer be necessary. Ari S.