connect-baddies
A [Connect](http://www.senchalabs.org/connect/) middleware for filtering suspicious HTTP requests based on 422 request user-agent and url rules.
Last updated 7 years ago by radekstepan .
Repository · Original npm · Tarball · package.json
$ cnpm install connect-baddies 
SYNC missed versions from official npm registry.

connect-baddies

A Connect middleware for filtering suspicious HTTP requests based on 422 request user-agent and url rules.

http    = require 'http'
connect = require 'connect'
baddies = require 'connect-baddies'

logger = (msg) -> console.log msg

app = connect()
.use(baddies({ 'log': logger }))
.use (req, res) -> res.end 'Hello from Connect!'

http.createServer(app).listen 3000

Sources

  1. http://wordpress.org/extend/plugins/bad-behavior/developers/
  2. http://johannburkard.de/blog/www/spam/The-top-10-spam-bot-user-agents-you-MUST-block-NOW.html
  3. http://en.linuxreviews.org/HOWTO_stop_automated_spam-bots_using_.htaccess
  4. http://www.askapache.com/htaccess/fight-blog-spam-with-apache.html
  5. http://www.symantec.com/connect/articles/detection-sql-injection-and-cross-site-scripting-attacks

Current Tags

  • 0.0.3                                ...           latest (7 years ago)

3 Versions

  • 0.0.3                                ...           7 years ago
  • 0.0.2                                ...           7 years ago
  • 0.0.1                                ...           7 years ago
Maintainers (1)
Downloads
Today 0
This Week 0
This Month 0
Last Day 0
Last Week 0
Last Month 0
Dependencies (1)
Dev Dependencies (5)
Dependents (2)

Copyright 2014 - 2016 © taobao.org |