🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: news.software.nntp
Article #90639

Re: alternative nnrpd external auth to postgresql

#90639
From: rek2 hispagatos
Date: Sat, 29 Jul 2023 13:05
48 lines
2657 bytes
On 2023-07-28, go-while <no-reply@no.spam> wrote:
> On 28.07.23, rek2 hispagatos wrote:
> >
> > Yes indeed, I figure that out the hard way :D :D with debuggin :D
> > I get lost in translation a lot.
> >
> > .....
> > Happy Hacking
> > reK2
>
>
> who writes with debugs is king!
> and much more king if you dont know what you're doing :D

LOL :) 

> i wrote a little too with greece coffee!
>
> https://github.com/go-while/go-inn2-auth
>
> same binary as daemon and authenticator/resolver? .oO*
> daemon listens on tcp port (maybe socket later)
> cli talks via tcp textproto with daemon
> multiple workers and parallel requests
> daemon can act as cache, less requests to databases (later)
> read users from json file, reloads every 60s if hash changed
> places for mysql, pgsql, redis are there but need testing first
>
> test on command line looks good for me but did not install to try...
> not sure how to configure inn.conf xD

Looking good, I will test it, everything seems so much simpler with Go
;) only reason I started my proyect with Rust is to get familiar with
the language, but go is been my choice for the last 7 years for most
tooling I write for work and myself.

Is good that we updating some old usenet tools to talk to other most
used today daemons like postgresql, redis etc.

I will love to engage to write a small two way gateway between a
usergroup and a lemmy group( a reddit alike decentralized service part
of the fediverse ).

Happy Hacking
ReK2
-- 
{gemini,https}://{,rek2.}hispagatos.org
https://hispagatos.space/@rek2
Technical Details
Message-ID: <ua32rk$cjct$1@matrix.hispagatos.org>
Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!archive.pugleaf.net!archive.newsdeef.eu!apf1.newsdeef.eu!not-for-mail
References: <u9jlnh$getb$1@matrix.hispagatos.org> <u9uh09$a5ql$1@matrix.hispagatos.org> <YJAwM.249652$Y1R7.117864@fx04.ams4> <u9vdi7$akhf$2@matrix.hispagatos.org> <36IwM.106011$euB5.66059@fx05.ams4> <ua0mlt$bb7j$1@matrix.hispagatos.org> <KWUwM.143252$MB_8.99644@fx01.ams4>

Show Full Headers
Complete Article Headers
Message-ID: <ua32rk$cjct$1@matrix.hispagatos.org>
Subject: Re: alternative nnrpd external auth to postgresql
Date: Sat, 29 Jul 2023 13:05:56 +0000
From: rek2 hispagatos <rek2@hispagatos.org.invalid>
References: <u9jlnh$getb$1@matrix.hispagatos.org> <u9uh09$a5ql$1@matrix.hispagatos.org> <YJAwM.249652$Y1R7.117864@fx04.ams4> <u9vdi7$akhf$2@matrix.hispagatos.org> <36IwM.106011$euB5.66059@fx05.ams4> <ua0mlt$bb7j$1@matrix.hispagatos.org> <KWUwM.143252$MB_8.99644@fx01.ams4>
Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!archive.pugleaf.net!archive.newsdeef.eu!apf1.newsdeef.eu!not-for-mail
Newsgroups: news.software.nntp
Organization: Hispagatos
Reply-To: ReK2 <rek2@hispagatos.org>
Injection-Date: Sat, 29 Jul 2023 13:05:56 -0000 (UTC)
Injection-Info: matrix.hispagatos.org; posting-host="static-135-116-26-46.ipcom.comunitel.net:46.26.116.135"; logging-data="413085"; mail-complaints-to="usenet@matrix.hispagatos.org"
User-Agent: slrn/pre1.0.4-9 (Linux)