Thread View: news.software.nntp
4 messages
4 total messages
Started by Frank Copeland
Tue, 16 Apr 2002 06:59
INN 2.3.x STAT response
Author: Frank Copeland
Date: Tue, 16 Apr 2002 06:59
Date: Tue, 16 Apr 2002 06:59
19 lines
1792 bytes
1792 bytes
There's what appears to be a long-standing bug in INN where the response to the STAT command includes the storage API token instead of the message ID. The bug affects the perl Net::NNTP module's nntpstat method, which reports success or failure based in part on the presence of a message ID in the response. This problem was acknowledged almost a year ago by Russ Allbery at <http://www.eyrie.org/~eagle/nntp/inn-audit.txt>. Is there any likelihood that this issue (and the others in the inn-audit.txt document) will be addressed in the near future? Frank -- Home Page: <URL:http://thingy.apana.org.au/~fjc/> Not the Scientology Home Page: <URL:http://xenu.apana.org.au/ntshp/> Keep it in Usenet. E-mail replies and 'courtesy' copies are not welcome. If you're selling, I ain't buying.
Re: INN 2.3.x STAT response
Author: Russ Allbery
Date: Tue, 16 Apr 2002 08:14
Date: Tue, 16 Apr 2002 08:14
15 lines
1575 bytes
1575 bytes
Frank Copeland <fjc@thingy.apana.org.au> writes:
> This problem was acknowledged almost a year ago by Russ Allbery at
> <http://www.eyrie.org/~eagle/nntp/inn-audit.txt>. Is there any
> likelihood that this issue (and the others in the inn-audit.txt
> document) will be addressed in the near future?
Patches welcome. I'm busy working on some other stuff right now.
--
Russ Allbery (rra@stanford.edu) <http://www.eyrie.org/~eagle/>
Please post questions rather than mailing me directly.
<http://www.eyrie.org/~eagle/faqs/questions.html> explains why.
Re: INN 2.3.x STAT response
Author: Frank Copeland
Date: Tue, 16 Apr 2002 10:31
Date: Tue, 16 Apr 2002 10:31
57 lines
2838 bytes
2838 bytes
On Tue, 16 Apr 2002 01:14:34 -0700, Russ Allbery <rra@stanford.edu> wrote:
> Frank Copeland <fjc@thingy.apana.org.au> writes:
>
>> This problem was acknowledged almost a year ago by Russ Allbery at
>> <http://www.eyrie.org/~eagle/nntp/inn-audit.txt>. Is there any
>> likelihood that this issue (and the others in the inn-audit.txt
>> document) will be addressed in the near future?
>
> Patches welcome. I'm busy working on some other stuff right now.
--- inn2-2.3.2/innd/nc.c.orig Fri May 4 06:27:32 2001
+++ inn2-2.3.2/innd/nc.c Tue Apr 16 20:10:12 2002
@@ -333,7 +333,6 @@
SMfreearticle(art);
/* Write the message. */
- p = TokenToText(*token);
buff = NEW(char, strlen(p) + 16);
(void)sprintf(buff, "%d 0 %s", NNTP_NOTHING_FOLLOWS_VAL, p);
NCwritereply(cp, buff);
Before:
fjc@wossname:~$ telnet thingy.apana.org.au nntp
Trying 203.12.237.66...
Connected to thingy.apana.org.au.
Escape character is '^]'.
200 thingy.apana.org.au InterNetNews server INN 2.3.2 ready
stat <yllmbo3vrp.fsf@windlord.stanford.edu>
223 0 @050100000121000125AA0000000000000000@
quit
205 .
Connection closed by foreign host.
After:
fjc@wossname:~$ telnet thingy.apana.org.au nntp
Trying 203.12.237.66...
Connected to thingy.apana.org.au.
Escape character is '^]'.
200 thingy.apana.org.au InterNetNews server INN 2.3.2 ready
stat <yllmbo3vrp.fsf@windlord.stanford.edu>
223 0 <yllmbo3vrp.fsf@windlord.stanford.edu>
quit
205 .
Connection closed by foreign host.
Tell me what I'm missing.
Frank
--
Home Page: <URL:http://thingy.apana.org.au/~fjc/>
Not the Scientology Home Page: <URL:http://xenu.apana.org.au/ntshp/>
Keep it in Usenet. E-mail replies and 'courtesy' copies are not welcome.
If you're selling, I ain't buying.
Re: INN 2.3.x STAT response
Author: Russ Allbery
Date: Thu, 18 Apr 2002 00:38
Date: Thu, 18 Apr 2002 00:38
23 lines
1827 bytes
1827 bytes
Frank Copeland <fjc@thingy.apana.org.au> writes:
> --- inn2-2.3.2/innd/nc.c.orig Fri May 4 06:27:32 2001
> +++ inn2-2.3.2/innd/nc.c Tue Apr 16 20:10:12 2002
> @@ -333,7 +333,6 @@
> SMfreearticle(art);
> /* Write the message. */
> - p = TokenToText(*token);
> buff = NEW(char, strlen(p) + 16);
> (void)sprintf(buff, "%d 0 %s", NNTP_NOTHING_FOLLOWS_VAL, p);
> NCwritereply(cp, buff);
*heh* Now I feel kind of silly. Yup, it really is that simple.
Thanks, applied to CURRENT and STABLE.
--
Russ Allbery (rra@stanford.edu) <http://www.eyrie.org/~eagle/>
Please post questions rather than mailing me directly.
<http://www.eyrie.org/~eagle/faqs/questions.html> explains why.
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