newsreader connecting on port 563

Matthias Apitz guru at unixarea.de
Thu Feb 5 15:58:50 UTC 2015


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 at 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.


More information about the freebsd-questions mailing list