Thread View: news.software.readers
3 messages
3 total messages
Started by Michael Grimm
Wed, 28 Jan 2009 18:56
[slrn] .slrnrc and SSL nnrpd access
Author: Michael Grimm
Date: Wed, 28 Jan 2009 18:56
Date: Wed, 28 Jan 2009 18:56
35 lines
2099 bytes
2099 bytes
Hi - I'm trying to use "server" and "nnrpaccess" in my .slrnrc to log into my newsserver via SSL. If I do follow the http://slrn.sourceforge.net/docs/README.SSL recommodation ... slrn -h snews://my-server.tld -f .jnewsrc ... I'm able to access my nnrpd over SSL (checked with sockstat). Ok, now I would like to omit to use the keyboard to answer slrn's question regarding my password for that given server (cyber café et al.). According the slrn manual one should be able to provide the username and password as follows: nnrpaccess host username password server nntp-server[:port] newsrc-file But all combinations of "my-server.tld", "my-server.tld:563", or "snews://my-server.tld" in "nnrpaccess" and/or "server" plus correct values for username and password don't work as expected. I can use both "nnrpaccess" and "server" settings to automate login via 119 but never via 563. What am I doing and/or understanding wrong? Regards, Michael -- to let
Re: [slrn] .slrnrc and SSL nnrpd access
Author: Peter J Ross
Date: Thu, 29 Jan 2009 19:58
Date: Thu, 29 Jan 2009 19:58
68 lines
3290 bytes
3290 bytes
In news.software.readers on Wed, 28 Jan 2009 18:56:44 +0000 (UTC),
Michael Grimm <trashcan@odo.in-berlin.de> wrote:
> Hi -
>
> I'm trying to use "server" and "nnrpaccess" in my .slrnrc to log
> into my newsserver via SSL.
>
> If I do follow the http://slrn.sourceforge.net/docs/README.SSL
> recommodation ...
>
> slrn -h snews://my-server.tld -f .jnewsrc
>
> ... I'm able to access my nnrpd over SSL (checked with sockstat).
>
> Ok, now I would like to omit to use the keyboard to answer slrn's
> question regarding my password for that given server (cyber café et
> al.).
>
> According the slrn manual one should be able to provide the username
> and password as follows:
>
> nnrpaccess host username password
> server nntp-server[:port] newsrc-file
>
> But all combinations of "my-server.tld", "my-server.tld:563", or
> "snews://my-server.tld" in "nnrpaccess" and/or "server" plus correct
> values for username and password don't work as expected.
>
> I can use both "nnrpaccess" and "server" settings to automate login via
> 119 but never via 563.
>
> What am I doing and/or understanding wrong?
I think the documentation is misleading. It seems that you need to
specify the port number with "nnrpaccess" as well as with "server".
Otherwise you get this:
System call failed: errno = 104
Run-Time Error
SSL_connect failed
slrn fatal error:
Failed to initialize server.
This combination works for me:
nnrpaccess snews://my-server.tld:563 user password
server snews://my-server.tld:563 newsrc-file
with
NNTPSERVER=snews://my-server.tld:563
(tested with news.motzarella.org on port 563)
If that works for you I'll update the documentation.
If not, what's your version of libssl? Mine is 0.9.8g-15 (Debian
package).
--
PJR :-)
slrn newsreader v0.9.9p1: http://slrn.sourceforge.net/
extra slrn documentation: http://slrn-doc.sourceforge.net/
newsgroup name validator: http://pjr.lasnobberia.net/usenet/validator
Re: [slrn] .slrnrc and SSL nnrpd access
Author: Michael Grimm
Date: Thu, 29 Jan 2009 21:38
Date: Thu, 29 Jan 2009 21:38
24 lines
1772 bytes
1772 bytes
Peter J Ross <pjr@example.invalid> wrote: > Michael Grimm <trashcan@odo.in-berlin.de> wrote: >> What am I doing and/or understanding wrong? > > This combination works for me: > > nnrpaccess snews://my-server.tld:563 user password > server snews://my-server.tld:563 newsrc-file > > with > NNTPSERVER=snews://my-server.tld:563 [...] > If that works for you I'll update the documentation. Well, you may update the documentation, now ;-) Thank you very much, now it's working for me. I never considered the 'snews://' in NNTPSERVER neccessary ... Regards, Michael -- to let
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