From owner-freebsd-questions Wed Jul 30 00:16:50 1997 Return-Path: Received: (from root@localhost) by hub.freebsd.org (8.8.5/8.8.5) id AAA15315 for questions-outgoing; Wed, 30 Jul 1997 00:16:50 -0700 (PDT) Received: from relay.ucb.crimea.ua (root@relay.ucb.crimea.ua [194.93.177.113]) by hub.freebsd.org (8.8.5/8.8.5) with ESMTP id AAA15222 for ; Wed, 30 Jul 1997 00:16:25 -0700 (PDT) Received: from ferrix.ucb.crimea.ua (ferrix.ucb.crimea.ua [194.93.177.116]) by relay.ucb.crimea.ua (8.8.5/8.8.5) with ESMTP id KAA06282 for ; Wed, 30 Jul 1997 10:15:20 +0300 (EET DST) From: Ruslan Ermilov Received: (from ru@localhost) by ferrix.ucb.crimea.ua (8.8.5/8.8.5) id KAA06513 for questions@FreeBSD.ORG; Wed, 30 Jul 1997 10:15:50 +0300 (EEST) Message-Id: <199707300715.KAA06513@ferrix.ucb.crimea.ua> Subject: NATD -use_sockets option question To: questions@FreeBSD.ORG (FreeBSD Questions) Date: Wed, 30 Jul 1997 10:15:50 +0300 (EEST) X-Mailer: ELM [version 2.4ME+ PL31 (25)] MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit 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. TIA, --- Ruslan A. Ermilov System Administrator ru@ucb.crimea.ua United Commercial Bank +380-652-247 647 Simferopol, Crimea