From owner-freebsd-questions@FreeBSD.ORG Sat Aug 14 03:37:35 2010 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 18856106566C for ; Sat, 14 Aug 2010 03:37:35 +0000 (UTC) (envelope-from wahjava@gmail.com) Received: from mail-pz0-f54.google.com (mail-pz0-f54.google.com [209.85.210.54]) by mx1.freebsd.org (Postfix) with ESMTP id BB4BC8FC13 for ; Sat, 14 Aug 2010 03:37:34 +0000 (UTC) Received: by pzk7 with SMTP id 7so1263312pzk.13 for ; Fri, 13 Aug 2010 20:37:34 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:sender:received:from:to:cc :subject:organization:references:x-face:x-uptime:x-url :x-operating-system:x-openpgp-id:x-openpgp-fingerprint:x-mailer :x-mail-morse:x-attribution:organisation:date:in-reply-to:message-id :user-agent:face:mime-version:content-type; bh=Yhexdf8nBs4SIcL1B3wx92/qEsbFcvS2YrDIvVs4Wpg=; b=O0YhGio0Af3Twhe5NAD1qlCu+q0oPZtsy0aFHuzyiBUTmB6zOrGRpycNc3rR9wIcWw 15NWyDR5njxHHPbkoij11ELflU6vgX4k6Zj8ErBl/jM1IbJx9KXNdjHA3aZnaXhFKkEK wiX39bPpOu1LTtObKHu+xWyq5ws8XF46n7NS0= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=sender:from:to:cc:subject:organization:references:x-face:x-uptime :x-url:x-operating-system:x-openpgp-id:x-openpgp-fingerprint :x-mailer:x-mail-morse:x-attribution:organisation:date:in-reply-to :message-id:user-agent:face:mime-version:content-type; b=nEJ8J9pWJR0/92yGCdwyBIDamRpgMpPNqZD/j4YJeetzLLDlHLojdDahyTsy+Ft/CU /2lEWqCYQZO867PNiNhkRIAKaeQcHsbjKt9iecGa2BPkY+wIaXuBigrvrcO0B8lhD+kJ BWYpTZkvUVbefw5RjHX0xSrCgs2WYVt+ZKvCU= Received: by 10.114.74.7 with SMTP id w7mr2699376waa.210.1281757054251; Fri, 13 Aug 2010 20:37:34 -0700 (PDT) Received: from chateau.d.if ([122.163.153.240]) by mx.google.com with ESMTPS id c10sm5951484wam.1.2010.08.13.20.37.30 (version=TLSv1/SSLv3 cipher=RC4-MD5); Fri, 13 Aug 2010 20:37:32 -0700 (PDT) Sender: Ashish SHUKLA Received: from chateau.d.if (chateau.d.if [IPv6:::1]) by chateau.d.if (Postfix) with ESMTP id 6A8D14ACB4; Sat, 14 Aug 2010 09:07:25 +0530 (IST) From: ashish@FreeBSD.org (Ashish SHUKLA) To: jaymax Organization: The FreeBSD Project References: <29425269.post@talk.nabble.com> <86tymyq5bq.fsf@chateau.d.if> <29431829.post@talk.nabble.com> X-Face: )vGQ9yK7Y$Flebu1C>(B\gYBm)[$zfKM+p&TT[[JWl6:]S>cc$%-z7-`46Zf0B*syL.C]oCq[upTG~zuS0.$"_%)|Q@$hA=9{3l{%u^h3jJ^Zl; t7 X-Uptime: 8:58AM up 18 mins, 3 users, load averages: 0.23, 0.40, 0.31 X-URL: http://762e5e74.wordpress.com/ X-Operating-System: FreeBSD/FreeBSD 8.1-RELEASE/amd64 X-OpenPGP-ID: E74FA4B0 X-OpenPGP-Fingerprint: F682 CDCC 39DC 0FEA E116 20B6 C746 CFA9 E74F A4B0 X-Mailer: Gnus v5.13 X-Mail-Morse: .-- .- .... .--- .- ...- .- .--.-. --. -- .- .. .-.. .-.-.- -.-. --- -- X-Attribution: =?utf-8?B?4KSG4KS24KWA4KS3?= Organisation: The FreeBSD Project Date: Sat, 14 Aug 2010 09:07:20 +0530 In-Reply-To: <29431829.post@talk.nabble.com> (jaymax's message of "Fri, 13 Aug 2010 11:33:32 -0700 (PDT)") Message-ID: <86ocd5hnkf.fsf@chateau.d.if> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/24.0.50 (amd64-portbld-freebsd8.1) Face: iVBORw0KGgoAAAANSUhEUgAAADAAAAAwBAMAAAClLOS0AAAAJ1BMVEWpqal/f39tbW1jY2Md HR2goKCenp6UlJROTk7////9/f35+fnT09ORJdieAAACVklEQVQ4jXXUP2vbQBQA8AvUTkgz5OzY Z0iGWhpS6BSrkECn0mvx0MEJ6AjtYrfoBCVDlD8naJYmNlRfwZq8+mkKlIZaGpJSYmP7Q/XkJDrJ Td8i/H68u3vHPaPufwLdf32AMA4A6GcAgvAamY1pOJiDIFqicTwLswDhfr3uxfFtkAY/GFHPMwzD 8zpnACmIOnE6js7rQb+v4NJrG9od0C+QgpHMy5jBewV+UDSMWiw1Y4fWfyV7+NGFzDsYa3pth9LJ Q4XvXxFHcJRvHOmygn5NAEabnDcQQguarnfoiwSCJ99jmKKcphsZONmWsDK9Ro7cvZOCtQdg8nje egLhc2LNlkLmsezzTFUUy5w18ocox/f0LaLgJy0zO75zk+9pp85GAj36xjqhdI0y3tq2m4dqqcWX zQWBTz8L1irvolXV4J+3q7eCDgVnttjNq6X8H+9KOZsuNk1uCzx8pSp+E9HImfJOTLdcGqo+YKnG EIovizkEn48V7BO+ch2DXcD4ENSpWiU+q8hjjbgTBZCXnZtyj0Ws4Q1Q0B2WXFtYZo65Bbyeeldw RS6qFueM80LlLA29YlVwGRYvFD+kwI/0O+A2PlpOP9GwslUVciHuYGechuBTp922YiDZCrghTknm XSyOM+D3aoRZlo0Jb42zY7DN4p2x4AeZ+QAYutx1sHwTHzMT5cMNduQ9yW3GczN4KZ86kb0c9O8T yXDeFqpl2fryPEAYGXIlezAPXYh2NgVr/gvdoHIuDwuPwOhcWE8f8mmICq41eATkn8x0kuRTIKcB wE9+/QUtiiAnYcaN7wAAAABJRU5ErkJggg== MIME-Version: 1.0 Content-Type: multipart/signed; boundary="=-=-="; micalg=pgp-sha512; protocol="application/pgp-signature" Cc: freebsd-questions@freebsd.org Subject: Re: Telnet => servname ai_socktype error X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 14 Aug 2010 03:37:35 -0000 --=-=-= Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable jaymax writes: > telnet 0 smtp > is the same as > telnet localhost 25=20 > or=20 > telnet localhost smtp #v+ % getent hosts 0 0.0.0.0 0 % telnet 0 25 Trying 0.0.0.0... Connected to 0. Escape character is '^]'. 220 chateau.d.if ESMTP ^] telnet> quit Connection closed. #v- I wasn't expecting this to even work. I hope this connecting to the wild-ca= rd address only works on the same box. And sorry I didn't know that connecting to 0.0.0.0 actually connects to 127.0.0.1. But its interesting how 'getent hosts' returns an IPv4 address when given a 32-bit number as hostname. =2D-=20 Ashish SHUKLA | GPG: F682 CDCC 39DC 0FEA E116 20B6 C746 CFA9 E74F A4B0 freebsd.org!ashish | http://people.freebsd.org/~ashish/ =E2=80=9CA designer knows he has achieved perfection not when there is noth= ing left to add, but when there is nothing left to take away.=E2=80=9D (Antoine= de Saint-Exup=C3=A9ry) --=-=-= Content-Type: application/pgp-signature -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.16 (FreeBSD) iQIcBAEBCgAGBQJMZg90AAoJEMdGz6nnT6SwhqkP/04RTZ+rSaD6Meo/uwB6PUO0 n9SqmYQfITu9r3pPUVeyz2xg2r3gRil25qSSTI8Rjdm20Qo7YiTxmZQ8xj5IXU8n INklu6CsW+aEYSOn2MYCNm2R25V2UdaTivjys9px05kbCOtuEm7yMFzpOAg9hmCo cCdV81oZgYYRrFKSBMXz75zgjCV4fynlQN/ds/lTNRWGjd4U8a3HRxixWstP7Ug/ klvbTxwuQwZu0fH6cNOMw+ROmsXD3/LdoovxbAnFlM5McUx9K4t9z/UhPGJCRznE ejiMamvq3m0r/M2LgkkUiqpAZvoF4C7uG+HCXPLT4NZrICmMYqEp6/XzbScCoFvT +9V71Xc36sgFWh4f4gxiF4+FjnFDHLGyFWNHFIb45ToSpq2cprGJtRYPb5qEXgPr diyDlP8PmJmYnaNcyoZT9SUyFTVtUPmZsvZ1XpoehiJJnQValbamaGYrLafdCHMD y3FXPy0pEA+wiWMhqrWZyxiY7FCqxi8EmNvp7iwBA9kUTVhX5hz45lcArP9qQ3h1 /lOUyWMvMY56gR6t9Y7JpOdHcWW1X9rcTiOOwY1bKxadLebaMBV75A8zmk2Or0eJ 0XgSyXSJiGHOp1Y271JBb+rLgN9fKKZMMK5EHA7RU6Dttm76gvA3Zfwt8oFx9n4X 4LK1yRAQAWSxXAexbaXe =M1RB -----END PGP SIGNATURE----- --=-=-=--