Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 01 Aug 1997 01:41:24 +0100
From:      Brian Somers <brian@awfulhak.org>
To:        Ruslan Ermilov <ru@ucb.crimea.ua>
Cc:        questions@FreeBSD.ORG (FreeBSD Questions), Charles Mott <cmott@srv.net>
Subject:   Re: NATD -use_sockets option question 
Message-ID:  <199708010041.BAA18379@awfulhak.org>
In-Reply-To: Your message of "Wed, 30 Jul 1997 10:15:50 %2B0300." <199707300715.KAA06513@ferrix.ucb.crimea.ua> 

next in thread | previous in thread | raw e-mail | index | archive | help
> 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 <brian@awfulhak.org>, <brian@freebsd.org>
      <http://www.awfulhak.org>;
Don't _EVER_ lose your sense of humour....





Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?199708010041.BAA18379>