🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Thread View: news.software.readers
9 messages
9 total messages Started by Spartanicus Mon, 04 Apr 2005 12:51
Reader that can abort retrieval if a kill file entry matches?
#164901
Author: Spartanicus
Date: Mon, 04 Apr 2005 12:51
7 lines
1357 bytes
For binary groups I'd like to be able to filter on a header field such
as x-authenticated-user. Afaik fields like that are not available before
the actual retrieval, so I'm wondering if there is a reader that can
abort retrieval if a kill file entry matches?

I'm currently using Agent 1.9x which isn't capable of this.
Re: Reader that can abort retrieval if a kill file entry matches?
#164905
Author: SINNER
Date: Mon, 04 Apr 2005 15:37
15 lines
1654 bytes
* Spartanicus Wrote in news.software.readers:

> For binary groups I'd like to be able to filter on a header field
> such as x-authenticated-user. Afaik fields like that are not
> available before the actual retrieval, so I'm wondering if there
> is a reader that can abort retrieval if a kill file entry matches?
> 
> I'm currently using Agent 1.9x which isn't capable of this.
> 
> 

If the server supports XHDR Xnews will do this.

-- 
David
Re: Reader that can abort retrieval if a kill file entry matches?
#164906
Author: Bert Hyman
Date: Mon, 04 Apr 2005 15:37
26 lines
2181 bytes
invalid@invalid.invalid (Spartanicus) wrote in
news:khd2515pajeva4lleuc0h42ip3501mj73u@news.spartanicus.utvinternet.i
e: 

> For binary groups I'd like to be able to filter on a header field
> such as x-authenticated-user. Afaik fields like that are not
> available before the actual retrieval, so I'm wondering if there is
> a reader that can abort retrieval if a kill file entry matches?
> 
> I'm currently using Agent 1.9x which isn't capable of this.

Xnews (at least later versions) can score on any header field, even
those that aren't in the overview record. 

It does an "XHDR" retrieval to get the extra fields, which can slow
things down quite a bit, but only does it if there's a score-file
entry for the newsgroup in question that requires it. There's also a
requirement that your server supports the XHDR command; most do, some
don't. 

The scoring form only has fields for headers that are in the overview
record; if you want to use other headers, you'll have to edit the
score file by hand. 

-- 
Bert Hyman | St. Paul, MN | bert@iphouse.com
Re: Reader that can abort retrieval if a kill file entry matches?
#164917
Author: Ralph Fox
Date: Mon, 04 Apr 2005 19:38
32 lines
2728 bytes
On Mon, 04 Apr 2005 12:51:15 GMT, in message
<khd2515pajeva4lleuc0h42ip3501mj73u@news.spartanicus.utvinternet.ie>, Spartanicus wrote:

> For binary groups I'd like to be able to filter on a header field such
> as x-authenticated-user. Afaik fields like that are not available before
> the actual retrieval, so I'm wondering if there is a reader that can
> abort retrieval if a kill file entry matches?
> 
> I'm currently using Agent 1.9x which isn't capable of this.

You could use the add-on 'nFilter' with Agent, or (as others have
suggested) use XNews as your newsreader.

nFilter  -- http://www.netaxs.com/home/v/nfilter/


In both cases, this will do the filtering before the actual retrieval.

Both cases depend on the server...
1.  The server has to support XHDR.
2.  The server has to support XHDR for _all_ headers,
    not just for "overview" headers.



-- 
Cheers,
Ralph

"There is only one boss, the customer. And he can fire everybody in
the company from the chairman on down, simply by spending his money
somewhere else." -- Sam Walton
Re: Reader that can abort retrieval if a kill file entry matches?
#164920
Author: Spartanicus
Date: Mon, 04 Apr 2005 21:05
11 lines
1549 bytes
Ralph Fox <ralphfralphf@xtraxtra.coco.nznz.undo-echo.invalid> wrote:

>1.  The server has to support XHDR.
>2.  The server has to support XHDR for _all_ headers,
>    not just for "overview" headers.

Before I invest time in trying to figure out Xnews or nFilter, is there
a way to find out if my server supports XHDR?

-- 
Spartanicus
Re: Reader that can abort retrieval if a kill file entry matches?
#164926
Author: »Q«
Date: Mon, 04 Apr 2005 22:23
31 lines
2495 bytes
Spartanicus <invalid@invalid.invalid> wrote in
<news:dsa351drkein29ubaae6go8rd07qbnkc14@news.spartanicus.utvinternet.ie>:

> Before I invest time in trying to figure out Xnews or nFilter, is
> there a way to find out if my server supports XHDR?

Open a telnet session with the server and try giving it an XHDR
command.  First, find an article in some.newsgroup which has the
X-Authenticated-User header and note the article number from its
Xref header.  To start the telnet session, it's

  > telnet news.server.domainname 119

You may or may not need to enter a username and password to access
the server.  If you do, it's

  authinfo user [username]
  authinfo pass [password]

Then, to get yourself into the group and test the XHDR command,

  group some.newsgroup
  xhdr X-Authenticated-User [article number]

The server should respond with whatever is in that post's X-A-U
header.

-- 
»Q«
     links to Xnews resources:
     <http://www.cotse.net/users/putty/intro.htm>
Re: Reader that can abort retrieval if a kill file entry matches?
#164925
Author: Blinky the Shark
Date: Mon, 04 Apr 2005 22:28
22 lines
1905 bytes
Spartanicus wrote:
> Ralph Fox <ralphfralphf@xtraxtra.coco.nznz.undo-echo.invalid> wrote:

>>1.  The server has to support XHDR.
>>2.  The server has to support XHDR for _all_ headers,
>>    not just for "overview" headers.

> Before I invest time in trying to figure out Xnews or nFilter, is there
> a way to find out if my server supports XHDR?

Telnet to the server, select a group, get the list of article numbers,
and see if

xhdr [header] [article number]

returns the header you've requested.

-- 
Blinky                                   Linux Registered User 297263
Who has implemented Usenet Solution #45933:
Now killing all posts originating at Google Groups
Re: Reader that can abort retrieval if a kill file entry matches?
#164931
Author: Spartanicus
Date: Tue, 05 Apr 2005 09:42
46 lines
2877 bytes
»Q« <boxcars@gmx.net> wrote:

>> Before I invest time in trying to figure out Xnews or nFilter, is
>> there a way to find out if my server supports XHDR?
>
>Open a telnet session with the server and try giving it an XHDR
>command.  First, find an article in some.newsgroup which has the
>X-Authenticated-User header and note the article number from its
>Xref header.  To start the telnet session, it's
>
>  > telnet news.server.domainname 119
>
>You may or may not need to enter a username and password to access
>the server.  If you do, it's
>
>  authinfo user [username]
>  authinfo pass [password]
>
>Then, to get yourself into the group and test the XHDR command,
>
>  group some.newsgroup
>  xhdr X-Authenticated-User [article number]
>
>The server should respond with whatever is in that post's X-A-U
>header.

The response I get is:

200 Welcome to the NTL News Network (fe1win) (Tornado v1.0.6)
group
211 33065 1776537 1809601 alt.binaries.images

221 x-authenticated-user fields follow
1809087 (none)
..
I've installed and configured nFilter, but the filtering doesn't work,
that looks like a no show right?

I'm a bit unsure after reading the nFilter FAQ, it starts of by saying
that it by default makes all header fields available for filtering, but
in the section http://www.netaxs.com/home/v/nfilter/faq.html#4.1
it says that only the fields listed can be used (my server returns the
exact same header fields as those shown in the nFilter FAQ).

-- 
Spartanicus
Re: Reader that can abort retrieval if a kill file entry matches?
#164935
Author: Ralph Fox
Date: Tue, 05 Apr 2005 12:27
62 lines
3776 bytes
On Tue, 05 Apr 2005 09:42:05 GMT, in message
<8om451l812ot0brgcfq8ohtogq2g11fre4@news.spartanicus.utvinternet.ie>, Spartanicus wrote:

> >Then, to get yourself into the group and test the XHDR command,
> >
> >  group some.newsgroup
> >  xhdr X-Authenticated-User [article number]
> >
> >The server should respond with whatever is in that post's X-A-U
> >header.
> 
>
> The response I get is:
> 
> 221 x-authenticated-user fields follow
> 1809087 (none)
> .


A response of "(none)" can mean one of two things
(1)  The article number which you used, is for a message which 
     does not have an "x-authenticated-user" header.
(2)  OR, the news server belongs in category 'A' below.


News servers generally belong in one of three categories with regards to XHDR...

A.  Servers which support XHDR for "overview" headers, but not for all 
    headers.
B.  Servers which support XHDR for all headers.
C.  Servers which don't support XHDR at all.

To filter on the "x-authenticated-user" header using nFilter or XNews,
your server needs to belong in category 'B'.


> I've installed and configured nFilter, but the filtering doesn't work,
> that looks like a no show right?

It might seem so.


> I'm a bit unsure after reading the nFilter FAQ, it starts of by saying
> that it by default makes all header fields available for filtering, 

... when the news server belongs in category 'B' above ....

> but
> in the section http://www.netaxs.com/home/v/nfilter/faq.html#4.1
> it says that only the fields listed can be used (my server returns the
> exact same header fields as those shown in the nFilter FAQ).

... when the news server does not belong in category 'B' above.


-- 
Cheers,
Ralph

"There is only one boss, the customer. And he can fire everybody in
the company from the chairman on down, simply by spending his money
somewhere else." -- Sam Walton
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