[tin-dev] [PATCH] [WIP] NNTPS support

Pierre-Alexandre Meyer pierre at mouraf.org
Sun Dec 6 13:59:00 CET 2020


On Sat, Dec 5, 2020 at 10:07 PM Urs Janßen <urs at tin.org> wrote:
> First of all, thanks for showing interest in that point :)

And thank you for providing quick feedback :-)

> <<< [18:47:17.145823] 480 Authentication required for command
> >>> [18:47:17.147620] AUTHINFO SASL PLAIN AFVycwAgdGVzdCA=
> <<< [18:47:17.212225] 481 generic failure
>
> (AFVycwAgdGVzdCA= is base64("\0username\0password") incl. the
> (leading/tailing) spaces the password has, might be an issue on
> the servers side.)

Interesting, I'll try to reproduce it. I've been using AUTHINFO
(no SASL), and it seems to be working indeed.

> but once you enter a group it get stuck in

I see the issue: the data returned by gnutls_record_recv
for commands like `OVER range' spans multiple lines, which
is incompatible with how the get_server code is written today.

I'll look into adding a layer of buffered I/O.

The doc/TODO hints at either using BIO_*() or rewriting
the code to use normal read+write now make sense to me :-)

> which should probably also change the default port to 563 as long as no
> -p flag is present (and/or optionally take a port).

ack, will do.

> JFTR: I use Thomas E. Dickey's version:
> <https://invisible-island.net/autoconf/>
> <https://invisible-island.net/datafiles/release/autoconf.tar.gz>

ack, I'll try to set it up.

Thanks!

-- 
Pierre-Alexandre Meyer



More information about the tin-dev mailing list