Article View: news.software.nntp
Article #76051Re: SSL support in INN 2.5
From: Iulius
Date: Mon, 23 Apr 2007 13:10
Date: Mon, 23 Apr 2007 13:10
129 lines
5071 bytes
5071 bytes
En réponse à Russ Allbery :
>> Well, would it be please possible to add the port 563 when you have
>> time?
>
> Yup. Will do.
Thanks!
>> Would it be please possible to update samples/inn.conf.in, providing
>> the new options? (it would be easier for people who migrate)
>
> Huh, I could have sworn they were. Yes, they should be added.
--- trunk/samples/inn.conf.in (revision 7606)
+++ trunk/samples/inn.conf.in (working copy)
@@ -61,13 +61,13 @@
enableoverview: true
groupbaseexpiry: true
mergetogroups: false
+nfswriter: false
overcachesize: 15
#ovgrouppat:
storeonxref: true
useoverchan: false
wireformat: false
xrefslave: false
-nfswriter: false
# Reading
@@ -76,14 +76,18 @@
clienttimeout: 600
initialtimeout: 10
msgidcachesize: 10000
+nfsreader: false
+nfsreaderdelay: 60
nnrpdcheckart: true
+nnrpdloadlimit: 16
noreader: false
readerswhenstopped: false
readertrack: false
-nfsreader: false
-nfsreaderdelay: 60
+#tlscafile:
+#tlscapath:
+#tlscertfile: @prefix@/lib/cert.pem
+#tlskeyfile: @prefix@/lib/key.pem
tradindexedmmap: true
-nnrpdloadlimit: 16
# Reading -- Keyword Support
#
@@ -143,6 +147,7 @@
nnrpdoverstats: false
nntpactsync: 200
nntplinklog: false
+#stathist: @LOGDIR@
status: 0
timer: 0
Morevover:
* dontrejectfiltered should be between bindaddress6
and hiscachesize in inn.conf manpage.
* The following options should be in the reading section
(and not in article storage) in inn.conf manpage,
and at their right alphabetical place:
nfsreader
nfsreaderdelay
msgidcachesize
tradindexedmmap
* You can also review the alphabetical sorting in article
storage and readin (inn.conf manpage).
>> I notice the documentation <http://www.eyrie.org/~eagle/software/inn/docs/inn.conf.html>
>> mentions that. Thanks for having pointed it to me!
>> By the way, there is a little mistake: « The default value is pathnews/lib/cert.pem. »
>> should be « key.pem » for « tlskeyfile ».
In innconf.c:
if (innconf->tlscertfile == NULL)
innconf->tlscertfile = concatpath(innconf->pathnews, "lib/cert.pem");
if (innconf->tlskeyfile == NULL)
- innconf->tlskeyfile = concatpath(innconf->pathnews, "lib/cert.pem");
+ innconf->tlskeyfile = concatpath(innconf->pathnews, "lib/key.pem");
It should be better (it is more consistent with the behaviour of « make cert »).
And also change inn.conf manpage to tell that.
>> But... why is it called a « default value » if it is unset when I run « nnrpd -S »?
>
> No idea. I'll try to investigate if I can find some time.
Found it:
#ifdef HAVE_SSL
{ K(tlscafile), STRING ("") },
{ K(tlscapath), STRING ("") },
{ K(tlscertfile), STRING ("") },
{ K(tlskeyfile), STRING ("") },
#endif /* HAVE_SSL */
They should be STRING (NULL)...
> Thank you very much for your testing and reports!
You're welcome.
By the way, I understand why lots of INN do not have control articles enabled
by default even though they have a pgp/gpg implementation.
I also have @DO_PGPVERIFY@=false by default.
Yet, I have gpg installed (binary /usr/bin/gpgv).
I believe that $PATH_GPGV is unset; that is why @DO_PGPVERIFY@=false.
What can be done instead of that? `where gpgv`? (and also pgp/gpg)
--
Iulius
« Ad iura renunciata, non datur regressus. »
Technical Details
Message-ID:
<f0ib8e$t5h$1@guepard.ecp.fr>Path:
mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!archive.pugleaf.net!archive.newsdeef.eu!mbox2nntp-news.software.nntp.20141118.mbox.gz!number1.nntp.dca.giganews.com!border1.nntp.dca.giganews.com!nntp.giganews.com!newsfeed00.sul.t-online.de!t-online.de!storethat.news.telefonica.de!telefonica.de!news.germany.com!news.ecp.fr!not-for-mailReferences:
<f0g32k$83v$1@guepard.ecp.fr> <87bqhgtbtl.fsf@windlord.stanford.edu> <f0gjhb$p5j$1@guepard.ecp.fr> <87k5w4q96b.fsf@windlord.stanford.edu>Show Full Headers
Complete Article Headers
Message-ID: <f0ib8e$t5h$1@guepard.ecp.fr> Subject: Re: SSL support in INN 2.5 Date: Mon, 23 Apr 2007 15:10:41 +0200 From: Iulius <iulius@nom-de-mon-site.com.invalid> References: <f0g32k$83v$1@guepard.ecp.fr> <87bqhgtbtl.fsf@windlord.stanford.edu> <f0gjhb$p5j$1@guepard.ecp.fr> <87k5w4q96b.fsf@windlord.stanford.edu> Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!archive.pugleaf.net!archive.newsdeef.eu!mbox2nntp-news.software.nntp.20141118.mbox.gz!number1.nntp.dca.giganews.com!border1.nntp.dca.giganews.com!nntp.giganews.com!newsfeed00.sul.t-online.de!t-online.de!storethat.news.telefonica.de!telefonica.de!news.germany.com!news.ecp.fr!not-for-mail Newsgroups: news.software.nntp Organization: Gens Iulia -- http://www.trigofacile.com/ Lines: 129 NNTP-Posting-Host: goret.via.ecp.fr Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-15 Content-Transfer-Encoding: 8bit X-Trace: guepard.ecp.fr 1177333838 29873 138.195.145.22 (23 Apr 2007 13:10:38 GMT) X-Complaints-To: ingesys@cti.ecp.fr NNTP-Posting-Date: Mon, 23 Apr 2007 13:10:38 +0000 (UTC) User-Agent: Thunderbird 2.0.0.0 (Windows/20070326) In-Reply-To: <87k5w4q96b.fsf@windlord.stanford.edu>