Article View: news.software.nntp
Article #13247Re: INN - port other than 119?
From: David C Lawrence
Date: Fri, 13 Dec 1996 00:00
Date: Fri, 13 Dec 1996 00:00
31 lines
1922 bytes
1922 bytes
drwho@l0pht.com writes: > different port, rather than the standard 119. How do I do this in INN? jerry@rigel.whowhere.com (Jerry Aguirre) writes: > Funny, according to the man page for innd: > > innd [ -a ] [ -c days ] [ -d ] [ -f ] [ -i count ] [ -o > count ] [ -l size ] [ -m mode ] [ -n flag ] [ -p port ] [ -r ] The -p option here should probably have a different word after it to clarify what it is really about. This is the option passed to innd by inndstart after inndstart has bound the Internet port it wants to use. It represents a file descriptor, the one which RCsetup() can immediately start listening on without having to bind its own IP socket. Regardless of whether inndstart or innd does the initial binding, the socket is set up on the port defined by the symbolic constant NNTP_PORT defined by include/configdata.h. Changing that will cause all relevant binding/opening of the nntp port to use the new value, because getservbyname is not used to figure it out. Be especially careful of this affecting remopen.c, which is used by inews, rnews, innxmit, &c. For some of them, it makes sense to use the new port you defined because you will be talking to your local server. For others, like innxmit, you usually will need to use the 119 value to talk to the servers of most of the rest of the world. innxmit has a -P option to let you set the port.
Technical Details
Message-ID:
<8engu5jnu.fsf@rodan.UU.NET>Path:
mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!archive.pugleaf.net!archive.newsdeef.eu!mbox2nntp-news.software.nntp.mbox.zip!not-for-mailReferences:
<850284672.17820@dejanews.com>Show Full Headers
Complete Article Headers
Message-ID: <8engu5jnu.fsf@rodan.UU.NET> Subject: Re: INN - port other than 119? Date: Fri, 13 Dec 1996 00:00:00 +0000 From: David C Lawrence <tale@uunet.uu.net> References: <850284672.17820@dejanews.com> Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!archive.pugleaf.net!archive.newsdeef.eu!mbox2nntp-news.software.nntp.mbox.zip!not-for-mail X-Deja-AN: 203953958 Newsgroups: news.software.nntp