From owner-freebsd-questions Thu Jul 31 18:23:25 1997 Return-Path: Received: (from root@localhost) by hub.freebsd.org (8.8.5/8.8.5) id SAA15399 for questions-outgoing; Thu, 31 Jul 1997 18:23:25 -0700 (PDT) Received: from awfulhak.demon.co.uk (awfulhak.demon.co.uk [158.152.17.1]) by hub.freebsd.org (8.8.5/8.8.5) with ESMTP id SAA15366 for ; Thu, 31 Jul 1997 18:22:46 -0700 (PDT) Received: from awfulhak.org (dev.lan.awfulhak.org [10.0.1.5]) by awfulhak.demon.co.uk (8.8.5/8.8.5) with ESMTP id BAA00590; Fri, 1 Aug 1997 01:41:24 +0100 (BST) Received: from dev.lan.awfulhak.org (localhost [127.0.0.1]) by awfulhak.org (8.8.6/8.8.6) with ESMTP id BAA18379; Fri, 1 Aug 1997 01:41:24 +0100 (BST) Message-Id: <199708010041.BAA18379@awfulhak.org> X-Mailer: exmh version 2.0zeta 7/24/97 To: Ruslan Ermilov cc: questions@FreeBSD.ORG (FreeBSD Questions), Charles Mott Subject: Re: NATD -use_sockets option question In-reply-to: Your message of "Wed, 30 Jul 1997 10:15:50 +0300." <199707300715.KAA06513@ferrix.ucb.crimea.ua> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Date: Fri, 01 Aug 1997 01:41:24 +0100 From: Brian Somers Sender: owner-freebsd-questions@FreeBSD.ORG X-Loop: FreeBSD.org Precedence: bulk > Hi! > > I have no enough experience with natd, so my question: > > What does the natd's -use_sockets option? > > `man natd' says: > > -use_sockets | -s > Allocate a socket(2) in order to establish an FTP data or IRC > DCC send connection. This option uses more system resources, > but guarantees successful connections when port numbers con- > flict. > > But in alias.h I see: > > /* If PKT_ALIAS_USE_SOCKETS is set, then when partially specified > links (e.g. destination port and/or address is zero), the packet > aliasing engine will attempt to allocate a socket for the aliasing > port it chooses. This will avoid interference with the host > machine. Fully specified links do not require this. */ > > I don't undestand the {FTP data connection} and {partially specified links} > relationship. What is it? Please, explain. I think Charles is the best person to ask about this (cc'd). > TIA, > --- > Ruslan A. Ermilov System Administrator > ru@ucb.crimea.ua United Commercial Bank > +380-652-247 647 Simferopol, Crimea -- Brian , Don't _EVER_ lose your sense of humour....