Thread View: news.software.nntp
5 messages
5 total messages
Started by Dr. Todd D. Vance
Sat, 09 Nov 2002 21:37
Can't connect to Leafnode on RH Linux 7.3 from Win XP Home edition
Author: Dr. Todd D. Vance
Date: Sat, 09 Nov 2002 21:37
Date: Sat, 09 Nov 2002 21:37
53 lines
3095 bytes
3095 bytes
Anybody know what's wrong? Here is the situation.
I have a box running Red Hat Linux version 2.4.18-3 (from 7.3 distro) in
which I just installed Leafnode version 1.9.27. I have a Windows XP (home
edition) box as well. They are connected together through a NetGear router.
News seems to work fine (with "trn") on the Linux box by setting $NNTPSERVER
either to localhost or the 192.168... address assigned by the router. I
also get reasonable results telnetting to port 119 locally. Likewise, I can
telnet to the Linux box from the Wintel box on the ordinary "telnet" port
without any trouble. However, I cannot connect to the news server from the
Wintel. If I type "telnet 192.168.0.4 119" at the Windows command prompt, I
get the unenlightening message:
Connecting To 192.168.0.4...Could not open connection to the host, on port
119: Connect failed
I have already tried jumping through the "allow strangers" hoops, but that
didn't work. I also tried (temporarily) getting rid of the "leafnode: ALL"
line in hosts.deny to see if that's what was stopping things. I also
checked the router's configuration mechanism to see if any ports were
blocked and found nothing.
FWIW, here is my leafnode config file:
service nntp
{
disable = no
flags = REUSE
wait = no
user = news
port = 119
protocol = tcp
server = /usr/local/sbin/leafnode
log_on_failure += USERID
}
I think the port field is ignored as I replaced it with "8119" to see if
connecting through a different port would work, but it still listened on
port 119 after restart.
I also found no other news servers running that could compete with this one
to cause the trouble.
Todd
--
Dr. Todd D. Vance, Baltimore, MD
email_todd.marylandnntp@verizon.net_call me
by name within the first five lines to avoid
SPAM filter.
Re: Can't connect to Leafnode on RH Linux 7.3 from Win XP Home edition
Author: Joerg Dietrich
Date: Sun, 10 Nov 2002 15:25
Date: Sun, 10 Nov 2002 15:25
38 lines
2785 bytes
2785 bytes
Dr. Todd D. Vance <todd.nospam.marylandnntp@verizon.net> wrote:
> edition) box as well. They are connected together through a NetGear router.
> News seems to work fine (with "trn") on the Linux box by setting $NNTPSERVER
> either to localhost or the 192.168... address assigned by the router. I
> also get reasonable results telnetting to port 119 locally. Likewise, I can
> telnet to the Linux box from the Wintel box on the ordinary "telnet" port
> without any trouble. However, I cannot connect to the news server from the
> Wintel. If I type "telnet 192.168.0.4 119" at the Windows command prompt, I
> get the unenlightening message:
I'm not familiar with NetGear routers. Is it possible that they
implement some sort of port filtering/firewalling?
> Connecting To 192.168.0.4...Could not open connection to the host, on port
> 119: Connect failed
If the problem you described was due to hosts.(allow|deny) this
would most likely read Connection refused, so I suspect your
router to filter on port 119.
> line in hosts.deny to see if that's what was stopping things. I also
> checked the router's configuration mechanism to see if any ports were
> blocked and found nothing.
Strange. Do you see anything in the logs of the server?
> FWIW, here is my leafnode config file:
That was your xinetd.conf and looked good.
Gru�,
Jo:rg
--
Fortune cookie of the day:
The hardest part of climbing the ladder of success is getting through
the crowd at the bottom.
Re: Can't connect to Leafnode on RH Linux 7.3 from Win XP Home edition
Author: Dr. Todd D. Vance
Date: Sun, 10 Nov 2002 21:52
Date: Sun, 10 Nov 2002 21:52
59 lines
3652 bytes
3652 bytes
Thanks for the help. I'm still working on it--see below. "Joerg Dietrich" <usenet-replies@leviathan.homedns.org> wrote in message news:kba2axor3.ln2@leviathan.homedns.org... .. .. .. > I'm not familiar with NetGear routers. Is it possible that they > implement some sort of port filtering/firewalling? > .. .. .. This seems very likely, but I've not been able to find evidence, not by turning on logging and checking it (after downloading the manual NOT provided with the router), or anything. Likewise, there's no evidence on the Linux box's log files that it is the one stopping it. I don't know where to begin on the Windows box, except with the note that I can connect to news.verizon.net with no trouble. The only evidence I have is telnetting to ports 23 and 25 from Wintel works, telnetting to 119 on localhost works, telnetting to 119 from Wintel fails after a delay, and telnetting to a random port number fails instantly. This means either: 1. leafnode or xinetd starts, fools around, then fails, or 2. the SYN packet doesn't make it through for port 119 and Win-Telnet is waiting for the ACK. #1 SHOULD show up in logs, but doesn't. Really, #2 should too, but I'm less sure of that. Likely scenario number one is the router--and I've just e-mailed Netgear tech support in hope for an answer--an unlogged block to 119 might be a "feature." But there are two more scenarios, in case someone knows something about this: Suppose some nntp server is there that I don't know about. Is there any reason xinetd would answer port 119 from a local connection, yet a broken news server would answer from a remote connection? If so, how would I figure out what that news server is? Grepping "ps aux" for "inn" or for "news" gives nothing, and neither of these appears in the /etc/xinetd.d directory. The second scenario is: anybody know if Redhat 7.2 has a port-blocking system that might not be letting xinetd get 119 packets, yet still allows telnet packets? If so, any info on reconfiguring it or turning it off? If all else fails--I guess I'll figure out how to get it to listen on port 8119 instead, on the assumption nobody would block that one, but when we assume... Todd -- Dr. Todd D. Vance, Baltimore, MD email_todd.marylandnntp@verizon.net_call me by name within the first five lines to avoid SPAM filter.
Re: Can't connect to Leafnode on RH Linux 7.3 from Win XP Home edition
Author: Jeffrey M. Vinocur
Date: Mon, 11 Nov 2002 03:01
Date: Mon, 11 Nov 2002 03:01
25 lines
1897 bytes
1897 bytes
In article <eyAz9.130$zA3.115@nwrddc02.gnilink.net>, Dr. Todd D. Vance <todd.nospam.marylandnntp@verizon.net> wrote: > >Is there any reason xinetd would answer port 119 from a local >connection, yet a broken news server would answer from a remote connection? It's possible that one thing is listening on the loopback interface and one on the external, but not likely. Check `netstat -atn | grep :119` and see what you have listening. >The second scenario is: anybody know if Redhat 7.2 >has a port-blocking system that might not be letting xinetd get 119 packets, >yet still allows telnet packets? If so, any info on reconfiguring it or >turning it off? Could be ipchains or some such, I don't know what ships by default but probably something. -- Jeffrey M. Vinocur jeff@litech.org
Re: Can't connect to Leafnode on RH Linux 7.3 from Win XP Home edition
Author: Dr. Todd D. Vance
Date: Mon, 11 Nov 2002 03:34
Date: Mon, 11 Nov 2002 03:34
28 lines
1970 bytes
1970 bytes
"Jeffrey M. Vinocur" <jeff@litech.org> wrote in message
news:aqn6if$8sj$1@puck.litech.org...
...
> Could be ipchains or some such, I don't know what ships by
> default but probably something.
>
...
Problem solved. Thanks.
It was "ipchains" that was blocking port 119. Turns out, under the main
menu ("start menu") of KDE and under the "system" submenu, there's a
"firewall" entry that interfaces with that (I did something wrong trying to
manually change this, so I let the GUI do it). I guess I had forgotten
there was a desktop menu to look in.
Todd
--
Dr. Todd D. Vance, Baltimore, MD
email_todd.marylandnntp@verizon.net_call me
by name within the first five lines to avoid
SPAM filter.
Thread Navigation
This is a paginated view of messages in the thread with full content displayed inline.
Messages are displayed in chronological order, with the original post highlighted in green.
Use pagination controls to navigate through all messages in large threads.
Back to All Threads