-
-
Notifications
You must be signed in to change notification settings - Fork 270
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
PR to add in the Wafris gem #1231
base: main
Are you sure you want to change the base?
Conversation
👋 @rmcastil, long time no see! Do you happen to have any inside info about |
@jagthedrummer nice to see you here! I'm actually the cofounder of Wafris. You're correct the gem is sort of an open core (similar to the Sidekiq model). It handles the collection of request data to Redis. The rule setting and visualization is provided by our service Wafris Hub. That base plan is free to everyone. Our intention is to charge for features like teams, having more than 5 or so firewalls, providing Redis, support, etc. We announced the project at @andrewculver's RailsSaaS in 2022. I saw Andrew about a month ago and he told me to put in a PR for the gem to get it merged in. Happy to jump on a call to discuss it more. |
Ah, cool, I didn't realize you were behind it. In terms of getting BT setup to use wafris, is there more to do than just adding it to the Other questions that immediately come to mind:
|
To work it would need an initializer that points to a Redis instance. Without it, the app would still work you would just get log messages like the following on every request.
You could offer an invalid configuration which would report this in the logs on startup:
So I'm not sure how hands on we need to be with BT users. We've tried really hard to make the Wafris README as clear as possible: https://github.com/Wafris/wafris-rb/tree/main Is there a documentation page that BT has for gems? If so I can submit a PR there giving tips on getting started with Wafris.
There is no waitlist for Rails users. The gem has been in production for 4+ months for some users. Anyone can self-serve at this point.
It is possible to use the gem without a Hub account but it would just be capturing request data. We could document how to write block rules in Redis if there's a demand. Our intention was to release an Open Source CLI to allow users to set block rules. One was originally working with just IPs, but has been collecting dust since we expanded the request properties (hosts, paths, params, methods, etc). We're hoping to release that in Q1 of next year. |
@jagthedrummer hey Jeremy. Just following up on this. Should I also be submitting a PR to the demo site for documentation? I'd imagine we'd go under Add-Ons with Font Awesome Pro. I can also jump on Discord if that helps facilitate the conversation around this PR. |
@rmcastil, hey, sorry for the delay. Yeah, if you could add some docs that would be great. They actually live in the Can you also add an appropriate initializer to this PR? |
No description provided.