From owner-freebsd-current@FreeBSD.ORG Sun Nov 23 03:24:43 2003 Return-Path: Delivered-To: freebsd-current@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id E98B216A4CF for ; Sun, 23 Nov 2003 03:24:43 -0800 (PST) Received: from datacenter.office.suceava.rdsnet.ro (datacenter.office.suceava.rdsnet.ro [217.156.25.194]) by mx1.FreeBSD.org (Postfix) with ESMTP id 8624843F3F for ; Sun, 23 Nov 2003 03:24:41 -0800 (PST) (envelope-from ady@freebsd.ady.ro) Received: from datacenter.office.suceava.rdsnet.ro (localhost [127.0.0.1]) id hANBXZ1J080004; Sun, 23 Nov 2003 13:33:35 +0200 (EET) (envelope-from ady@freebsd.ady.ro) Received: from localhost (ady@localhost)ESMTP id hANBXYaS080001; Sun, 23 Nov 2003 13:33:34 +0200 (EET) (envelope-from ady@freebsd.ady.ro) X-Authentication-Warning: datacenter.office.suceava.rdsnet.ro: ady owned process doing -bs Date: Sun, 23 Nov 2003 13:33:33 +0200 (EET) From: Adrian Penisoara X-X-Sender: ady@datacenter.office.suceava.rdsnet.ro To: Anthony Ginepro In-Reply-To: <20031122124344.GA2171@renaissance.homeip.net> Message-ID: <20031123133214.A79959@datacenter.office.suceava.rdsnet.ro> References: <20031122124344.GA2171@renaissance.homeip.net> MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII cc: current@freebsd.org Subject: Re: localhost adress X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 23 Nov 2003 11:24:44 -0000 Hi, Maybe the latest commit by 'tmm' fixes it: tmm 2003/11/22 19:02:00 PST FreeBSD src repository Modified files: sys/netinet in_pcb.c Log: bzero() the the sockaddr used for the destination address for rtalloc_ign() in in_pcbconnect_setup() before it is filled out. Otherwise, stack junk would be left in sin_zero, which could cause host routes to be ignored because they failed the comparison in rn_match(). This should fix the wrong source address selection for connect() to 127.0.0.1, among other things. Reviewed by: sam Approved by: re (rwatson) Revision Changes Path 1.133 +1 -0 src/sys/netinet/in_pcb.c -- Ady (@freebsd.ady.ro) On Sat, 22 Nov 2003, Anthony Ginepro wrote: > Since my last current (FreeBSD renaissance.homeip.net 5.1-CURRENT > FreeBSD 5.1-CURRENT #0: Fri Nov 21 17:49:36 CET 2003), I couldn't > use anymore local network program like mlnet (telnet localhost 4000) > or squid as my adress is 81.65.xx.xx (from my modem-cable) instead > of 127.0.0.1. > > I didn't have this trouble with -CURRENT on the 17th of November. > > Is it related to tcp hostcache or is something weird in my config ? > > Anthony. > > > _______________________________________________ > freebsd-current@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-current > To unsubscribe, send any mail to "freebsd-current-unsubscribe@freebsd.org" >