ololduck
@ololduck@vit.am
142 following, 40 followers
SOS question technique web et scrapper IA :
- J'ai un site (médiawiki) sur un hébergement mutualisé OVH.
- Il est complètement saturé de requêtes.
- Qu'est-ce que je peux installer pour protéger mon site ?
mon site est complètement en rade et OVH m'informe régulièrement que le nombre de requête est trop important.
si vous avez des pistes ou si vous pouvez rediffuser ma requête c'est top !
@antondbzh anubis.
@pb ça peut s’installer sur un serveur mutualisé ?
@antondbzh Anubis semble être la méthode efficace et defacto : https://anubis.techaro.lol/
Mais aucune idée de comment ça s'installe ou comment ça fonctionne :/ J'ai pas utilisé ni mis en place.
X requêtes par seconde, avec une autorisation de burst de Z requêtes (comme par exemple quand un navigateur affiche une page et fait donc 5 requêtes pour charger le CSS, les images, …). Si X est dépassé, il est possible de piocher dans Z, mais Z se recharge plus lentement que X.J'ai couplé ça avec un robots.txt qui dit en gros "pas plus de X/2 requêtes/s svp". C'est pas respecté pas tout les robots, et ceux qui ne le respectent pas sont bannis temporairement (5minutes).
J'utilise ferron comme serveur web donc ça correspond en gros à :
rate_limit {
rate X
burst Z
# le rate-limiting s'applique par adresse source
key remote_address
# et on répond HTTP 429 ("Enhance Your Calm") si limites dépassées
deny_status 429
}
abuse_protection {
# Liste d'ip autorisées à ne pas se faire bloquer (ipv4/v6
allowlist "10.0.0.1" "dead::beef"
log_rejections
}
Ça fonctionne plutôt bien, et consomme beaucoup moins d'énergie que les solutions "Proof Of Work" comme Anubis qui demandent au client de faire des opérations coûteuses en processeur pour afficher la page demandée.Une autre solution technique pour limiter le nombre de requêtes pas seulement HTTP/S (les scrapers (IA ou non) ont tendance à focaliser sur HTTP/S) est le "Fail to Ban" qui lit les fichiers de log pour bannir (niveau réseau, cette fois, via le pare-feu système) les IP sources gênantes. J'ai écrit un petit article dessus il y a quelques temps.
Bon courage!
@antondbzh sur un mutu il faut que tu puisses le gérer via ton htaccess sinon ça sera un service tiers genre cloudflare...
Sur ovh tu peux accéder a très access logs, regarde les bien et trouve un patern : ip, user agent (souvent de vieux chrome) et bloque ce patern.
Printer cartridges are so wild like yeah it’s 80 bucks for a replacement set…. or 20 bucks for the offbrand version except the offbrand version is actually a set of FIVE CARTRIDGES OF EACH COLOR.
they perform the same, they’re 1/20th of the price. How is that like, economically possible. The printer company going „ohhhh scary off brand ink is not Optimized for Best Print Quality“ cannot possibly be worth a 76 Euro markup.
@halcy it's not
But I also had very bad experience with off brand cartridges :(
Like black turning grey after what... 10 pages of b&w text?
No ability to tell me the ink level etc.
What a world :(
Now, some people would say that the printer update was just to update the cartridge banlist to block some new cartridges, but these people would be liar; your printer now also sends a copy of the documents to the company's headquarters (so you don't loose them).
Jokes aside, yeah, the whole printer situation is kind of effed up and has been for… as long as i remember?
@benjamin @halcy everyone I know who has an inkjet style printer ended up with Epson and ink feeder systems (bottles instead of cartridges)
Laser printers, I just stick with Kyocera ECOsys since you basically melt a hole in the cartridge with a soldering iron, fill it up with third party toner, tape it up and shake and the printer shows you the toner level and all
Plus these things come with Ethernet and WiFi with IPP and I think even CUPS support, and are cheap as heck for the performance and features
Colour laser that does 26 ppm in full duplex (double sided printing) was 250 euro
After digging through the snac code and seeing that the unfollow code used the hash of the actor url, i found that the issue was coming from my terminal/system who added an invisible char at the end when pasting the actor URL.
Unrelated, but would you welcome a patch to make snac unfollow accept @user@host by making a webfinger request to figure out the canonical user id (URL) before attempting to unfollow?
I wrote a blog article for #ActivityPub developers about how to test Fediverse servers, including links to supporting tools.
Loving #snac so far. I have a question regarding the relay special user: how do we #unsubscribe from a #relay? i've tried snac unfollow relay <relay_actor_url> and snac unfollow relay <relay_handle> and both returned that the relay user was not following the actor/handle. However, when exporting the following list for the relay actor, i still see the relay listed. Please advise.
@ericcoquerel @FiAssemblee NON pas de lien vers X. Si on est sur Mastodon ce n'est pas pour rien !!!!!!
Yonder — a self-hosted, federated social network in a single binary
Yonder is a Mastodon-compatible ActivityPub server written in Rust.
Your community, your rules, your data — and the Mastodon apps you already use just work.
#fediverse #mastodon #rustlang #yander #gui #selfhosted #alternative #activitypub #socialmedia #opensource
> Social networks often launch in a blaze of glory but limp out of existence within a year or so.
The delightful thing about the fediverse social network is that it continues to 🌱 grow and 🐣 evolve at a natural pace.
What exists today does not stand "on the shoulders of giants", but exists due to many fine people dedicating their time, energy and passion. Fedi is a collaborative achievement.
The fediverse delightful lists also celebrate their decade of existence. They were ported from Feneas, the Federated Network Association, which no longer exists today. But it provided furtile soil.
The 3 fedi curated lists track "anything ActivityPub-fediverse related" with a focus on providing inspiration and references to the developer community, to encourage them to build more FOSS projects and enrich the ecosystem.
The lists keep track of current project but also still highlight the many 👻 inactive or dormant projects so they can still help inspire others.
Ok, so now that moderation features are in place, that mentions and tags are working, the "main" #Frogue instance is open for registration for the curious among the #Fedizens.
Register here: https://frogue.vit.am/
Word of caution: Frogue is still in alpha, the UI is still a mess, the UX is even worse and stuff may break at any moment. You may miss messages, mentions, your own messages may not deliver… and so on.
Anyway: programers, bug reporters, documenters and [chill person who gives you a cup of coffee with a smile and a word of encouragement because they are awesome like that]-ers welcome!
is creating merge conflicts across your own PRs a guarantee to keep a software engineer job for a long time? in this essay,
And yes, when i started on Frogue from the ashes of IronBridge, i noticed activitypub-rs too. They do seem focused on implementing everything in the spec, whereas i'm more of the opinion of creating working software first and implement the rest later. What i meant by "online" was "active as a server" so that we could test exchanging data and refine our approaches together.
Thank you for your words of encouragement.
CC: @Gina@fosstodon.org @ololduck@frogue.vit.am @jelte@mastodon.nl @DigitaleOverheid@social.overheid.nl @forgejo@floss.social @forgefed@floss.social @elle@weathered-steel.social
@ololduck@vit.am @Gina @ololduck@frogue.vit.am @jelte @DigitaleOverheid @forgejo @forgefed @elle
The default is "All rights reserved" where the creator is the copyright holder.
Since there are now 3 projects implementing #ForgeFed it might be great to test #interoperability between the projects, as a good means to improve the specification.
(Btw, I noticed your README to say "ForgeJo", but it is "Forgejo", an Esperanto word for Forge. You pronounce is as "For jay oh 😮", not "Forge yo 🤘" :)
Time to hunt for a license :D
@ololduck
The Berne Convention for the Protection of Literary and Artistic Works has made "all rights reserved" the de facto regime and legal norm since 1886.
Some creators, programmers included, intentionally publish with anti-copyright statements, or release unlicensed software, as was the practice of Daniel J. Bernstein.
The "Unlicensed" license tries to convey this sentiment, while legally being a public domain waiver, while being OSI and FSF approved.
Regarding your point about ForgeFed, i think we need real implementations active in the world in order to improve #ForgeFed. To my knowledge, https://frogue.vit.am is the only "working" (tests pass, two instances successfully communicate with each other) ForgeFed forge online. If you know of any other i would love to be made aware of it.
There's a #ForgeFed irc channel with 22 silent users in it.
Frogue is also an #ActivityPub server, so if you want news about it you can subscribe to @ololduck@frogue.vit.am
Sorry for butting in, i realize that this message does give the impression of tooting my own horn, but that is not the case. What i'm trying to convey is that as a ForgeFed dev/user, i'm feeling quite a lack of interest in bringing the spec to life.
CC: @tomootes@codefor.nl @jelte@mastodon.nl @DigitaleOverheid@social.overheid.nl @Gina@fosstodon.org @forgejo@floss.social @forgefed@floss.social
Moderation features on Frogue should arrive tonight or tomorrow !
I'm excited to finally open the main Frogue instance to the public.
Introduction
Hi everyone!
Long story short: i've made a (supposedly) #ForgeFed compatible software forge, whose repository can be found Here.
I'm looking forward to see how this first instance reacts and interacts with the rest of the #Fediverse.
I'm also interested in interacting with other implementors of #ForgeFed!
#Introduction #ForgeFed #ActivityPub #Rust #Fediverse
— Mmmmh oui oui oui je vois, et cette jeune femme qui doit vous embrasser et vous retransformer en prince de forme humaine, elle est avec nous dans cette mare en ce moment?
Bon courage, c'est long. Et ne m'a pas apporté grand chose à titre personnel, mais je ne veux pas décourager.
There are still some medium/small cities in france near the sea that have low-ish rent/cost of living. You just have to look way north of the mediteranean sea. I'm currently in Douarnenez, in britanny and pay 560€/Month for 80m².
Considering the weather we had this summer, i'd say you would be happy if you liked the heat. Maybe look for rentals on the north coast of britanny?