Thread View: news.software.nntp
5 messages
5 total messages
Started by Jeffrey M. Vinocur
Sat, 22 Sep 2001 13:54
Re: Best way to force authentication in 2.3.2
Author: Jeffrey M. Vinocur
Date: Sat, 22 Sep 2001 13:54
Date: Sat, 22 Sep 2001 13:54
13 lines
1338 bytes
1338 bytes
In article <9ogsht$6ui$1@snarf.databasix.com>, Gary L. Burnore <dontreply@not.to.me.anyway> wrote: >What's the best way to force authentication in 2.3.2? Especially for local >readers. Set up readers.conf so they have no way for them get at articles otherwise? I don't understand your question. -- Jeffrey M. Vinocur jeff@litech.org
Re: Best way to force authentication in 2.3.2
Author: Graeme Mathieson
Date: Sat, 22 Sep 2001 14:43
Date: Sat, 22 Sep 2001 14:43
19 lines
1866 bytes
1866 bytes
Gary L. Burnore <gburnore@databasix.com> writes: > I was looking for a way for them to get a "must authenticate" message, YM: graeme@homer:~$ telnet news 119 Trying 62.189.57.194... Connected to homer.mathie.cx. Escape character is '^]'. 200 news.mathie.cx InterNetNews NNRP server INN 2.3.2 ready (posting ok). list 480 Authentication required for command You could always change the welcome banner (in nnrpd/nnrpd.c) I suppose. -- graeme+sig@mathie.cx http://www.mathie.cx/~graeme/
Re: Best way to force authentication in 2.3.2
Author: Jeffrey M. Vinocur
Date: Sat, 22 Sep 2001 15:25
Date: Sat, 22 Sep 2001 15:25
18 lines
1515 bytes
1515 bytes
In article <9oi6k5$sip$2@shpxurnq.databasix.com>, Gary L. Burnore <dontreply@not.to.me.anyway> wrote: > >If users connect and try to authenticate and fail, they get an >error. If users don't authentiate at all, they actually connect >but get no newsgroups. I believe you can write a readers.conf such that this doesn't happen. Perhaps...make sure all of your access: blocks have a users: line? -- Jeffrey M. Vinocur jeff@litech.org
Re: Best way to force authentication in 2.3.2
Author: Jeremy
Date: Sun, 23 Sep 2001 07:17
Date: Sun, 23 Sep 2001 07:17
21 lines
1761 bytes
1761 bytes
Gary L. Burnore <dontreply@not.to.me.anyway> wrote: > I'm seeing that there isn't really a way. If users connect and try to > authenticate and fail, they get an error. If users don't authentiate at > all, they actually connect but get no newsgroups. I was looking for a > way for them to get a "must authenticate" message, or in some other way > be dumped like with a bad_auth. But they'll get the 480 when they try to send a command, right? That should be enough to convince the client to send authentication. Or how are you defining "don't authenticate at all"? The client can proactively send authinfo, but if it doesn't, the proper thing to do is send a 480 when they try to do something. Are you seeing that the server isn't doing that, and so the client never bothers sending authinfo, and therefore the user sees nothing and doesn't know why? If that's the case there is probably something wrong with your config. -- Jeremy | jeremy@exit109.com
Re: Best way to force authentication in 2.3.2
Author: Jeremy
Date: Sat, 29 Sep 2001 08:10
Date: Sat, 29 Sep 2001 08:10
40 lines
2712 bytes
2712 bytes
Gary L. Burnore <dontreply@not.to.me.anyway> wrote: >> Or how are you defining "don't authenticate at all"? > > Rtin on the same server, for example, won't even TRY to authenticate > unless you give it the -A flag. It sounds like you are letting clients which don't send authinfo succeed in authenticating. If you do that, they will never try to authenticate at all, unless the client has an option to always authenticate even if not asked to, and the user enables that option. > Users not authenticating at all don't get any newsgroups and can't > post, but I'd really prefer they'd get a connection refused message. I > decided to make one newsgroup set to no posting (ctlinnd newgroup > groupname n) the only group non-authenticating clients can access. The > only article available is a message explaining how they got there and > what to do about it. (authenticate) That will *not* work -- some clients cannot be set to send authentication even if not asked. Users of those clients will have no way to authenticate to your server. They can set a username and password in the newsreader, but it will simply never be sent because the client will never be challenged for it. You have to make it so clients connecting *must* authenticate in order to do anything. At a protocol level, the server should send a 480 in response to any command, with the exception of "quit", the possible exceptions of "mode" and "help", and the obvious exception of "authinfo". If you make a newsgroup available with no authentication, that will be all some users will ever be able to access. This is an unfortunate deficiency in the NNTP protocol. Basically, I think there was something wrong with your readers.conf which resulted in non-authenticating clients being able to send commands without getting challenged for authentication. -- Jeremy | jeremy@exit109.com
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