Discussion:
Logging into news server via Telnet
(too old to reply)
Snapper
2008-02-01 00:20:24 UTC
Permalink
I just logged into my news server, astraweb, via telnet. I was going to
list or run the command to show all the headers that astrawebs supports. I
want to see if the headers that nfilter/newsproxy is filtering on are used
on astraweb. However, all I got were some commands that most required
authentication (there was no login screen where I could enter my
username/pass).

Below are the commands that are available to me. Most of them, though,
when I execute them say that authentication is required.

100 Legal commands
article [MessageID|Number]
body [MessageID|Number]
date
head [MessageID|Number]
help
mode reader|stream
slave
quit
group newsgroup
last
next
list
[active|active.times|newsgroups|extensions|distributions|distrib.pats|mod
erators|overview.fmt|subscriptions]
listgroup newsgroup
newgroups yymmdd hhmmss ["GMT"] [<distributions>]
post
stat [MessageID|Number]
xgtitle [group_pattern]
xhdr header [range|MessageID]
xover [range]
xpat header range|MessageID pat
authinfo user Name|pass Password

When I try say, "listgroup" I get this:

"480 Authentication required for command"

Someone here listed the commands and the process to access this data but I
can't find it. Whoever posted it, would they be kind enough to do so
again?

Thanks.
--
A little knowledge is dangerous. So is a lot.
Tim
2008-02-01 01:32:18 UTC
Permalink
Post by Snapper
I just logged into my news server, astraweb, via telnet. I was going to
list or run the command to show all the headers that astrawebs supports. I
want to see if the headers that nfilter/newsproxy is filtering on are used
on astraweb. However, all I got were some commands that most required
authentication (there was no login screen where I could enter my
username/pass).
Below are the commands that are available to me. Most of them, though,
when I execute them say that authentication is required.
100 Legal commands
article [MessageID|Number]
body [MessageID|Number]
date
head [MessageID|Number]
help
mode reader|stream
slave
quit
group newsgroup
last
next
list
[active|active.times|newsgroups|extensions|distributions|distrib.pats|mod
erators|overview.fmt|subscriptions]
listgroup newsgroup
newgroups yymmdd hhmmss ["GMT"] [<distributions>]
post
stat [MessageID|Number]
xgtitle [group_pattern]
xhdr header [range|MessageID]
xover [range]
xpat header range|MessageID pat
authinfo user Name|pass Password
"480 Authentication required for command"
Someone here listed the commands and the process to access this data but I
can't find it. Whoever posted it, would they be kind enough to do so
again?
Thanks.
How about trying the command help listgroup or listgroup help. It looks
like help is one of the commands you can use. And that authinfo user
looks like it may be password related too, so I'd try using help on that
too.

- Tim -
Carroll Robbins
2008-02-01 01:34:07 UTC
Permalink
Snapper <***@yahoo.com.au> wrote in
<47a264f5$0$5373$***@news.astraweb.com> on Fri, 01 Feb 2008 11:20:24
+1100:

-snip-
Post by Snapper
authinfo user Name|pass Password
"480 Authentication required for command"
The authinfo command is used to authenticate you to the nntp server. Enter
the commands:

authinfo user YourUserName
and then
authinfo pass YourPassword

Substitute your actual user name and password.
--
Carroll Robbins
Snapper
2008-02-01 23:31:34 UTC
Permalink
Carroll Robbins wrote...
Post by Carroll Robbins
The authinfo command is used to authenticate you to the nntp server. Enter
Thanks. I'll give that a shot when I get time.
--
A little knowledge is dangerous. So is a lot.
Brian Kraft
2008-02-01 01:40:39 UTC
Permalink
Post by Snapper
I just logged into my news server, astraweb, via telnet. I was going to
list or run the command to show all the headers that astrawebs supports. I
want to see if the headers that nfilter/newsproxy is filtering on are used
on astraweb.
Astraweb runs Diablo reader software, so nfilter can get a list of any
header, such as NNTP-Posting-Host, via the XHDR command:

authinfo user [username]
authinfo pass [password]
mode reader
group alt.usenet.offline-reader.forte-agent
xhdr nntp-posting-host 1-
Ralph Fox
2008-02-02 01:44:41 UTC
Permalink
Post by Snapper
I just logged into my news server, astraweb, via telnet. I was going to
list or run the command to show all the headers that astrawebs supports. I
want to see if the headers that nfilter/newsproxy is filtering on are used
on astraweb.
There is no such command yet.

You may be thinking of the LIST OVERVIEW.FMT command.
This give the headers in the overview, not the headers which
NFilter can filter on. NFilter uses XHDR to get more headers
to filter on

There is no command yet to get the list of headers available
from XHDR (the headers which NFilter can filter on). Version 2
of NNTP will have such a command, but no servers yet support
NNTP version 2.


I can tell you right now what LIST OVERVIEW.FMT will give you

Subject:
From:
Date:
Message-ID:
References:
Bytes:
Lines:
Xref:full

The first 7 headers are mandatory in the overview
The 8th header (Xref) is optional, but 99.5% of servers include it.
Very few servers have any more headers than this in the overview.
And even if a server does, NFilter does not use the overview for
any headers other than the 8 above -- NFilter will still try to
use XHDR to get those additional headers, so you still have to check
which headers your server supports with XHDR.
Post by Snapper
However, all I got were some commands that most required
authentication (there was no login screen where I could enter my
username/pass).
The interface is made for newsreaders. Response code 480 is the prompt
which tells the newsreader client that it must login.

See section 3.1 of RFC2980 at http://www.ietf.org/rfc/rfc2980.txt
Post by Snapper
Below are the commands that are available to me. Most of them, though,
when I execute them say that authentication is required.
--snip--
Post by Snapper
authinfo user Name|pass Password
The commands to login are

authinfo user Name
authinfo pass Password

You provide the 'Name' and 'Password'.
Post by Snapper
Someone here listed the commands and the process to access this data but I
can't find it. Whoever posted it, would they be kind enough to do so
again?
Thanks.
--
Cheers,
Ralph
Loading...