🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: news.software.nntp
Article #42409

--

#42409
From: Peter Fastré
Date: Sun, 19 Dec 1999 00:00
24 lines
2146 bytes
> Whoops, sorry, yes.  In 2.2.1, it's in nnrpd/nnrpd.c.

We figured that out too. We found the text you included in nnrpd.c.

> EQ does a simple string comparison between the user-supplied password and
> the one in the configuration file.  If you want to use MD5, you'll have to
> hash the user-supplied password using MD5 first, and then compare that
> against the hash in the config file.

We don't want to use MD5, the normal unix-encryption (with crypt()) is enough.
But we're searching in this code, but it's not very easy. We're looking for
the place where nnrpd reads the password from the user, but don't find it.
Maybe we're stupid, but we don't have so many experience in c.
So, if I'm right, we have to encrypt the password that nnrpd gets from the
newsreader, and that would be everything? EQ would then compare just the
encrypted passwords. These are just a few lines extra I think, but if you
don't know the right place to do it...
Do you have some idea about this?

Peter



Technical Details
Message-ID: <385CD16A.227C159D@village.uunet.be>
Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!archive.pugleaf.net!archive.newsdeef.eu!mbox2nntp-news.software.nntp.mbox.zip!not-for-mail
References: <385100CC.1F725C1B@hogent.be> <3854B6BB.7A69E665@capgemini.fr> <ylg0x6zjyh.fsf@windlord.stanford.edu> <833llt$12d$1@newssvr02.news.prodigy.com> <38577D58.F2E3FC5C@hogent.be> <yl7lif2156.fsf@windlord.stanford.edu> <385AC5B9.66654AA0@village.uunet.be> <ylogbops4k.fsf@windlord.stanford.edu>

Show Full Headers
Complete Article Headers
Message-ID: <385CD16A.227C159D@village.uunet.be>
Subject: --
Date: Sun, 19 Dec 1999 00:00:00 +0000
From: Peter Fastré <peter.fastre@village.uunet.be>
References: <385100CC.1F725C1B@hogent.be> <3854B6BB.7A69E665@capgemini.fr> <ylg0x6zjyh.fsf@windlord.stanford.edu> <833llt$12d$1@newssvr02.news.prodigy.com> <38577D58.F2E3FC5C@hogent.be> <yl7lif2156.fsf@windlord.stanford.edu> <385AC5B9.66654AA0@village.uunet.be> <ylogbops4k.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.mbox.zip!not-for-mail
X-Deja-AN: 562614537
Content-Transfer-Encoding: 7bit
To: Russ Allbery <rra@stanford.edu>
X-Accept-Language: en
Content-Type: text/plain; charset=us-ascii
X-Complaints-To: abuse@nl.uu.net
X-Trace: newnews1.news.nl.uu.net 945607032 5704 194.7.1.25 (19 Dec 1999 12:37:12 GMT)
Organization: UUNET-NL (http://www.nl.uu.net)
Mime-Version: 1.0
NNTP-Posting-Date: 19 Dec 1999 12:37:12 GMT
Newsgroups: news.software.nntp