stephen304 / bitcannon

A torrent index archiving, browsing, and backup tool
http://bitcannon.io/
MIT License
408 stars 40 forks source link

Add an option to configure bitcannon binding IP #72

Closed alexandre-p closed 9 years ago

alexandre-p commented 9 years ago

This PR makes it possible to configure bitcannon's web server binding address.

I think it can be useful to restrict the binding address of the server for several reasons, starting with security.

To avoid BC breaks, I set it to 0.0.0.0 in the default config and fallback in the code. But I think its default value should be 127.0.0.1.

stephen304 commented 9 years ago

I like it! Thanks for the contribution.