Thread View: news.software.nntp
28 messages
28 total messages
Started by Ray Banana
Tue, 21 Oct 2008 05:33
Re: Is NewsHound not sending UserID & Password?
Author: Ray Banana
Date: Tue, 21 Oct 2008 05:33
Date: Tue, 21 Oct 2008 05:33
35 lines
3544 bytes
3544 bytes
* Tony Moore wrote: > Motzarella apparently disregards http://tools.ietf.org/html/rfc4643 , > which requires that > > An NNTP server responds to a client command with a 480 response to > indicate that the client MUST authenticate and/or authorize in order > to use that command or access the indicated resource... Motzarella carries two hierarchies that allow reading and posting without authentication, so there is no need to send a 480 on an initial connection. At this point, it is not yet known which news groups the client intends to access and there is no "Posting allowed (partially)" message. If the client subsequently tries to access a group outside the scope of its current permissions, it will get the "502 Persission denied" that has been observed by some people in this thread. > and, since NewsHound works perfectly with better mannered news-servers, > in my view, there is little point in giving motzarella further thought. You might want to reconsider your view then. What you see on Motzarella is the standard behaviour of the current stable version of INN, which is not likely to change any time soon. Most well-behaved news clients offer an option to unconditionally (i.e. without an initial 480 prompt) use a user name and and password if the user provided them (See Motzarella's FAQ[1] for details). [1] http://news.motzarella.org/index.php?language=en&showpage=faq#Login-No-Auth Please feel free to continue this discussion in news.software.nntp -- Too many ingredients in the soup, no room for a spoon http://news.motzarella.org
Re: Is NewsHound not sending UserID & Password?
Author: Julien ÉLIE
Date: Tue, 21 Oct 2008 05:59
Date: Tue, 21 Oct 2008 05:59
70 lines
3944 bytes
3944 bytes
Hi Ray, >> Motzarella apparently disregards http://tools.ietf.org/html/rfc4643 , >> which requires that >> >> An NNTP server responds to a client command with a 480 response to >> indicate that the client MUST authenticate and/or authorize in order >> to use that command or access the indicated resource... > > Motzarella carries two hierarchies that allow reading and posting without > authentication, so there is no need to send a 480 on an initial connection. There is no 480 on an initial connection but only 200/201 (on success). Yours correctly send 200 because the user can post (or will be able to post). > At this point, it is not yet known which news groups the client intends to > access and there is no "Posting allowed (partially)" message. Right. > If the client subsequently tries to access a group outside the scope > of its current permissions, it will get the "502 Persission denied" that has > been observed by some people in this thread. If the client is not authenticated, INN 2.5 answers the right 480 code. Your INN 2.4.5: 7:52 iulius@denver ~% telnet news.motzarella.org 119 200 news.eternal-september.org InterNetNews NNRP server INN 2.4.5 ready (posting ok). GROUP fr.test 502 Permission denied QUIT 205 . Current INN 2.5: 7:53 iulius@denver ~% telnet news.trigofacile.com 119 200 news.trigofacile.com InterNetNews NNRP server INN 2.5.0 (20080908 prerelease) ready (no posting) GROUP trigofacile.test.batavia 480 Read access denied QUIT 205 Bye! Therefore, INN now complies with RFC 4643 (and almost all of RFC 3977). > You might want to reconsider your view then. What you see on Motzarella is > the standard behaviour of the current stable version of INN, which is not > likely to change any time soon. :) I hope we will manage to release INN 2.5. It still needs work, though. Current STABLE version: 2.4.5. CURRENT stable version: 2.5 -- Julien ÉLIE « I've had bad luck with both my wives. The first one left me, and the second one didn't. » (James Holt McGavran)
Re: Is NewsHound not sending UserID & Password?
Author: Ray Banana
Date: Tue, 21 Oct 2008 07:32
Date: Tue, 21 Oct 2008 07:32
54 lines
3670 bytes
3670 bytes
Thus spake Julien ÉLIE <iulius@nom-de-mon-site.com.invalid> > If the client is not authenticated, INN 2.5 answers the right 480 code. > Your INN 2.4.5: > 7:52 iulius@denver ~% telnet news.motzarella.org 119 > 200 news.eternal-september.org InterNetNews NNRP server INN 2.4.5 ready (posting ok). > GROUP fr.test > 502 Permission denied > QUIT > 205 . > Current INN 2.5: > 7:53 iulius@denver ~% telnet news.trigofacile.com 119 > 200 news.trigofacile.com InterNetNews NNRP server INN 2.5.0 (20080908 prerelease) ready (no posting) > GROUP trigofacile.test.batavia > 480 Read access denied > QUIT > 205 Bye! > Therefore, INN now complies with RFC 4643 (and almost all of RFC 3977). I hadn't noticed this before, but here goes: | telnet banana.shacknet.nu 119 | Trying 213.146.114.72... | Connected to banana.shacknet.nu. | Escape character is '^]'. | 200 banana.shacknet.nu InterNetNews server INN 2.5.0 (20080928 snapshot) | ready | mode reader | 200 banana.shacknet.nu InterNetNews NNRP server INN 2.5.0 (20080928 | snapshot) ready (posting ok) | list | 215 Newsgroups in form "group high low flags" | posenet.newusers 0000000090 0000000082 y | [...] | motzarella.test 0000002443 0000001680 y | [...] | . | group fr.test | 480 Read access denied ^^^^^^^^^^^^^^^^^^^^^^ This is certainly an improvement. > I hope we will manage to release INN 2.5. So do I, any idea about a time frame? This change would certainly save me a lot of problem reports. -- Time flies like an arrow, fruit flies like a Banana. http://news.motzarella.org
Re: Is NewsHound not sending UserID & Password?
Author: Julien ÉLIE
Date: Tue, 21 Oct 2008 18:34
Date: Tue, 21 Oct 2008 18:34
44 lines
3385 bytes
3385 bytes
Hi Ray, > I hadn't noticed this before, but here goes: > > | 200 banana.shacknet.nu InterNetNews server INN 2.5.0 (20080928 snapshot) ready Sure, it is INN 2.5. I did not know you had migrated towards it for a few servers. That's great :) > This is certainly an improvement. There are lots of improvements in INN 2.5 (especially AUTHINFO SASL support from Ken Murchison and a very great job by Russ Allbery who improved a lot the code source, libraries, core functions, etc. -- and of course other people also contributed to INN 2.5). There are OVER and HDR commands (see HELP). nnrpd speaks (almost) fluently RFC 3977, 4642 and 4643. But innd does not at all (yet). >> I hope we will manage to release INN 2.5. > > So do I, any idea about a time frame? Unfortunately, I do not. (Neither do I know the exact features targeted by INN 2.5 but it would probably be great not to wait forever and decide to release at some moment.) > This change would certainly save me a lot of problem reports. I believe you can use INN 2.5 if you want right now. It works well. And deploying new versions is far easy from snapshots (configure, make update). I do not think there will be changes which will break existing configuration files (or if there are, they will be very easy to adapt -- and it will be announced in the inn-workers@ mailing list). -- Julien ÉLIE « L'éternité, c'est long, surtout vers la fin. » (Woody Allen)
Re: Is NewsHound not sending UserID & Password?
Author: Ray Banana
Date: Tue, 21 Oct 2008 19:05
Date: Tue, 21 Oct 2008 19:05
28 lines
3477 bytes
3477 bytes
Thus spake Julien ÉLIE <iulius@nom-de-mon-site.com.invalid> > I did not know you had migrated towards it for a few servers. That's > great :) I currently run INN 2.5 on FreeBSD 7.0, OpenBSD 4.4 and Ubuntu Ibex (08.10) test boxes. The FreeBSD box takes a full text feed and uses the same filter_nnrpd.pl, filter_innd.pl, perl_auth and readers.conf as the production systems and I have not noticed any problems so far (except that it doesn't compile with --enable-ipv6 on FreeBSD 7.0, because EAI_ADDRFAMILY doesn't exist any more). >> This change would certainly save me a lot of problem reports. > I believe you can use INN 2.5 if you want right now. It works well. > And deploying new versions is far easy from snapshots (configure, make >update). My primary issue is currently to get rid of all the support requests from people who can't access the full range of groups because their client software expects a 480 message before it sends authentication data. As I needed INN 2.4.5 on my Debian production systems because of the NNTPS timeout problems I had before, I build INN on these systems from the sources anyway, so maybe I will try INN 2.5 on one the production systems soon. -- Time flies like an arrow, fruit flies like a Banana. http://news.motzarella.org
Re: Is NewsHound not sending UserID & Password?
Author: Julien ÉLIE
Date: Tue, 21 Oct 2008 19:47
Date: Tue, 21 Oct 2008 19:47
47 lines
3388 bytes
3388 bytes
Hi Ray, > I currently run INN 2.5 on FreeBSD 7.0, OpenBSD 4.4 and Ubuntu Ibex > (08.10) test boxes. The FreeBSD box takes a full text feed and uses the same > filter_nnrpd.pl, filter_innd.pl, perl_auth and readers.conf as the > production systems and I have not noticed any problems so far (I still have connexions from motzarella.broker.freenet6.net on news.trigofacile.com...) > (except > that it doesn't compile with --enable-ipv6 on FreeBSD 7.0, because > EAI_ADDRFAMILY doesn't exist any more). Thanks for the info! But EAI_ADDRFAMILY is defined in RFC 2553; is it normal it has been removed? Could you please try to add: #ifndef EAI_ADDRFAMILY #define EAI_ADDRFAMILY 1 #endif at the beginning of lib/network.c and see whether INN compiles fine? > As I needed INN 2.4.5 on my Debian production systems because of > the NNTPS timeout problems I had before, I build INN on these systems from the > sources anyway, It was an annoying long-standing problem. I am glad it has finally be fixed in INN 2.4.5. > so maybe I will try INN 2.5 on one the production systems soon. No problem. Please tell us in a few weeks/months if everything is good on your production systems. It will be interesting to know and encouraging for a future release! -- Julien ÉLIE « Soldats, du haut de ces pyramides, vingt siècles nous contemplent. » (Napoléon)
Re: Is NewsHound not sending UserID & Password?
Author: Ray Banana
Date: Wed, 22 Oct 2008 07:44
Date: Wed, 22 Oct 2008 07:44
39 lines
3640 bytes
3640 bytes
Thus spake Julien ÉLIE <iulius@nom-de-mon-site.com.invalid> > (I still have connexions from motzarella.broker.freenet6.net on > news.trigofacile.com...) My bad. The default for innd is not to use IPv6, for innfeed you have to explicitly set bindaddress6 to "none". Should have stopped now. >> (except >> that it doesn't compile with --enable-ipv6 on FreeBSD 7.0, because >> EAI_ADDRFAMILY doesn't exist any more). > Thanks for the info! > But EAI_ADDRFAMILY is defined in RFC 2553; is it normal it has been removed? EAI_ADDRFAMILY was obsoleted with RFC 3493 and hence was removed from FreeBSD (and other BSD flavours) in 2003. > Could you please try to add: > #ifndef EAI_ADDRFAMILY > #define EAI_ADDRFAMILY 1 > #endif > at the beginning of lib/network.c and see whether INN compiles fine? It does. >> As I needed INN 2.4.5 on my Debian production systems because of >> the NNTPS timeout problems I had before, I build INN on these systems from the >> sources anyway, > It was an annoying long-standing problem. I am glad it has finally be fixed > in INN 2.4.5. For me, the most ennoying aspect of this problem was that Outlook Express was *not* affected by it ;-) -- Time flies like an arrow, fruit flies like a Banana. http://news.motzarella.org
Re: Is NewsHound not sending UserID & Password?
Author: Julien ÉLIE
Date: Wed, 22 Oct 2008 16:57
Date: Wed, 22 Oct 2008 16:57
37 lines
3322 bytes
3322 bytes
Hi Ray, > My bad. The default for innd is not to use IPv6, for innfeed you have to > explicitly set bindaddress6 to "none". Should have stopped now. Thanks! > EAI_ADDRFAMILY was obsoleted with RFC 3493 and hence was removed from > FreeBSD (and other BSD flavours) in 2003. All right. Then, it is better to remove references to EAI_ADDRFAMILY. It will solve compilation problems on FreeBSD 7 and maybe other recent systems. >>> As I needed INN 2.4.5 on my Debian production systems because of >>> the NNTPS timeout problems I had before, I build INN on these systems from the >>> sources anyway, > > For me, the most ennoying aspect of this problem was that Outlook > Express was *not* affected by it ;-) :) The reason is simple: Outlook Express and Windows Mail create new connections for posting. Thunderbird and lots of other news readers keep the same open connection to post articles. And meanwhile people write their articles, this connection times out on a weird manner. -- Julien ÉLIE « J'ai fait tous les calculs. Ils confirment l'opinion des spécialistes : notre idée est irréalisable. Il ne me reste plus qu'une chose à faire : la réaliser. » (Pierre-Georges Latécoère, p1906, entrepreneur de l'aviation)
Re: Is NewsHound not sending UserID & Password?
Author: Ray Banana
Date: Wed, 22 Oct 2008 18:00
Date: Wed, 22 Oct 2008 18:00
19 lines
3212 bytes
3212 bytes
Thus spake Julien ÉLIE <iulius@nom-de-mon-site.com.invalid> >> EAI_ADDRFAMILY was obsoleted with RFC 3493 and hence was removed from >> FreeBSD (and other BSD flavours) in 2003. > All right. Then, it is better to remove references to EAI_ADDRFAMILY. > It will solve compilation problems on FreeBSD 7 and maybe other recent > systems. Actually, EAI_ADDRFAMILY was removed from FreeBSD in version 5.3 ;-) BTW, nnrpd from INN 2.5 refuses to bind to privileged ports other than 119 and 563. Was this changed on purpose? I run nnrpd on port 80 and nnrpd -S on port 443 for people who have to use proxies. This is not really a problem, as I can start nnrpd from xinetd for these ports, I am just curious and it doesn't seem to be mentioned in the change logs. -- Time flies like an arrow, fruit flies like a Banana. http://news.motzarella.org
Re: Is NewsHound not sending UserID & Password?
Author: Julien ÉLIE
Date: Wed, 22 Oct 2008 18:15
Date: Wed, 22 Oct 2008 18:15
36 lines
3309 bytes
3309 bytes
Hi Ray,
> BTW, nnrpd from INN 2.5 refuses to bind to privileged ports other than
> 119 and 563. Was this changed on purpose?
According to INSTALL:
--with-innd-port=PORT
By default, innbind(8) refuses to bind to any port under 1024 other than 119,
433 and 563 for security reasons (to prevent attacks on rsh(1)-based commands
and replacing standard system daemons). If you want to run innd on a different
port under 1024, you'll need to tell configure what port you intend to use.
(You'll also still need to set the port number in inn.conf or give it to innd
on the command line.)
> I run nnrpd on port 80 and
> nnrpd -S on port 443 for people who have to use proxies.
Line 182 of backends/innbind.c:
/* Make sure that we're allowed to bind to that port. */
if (port < 1024 && port != 119 && port != 433 && port != 563
&& port != INND_PORT)
die("cannot bind to restricted port %hu in %s", port, spec);
If they disturb you, you know how to comment three lines :)
--
Julien ÉLIE
« On me tape dessus à tout bout de chant... » (Astérix)
INN 2.5 changes (was: Is NewsHound not sending UserID & Password?)
Author: Ray Banana
Date: Wed, 22 Oct 2008 19:13
Date: Wed, 22 Oct 2008 19:13
27 lines
3392 bytes
3392 bytes
Thus spake Julien ÉLIE <iulius@nom-de-mon-site.com.invalid>
>> BTW, nnrpd from INN 2.5 refuses to bind to privileged ports other than
>> 119 and 563. Was this changed on purpose?
> According to INSTALL:
> --with-innd-port=PORT
^^^^
Maybe that's what's confused me? I usually compile INN with
--with-innd-port=433, as innd wouldn't start on port 433 without this
option. Nonetheless, nnrpd started on port 80 and 443 from the command
line without complaining. And I don't assume I would be able to specify
more than one port with --with-innd-port?
> Line 182 of backends/innbind.c:
> /* Make sure that we're allowed to bind to that port. */
> if (port < 1024 && port != 119 && port != 433 && port != 563
> && port != INND_PORT)
> die("cannot bind to restricted port %hu in %s", port, spec);
> If they disturb you, you know how to comment three lines :)
I think it's less invasive to just run the nnrpd processes from xinetd.
--
Time flies like an arrow, fruit flies like a Banana.
http://news.motzarella.org
Re: INN 2.5 changes (was: Is NewsHound not sending UserID & Password?)
Author: Julien ÉLIE
Date: Wed, 22 Oct 2008 19:23
Date: Wed, 22 Oct 2008 19:23
17 lines
2661 bytes
2661 bytes
Hi Ray, >> According to INSTALL: >> --with-innd-port=PORT > ^^^^ > Maybe that's what's confused me? Yep. Binding is now generic and done through innbind and calls to network librairies (instead of directly binding in the source code). It affects nnrpd too. -- Julien ÉLIE « -- Je t'ai préparé une bonne soupe dont tu me diras des nouvelles, mon garçon ! -- Pour moi, ça, ce n'est pas des bonnes nouvelles ! » (Astérix)
Re: INN 2.5 changes
Author: Ray Banana
Date: Wed, 22 Oct 2008 19:32
Date: Wed, 22 Oct 2008 19:32
16 lines
2802 bytes
2802 bytes
Thus spake Julien ÉLIE <iulius@nom-de-mon-site.com.invalid> >>> According to INSTALL: >>> --with-innd-port=PORT >> ^^^^ >> Maybe that's what's confused me? > Yep. Binding is now generic and done through innbind and calls to > network librairies (instead of directly binding in the source code). > It affects nnrpd too. This should be mentioned in the change log, I think, just to avoid confusion. -- Time flies like an arrow, fruit flies like a Banana. http://news.motzarella.org
Re: INN 2.5 changes
Author: Julien ÉLIE
Date: Sat, 25 Oct 2008 17:32
Date: Sat, 25 Oct 2008 17:32
23 lines
2814 bytes
2814 bytes
Hi Ray, >>> Maybe that's what's confused me? >> Yep. Binding is now generic and done through innbind and calls to >> network librairies (instead of directly binding in the source code). >> It affects nnrpd too. > > This should be mentioned in the change log, I think, just to avoid confusion. Done. It is now in the upgrade notes for INN 2.5. They will be regenerated on the web site as soon as Russ comes back. I have also removed EAI_ADDRFAMILY. I have put the name "Wolfgang M. Weyand" in the contributors list. I hope it is all right for you, isn't it? -- Julien ÉLIE « Vita breuis, ars longa, occasio praeceps, experimentum pericolosum, iudicium difficile. » (Hippocrate)
Re: INN 2.5 changes
Author: Ray Banana
Date: Sat, 25 Oct 2008 18:23
Date: Sat, 25 Oct 2008 18:23
68 lines
5622 bytes
5622 bytes
Thus spake Julien ÉLIE <iulius@nom-de-mon-site.com.invalid> >>> Yep. Binding is now generic and done through innbind and calls to >>> network librairies (instead of directly binding in the source code). >>> It affects nnrpd too. >> This should be mentioned in the change log, I think, just to avoid >> confusion. > Done. It is now in the upgrade notes for INN 2.5. > They will be regenerated on the web site as soon as Russ comes back. > I have also removed EAI_ADDRFAMILY. Thanks very much. > I have put the name "Wolfgang M. Weyand" in the contributors list. I hope > it is all right for you, isn't it? <veg> BTW, I see corrupted articles in control.cancel in my INN 2.5 server (cancel messages with another article in their body, including the TAKETHIS <msg-id> for the second article). Can you check if you get the same error? This problem seems to affect primarily bleachbot's cancel messages. Path: banana.shacknet.nu!news.motzarella.org!news.eternal-september.org!motzarella.org!feeder.erje.net!porbandar.httrack.net!montbard.httrack.net!news.httrack.net!bleachbot!bleachbot!cyberspam!usenet!not-for-mail From: bleachbot <bleachbot@httrack.com> Newsgroups: humanities.lit.authors.shakespeare Subject: cmsg cancel <9170224bb174ffd7c20f12cccd029228@msgid.frell.theremailer.net> Control: cancel <9170224bb174ffd7c20f12cccd029228@msgid.frell.theremailer.net> Date: Thu, 23 Oct 2008 18:07:33 +0200 Organization: Nowhere Corp. Lines: 0 Sender: Lyra <la235876@msn.com> Approved: bleachbot@httrack.com Message-ID: <cancel.ca61.9170224bb174ffd7c20f12cccd029228@msgid.frell.theremailer.net> X-Trace: news.httrack.net 1224778053 11767 192.168.1.100 (23 Oct 2008 16:07:33 GMT) X-Complaints-To: usenet@httrack.com NNTP-Posting-Date: Thu, 23 Oct 2008 16:07:33 +0000 (UTC) X-Mailer: bleachbot X-Hash: 55595ad7 X-Cancelled-By: bleachbot@httrack.com X-Spam-Type: spam X-No-Archive: Yes X-Original-From: Lyra <la235876@msn.com> X-Original-Newsgroups: humanities.lit.authors.shakespeare X-Original-Subject: Bacon? Nah. Shakespeare wasn't Oxford or Cervantes either, and he didn't hoard malt or go to Italy X-Original-Message-ID: <9170224bb174ffd7c20f12cccd029228@msgid.frell.theremailer.net> X-Original-Date: Thu, 23 Oct 2008 18:05:44 +0200 X-Original-NNTP-Posting-Host: X-Original-X-Trace: X-Original-Organization: mail2news@dizum.com X-Original-Path: ...!news.wiretrip.org!news.dizum.com!sewer-output!mail2news X-Nocem-Notice-ID: 03be4000affcbed9 X-Nocem-Notice-Message-ID: <03be4000affcbed9@nocem.news.httrack.net> X-Nocem-Info: http://home.httrack.net/~nocem/ Xref: banana.shacknet.nu control.cancel:1394269 .. TAKETHIS <6311e1cc-8ab3-4d7d-92f0-8fa8255bb5d3@x41g2000hsb.googlegroups.com> Path: news.eternal-september.org!motzarella.org!feeder.erje.net!news2.arglkargh.de!dedekind.zen.co.uk!hamilton.zen.co.uk!zen.net.uk!demorgan.zen.co.uk!nx01.iad.newshosting.com!newshosting.com!novia!news-out.readnews.com!transit4.readnews.com!postnews.google.com!x41g2000hsb.googlegroups.com!not-for-mail From: Elaine <elainefromdrake@isp.com> Newsgroups: soc.culture.scottish Subject: Re: Hullo... Date: Thu, 23 Oct 2008 09:08:05 -0700 (PDT) -- Time flies like an arrow, fruit flies like a Banana. http://news.motzarella.org
Re: INN 2.5 changes
Author: Julien ÉLIE
Date: Sat, 25 Oct 2008 19:52
Date: Sat, 25 Oct 2008 19:52
105 lines
3776 bytes
3776 bytes
Hi Ray, > BTW, I see corrupted articles in control.cancel in my INN 2.5 server > (cancel messages with another article in their body, including the TAKETHIS > <msg-id> for the second article). Can you check if you get the same > error? This problem seems to affect primarily bleachbot's cancel > messages. I confirm. And there is no problem with INN 2.4. An example from my spool: =-=-=-=- X-Nocem-Notice-Message-ID: <09c717bb4db136d0@nocem.news.httrack.net> X-Nocem-Info: http://home.httrack.net/~nocem/ .. CHECK <cancel.48ff95c6$0$2868$ba620e4c@news.skynet.be> CHECK <cancel.48ff95ca$0$2849$ba620e4c@news.skynet.be> CHECK <cancel.48fd02c0$0$2858$ba620e4c@news.skynet.be> TAKETHIS <cancel.48f91dc5$0$2864$ba620e4c@news.skynet.be> Path: [...] =-=-=-=- As for bleachbot's cancels, they finish with "[headers]CRLFCRLF.CRLF" when they are corrupted. Otherwise, it is "[headers]CRLFCRLFCRLF.CRLF". Strange. Xavier, do you send two different structures for your messages? Incidentally, it allows an easier debug because the bug is in the parsing of what is sent after TAKETHIS. The dot is not always seen (if there is nothing or a blank line before). TAKETHIS <l> .. 439 <l> TAKETHIS <l> l .. 439 <l> TAKETHIS <l> .. 439 <l> TAKETHIS <l> l l l .. 439 <l> TAKETHIS <l> l .. l l .. 439 <l> TAKETHIS <l> l l l l l .. .. l l .. 439 <l> Thanks for having spotted that bug! It is a nice catch :) -- Julien ÉLIE « -- Nous voyageons plus vite que la lumière ! -- Alors comment y voir clair dans tout ça ? » (Astérix)
Re: INN 2.5 changes
Author: Julien ÉLIE
Date: Sat, 25 Oct 2008 23:52
Date: Sat, 25 Oct 2008 23:52
24 lines
2984 bytes
2984 bytes
Hi Ray, > BTW, I see corrupted articles in control.cancel in my INN 2.5 server > (cancel messages with another article in their body, including the TAKETHIS > <msg-id> for the second article). Can you check if you get the same > error? This problem seems to affect primarily bleachbot's cancel > messages. Now fixed. Thanks a lot for having reported it!! This bug has been around since 2004 (in CURRENT INN only). When articles were fed to innd via IHAVE or TAKETHIS with an empty body, the article terminator was not recognized. Therefore, subsequent NNTP commands were eaten inside the article until another article terminator was sent (if one was ever sent). Thanks again, -- Julien ÉLIE « Le meilleur moyen de faire tourner la tête à une femme, c'est de lui dire qu'elle a un joli profil. » (Sacha Guitry)
Re: INN 2.5 changes
Author: Xavier Roche
Date: Mon, 27 Oct 2008 06:57
Date: Mon, 27 Oct 2008 06:57
23 lines
2942 bytes
2942 bytes
Hi!, Julien ÉLIE wrote: > As for bleachbot's cancels, they finish with "[headers]CRLFCRLF.CRLF" > when they are corrupted. Otherwise, it is "[headers]CRLFCRLFCRLF.CRLF". Humm, this should definitely be a single CRLF. The reason is to allow "half-bogus" servers not to show control messages to users and/or prevent badly written news2mail gateways to pass these messages (because they are empty). [In theory, control messages should be recognized by their "control:" header, but badly written news software do exist.] It also save (a bit of) space. > Xavier, do you send two different structures for your messages? In theory, no - the sending function is the same. I'll check that. Err, I just checked, and the code is supposed to send only <last header>\r\n\r\n.\r\n in all cases. Hummm. I'll double check then. By the way, which versions of INNd should be upgraded ? I've never see the problem with my 2.4.4 (20060818 snapshot)
Re: INN 2.5 changes
Author: Julien ÉLIE
Date: Mon, 27 Oct 2008 07:41
Date: Mon, 27 Oct 2008 07:41
85 lines
4860 bytes
4860 bytes
Hi Xavier,
> Julien ÉLIE wrote:
>> As for bleachbot's cancels, they finish with "[headers]CRLFCRLF.CRLF"
>> when they are corrupted. Otherwise, it is "[headers]CRLFCRLFCRLF.CRLF".
>
> Humm, this should definitely be a single CRLF. The reason is to allow "half-bogus" servers not to show control messages to users
> and/or prevent badly written news2mail gateways to pass these messages (because they are empty). [In theory, control messages
> should be recognized by their "control:" header, but badly written news software do exist.]
Hmm...
If you only give headers, INN rejects the message with ARTerror(cp, "No body")...
"[headers]CRLFCRLF.CRLF" should be used (two consecutive CRLF).
TAKETHIS
[good headers]
..
439
--> reject
TAKETHIS
[good headers]
..
239
--> OK
You have to use at least 2 CRLF. They separate the headers from the body.
See RFC 3977:
3.6. Articles
An article consists of two parts: the headers and the body. They are
separated by a single empty line, or in other words by two
consecutive CRLF pairs (if there is more than one empty line, the
second and subsequent ones are part of the body). In order to meet
the general requirements of NNTP, an article MUST NOT include the
octet NUL, MUST NOT contain the octets LF and CR other than as part
of a CRLF pair, and MUST end with a CRLF pair. This specification
puts no further restrictions on the body; in particular, it MAY be
empty.
9.7. Articles
This syntax defines the non-terminal <article>, which represents the
format of an article as described in Section 3.6.
article = 1*header CRLF body
header = header-name ":" [CRLF] SP header-content CRLF
header-content = *(S-CHAR / [CRLF] WS)
body = *(*B-CHAR CRLF)
> It also save (a bit of) space.
:)
>> Xavier, do you send two different structures for your messages?
>
> In theory, no - the sending function is the same. I'll check that. Err, I just checked, and the code is supposed to send only
> <last header>\r\n\r\n.\r\n in all cases. Hummm. I'll double check then.
Could you please see what happened for:
<cancel.daae1c79-b552-4193-9aed-ff9aa7fc4014@u46g2000hsc.googlegroups.com>
I see \r\n\r\n\r\n.\r\n in it.
> By the way, which versions of INNd should be upgraded ? I've never see the problem with my 2.4.4 (20060818 snapshot)
INN 2.4.x is not affected. It is only for people who are using INN 2.5
(version < 26 October 2008).
--
Julien ÉLIE
« Il y a un vieux proverbe chinois qui dit : "Quand tu n'as plus rien
à dire, cite un vieux proverbe chinois." »
Re: INN 2.5 changes
Author: Xavier Roche
Date: Mon, 27 Oct 2008 07:57
Date: Mon, 27 Oct 2008 07:57
31 lines
2941 bytes
2941 bytes
Julien ÉLIE wrote: > Hmm... > If you only give headers, INN rejects the message with ARTerror(cp, "No Yes, yes -- but a one-line empty message means that there was a triple CRLF somewhere, such as in: Last-Header: foo\r\n \r\n \r\n .. > You have to use at least 2 CRLF. They separate the headers from the body. Yes, including a possible empty body. That's seems good. > Could you please see what happened for: > <cancel.daae1c79-b552-4193-9aed-ff9aa7fc4014@u46g2000hsc.googlegroups.com> Ahah! These are manual cancels. My old-manual-script-from-hell does not seem to be really up-to-date. > I see \r\n\r\n\r\n.\r\n in it. Humm, and no "Lines" header at all - isn't INN supposed to generate one in all cases ? > INN 2.4.x is not affected. It is only for people who are using INN 2.5 > (version < 26 October 2008). Good, being lazy is sometimes a relief.
Re: INN 2.5 changes
Author: Xavier Roche
Date: Mon, 27 Oct 2008 08:11
Date: Mon, 27 Oct 2008 08:11
31 lines
2833 bytes
2833 bytes
Xavier Roche wrote: >> <cancel.daae1c79-b552-4193-9aed-ff9aa7fc4014@u46g2000hsc.googlegroups.com> Well, no, actually, this one seems to be empty, despite the missing "Lines: 0" header (probably due to a direct rnews injecting) I just see the empty line which is the headers delim line, but no additional line(s): article <cancel.daae1c79-b552-4193-9aed-ff9aa7fc4014@u46g2000hsc.googlegroups.com> 220 0 <cancel.daae1c79-b552-4193-9aed-ff9aa7fc4014@u46g2000hsc.googlegroups.com> article .... Xref: news.httrack.net control.cancel:1208369 .. vs: (this one has an empty line) article <ge3t1o$22d$2@news.httrack.net> 220 0 <ge3t1o$22d$2@news.httrack.net> article .. Xref: news.httrack.net fr.test:2311 ..
Re: INN 2.5 changes
Author: Julien ÉLIE
Date: Mon, 27 Oct 2008 08:12
Date: Mon, 27 Oct 2008 08:12
23 lines
2910 bytes
2910 bytes
Hi Xavier, > Ahah! These are manual cancels. My old-manual-script-from-hell does not > seem to be really up-to-date. I hope you do not spend your whole day sending manual cancels :) Anyway, thanks for your work! > Humm, and no "Lines" header at all - isn't INN supposed to generate one in all cases ? No. It tries not to add/remove headers (but it could work better for some). Especially, it removes Bytes:, if set. Note that INN generates this information for its overview. :bytes and :lines metadata for HDR (new in INN 2.5). The OVER command shows them too. -- Julien ÉLIE « L'atour est fiel aux Huns valides. »
Re: INN 2.5 changes
Author: Xavier Roche
Date: Mon, 27 Oct 2008 18:09
Date: Mon, 27 Oct 2008 18:09
11 lines
2491 bytes
2491 bytes
Julien ÉLIE a écrit : > I hope you do not spend your whole day sending manual cancels :) Well, fortunately "manual" means that I had to press the "y" key to confirm. The rest is generally handled (fully) automatically :) > No. It tries not to add/remove headers (but it could work better for > some). Okay. BTW, I could not find any one-empty-line cancel, after all -- maybe the problem was related to the missing "lines:" field ?
Re: INN 2.5 changes
Author: Julien ÉLIE
Date: Mon, 27 Oct 2008 18:46
Date: Mon, 27 Oct 2008 18:46
72 lines
4528 bytes
4528 bytes
Hi Xavier,
> Okay. BTW, I could not find any one-empty-line cancel, after all --
> maybe the problem was related to the missing "lines:" field ?
It is not related to the Lines: header.
After further investigation, I realized that there is a problem with
the articles I receive!!!
Indeed, for the same article, I see it with a line on my news server
and some other ones, and also with no lines at all on other ones!
ARTICLE <cancel.399cd052a22d6bbb0ebee0ab5119ee17@pseudo.borked.net>
[INN 2.4.3]
Path: news.ecp.fr!feed.ac-versailles.fr!exabot.com!
porbandar.httrack.net!montbard.httrack.net!news.httrack.net!bleachbot!UDP-BOT!
udp!dizum_cancel!cyberspam!usenet!not-for-mail
..
[INN 2.4.4]
Path: news.albasani.net!newsfeed.straub-nv.de!news.k-dsl.de!nocworld.net!
porbandar.httrack.net!montbard.httrack.net!news.httrack.net!bleachbot!UDP-BOT!
udp!dizum_cancel!cyberspam!usenet!not-for-mail
..
[INN 2.5]
Path: news.trigofacile.com!cyber-rezo.net!feed.ac-versailles.fr!exabot.com!
porbandar.httrack.net!montbard.httrack.net!news.httrack.net!bleachbot!UDP-BOT!
udp!dizum_cancel!cyberspam!usenet!not-for-mail
..
It would be interesting to have the result of
ARTICLE <cancel.399cd052a22d6bbb0ebee0ab5119ee17@pseudo.borked.net>
in Michel's DNews 5.7. (He is the newsmaster of ac-versailles.fr.)
I assume DNews adds this nasty line...
As a matter of fact, it is either feed.ac-versailles.fr or exabot.com
(Exalead's news server).
Every empty article which transits through feed.ac-versailles has this line...
Whereas it is not the case for articles which transit through exabot.com!
Oh, Xavier, maybe you have more information about exabot? :->
(Does it have a public address and what software it is running...)
Path: news.trigofacile.com!news.cnrm.meteo.fr!Cerfacs!crihan.fr!jussieu.fr!
ircam.fr!usenet-fr.net!proxad.net!feeder1-2.proxad.net!exabot.com!
porbandar.httrack.net!montbard.httrack.net!news.httrack.net!bleachbot!
bleachbot!cyberspam!usenet!not-for-mail
Message-ID: <cancel.6bbf.59f9d98c-b936-4c11-9648-bcf0691da3d6@y71g2000hsa.googlegroups.com>
..
There is a bug in DNnews.
--
Julien ÉLIE
« Il faut mettre un frein à l'immobilisme. »
Re: INN 2.5 changes
Author: Xavier Roche
Date: Mon, 27 Oct 2008 18:53
Date: Mon, 27 Oct 2008 18:53
29 lines
2796 bytes
2796 bytes
Julien ÉLIE a écrit : > ARTICLE <cancel.399cd052a22d6bbb0ebee0ab5119ee17@pseudo.borked.net> Looks fine at news.free.fr > I assume DNews adds this nasty line... > As a matter of fact, it is either feed.ac-versailles.fr or exabot.com Looks fine at exabot's server: ARTICLE <cancel.399cd052a22d6bbb0ebee0ab5119ee17@pseudo.borked.net> 220 0 <cancel.399cd052a22d6bbb0ebee0ab5119ee17@pseudo.borked.net> article .. Lines: 0 .. Xref: ng173.exabot.com control.cancel:15541482 .. Hey, there's even a "Line: 0" field! > Oh, Xavier, maybe you have more information about exabot? :-> > (Does it have a public address and what software it is running...) AFAIK, INN 2.4.3 :) > There is a bug in DNnews. I'm afraid so.
Re: INN 2.5 changes
Author: Julien ÉLIE
Date: Mon, 27 Oct 2008 18:59
Date: Mon, 27 Oct 2008 18:59
33 lines
2995 bytes
2995 bytes
Hi Xavier, > Looks fine at exabot's server: It confirms my assumption. > Hey, there's even a "Line: 0" field! It looks as though it were added, despite what I thought. >> Oh, Xavier, maybe you have more information about exabot? :-> >> (Does it have a public address and what software it is running...) > > AFAIK, INN 2.4.3 :) Thanks for having investigated! >> There is a bug in DNnews. > > I'm afraid so. Is it still maintained? Does it have a successor? http://www.netwinsite.com/dnews.htm -> "This product is no longer available sorry!" -- Julien ÉLIE « -- Il est temps d'aller déguster une bonne cervoise de derrière les fagots ! -- Accompagnées de sangliers dodus rôtis sur ces mêmes fagots, bien sûr ! » (Astérix)
Re: INN 2.5 changes
Author: Julien ÉLIE
Date: Mon, 27 Oct 2008 19:09
Date: Mon, 27 Oct 2008 19:09
11 lines
2494 bytes
2494 bytes
> Okay. BTW, I could not find any one-empty-line cancel, after all Xavier, I'm sorry for the false alarm. I trusted what I received and did not think someone could have corrupted the message. -- Julien ÉLIE « Life is short -- so eat dessert first! »
Re: INN 2.5 changes
Author: Julien ÉLIE
Date: Thu, 30 Oct 2008 07:05
Date: Thu, 30 Oct 2008 07:05
18 lines
2451 bytes
2451 bytes
> There is a bug in DNnews. I have just had an answer from DNews' support. They told me they would have fixed the issue if they had been sure there were no other impacts on DNews. But as that behaviour is done owing to the rest of the code not being robust on receiving empty messages, they prefer not to change anything. Anyway, I answered them it is not a serious problem to add such a line to empty messages only. -- Julien ÉLIE « Two secrets to keep your marriage brimming: 1. Whenever you're wrong, admit it. 2. Whenever you're right, shut up. » (Patrick Murray)
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