Thread View: news.software.nntp
6 messages
6 total messages
Started by john
Thu, 24 Dec 2009 15:25
Unknown command: CAPABILITIES
Author: john
Date: Thu, 24 Dec 2009 15:25
Date: Thu, 24 Dec 2009 15:25
45 lines
2480 bytes
2480 bytes
In yesterday's INN (2.4.5, running on Debian Lenny 5.0.3) Daily Report, I
see logged "Unknown Commands" being reported for "CAPABILITIES" which
were generated when I was using the Tin newsreader ("tin 1.9.2 release
20070201 ("Dalaruan") [UNIX] (c) Copyright 1991-2007 Iain Lea.").
Or:
john@hardy:~$ tin -V
Reading config file...
Version: tin 1.9.2 release 20070201 ("Dalaruan") Apr 30 2007 18:06:36
Platform:
OS-Name = "linux-gnu"
Compiler:
CC = "gcc"
CFLAGS = "-g -O2"
CPP = "gcc -E"
CPPFLAGS = "-D_GNU_SOURCE"
Linker and Libraries:
LD = "gcc"
LDFLAGS = ""
LIBS = "-lncursesw -lidn"
PCRE = "7.4 2007-09-21"
Characteristics:
+NNTP_ABLE -NO_POSTING -BROKEN_LISTGROUP +XHDR_XREF
-HAVE_FASCIST_NEWSADMIN +ENABLE_IPV6 -HAVE_COREFILE
-NO_SHELL_ESCAPE -DISABLE_PRINTING -DONT_HAVE_PIPING -NO_ETIQUETTE
+HAVE_LONG_FILE_NAMES +APPEND_PID +HAVE_MH_MAIL_HANDLING
+HAVE_ISPELL +HAVE_METAMAIL +HAVE_SUM
+HAVE_COLOR -HAVE_PGP -HAVE_PGPK +HAVE_GPG
-MIME_BREAK_LONG_LINES +MIME_STRICT_CHARSET +CHARSET_CONVERSION
+MULTIBYTE_ABLE -NO_LOCALE
+USE_CANLOCK -EVIL_INSIDE -FORGERY -TINC_DNS -ENFORCE_RFC1034
-REQUIRE_BRACKETS_IN_DOMAIN_LITERAL -FOLLOW_USEFOR_DRAFT
Is CAPABILITIES a new command that INN does not know (at least for
version 2.4.5), or is it something that the Tin developers should
examine?
TIA.
--
John
When a person has -- whether they knew it or not -- already rejected the Truth, by what means do they discern a lie?
Re: Unknown command: CAPABILITIES
Author: Urs Janßen
Date: Thu, 24 Dec 2009 15:58
Date: Thu, 24 Dec 2009 15:58
27 lines
2328 bytes
2328 bytes
In <hh014i$dsp$1@optima5.xanadu-bbs.net>, john@example.invalid wrote: > Is CAPABILITIES a new command that INN does not know (at least for > version 2.4.5), CAPABILITIES was introduced in RFC 3977 (October 2006), AFAIK inn 2.4.x does only RFC 977 / RFC 2980. inn 2.5.x does RFC 3977 (and RFC 4642, RFC 4643, RFC 4644). > or is it something that the Tin developers should examine? nope, any reader willing to use RFC 3977 must send CAPABILITIES to see if the server does support it. tin >= 1.9.2 does issue this cmd. at startup. If the server does not understand the cmd. tin falls back to RFC 977 / RFC 2980. btw. tin 1.9.2 is an outdated release in the unstable branch, if you use the unstable branch you should consider using a more recent version (latest is 1.9.5 released today). tins stable branch (1.8.x) currently does not issue CAPABILITIES. urs -- Jef Poskanzer: "When people aren't stupid Usenet is even more useful. Too bad this happens so rarely."
Re: Unknown command: CAPABILITIES
Author: john
Date: Thu, 24 Dec 2009 19:41
Date: Thu, 24 Dec 2009 19:41
53 lines
2848 bytes
2848 bytes
Urs Janßen <urs@buil.tin.org> wrote: > In <hh014i$dsp$1@optima5.xanadu-bbs.net>, john@example.invalid wrote: >> Is CAPABILITIES a new command that INN does not know (at least for >> version 2.4.5), > > CAPABILITIES was introduced in RFC 3977 (October 2006), AFAIK > inn 2.4.x does only RFC 977 / RFC 2980. inn 2.5.x does > RFC 3977 (and RFC 4642, RFC 4643, RFC 4644). > >> or is it something that the Tin developers should examine? > > nope, any reader willing to use RFC 3977 must send CAPABILITIES to > see if the server does support it. > > tin >= 1.9.2 does issue this cmd. at startup. If the server does not > understand the cmd. tin falls back to RFC 977 / RFC 2980. > > btw. tin 1.9.2 is an outdated release in the unstable branch, if you use > the unstable branch you should consider using a more recent version > (latest is 1.9.5 released today). > > tins stable branch (1.8.x) currently does not issue CAPABILITIES. > > urs Thank you, Urs, for this information, and for your work on this fine newsreader. The tin 1.9.2 is on this Ubuntu 8.04.3 LTS Hardy Heron release, and is the current DEB-APT package version for Hardy. I see Debian 5.0.3 Lenny has tin 1.9.3. Ubuntu 9.04 Jaunty Jackalope also has tin 1.9.3. Ubuntu 9.10 Karmic Koala has tin 1.9.4. Slackware 13 has tin 1.8.2. I don't find tin available for Mandriva 2010, nor Gentoo 10.1. These distros would likely require compiling it. I can use it as the CAPABILITIES issue is not a big problem for me. Again, thanks for the information. -- John When a person has -- whether they knew it or not -- already rejected the Truth, by what means do they discern a lie?
Re: Unknown command: CAPABILITIES
Author: Julien ÉLIE
Date: Thu, 24 Dec 2009 22:47
Date: Thu, 24 Dec 2009 22:47
57 lines
2864 bytes
2864 bytes
Hi Urs,
> (latest is 1.9.5 released today)
Thanks!
I have just read the Changelog.
> ADD. convert MOTD from UTF-8 to local-charset
Note that LIST MOTD may not currently be in UTF-8. It may be in the
local charset of the news server...
> ADD. warn about aliased groups
> ADD. prefer "LIST COUNTS" over "LIST ACTIVE" when announced via
> CAPABILITIES
:)
> ADD. reduce number of "LIST ACTIVE grp" cmds send with -n if server
> announces "LIST ACTIVE" capability
> ADD. reduce number of "LIST NEWSGROUPS grp" cmds send with -n if server
> announces "LIST NEWSGROUPS" capability
Is it what we discussed a few months ago (with a wildmat instead of
single newsgroups)?
> REM. AUTHINFO GENERIC support
We still support it in INN 2.5 but I wonder whether someone uses it...
> ADD. issue extra "GROUP" when NEXT receives 411
NEXT should not send 411 ("No such newsgroup"). Are there news servers which
send 411 after NEXT? Even if GROUP was issued before?
Not 412?
> ADD. check user supplied Message-ID, Date and Expires-header before
> posting
Does tin also support the Injection-Date: header? (A posting agent may supply it.)
By the way, the article you are currently reading should normally have
Injection-Date: and Injection-Info: headers (added by INN).
--
Julien ÉLIE
« -- Ce serait une joyeuse idée de faire une tempête dans nos cerveaux,
n'est-il pas ?
-- Il veut parler d'une réunion de dravail ! » (Astérix)
tin 1.9.5 (was: Unknown command: CAPABILITIES)
Author: Urs Janßen
Date: Thu, 24 Dec 2009 23:42
Date: Thu, 24 Dec 2009 23:42
51 lines
3559 bytes
3559 bytes
In <hh0r1b$d1$1@news.trigofacile.com>, Julien ÉLIE wrote:
>> ADD. convert MOTD from UTF-8 to local-charset
> Note that LIST MOTD may not currently be in UTF-8. It may be in the
> local charset of the news server...
the local charset of the server can't be reliable detected by the
reader (i.e. ISO-8859-1 vs. ISO-8859-2 vs. ISO-8859-9 vs. ISO-8859-15)
and as tin also converts the LIST NEWSGROUPS output from UTF-8 to the
local charset (yes, currently most servers will return mostly junk in
their local charset if they carrie multiple hierarchies which all use
their own charset in the checkgroups messages).
>> ADD. reduce number of "LIST ACTIVE grp" cmds send with -n if server
>> announces "LIST ACTIVE" capability
>> ADD. reduce number of "LIST NEWSGROUPS grp" cmds send with -n if server
>> announces "LIST NEWSGROUPS" capability
> Is it what we discussed a few months ago (with a wildmat instead of
> single newsgroups)?
yes (and 2 out of 6 server implementations which claim they would do
RFC 3977 can't handle it, but will always return the full list so
this does no real harm).
>> REM. AUTHINFO GENERIC support
> We still support it in INN 2.5 but I wonder whether someone uses it...
the AUTHINFO GENERIC usage in tin wasn't very well documented but IIRC
I've only seen one complaint about how to use it over the years -> it's
very likely that nobody used it in the last few years.
>> ADD. issue extra "GROUP" when NEXT receives 411
> NEXT should not send 411 ("No such newsgroup"). Are there news
> servers which send 411 after NEXT? Even if GROUP was issued before?
> Not 412?
typo in the changelog, the code catches 412 not 411, thanks for
spotting this.
>> ADD. check user supplied Message-ID, Date and Expires-header before
>> posting
> Does tin also support the Injection-Date: header? (A posting agent
> may supply it.)
no, it may be added in the future but I should reread RFC 5536 / RFC 5537
before doing so.
urs
--
Jef Poskanzer:
"When people aren't stupid Usenet is even more useful. Too bad this happens
so rarely."
Re: tin 1.9.5
Author: Julien ÉLIE
Date: Sat, 26 Dec 2009 11:18
Date: Sat, 26 Dec 2009 11:18
46 lines
3241 bytes
3241 bytes
Hi Urs,
>>> ADD. convert MOTD from UTF-8 to local-charset
>> Note that LIST MOTD may not currently be in UTF-8. It may be in the
>> local charset of the news server...
>
> the local charset of the server can't be reliable detected by the
> reader (i.e. ISO-8859-1 vs. ISO-8859-2 vs. ISO-8859-9 vs. ISO-8859-15)
> and as tin also converts the LIST NEWSGROUPS output from UTF-8 to the
> local charset (yes, currently most servers will return mostly junk in
> their local charset if they carrie multiple hierarchies which all use
> their own charset in the checkgroups messages).
As for LIST MOTD, when it is advertised in CAPABILITIES, I suggest that
INN makes sure the output is in UTF-8. Like HELP in fact.
If a line is not utf8-encoded, it will be discarded and a log written
in news.notice.
** We already do that when we see a badly dot-stuffed line in all LIST
answers.
> yes (and 2 out of 6 server implementations which claim they would do
> RFC 3977 can't handle it, but will always return the full list so
> this does no real harm).
These implementations are then unfortunately broken.
RFC 3977 gives examples of such wildmats:
abc,def The two strings "abc" and "def"
a*,*b Any string that begins with "a" or ends with "b"
a*,!*b Any string that begins with "a" and does not end with
"b"
a*,!*b,c* Any string that begins with "a" and does not end with
"b", and any string that begins with "c" no matter
what it ends with
a*,c*,!*b Any string that begins with "a" or "c" and does not
end with "b"
--
Julien ÉLIE
« Je préfère glisser ma peau sous des draps pour le plaisir des sens
que de la risquer sous les drapeaux pour le prix de l'essence. »
(Raymond Devos)
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