There are 306k events from #[0] on my relay. wtf

Reply to this note

Please Login to reply.

Discussion

Time to purge all the spam...

DO IT DO IT DO IT

Purge away!

The global chat is much better now from my end. Thank you 👍🏻

I new here, i still learning, i'm sure you have a future solution about spam issues. Maybe Increase the capability of the clients to filter it, giving to the client app more power, have dedicated blacklisting relay server, just some opinions.

Wtaf

This is crazy, a single user 😳

Yeah that’s a lot of spam!

Wow, does that noise even work? I guess the 0.001% rule applies when it is free

Gourcetools opened a can of worms

Maybe rate limits on inhuman levels of engagement?

Looks like quality content too. Engaging. Thoughtful. S9 spammer is out there too

Block him 🥲

I have this one on my event and pub key filter list already. You can use this if you want as a temp list.

https://github.com/ronaldstoner/nostr-irc/blob/main/filters/event.filters

I almost want to keep em just for the memes

Is that a transaction id?

No, it's the user's pubkey in hex format

Is there a difference between a btc txid and pubkey in hex format?

A bitcoin txid is the hash of the transaction data. A nostr pubkey is the public part of a cryptographic keypair which represents your identity on nostr. Two entirely different things really.

But visually they look the same

No they're not...and not just visually...from bitcoin txid you can create an npub to nsec...hmm.

#[0]

Yeah. I had 360k. And those other queries I DMed likely add up over 1MM easily for me. Purging them all this weekend.

maybe he just likes this thing a lot 🤔

hori shet

Spammers…

Could this be useful?

https://spam.nostr.band/spam_api?method=get_current_spam

I collect events from all relays for the last hour, group events w/ common words/ngrams, find clusters of >100 events.

This API prints the stop-words for big clusters - if event contains all of words, it's most likely spam. Relays/clients could proactively match new events against these words, or periodically delete specific events/pubkeys.

Was playing with this today, will be using in my relay. It's updated close to real-time.

Also

https://spam.nostr.band/spam_api?method=get_current_spam&view=pubkeys

https://spam.nostr.band/spam_api?method=get_current_spam&view=events - BIG!

Do you really want to start playing this cat and mouse game?

I don't have better practical ideas atm, do you?

I don’t think there is other than one of the micropayment models

Micropayments just raise the bar. What if these spammers, who right now are scamming people for sats, will earn much more than they spend on writing to relays?

This game was being played all along from the very start, we're just slowly showing cards. If this doesn't work - fine, at least we learn something.

We hope to challenge that! I’d like to see at least some public/free relays stick around and part of that depends on controlling resource consumption from spammers.

I think you can filter out the vast majority of spam today with simple rules/word lists.

Long term will need to be solved with modeling + real time feedback. #[5] has ideas 💡

Agree!

My thought process was just that centralised platforms like twitter have far more control over the on-ramps of new users and still failed to solve the issue. And from what I’ve seen I think it is fair to say that the current spam is still quite unsophisticated

Paid models have a new large unexplored solution space where is see many promising options like paying $10 at sign up and getting it back after a week or whatever.

Anyways, I would love for you to succeed and happy to support if I can

It’s inevitable for all relay operators/aggregators. The volume of the spam is simply too much to not address.

Yes, bring it on

So much work!

You don't like it?

It’s out of spec and creates a dependency on one relay. There must be a way this is decentralized

AI based decentralized spam detection

#[3] ’s approach seems reasonably lightweight and could be added to any relay. classifying using larger models and frequently retraining them would be heavier but surely possible on larger nodes.

also, federated training is a possibility but makes everything a bit more complicated. i guess the most important question is: what features turn out to be predictive. maybe the protocol itself can be leveraged more (network/metadata).

So it's not much work, you just don't want to rely on an api?

The algorithm is simple, every relay could do it, I am just showing what I am experimenting with.

Cool #[3] I think it’s worth exploring

how do you mark something spam and how do you make sure no false positives?

what’s your take on content filtering for relays? possible approaches: a) mitigation through POW b) based on network features c) based on content features .. n) any combination of the above

Your post is getting a lot of views.

Added to the https://member.cash/hot feed

First real challenge from bots

Wouldn’t rate limiting prevent this?

Yes but strfry doesn't have that yet

Ah gotcha

if (userIsSpamming) {

rateLimitThem = true

}

there ya go, feel free to send a PR to strfy 😛

How are you going about purging events out of strfry’s LMDB?

grep -v and reimport which i needed to do anyways

Elon Musk would prevent this

Time to rugpull

sorry bro

Its fine I'll eventually IP block you once strfry has the ability to

How will IP blocking work in a world where everyone is connected to VPN?

Doesn't matter what the source is, if an ip is spamming it will get blocked automatically in the future

Maybe ban IP is not a good way, there is the AI method to recognize spam content, ban spammer pub key if they send content fulfill the model.

yes

来,你说说怎么才能干掉你的广告。

额...

Agreed. There are so many people whose access to the Internet involves the use of NAT and shared IPs. It would be a shame for them to be blocked from using certain relays because someone else abused it.

yes

We already solved this with PoW, just make accounts pay to post. First 20 per day are free, then price goes up exponentially

It could be implemented simply as a client feature.

If a user hides everything, the only thing relay can do is push for adaptive PoW if the user has no reputation

Front facing firewall yum

i laughed for no reason at the "sorry bro" 😂😂😂😂😂😂

iptables it yourself. Then maybe built a fail2van policy to automate on noticed attacks :shrug:

This👆🏻

Its not that simple, im behind cloudflare, so i will need to read forwarded ip headers and call the cloudflare api to block

Strfry beta branch has plugin support. Plugins can block IPs if they are spamming. Its what nostr.mom does

Is the plugin open source?

I dont want it to be open source because it is so simple and can be easily gamed by spammers. I can send it to your email?

sure or dm me for my signal if you have that

ok

yikes!

Something like

"type": "product",

"itemname" : "milkpowder"

"brand" : "nestle"

"qty" : "1"

"unitqty" : "kg"

"description" : "additional product description"

"transactiontype": "sell",

"location": "gpslocation",

"homedelivery": "yes",

"serviceRadiusInMiles": "2"

"amount" : "2000"

"currency" : "sats"

Here the seller of product or service provider broadcast his product or service and the attributes which will be searchable for a buyer nearby

A buyer or person who require a service can also broadcast to the network similarly.

escrowers : In addition to buyer and seller there can be local escrow people who make a security deposit and provide an escrow service between the buyer and seller for a percentage fee. The fee percentage will be displayed. escrower reputation will be shown to buyers and sellers based on the ratings provided by the buyer and the seller after each transaction ( localbitcoin model )

matchmakers : will keep screening the posts to match demand with supply manually and propose a deal between the buyer and seller and also arrange for the transporters - for a matchmaking percentage.

trainers : are experienced users who knows to setup escrow accounts - add shops as sellers - train the escrowers and shops to setup their accounts - they can gain a percentage of each transaction gained by the escrowers

transporters : car owners , bike owners etc who are ready to pick and drop the product from the shops location to the user location , they can define their rates per kilometre per kilogram with minimum rates, nature of urgency of the transport etc

if we can form a passionate team to build a nostr client to serve these , then i am interested

DM me

06:56·18 February

Post your reply

Post