Thread View: news.software.nntp
7 messages
7 total messages
Started by dunno
Sun, 16 Oct 2016 11:09
require_ssl
Author: dunno
Date: Sun, 16 Oct 2016 11:09
Date: Sun, 16 Oct 2016 11:09
24 lines
1574 bytes
1574 bytes
I'm having a weird error... Perhaps I'm missing something obvious?
I have auth groups in my readers.conf such as
auth "encrypted" {
require_ssl: true
default: "<encrypted>"
}
NNRPD don't like the line with "require_ssl: true", it closes connection
and writes to log something like this:
.... syntax error in /usr/local/news/etc/readers.conf(67), Unexpected token
'true'.
I thought token suppose to be "true". "On" and "yes" also are "unexpected".
Running INN 2.6.0 on Linux.
Thank you.
--
dunno
Re: require_ssl
Author: Julien ÉLIE
Date: Sun, 16 Oct 2016 12:42
Date: Sun, 16 Oct 2016 12:42
29 lines
1923 bytes
1923 bytes
Hi dunno,
> I'm having a weird error... Perhaps I'm missing something obvious?
Is INN built with TLS/SSL support?
> I have auth groups in my readers.conf such as
>
> auth "encrypted" {
> require_ssl: true
> default: "<encrypted>"
> }
>
> NNRPD don't like the line with "require_ssl: true", it closes connection
> and writes to log something like this:
The above auth group is correct.
Maybe the issue comes from another auth group, and the syntax becomes
incorrect only later.
--
Julien ÉLIE
« – Ils devraient pourtant savoir que le sanglier c'est sacré pour
nous.
– Et toi, tu as une sacrée façon de l'adorer. » (Astérix)
Re: require_ssl
Author: Gérald Niel
Date: Sun, 16 Oct 2016 13:54
Date: Sun, 16 Oct 2016 13:54
22 lines
1778 bytes
1778 bytes
Le Dimanche 16 octobre 2016 à 12:42 UTC, Julien ÉLIE écrivait sur news.software.nntp : >> I'm having a weird error... Perhaps I'm missing something obvious? > Is INN built with TLS/SSL support? Hi Julien, is it needeed to launch two nnrpd? And if yes, how to that in rc.news(.local)? I've modified the launch script in the rc.d off FreeBSD, but it is not the best way I think. @+ -- On ne le dira jamais assez, l'anarchisme, c'est l'ordre sans le gouvernement ; c'est la paix sans la violence. C'est le contraire précisément de tout ce qu'on lui reproche, soit par ignorance, soit par mauvaise foi. -+- Hem Day -+-
Re: require_ssl
Author: Gérald Niel
Date: Sun, 16 Oct 2016 14:04
Date: Sun, 16 Oct 2016 14:04
27 lines
1920 bytes
1920 bytes
(supersedes) Le Dimanche 16 octobre 2016 à 12:42 UTC, Julien ÉLIE écrivait sur news.software.nntp : >> I'm having a weird error... Perhaps I'm missing something obvious? > Is INN built with TLS/SSL support? Hi Julien, is it needeed to launch two nnrpd? And if yes, how to that in rc.news(.local)? I've modified the launch script in the rc.d off FreeBSD, but it is not the best way I think. I think I must do something in inn.conf for nnrpdflags. I'll read the doc... ;) @+ -- On ne le dira jamais assez, l'anarchisme, c'est l'ordre sans le gouvernement ; c'est la paix sans la violence. C'est le contraire précisément de tout ce qu'on lui reproche, soit par ignorance, soit par mauvaise foi. -+- Hem Day -+-
Re: require_ssl
Author: dunno
Date: Sun, 16 Oct 2016 17:58
Date: Sun, 16 Oct 2016 17:58
34 lines
2011 bytes
2011 bytes
Julien ÉLIE <iulius@nom-de-mon-site.com.invalid> wrote:
> Hi dunno,
>
>> I'm having a weird error... Perhaps I'm missing something obvious?
>
> Is INN built with TLS/SSL support?
That was the problem. I thought that I have OpenSSL library installed, so I
didn't specify --with-openssl option thinking that configure would pick it
up automatically. I installed the library and rebuilt INN, works fine now.
Thank you.
>> I have auth groups in my readers.conf such as
>>
>> auth "encrypted" {
>> require_ssl: true
>> default: "<encrypted>"
>> }
>>
>> NNRPD don't like the line with "require_ssl: true", it closes connection
>> and writes to log something like this:
>
> The above auth group is correct.
> Maybe the issue comes from another auth group, and the syntax becomes
> incorrect only later.
>
--
dunno
Re: require_ssl
Author: Julien ÉLIE
Date: Sun, 16 Oct 2016 18:31
Date: Sun, 16 Oct 2016 18:31
31 lines
2334 bytes
2334 bytes
Bonjour Gérald, > is it needeed to launch two nnrpd? If you want to accept readers on NNTP/TLS port 563, you need an nnrpd daemon listening on that port. Note that you do not launch "two nnrpd" but innd on port 119 and nnrpd on port 563. innd on port 119 will handle the connection to nnrpd if it does not know the client as a peer, but nnrpd is not listening on port 119. > And if yes, how to that in rc.news(.local)? > I've modified the launch script in the rc.d off FreeBSD, but it is not > the best way I think. https://www.eyrie.org/~eagle/software/inn/docs/install.html Section "Starting and Stopping the System". Yes, the common way is to add a line in the init script to start/stop the nnrpd daemon on port 563. Also see the sample init script: https://inn.eyrie.org/trac/browser/trunk/contrib/sample.init.script -- Julien ÉLIE « – Ils transportent une arme secrète dans un tonneau ! – La cervoise tiède !!! – Non, ça c'est une arme connue. » (Astérix)
Re: require_ssl
Author: Gérald Niel
Date: Tue, 18 Oct 2016 06:08
Date: Tue, 18 Oct 2016 06:08
19 lines
1874 bytes
1874 bytes
Le Dimanche 16 octobre 2016 à 18:31 UTC, Julien ÉLIE écrivait sur news.software.nntp : > Yes, the common way is to add a line in the init script to start/stop > the nnrpd daemon on port 563. > Also see the sample init script: > https://inn.eyrie.org/trac/browser/trunk/contrib/sample.init.script OK, that's exactly what I'm doing with the start script. Nothing to do in rc.news(.local). ;) @+ -- On ne le dira jamais assez, l'anarchisme, c'est l'ordre sans le gouvernement ; c'est la paix sans la violence. C'est le contraire précisément de tout ce qu'on lui reproche, soit par ignorance, soit par mauvaise foi. -+- Hem Day -+-
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