8000 GitHub - sr3d/rack-tor-block: Prevent tor users to access a Rack / Rails application.
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content

sr3d/rack-tor-block

8000
 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

18 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

rack-tor-block

6068 A rack middleware to block accesses to your rails application from TOR nodes. Inspired by [https://github.com/udzura/rack-block]

Install

$ gem install rack-tor-block

Depends on rack >= 1.3.

Usage

You need to add this Rack application in your Rack stack. If you're using Rails, simply add the following line to your config/application.rb (in the class block):

config.middleware.insert_after ActionDispatch::RemoteIp, Rack::TorBlock

Todo

Contributing

  • Fork
  • Open an issue
  • Commit, push, Pull Req
  • Check the status of the existing tests / add new tests

About

Prevent tor users to access a Rack / Rails application.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Ruby 100.0%
0