Skip to content
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

Add/recommend rate-limiting middleware #59

Closed
EvanHahn opened this issue Jun 30, 2014 · 3 comments
Closed

Add/recommend rate-limiting middleware #59

EvanHahn opened this issue Jun 30, 2014 · 3 comments

Comments

@EvanHahn
Copy link
Member

I'd love this:

app.use(helmet.rateLimit({
  rate: 500,     // 500 requests allowed every...
  window: 50000, // ...50 seconds
  whitelist: ["127.0.0.1"]
});

Could be included by default.

@m13
Copy link

m13 commented Nov 25, 2014

I guess it could be a bit tricky, as sometimes there is a cluster of machines.

@EvanHahn
Copy link
Member Author

Agreed; perhaps we should recommend someone else's middleware rather than make our own.

@EvanHahn
Copy link
Member Author

Because there's so much rate-limiting middleware, I'm going to close this and just not do it.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

No branches or pull requests

2 participants