From owner-freebsd-current Mon Nov 4 19:17:24 2002 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 C160137B401; Mon, 4 Nov 2002 19:17:22 -0800 (PST) Received: from mailsrv.otenet.gr (mailsrv.otenet.gr [195.170.0.5]) by mx1.FreeBSD.org (Postfix) with ESMTP id E346643E3B; Mon, 4 Nov 2002 19:17:21 -0800 (PST) (envelope-from keramida@freebsd.org) Received: from gray.sea.gr (patr530-a006.otenet.gr [212.205.215.6]) by mailsrv.otenet.gr (8.12.6/8.12.6) with ESMTP id gA53HHcd028055; Tue, 5 Nov 2002 05:17:19 +0200 (EET) Received: from gray.sea.gr (gray [127.0.0.1]) by gray.sea.gr (8.12.6/8.12.6) with ESMTP id gA53HFs8000603; Tue, 5 Nov 2002 05:17:15 +0200 (EET) (envelope-from keramida@freebsd.org) Received: (from keramida@localhost) by gray.sea.gr (8.12.6/8.12.6/Submit) id gA53H5jZ000602; Tue, 5 Nov 2002 05:17:05 +0200 (EET) (envelope-from keramida@freebsd.org) Date: Tue, 5 Nov 2002 05:17:05 +0200 From: Giorgos Keramidas To: Kelly Yancey Cc: freebsd-current@freebsd.org, kbyanc@freebsd.org Subject: Re: Can't resolve hosts via dns on the command line with latest -current Message-ID: <20021105031705.GA573@gray.sea.gr> References: <20021105011204.GD17380@gray.sea.gr> <20021104182051.S50848-100000@gateway.posi.net> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20021104182051.S50848-100000@gateway.posi.net> Sender: owner-freebsd-current@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG On 2002-11-04 18:38, Kelly Yancey wrote: > Thanks for the info. Are you sure that you only reverted the one delta? Yes. I just recompiled the kernel from -rHEAD and started logging things while I connected to my dialup provider. Apparently lo0 does have the 127.0.0.1 address *and* the LOOPBACK flag but somehow fails. When (near the end of the following log) I back only this change out, the problems go away :/ The strange thing is that my named listening on lo0 DOES reply, as you can see from the tcpdump output, but the reply never reaches the ssh process that initiated the query. ===== keramida@gray[05:05]/home/keramida$ ssh -l charon -p 666 -v labs.gr OpenSSH_3.5p1 FreeBSD-20021029, SSH protocols 1.5/2.0, OpenSSL 0x0090607f debug1: Reading configuration data /home/keramida/.ssh/config debug1: Applying options for * debug1: Reading configuration data /etc/ssh/ssh_config debug1: Rhosts Authentication disabled, originating port will not be trusted. debug1: ssh_connect: needpriv 0 ^C root@gray[05:04]/root# tcpdump -i lo0 -s 128 -v -n tcpdump: listening on lo0 05:05:34.616515 127.0.0.1.49181 > 127.0.0.1.53: [udp sum ok] 24818+ AAAA? labs.gr. (25) (ttl 64, id 20931, len 53) 05:05:34.618115 127.0.0.1.53 > 127.0.0.1.49181: [udp sum ok] 24818 0/1/0 (66) (ttl 64, id 2744, len 94) 05:05:34.619452 127.0.0.1.49182 > 127.0.0.1.53: [udp sum ok] 24819+ A? labs.gr. (25) (ttl 64, id 63225, len 53) 05:05:34.621080 127.0.0.1.53 > 127.0.0.1.49182: 24819 1/6/6 labs.gr. A 62.103.160.6 (279) (ttl 64, id 1753, len 307) 05:05:39.621503 127.0.0.1.49183 > 127.0.0.1.53: [udp sum ok] 24819+ A? labs.gr. (25) (ttl 64, id 31195, len 53) 05:05:39.623584 127.0.0.1.53 > 127.0.0.1.49183: 24819 1/6/6 labs.gr. A 62.103.160.6 (279) (ttl 64, id 5785, len 307) 05:05:49.621965 127.0.0.1.49184 > 127.0.0.1.53: [udp sum ok] 24819+ A? labs.gr. (25) (ttl 64, id 34796, len 53) 05:05:49.624029 127.0.0.1.53 > 127.0.0.1.49184: 24819 1/6/6 labs.gr. A 62.103.160.6 (279) (ttl 64, id 60299, len 307) ^C 8 packets received by filter 0 packets dropped by kernel root@gray[05:07]/usr/src/sys/kern# cvs -qR diff -kk -u -r1.133 -r1.134 uipc_socket.c | patch -p0 -R ... root@gray[05:07]/usr/src/sys/kern# cd ../i386/conf root@gray[05:08]/usr/src/sys/i386/conf# config -g -d /usr/obj/usr/src/sys/GRAY GRAY Kernel build directory is /usr/obj/usr/src/sys/GRAY Don't forget to do a ``make depend'' root@gray[05:08]/usr/src/sys/i386/conf# cd /usr/obj/usr/src/sys/GRAY root@gray[05:08]/usr/obj/usr/src/sys/GRAY# rm uipc_socket.o root@gray[05:08]/usr/obj/usr/src/sys/GRAY# make -DNO_MODULES all && make -DNO_MODULES install [ reboot after backout ] keramida@gray[05:12]/home/keramida$ ssh -l charon -p 666 -v labs.gr OpenSSH_3.5p1 FreeBSD-20021029, SSH protocols 1.5/2.0, OpenSSL 0x0090607f debug1: Reading configuration data /home/keramida/.ssh/config debug1: Applying options for * debug1: Reading configuration data /etc/ssh/ssh_config debug1: Rhosts Authentication disabled, originating port will not be trusted. debug1: ssh_connect: needpriv 0 debug1: Connecting to labs.gr [62.103.160.6] port 666. debug1: Connection established. ... [ and it works ] ===== To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message