Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 5 Feb 2015 15:11:06 +0100
From:      Matthias Apitz <guru@unixarea.de>
To:        Anton Shterenlikht <mexas@bris.ac.uk>
Cc:        freebsd-questions@freebsd.org
Subject:   Re: newsreader connecting on port 563
Message-ID:  <20150205141106.GA2944@c720-r276659>
In-Reply-To: <201502041433.t14EXuxQ006173@mech-as221.men.bris.ac.uk>
References:  <201502041433.t14EXuxQ006173@mech-as221.men.bris.ac.uk>

next in thread | previous in thread | raw e-mail | index | archive | help
El día Wednesday, February 04, 2015 a las 06:33:58AM -0800, Anton Shterenlikht escribió:

> I've been happily using nn, connecting to aioe.org
> on default port 119. Something happened, perhaps with
> the university firewall, or something else. A colleague
> tells me he can connect to aioe.org on port 563 using
> some MS based newsreader.
> 
> I cannot see how to tell nn to connect on port 563.
> 
> Is there a way?

Hello,

Re/ nn, you can only do this by modifying the source:

 # fgrep 119 *
 nntp.c:#define  IPPORT_NNTP     119
 nntp.c.orig:#define     IPPORT_NNTP     119
 # fgrep IPPORT_NNTP
 nntp.c:#ifndef IPPORT_NNTP
 nntp.c:#define  IPPORT_NNTP     119
 nntp.c:    sin.sin_port = htons(IPPORT_NNTP);
 nntp.c.orig:#ifndef IPPORT_NNTP
 nntp.c.orig:#define     IPPORT_NNTP     119
 nntp.c.orig:    sin.sin_port = htons(IPPORT_NNTP);

on the other hand, it seems that the port 563 of the above server does
not offer NNTP, check with telnet.

HIH

	matthias
 

-- 
Matthias Apitz, guru@unixarea.de, http://www.unixarea.de/ +49-170-4527211
La referencia de la Duma a la anexión de la RDA, en este caso al contrario con la Crimlía sin
referéndum, no solamente tiene gracia sino da en el blanco.- 
Marinos Yannikos @MarinosYannikos en un blog de RTdeutsch.



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20150205141106.GA2944>