🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Thread View: news.software.nntp
2 messages
2 total messages Started by Steve Fri, 04 Jun 2004 17:19
INN and Hashcash
#69316
Author: Steve
Date: Fri, 04 Jun 2004 17:19
7 lines
1167 bytes
Hello, I'm considering implementing a hashcash system to apply an
electronic cost to users of my news service when posting.  Hashcash is
described at http://www.hashcash.org

In essence, the hashcash binary returns an Exit Code of 0 when the
message contains a valid X-Hashcash header.  Is there a way to call this
from readers.conf in a similar manner that pathbin/auth/passwd works?
Re: INN and Hashcash
#69309
Author: Russ Allbery
Date: Fri, 04 Jun 2004 18:27
15 lines
1773 bytes
Steve <steveX@Xbananasplit.info> writes:

> In essence, the hashcash binary returns an Exit Code of 0 when the
> message contains a valid X-Hashcash header.  Is there a way to call this
> from readers.conf in a similar manner that pathbin/auth/passwd works?

Not directly; there aren't, at present, any hooks for calling external
programs to do post validation.  However, you can use either the Perl or
Python post filters for this purpose.

-- 
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