Thread View: news.software.nntp
11 messages
11 total messages
Started by Phil Herbert
Thu, 25 Jan 1996 00:00
Authenticated news access
Author: Phil Herbert
Date: Thu, 25 Jan 1996 00:00
Date: Thu, 25 Jan 1996 00:00
35 lines
2106 bytes
2106 bytes
I am currently setting up inn1.4unoff3 on an HP9000/827 running HP-UX 9.0. I am hoping to set up a fairly complete hierarchy of local newsgroups for the entire University, which are access controlled (probably for both reading and posting). This is to allow, for example, departments to have closed discussion groups. Most users have desktop PCs or Macs; some might use multi-user Unix systems. My preferred solution is to setup user and password based authentication. Although I am able to make this work, it appears that the userid and password information is stored in plain text within the 'nnrp.access' file. It is also likely that this file will have between 10,000 and 15,000 entries (ie listing newsgroups on a per-user basis). I have two questions: 1) Has anyone come up with a way of tying in the normal /etc/passwd file to these userid and password pairs? Userid is easy, but INN doesn't appear to use crpyt on the password field. On the face of it this might be a straightforward modification to INN...? 2) Any experiences of using a large 'nnrp.access' file? I am not certain when this is read - when INND starts, or when each request is made. The latter would undoubtedly make things slow; I could probably live the former even if startup time was considerably increased. Any experiences or thoughts on either of these would be appreciated. Phil -- Phil Herbert, Computing Services, Loughborough University, Loughborough, Leics. P.J.Herbert@lut.ac.uk & Webmaster@lut.ac.uk (01509) 223498
Re: Authenticated news access
Author: Matthew D Stock
Date: Fri, 26 Jan 1996 00:00
Date: Fri, 26 Jan 1996 00:00
26 lines
1778 bytes
1778 bytes
In article <DLqoxC.8yv@lut.ac.uk>, Phil Herbert <ccpjh@lut.ac.uk> wrote: >1) Has anyone come up with a way of tying in the normal /etc/passwd file to >these userid and password pairs? Userid is easy, but INN doesn't appear to use >crpyt on the password field. On the face of it this might be a >straightforward modification to INN...? We've actually done just that. There are a few small problems with the patches I made, but they work fairly well for us. The only disadvantage in my opinion is that using authinfo, the password is sent over the wire in the clear. In any case, if you are interested in my patches, send me mail. If there is enough of a response, I'll post them. -Matt >2) Any experiences of using a large 'nnrp.access' file? I am not certain when >this is read - when INND starts, or when each request is made. The latter >would undoubtedly make things slow; I could probably live the former even if >startup time was considerably increased. During each request. The nnrp.access file is loaded by nnrpd (for each reader), not by innd (which spawns off nnrpd). My patches use nnrp.access to control if the password file is consulted for authentication. -Matt
Re: Authenticated news access
Author: Christopher A. Manly
Date: Mon, 29 Jan 1996 00:00
Date: Mon, 29 Jan 1996 00:00
28 lines
1781 bytes
1781 bytes
In article <4e9iom$da3@azure.acsu.buffalo.edu>, stock@acsu.buffalo.edu (Matthew D Stock) wrote: > In article <DLqoxC.8yv@lut.ac.uk>, Phil Herbert <ccpjh@lut.ac.uk> wrote: > >1) Has anyone come up with a way of tying in the normal /etc/passwd file to > >these userid and password pairs? Userid is easy, but INN doesn't appear to use > >crpyt on the password field. On the face of it this might be a > >straightforward modification to INN...? I've got some mods to post.c and nnrpd.c that allow nnrpd to check a kerberos server for authentication (either for posting or for reading and posting). However, I need to clean them up a bit (because the mods I have also do some things that are site-specific) before I could send them out. However, if anyone is interested, let me know. There's a chance that I actually could find time to clean up the mods and produce a diffs file sometime soon. ---------------------------- Christopher A. Manly CIT/NR Collaboration Systems cam2@cornell.edu (607) 255-4958 http://cmdr-sisko.cit.cornell.edu/~cam2 PGP Public Key available upon request
Re: Authenticated news access
Author: Paul Colquhoun
Date: Mon, 05 Feb 1996 00:00
Date: Mon, 05 Feb 1996 00:00
35 lines
2097 bytes
2097 bytes
In article <cam2-2901961438490001@chester.cit.cornell.edu>, cam2@cornell.edu (Christopher A. Manly) wrote: :In article <4e9iom$da3@azure.acsu.buffalo.edu>, stock@acsu.buffalo.edu :(Matthew D Stock) wrote: : :> In article <DLqoxC.8yv@lut.ac.uk>, Phil Herbert <ccpjh@lut.ac.uk> wrote: :> >1) Has anyone come up with a way of tying in the normal /etc/passwd :> >file to :> >these userid and password pairs? Userid is easy, but INN doesn't appear :> >to use :> >crpyt on the password field. On the face of it this might be a :> >straightforward modification to INN...? : :I've got some mods to post.c and nnrpd.c that allow nnrpd to check a :kerberos server for authentication (either for posting or for reading and :posting). However, I need to clean them up a bit (because the mods I have :also do some things that are site-specific) before I could send them out. : :However, if anyone is interested, let me know. There's a chance that I :actually could find time to clean up the mods and produce a diffs file :sometime soon. Not sure about kerberos authentication, but if they would help in getting passwd/shadow authentication working I would like to see the mods. -- Paul Colquhoun Ph: +61 2 886 0938 Systems Administrator fax: +61 2 878 3877 TPG Internet email: pcolquh@tpgi.com.au Unless otherwise stated, this message is NOT an official TPGi document
Re: Authenticated news access
Author: Cor Bosman
Date: Tue, 06 Feb 1996 00:00
Date: Tue, 06 Feb 1996 00:00
24 lines
1642 bytes
1642 bytes
We've been running an authenticated news server for quite some time now. Currently we're at unoff2. My version is pretty specific for our needs. - it doesnt choke on authentication when no authentication is needed. This solves the problem of users filling in the auth stuff in their windows client and then having problems connecting because INN will bomb. - I added some functionality to nnrpd.conf. *:RP:N:N:* The 'N' stands for 'Nis lookup'. Basically it does a password lookup and checks if the user/password are correct. The news server will accept any connection, but depending on the config file will ask for authentication. The user then fills in their username/password and they can connect. We use this to allow our users to use other providers and still read news over NNTP. I can send patches to people that ask for it. As I said, it is pretty specific for our needs, but it'll be easy to change if necessary. Cor
Re: Authenticated news access
Author: Alan Brown
Date: Tue, 06 Feb 1996 00:00
Date: Tue, 06 Feb 1996 00:00
33 lines
2193 bytes
2193 bytes
In article <4f615d$ug_001@tpgi.com.au>, Paul Colquhoun <pcolquh@tpgi.com.au> wrote: >In article <cam2-2901961438490001@chester.cit.cornell.edu>, > cam2@cornell.edu (Christopher A. Manly) wrote: >:In article <4e9iom$da3@azure.acsu.buffalo.edu>, stock@acsu.buffalo.edu >:(Matthew D Stock) wrote: >: >:I've got some mods to post.c and nnrpd.c that allow nnrpd to check a >:kerberos server for authentication (either for posting or for reading and >:posting). However, I need to clean them up a bit (because the mods I have >:also do some things that are site-specific) before I could send them out. >: >:However, if anyone is interested, let me know. There's a chance that I >:actually could find time to clean up the mods and produce a diffs file >:sometime soon. > >Not sure about kerberos authentication, but if they would help in getting >passwd/shadow authentication working I would like to see the mods. It may be worthwhile contacting the news admins at Massey University in New Zealand as they've implemented Kerberos authentication for a couple of years. It's at least worth seeing how they implemented it. Try G.Eustace@massey.ac.nz or B.R.Foster@massey.ac.nz AB -- "But you can't say they have arrived to classify your nervous lies What's right, what's not, what may not be. Don't try your tricky tests on me For I won't live in fear my friend - that every day could be my end"
Re: Authenticated news access
Author: Evan Champion
Date: Thu, 08 Feb 1996 00:00
Date: Thu, 08 Feb 1996 00:00
20 lines
1461 bytes
1461 bytes
>In article <cam2-2901961438490001@chester.cit.cornell.edu>, >:I've got some mods to post.c and nnrpd.c that allow nnrpd to check a >:kerberos server for authentication (either for posting or for reading and >:posting). However, I need to clean them up a bit (because the mods I have >:also do some things that are site-specific) before I could send them out. >: >:However, if anyone is interested, let me know. There's a chance that I >:actually could find time to clean up the mods and produce a diffs file >:sometime soon. I think Kerberos mods would be useful and if you do a good job on the patches you could submit them for the next inn1.4unoff release (or perhaps the one after the next one because I'm sure they're wrapping up work on 1.4unoff4 now). Evan
Re: Authenticated news access
Author: Miracle Workers
Date: Fri, 09 Feb 1996 00:00
Date: Fri, 09 Feb 1996 00:00
104 lines
5521 bytes
5521 bytes
In article <4f7816$nsm@papaioea.manawatu.gen.nz>, alan@papaioea.manawatu.planet.org.nz says... > >>Not sure about kerberos authentication, but if they would help in getting >>passwd/shadow authentication working I would like to see the mods. > >It may be worthwhile contacting the news admins at Massey University >in New Zealand as they've implemented Kerberos authentication for >a couple of years. It's at least worth seeing how they implemented it. > >Try G.Eustace@massey.ac.nz or B.R.Foster@massey.ac.nz We are running C-News, with patch CR.G, and nntp.1.5.12.1 so the following isn't directly relevant to this chain. This article indicates some of the authentication with which we run our News system. We have made other changes to tighten up on defaults. C-News, being a collection of small programs and scripts, is easy to work with for these purposes. We obviously can't speak for any similar INN mods. We are also sure that our changes described below won't give any clues about how to get shadow password authentication working. All of our central Unix services have been kerberised. We are using Kerberos Version 4; there are export restrictions on getting Version 5 out of the USA. Users thus have one username and password which can be used on any of our Unix machines. We insist on nearly all outgoing posts being authenticated. We have locally modified nntp.1.5.12.1 to verify a username and password against a Kerberos server. A single subroutine call is all that is required and the linker needs to be told of a couple of extra libraries. Having the Kerberos-aware nntp daemon described above has the advantage that the users don't need to have an entry in the password file on the News machine. However there are much better reasons for installing Kerberos. Note that this doesn't mean we are running with kerberised Newsreaders. We aren't, we are using the Kerberos server to verify usernames and associated passwords. This has the disadvantage that passwords are passed across the network in cleartext. Kerberised Newsreaders would probably involve passing an ASCII representation of a Kerberos ticket to a generic authenticator on the News server. We haven't thought a great deal about this. We aren't running with generic authentication switched on in nntp.1.5.12.1. We mark posts authenticated by the Kerberos server. We force in an appropriate Sender line. For example: Sender: ccsdhd@bath.ac.uk (Verified by Kerberos) The above will also be a valid email address, so there is no need for a X-Nntp-Posting-Host: header. Although we do include such a header. (This article is an example of the above. The From: line indicates the co-authors of the article. The Sender: line indicates the individual who posted the article.) We are also running with Peter Eriksson's portable ident daemon on our Unix systems. We have found it useful to accept an RFC1413 lookup as authentication. Doing this does have the advantage that the user's password isn't passed across the network in cleartext. The local modifications to nntp.1.5.12.1 were fairly straightforward. Peter provides a library of routines for querying ident servers. (We are aware that identd replies can be forged. However insisting on at least an identd response instead of accepting posts without any authentication does raise the ante. Users who will think nothing of providing a dubious From: line aren't necessarily going to invest effort in learning how to forge identd replies. We'll obviously have to rethink this strategy if abuse does become apparent. Individuals running Linux on PC's obviously have sufficient privilege to forge RFC1413 lookups.) Accepting RFC1413 lookups enables us to accept postings from clients such as Pine and Mosaic which don't seem to be able to handle username/password authentication. We mark such articles with a Sender line of the form: Sender: ccsdhd@anquetil.bath.ac.uk (RFC1413: verified) The above won't necessarily be a valid email address. Not all of our machines have MX records. And we can't speak for all the other Unix boxes on campus that are running ident daemons. But it should be sufficient to identify the poster. Finally a few users can post without authentication. This is mainly individual users on personal PC's. We mark such posts with a Sender: line of the form: Sender: nobody@merckx.bath.ac.uk (Not verified by RFC1413 or Kerberos) -- Icarus Sparry Dennis Davis News Admins, I.Sparry@bath.ac.uk D.H.Davis@bath.ac.uk University of Bath, UK
Re: Authenticated news access
Author: Miracle Workers
Date: Mon, 12 Feb 1996 00:00
Date: Mon, 12 Feb 1996 00:00
73 lines
3857 bytes
3857 bytes
In article <4flr9s$hl2@papaioea.manawatu.gen.nz>, alan@papaioea.manawatu.planet.org.nz (Alan Brown) says... > >>(We are aware that identd replies can be forged. However insisting >> on at least an identd response instead of accepting posts without any >> authentication does raise the ante. Users who will think nothing of >> providing a dubious From: line aren't necessarily going to invest >> effort in learning how to forge identd replies. We'll obviously have >> to rethink this strategy if abuse does become apparent. Individuals >> running Linux on PC's obviously have sufficient privilege to forge >> RFC1413 lookups.) > >Are you aware that the Windows IRC programs "WSirc" and "Mirc" >as well as the Mac program "IRCle" have identd generators? > >In particular, the WSirc identd generator can be told to change username >on the fly and runs separately from the IRC program itself. > >These programs are widely available and I've seen them used for >identd forgeries in the past. Thanks for the info. We were aware that many IRC servers require responses from ident daemons. And, wearing our cynics hat, we sometimes think that is the only reason they are running on some Unix boxes. We did think about the possibilities of "trustworthy" and "untrustworthy" hosts as far as identd replies are concerned. Obviously we are going to trust our own hosts. We installed the ident daemons on them ! So we specify whether an identd reply is acceptable by local modifications to the syntax of the nntp_access file. We have extended the syntax of the third field to indicate whether or not an identd reply is acceptable. As an example the main line in our nntp_access file file for local hosts is: *.bath.ac.uk read Post,rfc1413 This states that all DNS-registered local hosts can read News. They can post if they can respond to an RFC1413 lookup or a username and password can be verified by our Kerberos server. The RFC1413 lookup is tried first. However if an individual workstation or machine developed a rogue personality of its own, we could place a specific entry for it in the nntp_access file: anquetil.bath.ac.uk read Post and now an RFC1413 lookup would not even be tried. Posting would only be allowed if a username and password could be verified by our Kerberos server. We'd handle suspect machines in this manner. Although we see no need for it, a line of the form: anquetil.bath.ac.uk read post,rfc1413 would allow posting if an RFC1413 lookup was successful. We are also subnetted throughout the University. The trusted Computer Centre hosts are on different subnets to other machines. So configuring a suspect machine to masquerade as a Computer Centre host wouldn't work. The IP packets simply wouldn't get through. -- Icarus Sparry Dennis Davis News Admins, I.Sparry@bath.ac.uk D.H.Davis@bath.ac.uk University of Bath, UK
Re: Authenticated news access
Author: Alan Brown
Date: Mon, 12 Feb 1996 00:00
Date: Mon, 12 Feb 1996 00:00
38 lines
2362 bytes
2362 bytes
In article <DMIo9A.6z.B.solomon@bath.ac.uk>, Miracle Workers <news@bath.ac.uk> wrote: >We are also running with Peter Eriksson's portable ident daemon on our >Unix systems. We have found it useful to accept an RFC1413 lookup as >authentication. Doing this does have the advantage that the user's >password isn't passed across the network in cleartext. > >The local modifications to nntp.1.5.12.1 were fairly straightforward. >Peter provides a library of routines for querying ident servers. > >(We are aware that identd replies can be forged. However insisting > on at least an identd response instead of accepting posts without any > authentication does raise the ante. Users who will think nothing of > providing a dubious From: line aren't necessarily going to invest > effort in learning how to forge identd replies. We'll obviously have > to rethink this strategy if abuse does become apparent. Individuals > running Linux on PC's obviously have sufficient privilege to forge > RFC1413 lookups.) Are you aware that the Windows IRC programs "WSirc" and "Mirc" as well as the Mac program "IRCle" have identd generators? In particular, the WSirc identd generator can be told to change username on the fly and runs separately from the IRC program itself. These programs are widely available and I've seen them used for identd forgeries in the past. AB -- "But you can't say they have arrived to classify your nervous lies What's right, what's not, what may not be. Don't try your tricky tests on me For I won't live in fear my friend - that every day could be my end"
Re: Authenticated news access
Author: Robert Bannocks
Date: Wed, 14 Feb 1996 00:00
Date: Wed, 14 Feb 1996 00:00
5 lines
867 bytes
867 bytes
would not it be a good idea to get these patches into INN 1.5 of unoff4? seems an obvious proposal.
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