🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Thread View: news.software.nntp
12 messages
12 total messages Started by stupid Mon, 03 Apr 2000 00:00
change port of inn
#45505
Author: stupid
Date: Mon, 03 Apr 2000 00:00
5 lines
832 bytes
the default port is 119
can i change it to other port number? how?
thanks

Re: change port of inn
#45475
Author: Russ Allbery
Date: Sun, 02 Apr 2000 00:00
11 lines
930 bytes
stupid <stupidlui@cuhk.edu.hk> writes:

> the default port is 119 can i change it to other port number? how?

Sure.  Set port in inn.con to something else.  For transit, 433 is a good
choice.

-- 
Russ Allbery (rra@stanford.edu)             <http://www.eyrie.org/~eagle/>

Re: change port of inn
#45482
Author: Jan Chrillesen
Date: Mon, 03 Apr 2000 00:00
33 lines
1925 bytes
stupid <stupidlui@cuhk.edu.hk> wrote:

> but I cannot find an line about port in inn.conf but in innfeed.conf
> how ever, after i change the port number to 433 in innfeed.conf, and
> reboot the system,
> and use other pc to access port 433, it fails, but it succeeds with old
> port 119

In inn.conf there should be a line like:

port:                   433

innfeed is for outgoing feeds and the port-number you set in innfeed.conf is 
the port that innfeed connects to on your peers.

BTW, you don't have to reboot your machine to change the port number used by
innd. ctlinnd shutdown <reason> and restarting inn (~news/bin/rc.news)
should be sufficient.

> also , i caanot attach photo to the newsgroup

What error do you get? It's probably failing because the article to big. You
can change the maximum size of local posted articles in inn.conf with

localmaxartsize:        10000000

If you're running filtering, like cleanfeed, this could also be the reason
your articles gets rejected. In that case, add the binary group to
'bin_allowed'

/Jan

Re: change port of inn
#45501
Author: Jan Chrillesen
Date: Mon, 03 Apr 2000 00:00
11 lines
1238 bytes
stupid <stupidlui@cuhk.edu.hk> wrote:

> even i edit inn.conf and restart inn, the properties do not change

Maybe you have a copy of inn.conf left over from a previous installation and
you're editing the wrong file, or you have something else than innd spawning
your nnrpd processes, eg. inetd og DJB's tcpserver.

/Jan

Re: change port of inn
#45502
Author: stupid
Date: Tue, 04 Apr 2000 00:00
37 lines
2148 bytes
even i edit inn.conf and restart inn, the properties do not change

Jan Chrillesen wrote:
> 
> stupid <stupidlui@cuhk.edu.hk> wrote:
> 
> > but I cannot find an line about port in inn.conf but in innfeed.conf
> > how ever, after i change the port number to 433 in innfeed.conf, and
> > reboot the system,
> > and use other pc to access port 433, it fails, but it succeeds with old
> > port 119
> 
> In inn.conf there should be a line like:
> 
> port:                   433
> 
> innfeed is for outgoing feeds and the port-number you set in innfeed.conf is
> the port that innfeed connects to on your peers.
> 
> BTW, you don't have to reboot your machine to change the port number used by
> innd. ctlinnd shutdown <reason> and restarting inn (~news/bin/rc.news)
> should be sufficient.
> 
> > also , i caanot attach photo to the newsgroup
> 
> What error do you get? It's probably failing because the article to big. You
> can change the maximum size of local posted articles in inn.conf with
> 
> localmaxartsize:        10000000
> 
> If you're running filtering, like cleanfeed, this could also be the reason
> your articles gets rejected. In that case, add the binary group to
> 'bin_allowed'
> 
> /Jan

Re: change port of inn
#45508
Author: stupid
Date: Tue, 04 Apr 2000 00:00
42 lines
2159 bytes
but I cannot find an line about port in inn.conf but in innfeed.conf
how ever, after i change the port number to 433 in innfeed.conf, and
reboot the system,
and use other pc to access port 433, it fails, but it succeeds with old
port 119
why??
also , i caanot attach photo to the newsgroup
attached is innfeed.conf

Russ Allbery wrote:
> 
> stupid <stupidlui@cuhk.edu.hk> writes:
> 
> > the default port is 119 can i change it to other port number? how?
> 
> Sure.  Set port in inn.con to something else.  For transit, 433 is a good
> choice.
> 
> --
> Russ Allbery (rra@stanford.edu)             <http://www.eyrie.org/~eagle/>


article-timeout:                600
response-timeout:               300
initial-connections:            1
max-connections:                5
max-queue-size:                 25
streaming:                      true
no-check-high:                  95.0
no-check-low:                   90.0
no-check-filter:                50.0
port-number:                    433
backlog-limit:                  0
backlog-factor:                 1.10
backlog-limit-highwater:        0
dynamic-method:                 3
dynamic-backlog-filter:         0.7
dynamic-backlog-low:            25.0
dynamic-backlog-high:           50.0
no-backlog:                     false

Re: change port of inn
#45516
Author: uhlar
Date: Tue, 04 Apr 2000 00:00
17 lines
1641 bytes
stupid <stupidlui@cuhk.edu.hk> wrote:
-> but I cannot find an line about port in inn.conf but in innfeed.conf
-> how ever, after i change the port number to 433 in innfeed.conf, and
-> reboot the system,
-> and use other pc to access port 433, it fails, but it succeeds with old
-> port 119
-> why??
-> also , i caanot attach photo to the newsgroup

Seems you have older version of innd that had hardcoded port number...
recompile inn and when you already do it, upgrade to newest version...
-- 
 Matus "fantomas" Uhlar, sysadmin at NEXTRA, Slovakia; IRCNET admin of *.sk
 uhlar@fantomas.sk ; http://www.fantomas.sk/ ; http://www.nextra.sk/
 2B|!2B, that's a question!

Re: change port of inn
#45763
Author: Russ Allbery
Date: Fri, 14 Apr 2000 00:00
24 lines
1741 bytes
Curt Welch <curt@kcwc.com> writes:
> heiko@cis.fu-berlin.de (Heiko Schlichting) wrote:
>> Russ Allbery <rra@stanford.edu> writes:

>>> For transit, 433 is a good choice.

>> 433 is a common choice, but is it a good one? What is NNSP?

> Network news server protocol I think.  It was defined to be used as a
> transit port for NNTP so yes, that's a good one to use.  The subject
> came up a few months ago in this group.  I don't think the "protocol"
> was ever officially defined in an RFC (or even documented), but the
> intent was to just use the NNTP transit commands on that port.

And on a practical side, inndstart in INN 2.3 will recognize it as an
allowable alternate port (anything else below 1024 you have to tell it
about at configure time, to add some paranoid preventtion of local users
using inndstart to lauch an attack on a service that relies on privileged
ports).

-- 
Russ Allbery (rra@stanford.edu)             <http://www.eyrie.org/~eagle/>

Re: change port of inn
#45771
Author: Heiko Schlichting
Date: Fri, 14 Apr 2000 00:00
13 lines
991 bytes
Russ Allbery <rra@stanford.edu> writes:
> For transit, 433 is a good choice.

433 is a common choice, but is it a good one? What is NNSP?
Until now I prefer port 532 (assigned by IANA to "netnews") instead of 433
for this purpose.

Ok, ok, it doesn't really matter which port is used unless it is not used by
other processes.

Heiko

Re: change port of inn
#45775
Author: Curt Welch
Date: Sat, 15 Apr 2000 00:00
22 lines
1699 bytes
heiko@cis.fu-berlin.de (Heiko Schlichting) wrote:
> Russ Allbery <rra@stanford.edu> writes:
> > For transit, 433 is a good choice.
>
> 433 is a common choice, but is it a good one? What is NNSP?

Network news server protocol I think.  It was defined to be used
as a transit port for NNTP so yes, that's a good one to use.  The subject
came up a few months ago in this group.  I don't think the "protocol" was
ever officially defined in an RFC (or even documented), but the intent was
to just use the NNTP transit commands on that port.

> Until now I prefer port 532 (assigned by IANA to "netnews") instead of
> 433 for this purpose.

Never heard of that.  I wonder where that came from...

-- 
Curt Welch                                            http://CurtWelch.Com/
curt@kcwc.com                          Webmaster for http://NewsReader.Com/

Re: change port of inn
#45791
Author: Heiko Schlichting
Date: Sat, 15 Apr 2000 00:00
20 lines
1365 bytes
curt@kcwc.com (Curt Welch) writes:
>heiko@cis.fu-berlin.de (Heiko Schlichting) wrote:
>> 433 is a common choice, but is it a good one? What is NNSP?
>
>Network news server protocol I think.  It was defined to be used
>as a transit port for NNTP so yes, that's a good one to use.  The subject
>came up a few months ago in this group.

Sorry.

>I don't think the "protocol" was ever officially defined in an RFC (or even
>documented), but the intent was to just use the NNTP transit commands on
>that port.

At least IANA should have some information about it. To reserve a portnumber
it is necessary to tell about the usage.

Heiko

Re: change port of inn
#45809
Author: Brad Knowles
Date: Mon, 17 Apr 2000 00:00
37 lines
2344 bytes
In article <20000414200505.488$GM@newsreader.com>, curt@kcwc.com (Curt 
Welch) wrote:

> > Until now I prefer port 532 (assigned by IANA to "netnews") instead of
> > 433 for this purpose.
> 
> Never heard of that.  I wonder where that came from...

    My FreeBSD 3.2-RELEASE machine defines the following news/nntp 
related ports:

$ egrep '(nn.p|news)' /etc/services
tacnews          98/tcp    #TAC News
tacnews          98/udp    #TAC News
audionews       114/tcp    #Audio News Multicast
audionews       114/udp    #Audio News Multicast
nntp            119/tcp    usenet       #Network News Transfer Protocol
nntp            119/udp    usenet       #Network News Transfer Protocol
nnsp            433/tcp
nnsp            433/udp
netnews         532/tcp    readnews
netnews         532/udp    readnews
nntps           563/tcp    snntp        #nntp protocol over TLS/SSL
nntps           563/udp    snntp        #nntp protocol over TLS/SSL
news            2009/tcp

    Of course, ports 98 & 114 are bogus hits, but any and/or all of the 
others are potentially useful under these sorts of circumstances.

-- 
Brad Knowles <brad@shub-internet.org> <http://www.shub-internet.org/brad/>

Are you a news server administrator outside of North America and Western
Europe?  If so, and you're interested in getting a newsfeed from a server
in the Freenix Top 50, please send me private e-mail for details.

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