Thread View: news.software.nntp
9 messages
9 total messages
Started by OniOn
Wed, 04 Dec 2002 14:03
No colon-space in header
Author: OniOn
Date: Wed, 04 Dec 2002 14:03
Date: Wed, 04 Dec 2002 14:03
9 lines
1066 bytes
1066 bytes
I use newssuck to suck news from other news server. But in the acticels there are header which contain a spcae inside. How can I enable INND to accept header with space? or another solution? thanks for help~~
Re: No colon-space in header
Author: Jeffrey M. Vinocur
Date: Wed, 04 Dec 2002 16:22
Date: Wed, 04 Dec 2002 16:22
16 lines
1487 bytes
1487 bytes
In article <asl200$1ck4@imsp212.netvigator.com>,
OniOn <pcking@softhome.net> wrote:
>I use newssuck to suck news from other news server. But in the acticels
>there are header which contain a spcae inside.
>How can I enable INND to accept header with space?
Spaces are fine. At a guess, you are finding articles with
either have no space after the colon (":") or have no body (the
":" is the last character on the line).
Those articles are corrupt in the first place...
--
Jeffrey M. Vinocur
jeff@litech.org
Re: No colon-space in header
Author: OniOn
Date: Thu, 05 Dec 2002 04:07
Date: Thu, 05 Dec 2002 04:07
35 lines
2185 bytes
2185 bytes
but the error log said
Got response: 437 Space before colon in "Access Rights: Server
administrators can ban any I.P. address to access to t..." header
Article Rejected, deleting: <3dde9946$1@newsgroup.com.hk> - 437 Space before
colon in "Access Rights: Server administrators can ban any I.P. address to
access to t..." header
And there is a line "Access Rights: Server administrators can ban any I.P.
address to access to this news server."
in every article.
This error occur for every article, and I'm sure these articles are in
healthy condition.
How can I solve it?
"Jeffrey M. Vinocur" <jeff@litech.org> wrote in message
news:asla3h$qpk$2@puck.litech.org...
> In article <asl200$1ck4@imsp212.netvigator.com>,
> OniOn <pcking@softhome.net> wrote:
> >I use newssuck to suck news from other news server. But in the acticels
> >there are header which contain a spcae inside.
> >How can I enable INND to accept header with space?
>
> Spaces are fine. At a guess, you are finding articles with
> either have no space after the colon (":") or have no body (the
> ":" is the last character on the line).
>
> Those articles are corrupt in the first place...
>
> --
> Jeffrey M. Vinocur
> jeff@litech.org
Re: No colon-space in header
Author: Russ Allbery
Date: Thu, 05 Dec 2002 04:14
Date: Thu, 05 Dec 2002 04:14
16 lines
1640 bytes
1640 bytes
OniOn <pcking@softhome.net> writes:
> And there is a line "Access Rights: Server administrators can ban any
> I.P. address to access to this news server." in every article. This
> error occur for every article, and I'm sure these articles are in
> healthy condition.
Well, they're not. The articles are invalid. Whitespace isn't allowed in
header names.
--
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: No colon-space in header
Author: Curt Welch
Date: Thu, 05 Dec 2002 05:06
Date: Thu, 05 Dec 2002 05:06
53 lines
3537 bytes
3537 bytes
"OniOn" <pcking@softhome.net> wrote: > but the error log said > > Got response: 437 Space before colon in "Access Rights: Server > administrators can ban any I.P. address to access to t..." header > Article Rejected, deleting: <3dde9946$1@newsgroup.com.hk> - 437 Space > before colon in "Access Rights: Server administrators can ban any I.P. > address to access to t..." header > > And there is a line "Access Rights: Server administrators can ban any > I.P. address to access to this news server." > in every article. > This error occur for every article, and I'm sure these articles are in > healthy condition. You are wrong. > How can I solve it? "Access Rights:" is a local header being added by that news server and that news server only. It's an invalid header because spaces are not allowed in headers. A lot of newsreaders will probably not care and allow you to read the articles anyway - which is why the operators of that server can add that invalid header and still not get every user in the world yelling at them. However, if you were to try and send and article with spaces in a header name to just about any other news server, it's going to be rejected. News servers care a lot more about things like that than newsreaders do. Maybe I'm wrong and maybe more news servers than I know accept articles like that, but they shouldn't, and INN isn't wrong for rejecting it. If you tried to post an article like that to the same news server, I bet it's going to be rejected. The reason the articles exist on the server is probably because the header is added after the article is tested for validity and the local code which addes the header assumes the guy typing in the header knows what a valid header should look like. They should change the header to "Access-Rights:". Either the people that run that server are completly clueless (my first guess), or they are being very clever and doing that on purpose to prevent people from sucking articles from their server. If you can't get them to change the header, you will have to modify the tool you are using to either fix that header, or strip it out of every article. Or modify the server you are sending the articles to so it accepts the broken header - but that would be very very wrong. -- Curt Welch http://CurtWelch.Com/ curt@kcwc.com Webmaster for http://NewsReader.Com/
Re: No colon-space in header
Author: OniOn
Date: Thu, 05 Dec 2002 06:54
Date: Thu, 05 Dec 2002 06:54
24 lines
1848 bytes
1848 bytes
but these articles are normal and readable on the news server where I want to feed them from. How come? "Russ Allbery" <rra@stanford.edu> wrote in message news:yl4r9thzkl.fsf@windlord.stanford.edu... > OniOn <pcking@softhome.net> writes: > > > And there is a line "Access Rights: Server administrators can ban any > > I.P. address to access to this news server." in every article. This > > error occur for every article, and I'm sure these articles are in > > healthy condition. > > Well, they're not. The articles are invalid. Whitespace isn't allowed in > header names. > > -- > 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: No colon-space in header
Author: OniOn
Date: Thu, 05 Dec 2002 06:58
Date: Thu, 05 Dec 2002 06:58
66 lines
3723 bytes
3723 bytes
oh I see~ thank you for your detail explaination~ This problem is quit hard to solve... "Curt Welch" <curt@kcwc.com> wrote in message news:20021205000619.191$Fu@newsreader.com... > "OniOn" <pcking@softhome.net> wrote: > > but the error log said > > > > Got response: 437 Space before colon in "Access Rights: Server > > administrators can ban any I.P. address to access to t..." header > > Article Rejected, deleting: <3dde9946$1@newsgroup.com.hk> - 437 Space > > before colon in "Access Rights: Server administrators can ban any I.P. > > address to access to t..." header > > > > And there is a line "Access Rights: Server administrators can ban any > > I.P. address to access to this news server." > > in every article. > > This error occur for every article, and I'm sure these articles are in > > healthy condition. > > You are wrong. > > > How can I solve it? > > "Access Rights:" is a local header being added by that news server and that > news server only. It's an invalid header because spaces are not allowed in > headers. A lot of newsreaders will probably not care and allow you to read > the articles anyway - which is why the operators of that server can add > that invalid header and still not get every user in the world yelling at > them. > > However, if you were to try and send and article with spaces in a header > name to just about any other news server, it's going to be rejected. News > servers care a lot more about things like that than newsreaders do. Maybe > I'm wrong and maybe more news servers than I know accept articles like > that, but they shouldn't, and INN isn't wrong for rejecting it. > > If you tried to post an article like that to the same news server, I bet > it's going to be rejected. The reason the articles exist on the server is > probably because the header is added after the article is tested for > validity and the local code which addes the header assumes the guy typing > in the header knows what a valid header should look like. > > They should change the header to "Access-Rights:". > > Either the people that run that server are completly clueless (my first > guess), or they are being very clever and doing that on purpose to prevent > people from sucking articles from their server. > > If you can't get them to change the header, you will have to modify the > tool you are using to either fix that header, or strip it out of every > article. Or modify the server you are sending the articles to so it > accepts the broken header - but that would be very very wrong. > > -- > Curt Welch http://CurtWelch.Com/ > curt@kcwc.com Webmaster for http://NewsReader.Com/
Re: No colon-space in header
Author: Dr.Ruud
Date: Thu, 05 Dec 2002 09:14
Date: Thu, 05 Dec 2002 09:14
11 lines
1272 bytes
1272 bytes
Curt Welch skribis: > They should change the header to "Access-Rights:". Make that "X-Access-Rights:" -- Affijn, Ruud
Re: No colon-space in header
Author: those who know me have no need o...
Date: Thu, 05 Dec 2002 14:36
Date: Thu, 05 Dec 2002 14:36
11 lines
1313 bytes
1313 bytes
in news.software.nntp i read: >but these articles are normal and readable on the news server where I want >to feed them from. >How come? some servers don't care / check. -- bringing you boring signatures for 17 years
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