From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from lists.gentoo.org ([140.105.134.102] helo=robin.gentoo.org) by nuthatch.gentoo.org with esmtp (Exim 4.54) id 1FNsPs-000545-IL for garchives@archives.gentoo.org; Mon, 27 Mar 2006 14:09:56 +0000 Received: from robin.gentoo.org (localhost [127.0.0.1]) by robin.gentoo.org (8.13.6/8.13.5) with SMTP id k2RE9DdH005081; Mon, 27 Mar 2006 14:09:13 GMT Received: from wproxy.gmail.com (wproxy.gmail.com [64.233.184.238]) by robin.gentoo.org (8.13.6/8.13.5) with ESMTP id k2RE4jgR012597 for ; Mon, 27 Mar 2006 14:04:46 GMT Received: by wproxy.gmail.com with SMTP id 57so2249700wri for ; Mon, 27 Mar 2006 06:04:45 -0800 (PST) DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=beta; d=gmail.com; h=received:message-id:date:from:to:subject:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references; b=MkblLKoA6ZJIfiu5FToeKn0J27TFO7USXhBCTprkyK76egJ+YMH/xp0FTp9THClcokxUWec59Pq4GA2++KmF1fVQOEXpWnQn8/0eq/DhJsB4OyWg34UaCj8gNR0adj5LBEig7gZb7EVUaPa0YepqdmYm50Yv0OThskp3haEKE0E= Received: by 10.54.86.13 with SMTP id j13mr2916458wrb; Mon, 27 Mar 2006 06:04:45 -0800 (PST) Received: by 10.54.66.7 with HTTP; Mon, 27 Mar 2006 06:04:44 -0800 (PST) Message-ID: Date: Mon, 27 Mar 2006 15:04:44 +0100 From: "THUFIR HAWAT" To: gentoo-user@lists.gentoo.org Subject: Re: [gentoo-user] telnet localhost In-Reply-To: <3704.195.195.247.129.1143454753.squirrel@mail.mattstone.net> Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-user@gentoo.org Reply-to: gentoo-user@lists.gentoo.org MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Disposition: inline References: <4427A183.3070103@mid.message-center.info> <3704.195.195.247.129.1143454753.squirrel@mail.mattstone.net> Content-Transfer-Encoding: 8bit X-MIME-Autoconverted: from quoted-printable to 8bit by robin.gentoo.org id k2RE4jgR012597 X-Archives-Salt: fdcf18ac-32ee-43cf-9295-4fa586bae304 X-Archives-Hash: cea616567aed0aaf0d0074c725531d8f On 3/27/06, Matt Richards wrote: > > THUFIR HAWAT wrote: > > > >> Why can I not telnet to my own localhost? > > > > Is leafnode enabled? Or is it still disabled? > > > > Check your xinetd configuration. I think it's enabled, see below. > > Alexander Skwar > > -- > > People who go to conferences are the ones who shouldn't. > > -- > > gentoo-user@gentoo.org mailing list > > > > > you might want to also try a > netstat -an > and see if your computer is listerning on the nntp port > and if it is what interface(s) is it listerning on ? None, apparently--see below. > -- > gentoo-user@gentoo.org mailing list > > thufir@localhost ~ $ thufir@localhost ~ $ thufir@localhost ~ $ cat -n /etc/hosts 1 # /etc/hosts: This file describes a number of hostname-to-address 2 # mappings for the TCP/IP subsystem. It is mostly 3 # used at boot time, when no name servers are running. 4 # On small systems, this file can be used instead of a 5 # "named" name server. Just add the names, addresses 6 # and any aliases to this file... 7 # $Header: /home/cvsroot/gentoo-src/rc-scripts/etc/hosts,v 1.8 2003/08/04 20:12:25 azarah Exp $ 8 # 9 10 #127.0.0.1 localhost 11 127.0.0.1 hawat.thufir.invalid arrakis localhost 12 192.168.0.2 gravity.twi-31o2.org gravity thufir@localhost ~ $ cat -n /etc/leafnode/config 1 ## Unread articles will be deleted after this many days if 2 ## you don't define special expire times. Mandatory. 3 expire = 20 4 5 ## This is the NNTP server leafnode fetches its news from. 6 ## You need read and post access to it. Mandatory. 7 server = shawnews.vc.shawcable.net 8 9 10 hostname = hawat.thufir.invalid 11 12 initialfetch = 5 thufir@localhost ~ $ cat -n /etc/xinetd.conf 1 # /etc/xinetd.conf: sample configuration file for xinetd 2 3 defaults 4 { 5 only_from = localhost 6 instances = 60 7 log_type = SYSLOG authpriv info 8 log_on_success = HOST PID 9 log_on_failure = HOST 10 cps = 25 30 11 } 12 13 includedir /etc/xinetd.d thufir@localhost ~ $ cat -n /etc/xinetd.d/leafnode-nntp 1 # default: off 2 # description: Leafnode - accepts connections on port 119 (NNTP) 3 4 service nntp 5 { 6 socket_type = stream 7 protocol = tcp 8 wait = no 9 user = news 10 server = /usr/sbin/leafnode 11 disable = no 12 } thufir@localhost ~ $ netstat -an | grep nntp thufir@localhost ~ $ date Mon Mar 27 14:59:55 IST 2006 thufir@localhost ~ $ Is it a problem with the FQDN? On re-reading the FAQ, I changed the hostname as I don't own gmail.com, but I *do* have an account with gmail, so... I also have a thread on news.softwear.readers, pardon for the multiposting. I was just trying to address the telnet issue here. Most of what's been written in reply goes over my head. -Thufir -- gentoo-user@gentoo.org mailing list