~/talk

Rack::Attack: Protect your app with this one weird gem!

Talkat RailsConf 2014 · 2014-04-22..04-25· [ruby-on-rails, security]
slides:none on file

Built at Kickstarter and published as the Rack::Attack gem to throttle and block abusive HTTP requests, it implements throttles keyed by IP or parameter, increments counters in memcache or redis, and uses time-bucketed keys like ten requests every five seconds or login limits such as five per twenty seconds. A one-line throttle for pledge edits stops a kicksniper attack that drove master DB CPU above thirty percent and immediately returns CPU to normal.

AI-written summary · about

  1. 0:00Introduction
  2. 3:56The origin story
  3. 6:32Rack middleware
  4. 14:42Kick Sniper
  5. 14:54Reward Sniping
  6. 18:54The Results
  7. 19:56Pro Tips
  8. 20:15New Throttle
  9. 22:19Blacklist
  10. 22:38Example blacklist
  11. 23:38Star of the trolls
  12. 25:10Active support notifications
  13. 25:45Where does RackAttack fit in
  14. 26:29Its Ruby
  15. 27:13Thank you
  16. 27:58Wrap up
~/search
type to search 6,249 conferences, 138,987 speakers and 185,172 talks
~/help
cmdctrl k
search every conference, speaker and series
/
focus the filter search
h
home
c
conferences
s
speakers
e
series
t
light / dark — the status bar button does the same
?
this help
esc
close this, then clear every filter — or just the search, while you are typing in it

Ignored while you are typing. Pages without a filter rail have no search to focus.