Thread View: news.software.nntp
10 messages
10 total messages
Started by Nathan
Fri, 27 Oct 2006 20:09
no permission to talk
Author: Nathan
Date: Fri, 27 Oct 2006 20:09
Date: Fri, 27 Oct 2006 20:09
41 lines
2228 bytes
2228 bytes
Hi All,
I thought that I understood how to configure readers.conf, but I keep
getting a "no permission to talk" error. I want to give remote users
access to my newsgroups, but restrict them so that they have to use SSL
to get in. Here's my setup:
INN 2.4.3 on Red Hat Linux
readers.conf:
auth remoteUser {
require_ssl: yes
default: "<remoteUser>"
}
access remoteUser {
users: "<remoteUser>"
newsgroups: *
access: RP
}
>From what I understand, the remoteUser auth group will require
connections from all hosts to use SSL and give them the name
"<remoteUser>". The remoteUser access group will take all connections
named "<remoteUser>" and let them read and post to all newsgroups. I
compiled INN with the SSL options and have the keys and certs in place.
output from ctlinnd mode:
Server running
Allowing remote connections
Parameters c 10 i 50 (0) l 1000000 o 1011 t 300 H 2 T 60 X 0 normal
specified
Not reserved
Readers follow enabled
Any ideas about what I'm missing?
thanks,
Nathan
Re: no permission to talk
Author: Jeffrey M. Vinocur
Date: Fri, 27 Oct 2006 20:40
Date: Fri, 27 Oct 2006 20:40
15 lines
1493 bytes
1493 bytes
In article <1161979783.580690.267540@m73g2000cwd.googlegroups.com>, Nathan <ferrisn@gmail.com> wrote: > >I thought that I understood how to configure readers.conf, but I keep >getting a "no permission to talk" error. I want to give remote users >access to my newsgroups, but restrict them so that they have to use SSL >to get in. Your readers.conf looks okay. Are you using a client that supports SSL? -- Jeffrey M. Vinocur jeff@litech.org
Re: no permission to talk
Author: Nathan
Date: Sat, 28 Oct 2006 00:08
Date: Sat, 28 Oct 2006 00:08
27 lines
2074 bytes
2074 bytes
Yes. I'm using Mozilla Thunderbird and I've used it to do NNTP with SSL before. I looked in my .../log/messages log file and saw a "... [nnrpd] ... no_permission" message. Perhaps that's a clue as to what's wrong? thanks, Nathan Jeffrey M. Vinocur wrote: > In article <1161979783.580690.267540@m73g2000cwd.googlegroups.com>, > Nathan <ferrisn@gmail.com> wrote: > > > >I thought that I understood how to configure readers.conf, but I keep > >getting a "no permission to talk" error. I want to give remote users > >access to my newsgroups, but restrict them so that they have to use SSL > >to get in. > > Your readers.conf looks okay. Are you using a client that > supports SSL? > > > -- > Jeffrey M. Vinocur > jeff@litech.org
Re: no permission to talk
Author: Jeffrey M. Vinocur
Date: Sat, 28 Oct 2006 01:42
Date: Sat, 28 Oct 2006 01:42
19 lines
1703 bytes
1703 bytes
In article <1161994099.696599.25360@b28g2000cwb.googlegroups.com>, Nathan <ferrisn@gmail.com> wrote: >Yes. I'm using Mozilla Thunderbird and I've used it to do NNTP with >SSL before. You sure that you have it configured to use SSL with this connection? Via STARTTLS or a separate port? >I looked in my .../log/messages log file and saw a "... [nnrpd] ... >no_permission" message. Perhaps that's a clue as to what's wrong? That doesn't tell us anything that the message you received via the client didn't, actually. -- Jeffrey M. Vinocur jeff@litech.org
Re: no permission to talk
Author: John F. Morse
Date: Sat, 28 Oct 2006 05:55
Date: Sat, 28 Oct 2006 05:55
44 lines
2322 bytes
2322 bytes
Check (usually uncheck) any "Encrypt Password" option in Thunderbird, then retest. This sometimes stops authentication when SSL is used for the connection. -- John Nathan wrote: >Yes. I'm using Mozilla Thunderbird and I've used it to do NNTP with >SSL before. > >I looked in my .../log/messages log file and saw a "... [nnrpd] ... >no_permission" message. Perhaps that's a clue as to what's wrong? > >thanks, >Nathan > > >Jeffrey M. Vinocur wrote: > > >>In article <1161979783.580690.267540@m73g2000cwd.googlegroups.com>, >>Nathan <ferrisn@gmail.com> wrote: >> >> >>>I thought that I understood how to configure readers.conf, but I keep >>>getting a "no permission to talk" error. I want to give remote users >>>access to my newsgroups, but restrict them so that they have to use SSL >>>to get in. >>> >>> >>Your readers.conf looks okay. Are you using a client that >>supports SSL? >> >> >>-- >>Jeffrey M. Vinocur >>jeff@litech.org >> >> > > >
Re: no permission to talk
Author: Nathan
Date: Sat, 28 Oct 2006 10:18
Date: Sat, 28 Oct 2006 10:18
42 lines
2985 bytes
2985 bytes
Jeffrey M. Vinocur wrote: > In article <1161994099.696599.25360@b28g2000cwb.googlegroups.com>, > Nathan <ferrisn@gmail.com> wrote: > >Yes. I'm using Mozilla Thunderbird and I've used it to do NNTP with > >SSL before. > > You sure that you have it configured to use SSL with this > connection? Via STARTTLS or a separate port? > Yes, it is configured to use SSL on port 563. > >I looked in my .../log/messages log file and saw a "... [nnrpd] ... > >no_permission" message. Perhaps that's a clue as to what's wrong? > > That doesn't tell us anything that the message you received via > the client didn't, actually. > I've been playing with it and I think that I have some more useful information. I have figured out that the reason that it's not working is that nnrpd is disposing of the my remoteUser auth realm because it doesn't think that the client is using SSL. The variable that controls this is called ClientSSL. In nnrpd/nnrpd.c, the only code block in which ClientSSL is set to true is reached if nnrpd has been given the "-S" parameter on the command line. I looked through innd/rc.c and I don't see anywhere where the -S parameter is ever passed. The init.d/nnrpd script does pass the -S parameter, but innd keeps starting up non-daemon processes, which don't get the -S parameter. This makes me think that somehow innd isn't somehow connected with the nnrpd daemon. I start the nnrpd daemon with this command: <path to news>/bin/nnrpd -D -S -p 563 I start innd with the rc.news script that came with INN. thanks, Nathan
Re: no permission to talk
Author: Iulius
Date: Sat, 28 Oct 2006 12:43
Date: Sat, 28 Oct 2006 12:43
11 lines
1591 bytes
1591 bytes
En réponse à Nathan : > I compiled INN with the SSL options and have the keys and certs in place. > Any ideas about what I'm missing? Why don't you use inn2-ssl ? -- Iulius « J'ai un copain, il est pilote d'essai... Enfin, il ne l'est pas encore ; pour l'instant, il essaie d'être pilote ! » (Raymond Devos)
Re: no permission to talk
Author: Nathan
Date: Sat, 28 Oct 2006 15:24
Date: Sat, 28 Oct 2006 15:24
22 lines
2023 bytes
2023 bytes
I did a quick google on inn2-ssl and I can only find it in debian packages, but my server runs red hat. Do you know if there are red hat versions available? Do you think it's worth trying to build on my system? thanks, Nathan On Oct 28, 5:43 am, Iulius <iul...@nom-de-mon-site.com.invalid> wrote: > En réponse à Nathan : > > > I compiled INN with the SSL options and have the keys and certs in place. > > Any ideas about what I'm missing?Why don't you use inn2-ssl ? > > -- > Iulius > > « J'ai un copain, il est pilote d'essai... Enfin, il ne l'est pas encore ; > pour l'instant, il essaie d'être pilote ! » (Raymond Devos)
Re: no permission to talk
Author: Jeffrey M. Vinocur
Date: Sat, 28 Oct 2006 16:15
Date: Sat, 28 Oct 2006 16:15
17 lines
1572 bytes
1572 bytes
In article <ehvj92$eb8$1@guepard.ecp.fr>, Iulius <iulius@nom-de-mon-site.com.invalid> wrote: > >Why don't you use inn2-ssl ? That's simply a distributon-specific package compiled with certain options. It's not a different version of INN and in fact it's very difficult for us to even know what version of INN is inside. We're generally reluctant to recommend precompiled INN packages here, since they seem to cause more trouble than they're worth. -- Jeffrey M. Vinocur jeff@litech.org
Re: no permission to talk
Author: Jeffrey M. Vinocur
Date: Sat, 28 Oct 2006 16:18
Date: Sat, 28 Oct 2006 16:18
21 lines
1939 bytes
1939 bytes
In article <1162030697.018879.135970@i42g2000cwa.googlegroups.com>, Nathan <ferrisn@gmail.com> wrote: > >Yes, it is configured to use SSL on port 563. > >The init.d/nnrpd script does pass the -S parameter, but innd keeps >starting up non-daemon processes, which don't get the -S parameter. >This makes me think that somehow innd isn't somehow connected with the >nnrpd daemon. If your client is connecting on port 563, then it should be talking to the nnrpd spawned via your nnrpd daemon and therefore should be received the -S flag as you suggest. The nnrpds spawned from INN (the code you saw in innd/rc.c) are only for connections that come in via port 119 (or whatever port innd is listening on). -- Jeffrey M. Vinocur jeff@litech.org
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