🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Thread View: alt.privacy.anon-server
3 messages
3 total messages Started by Gabx Tue, 18 Mar 2025 15:56
Re: mail2usenet
#328138
Author: Gabx
Date: Tue, 18 Mar 2025 15:56
22 lines
2156 bytes
> I am thinking of integrating hashcash tokens in my m2n

Is it a kind of that already integrated in the m2n of dizum but also of Zax with year-month-day?

> Message size restriction and allowing only to inject plaintext (UTF-8) and posting

This is the basis that should already be implemented, we never asked to write treatises of literature or post binaries, only text in fact.

> only to one group, should IMHO fix the problem, with 441 errors.

The standard has never provided for more than three groups which is reasonable for cross posting. 
But it is consistent with the anti-spam policy of paganini.

> This is why I like Bitmessage so much, 1000 percent reliable, unlike
> Remailers. Tor support, everybody can create publib or secret groups
> (chans) and a good email/Usenet alternative, which supports also
> posting HTML / images. More modern than email/Usenet/Remailers.

I totally ignore Bitmessage but I would like to find out more in fact.

best regards
Gabx
Re: mail2usenet
#328152
Author: Mini Mailer
Date: Wed, 19 Mar 2025 20:50
14 lines
1474 bytes
Gabx wrote:
> > I am thinking of integrating hashcash tokens in my m2n
> 
> Is it a kind of that already integrated in the m2n of dizum but also of Zax with year-month-day?

I am not aware of that, because a hashcash[1] token means that a user
whishing to post via an m2n has to generate a token, which takes some
time, to avoid spam, and then the m2n would check that token, and if
it is valid the article gets postet.

[1] https://en.wikipedia.org/wiki/Hashcash

Regards
Stefan
Re: mail2usenet
#328169
Author: Gabx
Date: Thu, 20 Mar 2025 06:38
30 lines
2379 bytes
Mini Mailer wrote:

> I am not aware of that, because a hashcash[1] token means that a user
> whishing to post via an m2n has to generate a token, which takes some
> time, to avoid spam, and then the m2n would check that token, and if
> it is valid the article gets postet.

def generate_hashcash(resource, bits=HASHCASH_BITS):
     version = "1"
     date = time.strftime("%y%m%d%H%M%S", time.gmtime())
     rand = 
''.join(random.choices("ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789", 
k=8))
     counter = 0
     target = "0" * (bits // 4)
     while True:
         stamp = f"{version}:{bits}:{date}:{resource}:::{rand}:{counter}"
         hash_val = hashlib.sha1(stamp.encode('utf-8')).hexdigest()
         if hash_val.startswith(target):
             return stamp
         counter += 1

hashcash_token = generate_hashcash(from_addr)hashcash_token = 
generate_hashcash(from_addr)

That said, i modified my python script also adding a function def 
renew_tor_identity(): but my posts are sent but not accepted 441 Too 
many errors for your IP.

Gabx
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