Don't hesitate to ask me when you're trying to do something with reaction!
If it's already in the doc, I'll point it to you.
If it's not in the doc, it'll be an opportunity for me to add missing information.
#reactionrust
The developer plugin documentation is there 馃帀
Don't hesitate to tell me if you think some information is missing or unclear!
http://docs.rs/reaction-plugin
#reactionrust
reaction_plugin - Rust

This crate defines the API between reaction鈥檚 core and plugins.

Une nouvelle version de reaction vient de sortir !
La v2.3.0 ajoute un tout nouveau syst猫me de plugins, qui permet d'茅tendre les fonctionnalit茅s de reaction et de gros gains de performance !

https://framagit.org/ppom/reaction/-/releases/v2.3.0

#reactionrust #rust #fail2ban #plugins

v2.3.0 路 ppom / reaction 路 GitLab

Release notes Plugins! reaction...

GitLab

A new version of reaction is out!
v2.3.0 features a brand new plugin system, permitting to extend reaction and huge performance gains!

https://framagit.org/ppom/reaction/-/releases/v2.3.0

#reactionrust #rust #fail2ban #plugins

v2.3.0 路 ppom / reaction 路 GitLab

Release notes Plugins! reaction...

GitLab
damn, my first Rust library is in the queue of docs.rs: https://docs.rs/releases/queue
http://docs.rs/reaction-plugin should be available very soon!
#reactionrust
Queue - Docs.rs

I'll be at 39c3 in a few days. If you're coming too and want to talk about reaction, don't hesitate to ping me!
#39c3 #CCC #reactionrust

The NixOS module for reaction has been upstreamed in nixpkgs!

Many thanks to @loudgolem for the enhancements and upstream of the original module.

Follow advancement of the NixOS CI/CD:
https://nixpkgs-tracker.ocfox.me/?pr=468019

#nixos #reactionrust

Nixpkgs-tracker

Someone wrote a wiki page to ban IPs using ipset.
If you ban IPs with iptables, consider switching to ipset, as it's much faster!
https://reaction.ppom.me/actions/ipset.html

#reactionrust #ipset

ipset - Reaction wiki

Results on one benchmark:
10% saved on CPU time,
10% saved on actual run time,
20% saved on RAM max usage,
20% saved on disk writes

The benchmark really is on the internals of reaction, so it doesn't take into account real life scenarios where reaction has more complex regexes, and writes more complex data in DB.

So this is kind of the theorical maximum performance boost this change can make.

Still, that's a lot 馃弳

#reactionrust

Ok I just switched reaction's ip bans from plain iptables to ipset.
This made reaction startup 10 times faster on server 1.
2,600 ips added in 3s instead of 30s.

ipset is far superior than plain iptables for big IP lists. I knew this but I'm still surprised now that I see this!

And the firewall stack must be much faster as well when treating incoming packets!

#reactionrust #iptables #ipset #performance