From owner-freebsd-net Tue Oct 22 7:34:36 2002 Delivered-To: freebsd-net@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id D2A0937B401 for ; Tue, 22 Oct 2002 07:34:35 -0700 (PDT) Received: from hub.org (hub.org [64.49.215.141]) by mx1.FreeBSD.org (Postfix) with ESMTP id 6E1CF43E6A for ; Tue, 22 Oct 2002 07:34:35 -0700 (PDT) (envelope-from scrappy@hub.org) Received: from hub.org (hub.org [64.49.215.141]) by hub.org (Postfix) with ESMTP id E130B8A1947 for ; Tue, 22 Oct 2002 11:34:28 -0300 (ADT) Date: Tue, 22 Oct 2002 11:34:28 -0300 (ADT) From: "Marc G. Fournier" To: freebsd-net@freebsd.org Subject: dest vs source ports ... Message-ID: <20021022113147.X47756-100000@hub.org> MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-freebsd-net@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.org Just a quick question ... how does the OS determine the 'source port' when connecting to a remote site? is it reasonably safe to assume that the lower of the two ports is the dest port? for instance, if I try to telnet to a remote site where the remote site is running a service on port 6667, is it a pretty safe bet that FreeBSD will pick a port >6667 to go out on? or is there an equal chance of it being lower? To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-net" in the body of the message