Sysop: | Amessyroom |
---|---|
Location: | Fayetteville, NC |
Users: | 23 |
Nodes: | 6 (0 / 6) |
Uptime: | 57:09:02 |
Calls: | 584 |
Calls today: | 1 |
Files: | 1,139 |
D/L today: |
179 files (27,921K bytes) |
Messages: | 112,136 |
I vaguely recall in the past that I asked about configuring a rslight
section to peer with a open server that doesn't authenticate. Long
since I have deleted that test setup and I can't seem to find the
newsgroup messages where we discussed this. If anyone else can jog my
memory that would be greatly appreciated.
The goal is to configure rslight to pull and push messages without
making any attempt to authenticate to the remote peer, as in, sending no authinfo command headers with the session. I can't remember how we
worked this out, so please refresh my memory. Or if anyone knows where
to find the old thread please point me to a message-id.
Thanks in advance.
On Wed, 9 Oct 2024 23:43:41 +0000, SugarBug wrote:
I vaguely recall in the past that I asked about configuring a rslight
section to peer with a open server that doesn't authenticate. Long
since I have deleted that test setup and I can't seem to find the
newsgroup messages where we discussed this. If anyone else can jog my
memory that would be greatly appreciated.
The goal is to configure rslight to pull and push messages without
making any attempt to authenticate to the remote peer, as in, sending no
authinfo command headers with the session. I can't remember how we
worked this out, so please refresh my memory. Or if anyone knows where
to find the old thread please point me to a message-id.
Thanks in advance.
I actually do not remember this.
If we can't work it out easily, I can create a function in rslight to do
that pretty easily. I'll check back here tomorrow about it.
On Wed, 9 Oct 2024 23:51:39 +0000, Retro Guy wrote:
On Wed, 9 Oct 2024 23:43:41 +0000, SugarBug wrote:
I vaguely recall in the past that I asked about configuring a
rslight section to peer with a open server that doesn't
authenticate. Long since I have deleted that test setup and I
can't seem to find the newsgroup messages where we discussed this.
If anyone else can jog my memory that would be greatly appreciated.
The goal is to configure rslight to pull and push messages without
making any attempt to authenticate to the remote peer, as in,
sending no authinfo command headers with the session. I can't
remember how we worked this out, so please refresh my memory. Or
if anyone knows where to find the old thread please point me to a
message-id.
Thanks in advance.
I actually do not remember this.
If we can't work it out easily, I can create a function in rslight
to do that pretty easily. I'll check back here tomorrow about it.
I just dug through the code (yeah I know, I wrote it lol) and it looks
like if remote_auth_user is unset or == '', authentication will be
skipped:
if ((isset($CONFIG['remote_auth_user'])) && (isset($CONFIG['remote_auth_pass'])) && ($CONFIG['remote_auth_user']
!= "")) {
fputs($ns, "AUTHINFO USER " . $CONFIG['remote_auth_user'] .
"\r\n"); $weg = line_read($ns);
fputs($ns, "AUTHINFO PASS " . $CONFIG['remote_auth_pass'] .
"\r\n"); $weg = line_read($ns);
if (substr($weg, 0, 3) != "281" && ! (isset($post_server)) && ($post_server != "")) {
echo "<p>" . $text_error["error:"] . "</p>";
echo "<p>" . $text_error["auth_error"] . "</p>";
}
}
Have you tried setting it (in rslight.inc.php) to ''? Please let us
know if that works for you.
On Thu, 10 Oct 2024 17:39:41 +0000
Retro Guy <retroguy@novabbs.com> wrote:
On Wed, 9 Oct 2024 23:51:39 +0000, Retro Guy wrote:
On Wed, 9 Oct 2024 23:43:41 +0000, SugarBug wrote:
I vaguely recall in the past that I asked about configuring a
rslight section to peer with a open server that doesn't
authenticate. Long since I have deleted that test setup and I
can't seem to find the newsgroup messages where we discussed this.
If anyone else can jog my memory that would be greatly appreciated.
The goal is to configure rslight to pull and push messages without
making any attempt to authenticate to the remote peer, as in,
sending no authinfo command headers with the session. I can't
remember how we worked this out, so please refresh my memory. Or
if anyone knows where to find the old thread please point me to a
message-id.
Thanks in advance.
I actually do not remember this.
If we can't work it out easily, I can create a function in rslight
to do that pretty easily. I'll check back here tomorrow about it.
I just dug through the code (yeah I know, I wrote it lol) and it looks
like if remote_auth_user is unset or == '', authentication will be
skipped:
if ((isset($CONFIG['remote_auth_user'])) &&
(isset($CONFIG['remote_auth_pass'])) && ($CONFIG['remote_auth_user']
!= "")) {
fputs($ns, "AUTHINFO USER " . $CONFIG['remote_auth_user'] .
"\r\n"); $weg = line_read($ns);
fputs($ns, "AUTHINFO PASS " . $CONFIG['remote_auth_pass'] .
"\r\n"); $weg = line_read($ns);
if (substr($weg, 0, 3) != "281" && ! (isset($post_server)) &&
($post_server != "")) {
echo "<p>" . $text_error["error:"] . "</p>";
echo "<p>" . $text_error["auth_error"] . "</p>";
}
}
Have you tried setting it (in rslight.inc.php) to ''? Please let us
know if that works for you.
Pulling without auth works for some servers but not for others. I ran
some tests as advised above with mixed results.
I tested by trying to pull from several open servers. For some
servers it works. For some it fails. For the failures, spoolnews.log
returns failure to connect.
# success (each one worked first try)
news.i2pn2.org
news.novabbs.org
news.blueworldhosting.com
news.mixmin.net
news.chmurka.net
nntp.csiph.com
# failure (tested each one for many runs of cron with 100% failures) news.neodome.net
paganini.bofh.team
news.bbs.nz
news.usenet.ovh
# mixed
news.grc.com (119 only)
GRC had initial double failure to connect then afterward successful
pulls.
It does not seem to matter whether or not I use SSL on the failed
hosts. The errors in the spoolnews.log are the same, like this:
Failed to connect to news.bbs.nz:119
Failed to connect to news.bbs.nz:563
Failed to connect to news.neodome.net:119
Failed to connect to news.neodome.net:563
Failed to connect to news.usenet.ovh:119
Failed to connect to paganini.bofh.team:119
Failed to connect to paganini.bofh.team:563
Failed to connect to news.grc.com:119
What else should I look at?