Thread View: news.software.nntp
6 messages
6 total messages
Started by zeffer
Wed, 11 May 2011 14:20
ssl setup on port 563
Author: zeffer
Date: Wed, 11 May 2011 14:20
Date: Wed, 11 May 2011 14:20
36 lines
2443 bytes
2443 bytes
I was looking at thie url and trying to set up inn2/nnrpd on port 563 the version I have installed is 2.5.2-2~squeeze1 I already have a the postfix mta cert tls enabled as well as https on port 443 I think all I need do is create a cert? as per the the url below and change the path to /usr/lib/news ?(mine is installed with apt-get) http://www.linuxcertif.com/man/8/nnrpd/305436/ and also http://www.eyrie.org/~eagle/software/inn/docs-2.4/nnrpd.html Finally from the 2nd url which reads You will therefore need to arrange for nnrpd to listen on that port through some other means. This can be done with the -D flag (and -P 563), but the easiest way is probably to add a line like: nntps stream tcp nowait news /usr/lib/news/bin/nnrpd nnrpd -S to /etc/inetd.conf or the equivalent on your system and let inetd run nnrpd. (Change the path to nnrpd to match your installation if needed.) You may need to replace nntps with 563 if nntps isn't defined in /etc/ services on your system. so other than create a cert and adding the line to /etc/inetd.conf is anything else required perhaps in inn.conf amend the port to 119,563?
Re: ssl setup on port 563
Author: Julien ÉLIE
Date: Wed, 11 May 2011 16:29
Date: Wed, 11 May 2011 16:29
32 lines
2109 bytes
2109 bytes
> I was looking at thie url and trying to set up
> inn2/nnrpd on port 563 the version I have installed
> is 2.5.2-2~squeeze1
>
> http://www.eyrie.org/~eagle/software/inn/docs-2.4/nnrpd.html
Please see the page for INN 2.5:
http://www.eyrie.org/~eagle/software/inn/docs-2.5/nnrpd.html
The "TLS SUPPORT" section will give you all the details you need, and
also the answers to the other questions of your mail.
There are parameters to change in inn.conf.
> so other than create a cert and adding the line to /etc/inetd.conf
I recommend, especially on Debian, to edit your /etc/init.d/inn2 init
script to add:
su news -c '<pathbin>/nnrpd -D -p 563 -S'
in the start section, where <pathbin> is the path to nnrpd, and:
su news -c 'killall nnrpd'
in the stop section.
--
Julien ÉLIE
« Ex nihilo nihil. » (Perse)
Re: ssl setup on port 563
Author: Tony
Date: Wed, 11 May 2011 17:24
Date: Wed, 11 May 2011 17:24
34 lines
2430 bytes
2430 bytes
In news.software.nntp, Julien ÉLIE <iulius@nom-de-mon-site.com.invalid> wrote: >> I was looking at thie url and trying to set up >> inn2/nnrpd on port 563 the version I have installed >> is 2.5.2-2~squeeze1 >> >> http://www.eyrie.org/~eagle/software/inn/docs-2.4/nnrpd.html > >Please see the page for INN 2.5: > http://www.eyrie.org/~eagle/software/inn/docs-2.5/nnrpd.html > >The "TLS SUPPORT" section will give you all the details you need, and >also the answers to the other questions of your mail. >There are parameters to change in inn.conf. > > > >> so other than create a cert and adding the line to /etc/inetd.conf > >I recommend, especially on Debian, to edit your /etc/init.d/inn2 init >script to add: > > su news -c '<pathbin>/nnrpd -D -p 563 -S' > >in the start section, where <pathbin> is the path to nnrpd, and: Just out of interest, why that way and not via an inetd entry? -- Tony Evans Saving trees and wasting electrons since 1993 blog -> http://perceptionistruth.com/ books -> http://www.bookthing.co.uk/ [ anything below this line wasn't written by me ]
Re: ssl setup on port 563
Author: zeffer
Date: Wed, 11 May 2011 18:21
Date: Wed, 11 May 2011 18:21
5 lines
1492 bytes
1492 bytes
thanks to posters just to be clear would my path in this case for the openssl key be / usr/lib/news?
Re: ssl setup on port 563
Author: Julien ÉLIE
Date: Wed, 11 May 2011 19:09
Date: Wed, 11 May 2011 19:09
20 lines
1914 bytes
1914 bytes
Hi Tony, >> I recommend, especially on Debian, to edit your /etc/init.d/inn2 init >> script to add: >> >> su news -c '<pathbin>/nnrpd -D -p 563 -S' >> >> in the start section, where<pathbin> is the path to nnrpd, and > > Just out of interest, why that way and not via an inetd entry? I thought a init.d script was more Debian-like than an inetd entry. This way, I just start, restart and stop the inn2 service without any more question. "inn2 stop" will stop INN, including its TLS-listening nnrpd. "inn2 start" will start INN and all what it needs. -- Julien ÉLIE « Ex nihilo nihil. » (Perse)
Re: ssl setup on port 563
Author: Tony
Date: Wed, 11 May 2011 21:34
Date: Wed, 11 May 2011 21:34
26 lines
2367 bytes
2367 bytes
In news.software.nntp, Julien ÉLIE <iulius@nom-de-mon-site.com.invalid> wrote: >Hi Tony, > >>> I recommend, especially on Debian, to edit your /etc/init.d/inn2 init >>> script to add: >>> >>> su news -c '<pathbin>/nnrpd -D -p 563 -S' >>> >>> in the start section, where<pathbin> is the path to nnrpd, and >> >> Just out of interest, why that way and not via an inetd entry? > >I thought a init.d script was more Debian-like than an inetd entry. >This way, I just start, restart and stop the inn2 service without any >more question. "inn2 stop" will stop INN, including its TLS-listening >nnrpd. "inn2 start" will start INN and all what it needs. That's fine, I just wondered :) -- Tony Evans Saving trees and wasting electrons since 1993 blog -> http://perceptionistruth.com/ books -> http://www.bookthing.co.uk/ [ anything below this line wasn't written by me ]
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