From owner-freebsd-net@FreeBSD.ORG Wed Jan 17 22:32:02 2007 Return-Path: X-Original-To: freebsd-net@freebsd.org Delivered-To: freebsd-net@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 56FCA16A415; Wed, 17 Jan 2007 22:32:02 +0000 (UTC) (envelope-from fenner@research.att.com) Received: from mail-red.research.att.com (mail-red.research.att.com [192.20.225.110]) by mx1.freebsd.org (Postfix) with ESMTP id 3122013C455; Wed, 17 Jan 2007 22:32:02 +0000 (UTC) (envelope-from fenner@research.att.com) Received: from bright.research.att.com (bright.research.att.com [135.207.20.189]) by mail-green.research.att.com (Postfix) with ESMTP id 6BFF58565; Wed, 17 Jan 2007 17:32:01 -0500 (EST) Received: (from fenner@localhost) by bright.research.att.com (8.13.1/8.12.10/Submit) id l0HMVw4I030302; Wed, 17 Jan 2007 14:31:58 -0800 From: Bill Fenner Message-Id: <200701172231.l0HMVw4I030302@bright.research.att.com> MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII To: hugme@hugme.org References: <20070112163057.2a3ec8f0.rnsanchez@wait4.org> <45A807F8.7080603@FreeBSD.org> <45ACCFF4.4040709@cisco.com> <200701162200.l0GM0FkG011595@bright.research.att.com> Date: Wed, 17 Jan 2007 14:31:58 -0800 Versions: dmail (linux) 2.7/makemail 2.14 Cc: freebsd-net@freebsd.org, Randall Stewart , "Bruce M. Simpson" , Ricardo Nabinger Sanchez Subject: Re: Problem with port 0 X-BeenThere: freebsd-net@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Networking and TCP/IP with FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 17 Jan 2007 22:32:02 -0000 Hug, If you feel like building a new kernel, I'd suggest commenting out those lines that I quoted in in_pcb.c: if (sin->sin_port == 0) return (EADDRNOTAVAIL); and see if the FreeBSD tftpd behaves the way you want after that. I don't think that's the solution that should be committed, but I think that may get you what you need (and the fix should be the same across any FreeBSD version, as long as you can build a new kernel for your varied boxes). Bill